/*
 * Reachout World 2026 signup page (/signup, views/ambassador_signup.php).
 * Moved out of the page's inline <style> block.
 */

.loader {
    width: 48px;
    height: 48px;
    border: 5px solid #FFF;
    border-bottom-color: #FF3D00;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.banner-header {
    transition: 5s;
}

.page-title {
    font-size: 22px;
    font-weight: 700;
    text-align: center;
    font-family: 'Roboto', sans-serif;
    color: #545153;
    text-transform: uppercase;
}

/* laptop */
@media (min-width: 900px) {

    .btn_login_mobile {
        display: none
    }

    .menubar {
        background-color: white;
        position: sticky;
        margin-top: -0.99rem !important;
    }

    .nav-link {
        color: #344767 !important
    }

    .home-row-width {
        padding-left: 10%;
        padding-right: 10%;
    }

    .form-position {
        margin-top: -300px;
    }

    .section-one {
        margin-top: -10%;
    }


    .middle-banner-2 {
        background-image: url(https://rhapsodyofrealities.b-cdn.net/give.rhapsodyofrealities.org/friends/all_languages_-min.jpg);
        height: 22rem;
        margin-left: 10%;
        margin-right: 10%;
        background-repeat: no-repeat;
        background-size: contain;
    }

}

/* samsung s20, nexus6p */
@media (min-width: 362px) and (max-width: 430px) {
    .menubar {
        background-color: #752b8d;
        position: sticky;
        margin-top: -0.99rem !important;
    }

    .form-position {
        margin-top: 144px;
    }

    .section-one {
        margin-top: -122%;
    }



    .middle-banner-2 {
        background-image: url(https://rhapsodyofrealities.b-cdn.net/reachoutworld/every-lang-min.png);
        height: 20rem;
        margin-left: 2%;
        margin-right: -1%;
        background-repeat: no-repeat;
        background-size: contain;

        /* background-attachment: fixed;
        background-position: center; */

    }


}

/*  pbo - samsung s8*/
@media (min-width: 320px) and (max-width: 362px) {

    .form-position {
        margin-top: 144px;
    }

    .section-one {
        margin-top: -153%;
    }

    .middle-banner-2 {
        background-image: url(https://rhapsodyofrealities.b-cdn.net/reachoutworld/every-lang-min.png);
        height: 17rem;
        margin-left: 2%;
        margin-right: -1%;
        background-repeat: no-repeat;
        background-size: contain;

        /* background-attachment: fixed;
        background-position: center; */
    }

}

/*  ipad and tabs*/
@media (min-width: 768px) and (max-width: 820px) {

    .form-position {
        margin-top: 144px;
    }

    .section-one {
        margin-top: -67%;
    }


    .middle-banner-2 {
        background-image: url(https://rhapsodyofrealities.b-cdn.net/give.rhapsodyofrealities.org/friends/all_languages_-min.jpg);
        height: 14rem;
        margin-left: 1%;
        margin-right: 1%;
        background-repeat: no-repeat;
        background-size: contain;

        background-attachment: fixed;
        background-position: center;
    }

}

.hide_from_takeaction_page{
    display: none !important;
}


#google_translate_element select {
    background-color: #ffffff !important;
    color: #008ecc;
    border-radius: 50px;
    border-color: #cb0b9f;
    border-radius: 50px;
    padding: 6px
}

.goog-te-combo {
    color: #008ecc !important;
}

.goog-logo-link,
.goog-te-gadget span {
    display: none !important;
}

.goog-te-gadget {
    color: transparent !important;
    font-size: 0;
}

.goog-te-banner-frame {
    display: none !important;
}

.VIpgJd-ZVi9od-ORHb-OEVmcd {
    display: none;
}

#network_select, #group_select, #church_select {
    display: none;
}

/* Searchable dropdowns (country code, zone, group, church) */
.amb-combo { position: relative; }
.amb-combo-input {
    padding-right: 2.25rem;
    background: #fff url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23344767' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e") no-repeat right .75rem center / 12px 12px;
    text-transform: capitalize;
}
.amb-combo-input::placeholder {
     text-transform: none; 
    }
.amb-combo-list {
    position: absolute; left: 0; 
    right: 0;
     top: 100%; 
     z-index: 1050;
    max-height: 260px;
     overflow-y: auto;
    margin: 4px 0 0;
     padding: 4px 0;
      list-style: none;
    background: #fff;
     border: 1px solid #d2d6da;
      border-radius: .5rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
}
.amb-combo-list li {
     padding: .45rem .75rem; 
     font-size: .875rem; 
     color: #344767; 
     cursor: pointer; 
     text-transform: capitalize; 
    }
.amb-combo-list li.active {
     background: #f0f2f5; 
    }
.amb-combo-list li[aria-selected="true"] { font-weight: 600; }
.amb-combo-list li.amb-combo-empty { color: #8392ab;
     cursor: default;
     }

/* Video background (same promo video as the hero on views/index.php) */
body { background: #1a1a1a; }
.amb-video-bg {
     position: fixed; 
     inset: 0; 
     z-index: 0; 
     overflow: hidden;
     }
.amb-video-bg video {
    width: 100%;
    height: 100%; 
    object-fit: cover; 
    }
.amb-video-bg::after {
    content: ''; 
    position: absolute;
    inset: 0; 
    background: rgba(0, 0, 0, 0.6); 
    }
#nav, .amb-signup-main { position: relative; z-index: 1; }
.amb-signup-main { min-height: 100vh; padding-bottom: 3rem; }
@media (prefers-reduced-motion: reduce) { .amb-video-bg video { display: none; } }

/* Two-step form */
.amb-step { border: 0; padding: 0; margin: 0; min-width: 0; }
.amb-steps { display: flex; gap: .5rem; list-style: none; padding: 0; margin: 0 0 1.5rem; }
.amb-steps-item {
    flex: 1; display: flex; align-items: center; gap: .5rem;
    padding-bottom: .5rem; border-bottom: 3px solid #e9ecef;
    font-size: .8rem; font-weight: 600; color: #8392ab;
}
.amb-steps-num {
    display: inline-flex; align-items: center; justify-content: center;
    width: 1.5rem; height: 1.5rem; border-radius: 50%;
    background: #e9ecef; color: #67748e; font-size: .75rem;
}
.amb-steps-item.is-current, .amb-steps-item.is-done { color: #344767; border-bottom-color: #344767; }
.amb-steps-item.is-current .amb-steps-num, .amb-steps-item.is-done .amb-steps-num { background: #344767; color: #fff; }
/* Step tabs are buttons: completed steps (and step 2 from step 1) can be clicked */
.amb-steps-btn {
    display: flex; align-items: center; gap: .5rem; width: 100%; padding: 0; border: 0; background: none;
    font: inherit; color: inherit; text-align: left; cursor: pointer;
}
.amb-steps-btn:disabled { cursor: default; }
.amb-steps-item:not(.is-current) 
.amb-steps-btn:not(:disabled):hover { color: #14163b; }
.amb-steps-item:not(.is-current) 
.amb-steps-btn:not(:disabled):hover
.amb-steps-num { box-shadow: 0 0 0 3px rgba(52, 71, 103, .18); }
.amb-steps-btn:focus-visible { outline: 2px solid #2a2f8f; outline-offset: 3px; border-radius: .35rem; }
.amb-steps-item.is-current .amb-steps-btn { cursor: default; }

/* Reviewing saved details (already signed up) */
.amb-review-note {
    display: flex; flex-wrap: wrap; align-items: center; gap: .5rem;
    margin: -.75rem 0 1.25rem; padding: .6rem .85rem; border-radius: .75rem;
    background: #ecfdf3; color: #14532d; font-size: .825rem;
}
.amb-review-note[hidden] { display: none; }
.amb-review-note span { flex: 1; min-width: 12rem; }
.amb-review-back { padding: 0; border: 0; background: none; color: #14532d; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
#amb_form.is-reviewing .amb-step :disabled:not(.btn) { background-color: #f8fafc; color: #334155; opacity: 1; cursor: default; }
#amb_form.is-reviewing .amb-chip:disabled { opacity: .7; }

.amb-copies-field { position: relative; }
.amb-copies-field .form-control { padding-right: 4.5rem; }
.amb-copies-suffix { position: absolute; right: .9rem; top: 50%; transform: translateY(-50%); font-size: .875rem; color: var(--amb-muted); pointer-events: none; }
#nav.menubar { background: transparent; }
.amb-copies-presets { display: flex; flex-wrap: wrap; gap: .5rem; margin: .75rem 0 .5rem; }
.amb-chip {
    border: 1px solid #d2d6da; background: #fff; color: #344767;
    border-radius: 999px; padding: .3rem .85rem; font-size: .8rem; font-weight: 600;
}
.amb-chip:hover { border-color: #344767; }
.amb-chip[aria-pressed="true"] { background: #344767; border-color: #344767; color: #fff; }

/* Typography (Instrument Sans, styled like the Rhapsody Crusades registration page) */
:root { --amb-font: "Instrument Sans", "Open Sans", Roboto, system-ui, sans-serif; --amb-ink: #0f1729; --amb-muted: #64748b; }
body, .card, .card :not([class*="fa-"]), .amb-video-controls :not([class*="fa-"]), .swal2-popup, .swal2-popup :not([class*="fa-"]) { font-family: var(--amb-font); }
.amb-eyebrow {
    display: flex; justify-content: center; align-items: center; gap: .6rem; margin: 1rem 0 .35rem;
    font-size: .8rem; font-weight: 600; letter-spacing: .025em; text-transform: uppercase; color: #3035b0;
}
.amb-eyebrow::before { content: ''; width: 1.25rem; height: 2px; background: #e8c547; }
.amb-title { font-size: 2rem; font-weight: 700; letter-spacing: -0.025em; line-height: 1.15; color: #14163b; margin: 0 0 .4rem; }
.amb-subtitle { font-size: .875rem; color: #1e293b; font-weight: 500; margin: 0; }
/* Info hint beside the subtitle: the "sign up to sponsor and distribute" line, shown on hover, focus or tap */
.amb-subtitle { position: relative; }
.amb-hint-btn {
    display: inline-flex; align-items: center; justify-content: center; vertical-align: -.15em;
    width: 1.35rem; height: 1.35rem; margin-left: .2rem; padding: 0; border: 0; border-radius: 50%;
    background: transparent; color: #2a2f8f; font-size: .95rem; cursor: help;
    transition: color .2s ease, background .2s ease;
}
.amb-hint-btn:hover, .amb-hint.is-open .amb-hint-btn { background: #eef0fb; }
.amb-hint-btn:focus-visible { outline: 2px solid #2a2f8f; outline-offset: 2px; }
.amb-hint-tip {
    position: absolute; z-index: 20; top: calc(100% + .55rem); left: 50%;
    width: max-content; max-width: min(22rem, calc(100vw - 3rem));
    padding: .75rem .9rem; border-radius: .75rem;
    background: #14163b; color: #e2e8f0; font-size: .85rem; line-height: 1.5; text-align: center;
    box-shadow: 0 12px 28px rgba(20, 22, 59, .3);
    opacity: 0; visibility: hidden; pointer-events: none;
    transform: translate(-50%, -4px);
    transition: opacity .2s ease, transform .25s var(--amb-ease), visibility 0s linear .25s;
}
.amb-hint-tip strong { color: #fff; font-weight: 600; }
.amb-hint:hover .amb-hint-tip, .amb-hint-btn:focus-visible + .amb-hint-tip, .amb-hint.is-open .amb-hint-tip {
    opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0);
    transition: opacity .2s ease, transform .25s var(--amb-ease), visibility 0s;
}
.amb-hint.is-dismissed .amb-hint-tip { opacity: 0; visibility: hidden; pointer-events: none; transform: translate(-50%, -4px); }
@media (max-width: 576px) { .amb-title { font-size: 1.6rem; } }
#amb_form .form-label, #amb_form p.form-label {
    font-size: .875rem; font-weight: 500; color: #1e293b; text-transform: none; letter-spacing: 0; margin-bottom: .4rem;
}
#amb_form .form-control, #amb_form .amb-combo-list li, #amb_form .input-group-text { font-size: .875rem; color: var(--amb-ink); }
#amb_form .form-control::placeholder { color: #94a3b8; }
#amb_form .form-check-label { font-size: .875rem; font-weight: 400; color: #334155; }
#amb_form .form-text { font-size: .75rem; color: var(--amb-muted); }
#amb_form .btn { font-weight: 600; letter-spacing: 0; text-transform: none; font-size: .875rem; }
.amb-steps-item { font-size: .875rem; font-weight: 500; }

/* Banner across the top of the card (replaces the logo).
   The image's right ~21% is plain background, so crop it off and keep the artwork. */
.amb-hero-banner {
    display: block; width: 100%; height: auto; aspect-ratio: 2380 / 860;
    object-fit: cover; object-position: left center;
    border-radius: inherit; border-bottom-left-radius: 0; border-bottom-right-radius: 0;
}

/* Minimise the form to watch the video with sound */
.card-header { position: relative; }
/* "Watch the promo" banner in the card header */
.amb-watch {
    display: flex; align-items: center; gap: .9rem; width: 100%;
    margin: 1.25rem 0 .25rem; padding: .75rem 1rem .75rem .75rem;
    border: 0; border-radius: 1rem; text-align: left; color: #fff; cursor: pointer;
    background: #2a2f8f;
    box-shadow: 0 10px 24px rgba(20, 22, 59, .28);
    transition: background .25s var(--amb-ease), transform .25s var(--amb-ease), box-shadow .25s var(--amb-ease);
}
.amb-watch:active { transform: translateY(0); }
.amb-watch-play {
    flex: none; display: inline-flex; align-items: center; justify-content: center;
    width: 3rem; height: 3rem; border-radius: 50%;
    background: rgb(222, 17, 53); color: #fff; font-size: 1rem;
    animation: amb-watch-pulse 2.2s cubic-bezier(.22, 1, .36, 1) infinite;
}
.amb-watch-play i { margin-left: 3px; } /* optically centre the triangle */
.amb-watch-text { display: flex; flex-direction: column; gap: .15rem; min-width: 0; flex: 1; }
.amb-watch-title { font-size: 1rem; font-weight: 600; line-height: 1.25; }
.amb-watch-meta { font-size: .8rem; color: rgba(255, 255, 255, .72); display: inline-flex; align-items: center; gap: .35rem; }
.amb-watch-meta i { font-size: .7rem; }
.amb-watch-arrow { flex: none; font-size: .9rem; opacity: .8; }
/* Hover: the banner melts away and only the round play button is left.
   The button keeps its full size so the pointer stays over it (no flicker). */
.amb-watch-play { transition: transform .35s var(--amb-ease); } /* also the soft trailing glide behind the cursor */
.amb-watch-text, .amb-watch-arrow { pointer-events: none; }
.amb-watch-text, .amb-watch-arrow { transition: opacity .3s var(--amb-ease), transform .45s var(--amb-ease); }
@media (hover: hover) {
    .amb-watch:hover { background: transparent; box-shadow: none; }
    .amb-watch:hover .amb-watch-text,
    .amb-watch:hover .amb-watch-arrow { opacity: 0; transform: translateX(-1.25rem); }
    /* --amb-play-x is set from the cursor position (ambassador_signup_selects.js); the transition gives it a soft trailing glide */
    .amb-watch:hover .amb-watch-play { transform: translateX(var(--amb-play-x, 0px)) scale(1.18); }
}
@keyframes amb-watch-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(222, 17, 53, .6); }
    70%  { box-shadow: 0 0 0 12px rgba(222, 17, 53, 0); }
    100% { box-shadow: 0 0 0 0 rgba(222, 17, 53, 0); }
}
@media (prefers-reduced-motion: reduce) { .amb-watch-play { animation: none; } }
:root { --amb-ease: cubic-bezier(.22, 1, .36, 1); --amb-dur: .6s; }
.amb-signup-main, #nav {
    transition: opacity var(--amb-dur) var(--amb-ease), transform var(--amb-dur) var(--amb-ease), filter var(--amb-dur) var(--amb-ease), visibility 0s linear 0s;
    transform-origin: 50% 20%;
}
.amb-video-bg::after { transition: opacity var(--amb-dur) var(--amb-ease); }
body.amb-watching .amb-signup-main, body.amb-watching #nav {
    opacity: 0; visibility: hidden; pointer-events: none;
    transform: translateY(32px) scale(.96); filter: blur(4px);
    transition: opacity var(--amb-dur) var(--amb-ease), transform var(--amb-dur) var(--amb-ease), filter var(--amb-dur) var(--amb-ease), visibility 0s linear var(--amb-dur);
}
body.amb-watching .amb-video-bg::after { opacity: 0; }
body.amb-watching .amb-video-bg video { display: block; } /* show it even with reduced motion: the user asked for it */
.amb-video-controls {
    position: fixed; left: 50%; bottom: 1.5rem; z-index: 3;
    display: flex; gap: .25rem; padding: .4rem;
    background: rgba(15, 23, 41, .72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border-radius: 999px; box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
    opacity: 0; visibility: hidden; pointer-events: none; transform: translate(-50%, 24px);
    transition: opacity .35s var(--amb-ease), transform .35s var(--amb-ease), visibility 0s linear .35s;
}
body.amb-watching .amb-video-controls {
    opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0);
    transition: opacity .5s var(--amb-ease) .25s, transform .5s var(--amb-ease) .25s, visibility 0s linear 0s;
}
.amb-ctrl-icon { width: 2.5rem; padding: .6rem 0 !important; justify-content: center; }
@media (prefers-reduced-motion: reduce) {
    :root { --amb-dur: .2s; }
    body.amb-watching .amb-signup-main, body.amb-watching #nav { transform: none; filter: none; }
}
.amb-ctrl {
    display: inline-flex; align-items: center; gap: .45rem; white-space: nowrap;
    border: 0; border-radius: 999px; padding: .6rem 1.1rem; font-size: .875rem; font-weight: 600;
}
.amb-ctrl-ghost { background: transparent; color: #fff; }
.amb-ctrl-ghost:hover { background: rgba(255, 255, 255, .14); }
.amb-ctrl-primary { background: #fff; color: #14163b; }
.amb-ctrl:focus-visible, .amb-watch:focus-visible { outline: 2px solid #e8c547; outline-offset: 3px; }

/* "How will you take part?" checkboxes: black border instead of the theme's thin grey one */
#amb_form .form-check-input[type="checkbox"] {
    border: 1.5px solid #000;
    width: 1.15rem;
    height: 1.15rem;
}
#amb_form .form-check-input[type="checkbox"]:checked {
    border-color: #000;
}
#amb_form .form-check-input[type="checkbox"]:focus-visible {
    box-shadow: 0 0 0 3px rgba(232, 197, 71, .6);
}

/* Step 3: "You're ready" */
.amb-done-head { text-align: center; padding: .5rem 0 1.25rem; }
.amb-done-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 3.25rem; height: 3.25rem; border-radius: 50%;
    background: #e7f6ec; color: #1a7f3c; font-size: 1.35rem; margin-bottom: .75rem;
    animation: amb-pop .5s var(--amb-ease) both;
}
@keyframes amb-pop { from { transform: scale(.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.amb-done-title { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; color: #14163b; margin: 0 0 .4rem; outline: none; }
.amb-done-summary { font-size: .95rem; color: #334155; margin: 0 auto .35rem; max-width: 28rem; }
.amb-done-summary strong { color: #14163b; }
.amb-done-email { font-size: .8rem; color: var(--amb-muted); margin: 0; }
.amb-done-email strong { color: #334155; font-weight: 600; }

/* Step 3 sections: sponsor card, next steps */
.amb-done-head { padding-bottom: 1.5rem; }

/* Sponsor card */
.amb-sponsor {
    border: 1px solid #e2e8f0; border-radius: 1rem; padding: 1.25rem;
    background: #fbfbfe; margin-bottom: 1.75rem;
}
.amb-sponsor-head { display: flex; align-items: flex-start; gap: .85rem; margin-bottom: 1rem; }
.amb-sponsor-icon {
    flex: none; display: inline-flex; align-items: center; justify-content: center;
    width: 2.5rem; height: 2.5rem; border-radius: .75rem;
    background: rgba(222, 17, 53, .1); color: rgb(222, 17, 53); font-size: 1.05rem;
}
.amb-sponsor-title { font-size: 1.05rem; font-weight: 700; color: #14163b; margin: 0 0 .15rem; }
.amb-sponsor-text { font-size: .825rem; color: var(--amb-muted); margin: 0; }
.amb-sponsor-text strong { color: #14163b; }

.amb-sponsor-pick { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.amb-sponsor-pick .amb-copies-field { flex: 1 1 11rem; }
/* Segmented 25% / 50% / All control */
.amb-seg { display: inline-flex; padding: 3px; border-radius: 999px; background: #eef0f6; }
.amb-seg .amb-chip { border: 0; background: transparent; padding: .4rem .8rem; color: #475569; }
.amb-seg .amb-chip[aria-pressed="true"] { background: #fff; color: #14163b; box-shadow: 0 1px 3px rgba(20, 22, 59, .15); }

.amb-sponsor-foot {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1rem;
    margin-top: 1.1rem; padding-top: 1.1rem; border-top: 1px dashed #dbe1ea;
}
.amb-sponsor-total { display: flex; align-items: baseline; gap: .45rem; margin: 0; color: #334155; }
.amb-sponsor-total-label { font-size: .8rem; color: var(--amb-muted); }
.amb-sponsor-total strong { font-size: 1.5rem; line-height: 1; color: #14163b; letter-spacing: -0.01em; }
.amb-sponsor-alt { font-size: .8rem; color: var(--amb-muted); }
#amb_form .amb-sponsor-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    background: rgb(222, 17, 53); border-color: rgb(222, 17, 53); color: #fff;
    padding: .75rem 1.25rem; font-size: .9rem;
    box-shadow: 0 8px 18px rgba(222, 17, 53, .22);
}
#amb_form .amb-sponsor-btn:hover { background: #c20e2e; color: #fff; }
#amb_form .amb-sponsor-btn.disabled { opacity: .5; pointer-events: none; box-shadow: none; }
.amb-sponsor-note { font-size: .75rem; color: var(--amb-muted); margin: .75rem 0 0; }
@media (max-width: 480px) {
    .amb-sponsor-pick .amb-seg { width: 100%; }
    .amb-seg .amb-chip { flex: 1; }
    #amb_form .amb-sponsor-btn { width: 100%; }
}

/* Step 3 section headings */
.amb-section-title {
    display: block; font-size: .75rem; font-weight: 600; letter-spacing: .06em;
    text-transform: uppercase; color: var(--amb-muted); margin: 0 0 .75rem;
}

/* Next steps: two-column tiles */
.amb-done-section { margin-bottom: 1.75rem; }
.amb-next { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
.amb-next li[hidden] { display: none; }
.amb-next a {
    display: flex; align-items: center; gap: .65rem; height: 100%;
    padding: .7rem .75rem; border: 1px solid #e2e8f0; border-radius: .75rem;
    color: #1e293b; font-size: .85rem; font-weight: 500; line-height: 1.3; text-decoration: none; background: #fff;
    transition: border-color .2s ease, transform .2s var(--amb-ease), box-shadow .2s ease;
}
.amb-next-icon {
    flex: none; display: inline-flex; align-items: center; justify-content: center;
    width: 2rem; height: 2rem; border-radius: .6rem; background: #eef0fb; color: #2a2f8f; font-size: .85rem;
}
.amb-next a:hover { border-color: #2a2f8f; box-shadow: 0 6px 16px rgba(20, 22, 59, .08); transform: translateY(-1px); }
@media (max-width: 400px) { .amb-next { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) { .amb-done-icon { animation: none; } }

/* Account actions in step 3 */
.amb-done-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-top: 1rem; }
.amb-done-buttons .btn { display: inline-flex; align-items: center; gap: .45rem; }
.amb-done-buttons [hidden] { display: none !important; }
.amb-done-buttons:not(:has(> :not([hidden]))) { display: none; } /* no empty gap while the dashboard link is hidden */
.amb-not-me {
    display: inline-block; margin-top: .75rem; padding: 0; border: 0; background: none;
    font-size: .78rem; color: var(--amb-muted); text-decoration: underline; text-underline-offset: 2px;
}
.amb-not-me:hover { color: #14163b; }
.amb-done-footer {
    display: flex; flex-direction: column; align-items: center; gap: .25rem;
    padding-top: 1.25rem; border-top: 1px solid #eef0f4; text-align: center;
}
.amb-done-footer .btn { display: inline-flex; align-items: center; gap: .45rem; }

/* "Registering someone else on behalf of …" banner */
.amb-behalf {
    display: flex; align-items: center; gap: .6rem; margin: 0 0 1.25rem; padding: .7rem .9rem;
    border-radius: .75rem; background: #eef0fb; color: #14163b; font-size: .85rem;
}
.amb-behalf[hidden] { display: none; }
.amb-behalf > i { color: #2a2f8f; }
.amb-behalf span { flex: 1; }
.amb-behalf-cancel {
    border: 0; background: transparent; color: #2a2f8f; font-weight: 600; font-size: .8rem;
    text-decoration: underline; text-underline-offset: 2px; padding: 0;
}

/* People you've registered */
.amb-registered { list-style: none; margin: 0; padding: 0; border: 1px solid #e2e8f0; border-radius: .75rem; background: #fff; }
.amb-registered li { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem .85rem; font-size: .85rem; }
.amb-registered li + li { border-top: 1px solid #eef0f4; }
.amb-registered-name { color: #1e293b; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.amb-registered-meta { color: var(--amb-muted); white-space: nowrap; }


form-control {
    display: block;
    width: 100%;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.4rem;
    color: #0a0a0b !important;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #000000 !important;
    appearance: none;
    border-radius: 0.5rem;
    transition: box-shadow 0.15s ease, border-color 0.15s ease;
}