/* HelpHintIcon styling. Include in host via:
   <link href="_content/Ponscura.Apps.OnboardingTours/help-hint.css" rel="stylesheet"> */

.curanta-help-hint {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    margin-left: 4px;
    border-radius: 50%;
    color: var(--mud-palette-primary, #1f7a3f);
    cursor: pointer;
    position: relative;
    font-size: 14px;
    transition: color 0.15s ease;
}

.curanta-help-hint:hover,
.curanta-help-hint:focus-visible {
    color: var(--mud-palette-primary-darken, #0e4a26);
    outline: 2px solid var(--mud-palette-primary, #1f7a3f);
    outline-offset: 2px;
    border-radius: 50%;
}

.curanta-help-tooltip {
    /* Absoluut gepositioneerd t.o.v. de .curanta-help-hint anchor; verschijnt
       direct onder het icoon. Voor "verschijnt naast input-veld" gebruik
       wrapper-element met position:relative. */
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1500;
    background: #fff;
    border: 1px solid #d0d0d0;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    border-radius: 8px;
    padding: 10px 12px;
    min-width: 240px;
    max-width: 320px;
    font-size: 12px;
    line-height: 1.4;
    color: #1A2333;
    margin-top: 6px;
}

.curanta-help-tooltip a {
    color: var(--mud-palette-primary, #1f7a3f);
    text-decoration: underline;
}

/* Visueel verborgen maar screen-reader-toegankelijk — standaard a11y-pattern. */
.curanta-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
