/* Stapsgewijze flows (onboarding / receiver / traveler) met voortgangsindicator. */
.fs-wizard {
    max-width: 640px;
    margin: 0 auto;
    padding: 1rem;
}

.fs-wizard__step {
    margin-top: 1rem;
}

.fs-wizard__actions {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

/* Grote, goed aantikbare navigatieknoppen (Terug / Volgende) — mobiel-first.
   Beide knoppen delen de breedte en hebben een ruim touch-target (>=48px, CLAUDE.md). */
.fs-wizard__actions .k-button {
    flex: 1 1 0;
    min-height: 52px;
    font-size: 1.05rem;
    font-weight: 700;
    border-radius: 10px;
}

/* Voortgangsindicator. */
.fs-steps-progress {
    display: flex;
    gap: 0.25rem;
    align-items: flex-start;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.fs-steps-progress__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1 1 0;
    min-width: 64px;
    text-align: center;
    position: relative;
}

.fs-steps-progress__item::before {
    content: "";
    position: absolute;
    top: 16px;
    left: -50%;
    width: 100%;
    height: 2px;
    background: #d9dee8;
    z-index: 0;
}

.fs-steps-progress__item:first-child::before {
    display: none;
}

.fs-steps-progress__item.is-done::before,
.fs-steps-progress__item.is-current::before {
    background: #1f2a44;
}

.fs-steps-progress__dot {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 2px solid #d9dee8;
    color: #6b7280;
    font-weight: 700;
    font-size: 0.85rem;
    z-index: 1;
}

.fs-steps-progress__item.is-current .fs-steps-progress__dot {
    border-color: #1f2a44;
    color: #1f2a44;
}

.fs-steps-progress__item.is-done .fs-steps-progress__dot {
    background: #1f2a44;
    border-color: #1f2a44;
    color: #fff;
}

.fs-steps-progress__label {
    margin-top: 0.35rem;
    font-size: 0.72rem;
    color: #6b7280;
    line-height: 1.1;
}

.fs-steps-progress__item.is-current .fs-steps-progress__label {
    color: #1f2a44;
    font-weight: 600;
}

/* Mobiel: compactere wizard — minder whitespace en smallere binnenmarge zodat de
   stapsgewijze schermen maximaal breedte benutten en zonder veel scrollen op een
   telefoonscherm passen. */
@media (max-width: 640px) {
    .fs-wizard {
        padding: 0.5rem 0.25rem 1rem;
    }

    .fs-wizard__step {
        margin-top: 0.5rem;
    }

    .fs-wizard__actions {
        gap: 0.5rem;
        margin-top: 1rem;
    }

    .fs-mode {
        margin-bottom: 0.5rem;
    }

    .fs-steps-progress {
        gap: 0.15rem;
        padding-bottom: 0.25rem;
    }

    .fs-steps-progress__item {
        min-width: 52px;
    }
}

/* ID-verificatie badge. */
.fs-verify {
    border: 1px solid #e2e6ee;
    border-radius: 10px;
    padding: 1rem;
    background: #f5f7fb;
}

.fs-verify__status {
    font-weight: 600;
}

.fs-verify__status--ok {
    color: #1f7a45;
}

.fs-verify__status--pending {
    color: #b25b00;
}

/* Schakelaar tussen inloggen en aanmelden op de gecombineerde auth-pagina. */
.fs-auth-toggle {
    display: flex;
    gap: 0.25rem;
    margin: 0 0 1rem;
    border: 1px solid #d9dee8;
    border-radius: 10px;
    padding: 0.25rem;
}

.fs-auth-toggle__btn {
    flex: 1 1 0;
    min-height: 44px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: #1f2a44;
    font-weight: 600;
    cursor: pointer;
}

.fs-auth-toggle__btn.is-active {
    background: #1f2a44;
    color: #fff;
}

.fs-form__link {
    background: none;
    border: none;
    color: #1f2a44;
    text-decoration: underline;
    cursor: pointer;
    padding: 0;
    font-size: 0.85rem;
    align-self: flex-start;
}

/* Grote, brede, gekleurde rolkeuze-knoppen aan het einde van de onboarding. */
.fs-rolechoice {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 1.75rem;
}

.fs-rolebtn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 96px;
    border-radius: 16px;
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.18);
    transition: filter 0.15s ease, transform 0.05s ease;
}

.fs-rolebtn:hover { color: #fff; filter: brightness(1.08); }
.fs-rolebtn:active { transform: translateY(1px); }

/* Kleuren per rol: ontvanger = teal, reiziger = oranje. */
.fs-rolebtn--receiver { background: var(--fs-receiver, #0e7c7b); }
.fs-rolebtn--traveler { background: var(--fs-traveler, #ea580c); }

/* Mode-badge bovenaan een wizard: laat zien of je als ontvanger of reiziger bezig bent. */
.fs-mode {
    display: inline-block;
    padding: 0.4rem 1.1rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.95rem;
    color: #fff;
    margin-bottom: 1rem;
}

.fs-mode--receiver { background: var(--fs-receiver, #0e7c7b); }
.fs-mode--traveler { background: var(--fs-traveler, #ea580c); }

/* Gekleurde accentrand rond de hele wizard per modus. */
.fs-mode-receiver { border-top: 5px solid var(--fs-receiver, #0e7c7b); padding-top: 0.75rem; }
.fs-mode-traveler { border-top: 5px solid var(--fs-traveler, #ea580c); padding-top: 0.75rem; }

/* Warm bevestigingsscherm na een reizigersaanmelding. */
.fs-confirm {
    text-align: center;
    max-width: 480px;
    margin: 0 auto;
    padding: 1rem 0;
}

.fs-confirm__icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--fs-success, #10B981);
    color: #fff;
}

.fs-confirm__icon svg {
    width: 38px;
    height: 38px;
}

.fs-confirm__title {
    font-size: 24px;
    font-weight: 700;
    color: var(--fs-text, #1F2937);
    margin: 0 0 0.5rem;
}

.fs-confirm__thanks {
    font-size: 16px;
    color: var(--fs-text-secondary, #6B7280);
    line-height: 1.6;
    margin: 0 0 1.5rem;
}

.fs-confirm__steps {
    text-align: left;
    background: var(--fs-surface, #F9FAFB);
    border: 1px solid var(--fs-border, #E5E7EB);
    border-radius: 12px;
    padding: 1.1rem 1.25rem;
    margin-bottom: 1.25rem;
}

.fs-confirm__steps-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--fs-text, #1F2937);
    margin: 0 0 0.6rem;
}

.fs-confirm__list {
    margin: 0;
    padding-left: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.fs-confirm__list li {
    font-size: 15px;
    color: var(--fs-text, #1F2937);
    line-height: 1.5;
}

.fs-confirm__wait {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    background: var(--fs-primary-light, #DBEAFE);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    margin: 0 0 1.5rem;
    color: var(--fs-text, #1F2937);
    font-size: 15px;
}

.fs-confirm__wait-label {
    font-weight: 700;
    color: var(--fs-primary-hover, #1D4ED8);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.fs-confirm__cta {
    display: inline-block;
    background: var(--fs-primary, #2563EB);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    padding: 0.7rem 1.6rem;
    border-radius: 8px;
    transition: background 0.12s;
}

.fs-confirm__cta:hover {
    background: var(--fs-primary-hover, #1D4ED8);
    color: #fff;
}

/* Persoonlijk profielblok op de accountpagina. */
.fs-profile__header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

/* Profielfoto bewerken (uploaden/verwijderen) op de gegevenspagina. */
.fs-photo-edit {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.fs-photo-edit__avatar {
    flex: 0 0 auto;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--fs-primary, #2563EB);
    color: #fff;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.12);
}

.fs-photo-edit__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.fs-photo-edit__initials {
    font-size: 26px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.02em;
}

.fs-photo-edit__actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
    min-width: 0;
}

.fs-profile__id {
    min-width: 0;
}

.fs-profile__name {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--fs-text, #1F2937);
}

.fs-profile__email {
    margin: 0.125rem 0 0 0;
    font-size: 14px;
    color: var(--fs-text-secondary, #6B7280);
    word-break: break-word;
}

.fs-profile__since {
    margin: 0.25rem 0 0 0;
    font-size: 13px;
    color: var(--fs-text-secondary, #6B7280);
}

/* Duidelijke ingang naar het uploaden van een profielfoto/pasfoto. */
.fs-profile__photo-link {
    display: inline-block;
    margin-top: 0.5rem;
}

.fs-profile__stats {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.fs-profile__stat {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 0.875rem 0.5rem;
    background: var(--fs-background, #FFFFFF);
    border: 1px solid var(--fs-border, #E5E7EB);
    border-radius: 10px;
    text-align: center;
}

.fs-profile__stat-value {
    font-size: 22px;
    font-weight: 700;
    color: var(--fs-primary, #2563EB);
    line-height: 1.1;
}

.fs-profile__stat-label {
    font-size: 12px;
    color: var(--fs-text-secondary, #6B7280);
}

/* Rit-kaart op de statuspagina. */
.fs-trip {
    border: 1px solid #e2e6ee;
    border-radius: 10px;
    padding: 0.85rem 1rem;
    margin-bottom: 0.75rem;
    background: #fff;
    transition: box-shadow 0.15s ease, transform 0.15s ease;
}

/* Subtiele 'premium' hover-lift, alleen op apparaten met een muis (niet op touch). */
@media (hover: hover) {
    .fs-trip:hover {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        transform: translateY(-1px);
    }
}

.fs-trip__head {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 0.5rem;
}

/* Pills in de kop (modus + status) exact even hoog en verticaal gecentreerd. */
.fs-trip__head .fs-mode,
.fs-trip__head .fs-badge {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding-top: 0;
    padding-bottom: 0;
    margin-bottom: 0;
}

.fs-trip__line {
    margin: 0.15rem 0;
}

/* Prominent vergoedingsblok op de rit-kaart. */
.fs-trip__fee {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
    margin: 0.6rem 0 0.2rem;
    padding: 0.6rem 0.85rem;
    background: var(--fs-surface, #F9FAFB);
    border: 1px solid var(--fs-border, #E5E7EB);
    border-radius: 10px;
}

.fs-trip__fee-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--fs-text-secondary, #6B7280);
}

.fs-trip__fee-value {
    font-size: 22px;
    font-weight: 700;
    color: var(--fs-primary, #2563EB);
    line-height: 1.1;
    white-space: nowrap;
}

.fs-trip .fs-link-button {
    margin-top: 0.5rem;
}

/* Actie-rij onder een rit-kaart (bevestigen / chat / annuleren). */
.fs-trip__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    align-items: center;
    margin-top: 0.25rem;
}

/* Afrond-knop: gevuld groen met witte tekst. */
.fs-trip__actions .fs-link-button--finish {
    background: #059669;
    border-color: #059669;
    color: #fff;
}

.fs-trip__actions .fs-link-button--finish:hover {
    background: #047857;
    border-color: #047857;
    color: #fff;
}

/* Afrond-dialoog: keuzeknoppen gelukt/niet gelukt. */
.fs-finish__choices {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin: 1rem 0;
}

.fs-finish__check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

/* Beoordeling: rij met emoticon-knoppen. */
.fs-rating__emojis {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin: 0.75rem 0;
}

.fs-rating__emoji {
    font-size: 2rem;
    line-height: 1;
    background: transparent;
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 0.25rem 0.4rem;
    cursor: pointer;
    filter: grayscale(60%);
    opacity: 0.7;
    transition: transform .12s, opacity .12s, border-color .12s, filter .12s;
}

.fs-rating__emoji:hover {
    transform: scale(1.12);
    opacity: 1;
    filter: none;
}

.fs-rating__emoji.is-selected {
    border-color: var(--fs-primary, #2563EB);
    opacity: 1;
    filter: none;
    background: var(--fs-primary-light, #DBEAFE);
}

/* Standaard ontevreden-redenen als klikbare chips. */
.fs-rating__reasons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0.5rem 0 0.75rem;
}

.fs-chip {
    border: 1px solid var(--fs-border, #E5E7EB);
    background: var(--fs-surface, #F9FAFB);
    border-radius: 999px;
    padding: 0.3rem 0.7rem;
    font-size: 0.8rem;
    cursor: pointer;
}

.fs-chip:hover {
    background: var(--fs-primary-light, #DBEAFE);
    border-color: var(--fs-primary-light, #DBEAFE);
}

/* Selecteerbare categorie-chips (reiziger "wat neem je mee"). */
.fs-catpicker {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.25rem;
}

.fs-chip--select {
    font-size: 0.9rem;
    padding: 0.45rem 0.9rem;
    font-weight: 500;
    color: var(--fs-text, #1F2937);
    transition: background 0.12s, border-color 0.12s, color 0.12s;
}

.fs-chip--select.is-selected {
    background: var(--fs-primary, #2563EB);
    border-color: var(--fs-primary, #2563EB);
    color: #fff;
}

.fs-chip--select.is-selected:hover {
    background: var(--fs-primary-hover, #1D4ED8);
    border-color: var(--fs-primary-hover, #1D4ED8);
}

/* Admin-editor: categorie-rij met invoerveld + verwijderknop naast elkaar. */
.fs-catedit__row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.fs-catedit__row .k-textbox,
.fs-catedit__row .k-input {
    flex: 1 1 auto;
}

/* Verdacht-melden-knop: oranje/waarschuwend. */
.fs-trip__actions .fs-link-button--report {
    background: #C4661F;
    border-color: #C4661F;
    color: #fff;
}

.fs-trip__actions .fs-link-button--report:hover {
    background: #9c4f17;
    border-color: #9c4f17;
    color: #fff;
}

/* Waarschuwingsblok (bv. douanewaarschuwing voor reizigers). */
.fs-warning {
    border: 1px solid #F59E0B;
    background: #FEF3C7;
    color: #92400E;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    margin: 1rem 0;
    font-size: 0.9rem;
}

/* Annuleer-knop: gevuld rood met witte tekst (overschrijft de donkere basis-knopkleur). */
.fs-trip__actions .fs-link-button--cancel {
    background: #d92d20;
    border-color: #d92d20;
    color: #fff;
}

.fs-trip__actions .fs-link-button--cancel:hover {
    background: #b42318;
    border-color: #b42318;
    color: #fff;
}
