/* ==========================================================================
   XClube Inscrição — Opulent Noir
   Premium private members club aesthetic
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400&family=Outfit:wght@300;400;500;600&display=swap');

/* ---- Design tokens ---- */
.xclube-form-wrap,
.xclube-form-wrap * {
    box-sizing: border-box;
}

.xclube-form-wrap {
    --xc-gold:        #c9a84c;
    --xc-gold-bright: #e4c76b;
    --xc-gold-dim:    #8b6914;
    --xc-gold-glass:  rgba(201, 168, 76, .08);
    --xc-gold-border: rgba(201, 168, 76, .22);
    --xc-gold-glow:   rgba(201, 168, 76, .12);
    --xc-cream:       #f0ead6;
    --xc-cream-dim:   #a8a08c;
    --xc-bg:          #0d0b09;
    --xc-bg-card:     #161311;
    --xc-bg-field:    #1c1915;
    --xc-red:         #c0392b;
    --xc-radius:      10px;
    --xc-radius-lg:   16px;
    --xc-font-display: 'Cormorant Garamond', Georgia, serif;
    --xc-font-body:    'Outfit', sans-serif;

    max-width: 680px;
    margin: 0 auto;
    padding: 12px 0 40px;
    font-family: var(--xc-font-body);
    font-weight: 300;
    color: var(--xc-cream);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

/* ---- Ambient background glow ---- */
.xclube-form-wrap::before {
    content: '';
    position: fixed;
    top: -40%;
    left: 50%;
    width: 800px;
    height: 800px;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(201,168,76,.04) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

/* ---- Typography ---- */
.xclube-form-title {
    font-family: var(--xc-font-display);
    font-weight: 600;
    font-size: 32px;
    letter-spacing: .02em;
    color: var(--xc-gold);
    margin: 0 0 6px;
}

.xclube-form-subtitle {
    font-size: 15px;
    font-weight: 300;
    color: var(--xc-cream-dim);
    margin: 0 0 32px;
    letter-spacing: .01em;
}

/* ==========================================================================
   STEP 0 — Choice cards
   ========================================================================== */
.xclube-choice-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

@media (max-width: 520px) {
    .xclube-choice-buttons { grid-template-columns: 1fr; }
}

.xclube-choice-buttons .xclube-btn {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 160px;
    padding: 30px 20px;
    border-radius: var(--xc-radius-lg);
    font-family: var(--xc-font-display);
    font-size: 22px;
    font-weight: 600;
    letter-spacing: .03em;
    overflow: hidden;
    transition: transform .35s cubic-bezier(.22,1,.36,1),
                box-shadow .35s ease,
                border-color .35s ease;
}

.xclube-choice-buttons .xclube-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0;
    transition: opacity .4s ease;
    background: radial-gradient(ellipse at 50% 0%, rgba(201,168,76,.12), transparent 70%);
}

.xclube-choice-buttons .xclube-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(201,168,76,.1);
}

.xclube-choice-buttons .xclube-btn:hover::before {
    opacity: 1;
}

.xclube-choice-buttons .xclube-btn-primary {
    background: linear-gradient(160deg, #1f1b14 0%, #161210 100%);
    border: 1px solid var(--xc-gold-border);
    color: var(--xc-gold);
}

.xclube-choice-buttons .xclube-btn-primary:hover {
    border-color: var(--xc-gold);
    background: linear-gradient(160deg, #241f16 0%, #1a1510 100%);
}

.xclube-choice-buttons .xclube-btn-secondary {
    background: linear-gradient(160deg, #14120f 0%, #0f0d0a 100%);
    border: 1px solid rgba(255,255,255,.06);
    color: var(--xc-cream-dim);
}

.xclube-choice-buttons .xclube-btn-secondary:hover {
    border-color: var(--xc-gold-border);
    color: var(--xc-cream);
}

/* ==========================================================================
   Buttons (generic)
   ========================================================================== */
.xclube-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border: none;
    border-radius: var(--xc-radius);
    font-family: var(--xc-font-body);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .06em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: all .3s cubic-bezier(.22,1,.36,1);
}

.xclube-btn-primary {
    background: linear-gradient(135deg, var(--xc-gold-dim) 0%, var(--xc-gold) 100%);
    color: #0d0b09;
    box-shadow: 0 2px 12px rgba(201,168,76,.15);
}

.xclube-btn-primary:hover {
    background: linear-gradient(135deg, var(--xc-gold) 0%, var(--xc-gold-bright) 100%);
    box-shadow: 0 4px 20px rgba(201,168,76,.25);
    transform: translateY(-1px);
}

.xclube-btn-full { width: 100%; }

.xclube-btn:disabled {
    opacity: .4;
    pointer-events: none;
    filter: grayscale(.5);
}

/* Back link */
.xclube-back {
    background: none;
    border: none;
    color: var(--xc-cream-dim);
    font-family: var(--xc-font-body);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: .06em;
    text-transform: uppercase;
    cursor: pointer;
    padding: 6px 0;
    margin-bottom: 16px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color .25s;
    opacity: .6;
}

.xclube-back:hover { color: var(--xc-gold); opacity: 1; }

/* ==========================================================================
   Form fields
   ========================================================================== */
.xclube-field {
    margin-bottom: 20px;
}

.xclube-field label {
    display: block;
    font-family: var(--xc-font-body);
    font-size: 11px;
    font-weight: 500;
    color: var(--xc-gold);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: .1em;
}

.xclube-field input[type="text"],
.xclube-field input[type="email"],
.xclube-field input[type="tel"],
.xclube-field input[type="date"],
.xclube-field input[type="number"],
.xclube-field select,
.xclube-field textarea,
.xc-select-display {
    width: 100%;
    padding: 13px 16px;
    border: 1px solid rgba(255,255,255,.06) !important;
    border-radius: 10px !important;
    background-color: #1c1915 !important;
    background-image: none;
    color: #f0ead6 !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 15px !important;
    font-weight: 300 !important;
    letter-spacing: .01em;
    box-sizing: border-box;
    transition: border-color .3s ease, box-shadow .3s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    box-shadow: none !important;
}

/* Override autofill yellow background */
.xclube-field input:-webkit-autofill,
.xclube-field input:-webkit-autofill:hover,
.xclube-field input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px #1c1915 inset !important;
    -webkit-text-fill-color: #f0ead6 !important;
    caret-color: #f0ead6;
}

.xclube-field input::placeholder,
.xclube-field textarea::placeholder {
    color: rgba(240,234,214,.2);
    font-weight: 300;
}

.xclube-field input:focus,
.xclube-field select:focus,
.xclube-field textarea:focus {
    outline: none;
    border-color: var(--xc-gold);
    box-shadow: 0 0 0 3px var(--xc-gold-glow);
    background: #1f1c17;
}

/* Custom select arrow */
.xclube-field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23c9a84c' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}

.xclube-field select option {
    background: #161311;
    color: var(--xc-cream);
    padding: 8px;
}

/* DOB triple select */
.xclube-dob-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1.2fr;
    gap: 8px;
}

.xclube-dob-part {
    width: 100%;
    padding: 13px 28px 13px 14px !important;
    border: 1px solid rgba(255,255,255,.06) !important;
    border-radius: 10px !important;
    background-color: #1c1915 !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23c9a84c' stroke-width='1.2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    color: #f0ead6 !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 15px !important;
    font-weight: 300 !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
    box-sizing: border-box;
    min-height: 47px;
    transition: border-color .3s, box-shadow .3s;
}

.xclube-dob-part:focus {
    outline: none;
    border-color: var(--xc-gold);
    box-shadow: 0 0 0 3px var(--xc-gold-glow);
}

.xclube-dob-part option {
    background: #161311;
    color: var(--xc-cream);
}

.has-error .xclube-dob-part {
    border-color: var(--xc-red);
}

/* DOB native selects hidden when custom is active */
.xclube-dob-part[data-customized] {
    position: absolute !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
}

/* Textarea */
.xclube-field textarea {
    resize: vertical;
    min-height: 80px;
}

/* ==========================================================================
   intl-tel-input overrides
   ========================================================================== */
.iti { width: 100%; }

.iti input[type="tel"] {
    padding-left: 90px !important;
}

.iti__selected-dial-code {
    color: var(--xc-cream-dim) !important;
    font-family: var(--xc-font-body) !important;
    font-size: 14px !important;
}

.iti__country-name {
    color: var(--xc-cream) !important;
    font-family: var(--xc-font-body) !important;
    font-size: 13px !important;
}

.iti__dial-code {
    color: var(--xc-cream-dim) !important;
}

.iti__country-list {
    background: #1a1714 !important;
    border: 1px solid var(--xc-gold-border) !important;
    border-radius: 10px !important;
    box-shadow: 0 12px 40px rgba(0,0,0,.5) !important;
    scrollbar-width: thin !important;
    scrollbar-color: rgba(201,168,76,.3) transparent !important;
    max-height: 280px !important;
    padding: 4px !important;
    margin-top: 4px !important;
    color: #f0ead6 !important;
}

.iti__country-list::-webkit-scrollbar {
    width: 6px !important;
    background: transparent !important;
}

.iti__country-list::-webkit-scrollbar-thumb {
    background: rgba(201,168,76,.3) !important;
    border-radius: 3px !important;
}

.iti__country-list::-webkit-scrollbar-button {
    display: none !important;
    height: 0 !important;
}

.iti__country {
    padding: 10px 14px !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 14px !important;
    font-weight: 300 !important;
    color: #f0ead6 !important;
    border-radius: 6px !important;
    transition: background .15s !important;
}

.iti__country-list::-webkit-scrollbar {
    width: 6px;
}

.iti__country-list::-webkit-scrollbar-thumb {
    background: var(--xc-gold-dim);
    border-radius: 3px;
}

.iti__country {
    padding: 8px 12px !important;
    transition: background .15s;
}

.iti__country:hover,
.iti__country--highlight {
    background: rgba(201,168,76,.12) !important;
    color: #e4c76b !important;
}

.iti__divider {
    border-bottom-color: rgba(255,255,255,.06) !important;
    margin: 4px 0 !important;
}

.iti__dial-code {
    color: rgba(240,234,214,.5) !important;
    font-size: 13px !important;
    margin-left: 8px !important;
}

/* v23+: .iti__country-container, .iti__selected-country, .iti__selected-country-primary */
.iti__country-container,
.iti__selected-country,
.iti__selected-flag {
    background: transparent !important;
}

.iti__selected-country-primary,
.iti__selected-flag {
    background: rgba(0,0,0,.2) !important;
    border-right: 1px solid rgba(255,255,255,.06) !important;
    padding: 0 14px !important;
    border-radius: 10px 0 0 10px !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 14px !important;
    color: #f0ead6 !important;
    height: 100% !important;
}

.iti__selected-country-primary:hover,
.iti__selected-flag:hover,
.iti__selected-country:hover {
    background: rgba(0,0,0,.3) !important;
}

/* Dropdown content wrapper */
.iti__dropdown-content {
    background: #1a1714 !important;
    border: 1px solid var(--xc-gold-border) !important;
    border-radius: 10px !important;
    box-shadow: 0 12px 40px rgba(0,0,0,.5) !important;
    overflow: hidden !important;
    margin-top: 4px !important;
}

.iti__selected-dial-code {
    color: #f0ead6 !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 14px !important;
    margin-left: 6px !important;
}

.iti__arrow {
    border-top-color: var(--xc-gold) !important;
    margin-left: 6px;
}

.iti__arrow--up {
    border-bottom-color: var(--xc-gold) !important;
}

.iti__search-input {
    display: block !important;
    width: calc(100% - 16px) !important;
    margin: 8px !important;
    padding: 10px 14px !important;
    border: 1px solid rgba(255,255,255,.1) !important;
    border-radius: 6px !important;
    background: rgba(0,0,0,.35) !important;
    color: #f0ead6 !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 14px !important;
    font-weight: 300 !important;
    line-height: 1.4 !important;
    outline: none !important;
    box-sizing: border-box !important;
}

.iti__search-input:focus {
    border-color: var(--xc-gold-border) !important;
    background: rgba(0,0,0,.5) !important;
}

.iti__search-input::placeholder {
    color: rgba(240,234,214,.35) !important;
    font-size: 14px !important;
}

/* ==========================================================================
   Row / Column layout
   ========================================================================== */
.xclube-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 520px) {
    .xclube-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* ==========================================================================
   Section headers (Ela / Ele)
   ========================================================================== */
.xclube-section-header {
    font-family: var(--xc-font-display);
    font-size: 20px;
    font-weight: 600;
    color: var(--xc-gold);
    letter-spacing: .05em;
    margin: 36px 0 18px;
    padding-bottom: 12px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
}

.xclube-section-header::before,
.xclube-section-header::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--xc-gold-border), transparent);
}

.xclube-section-header::after {
    background: linear-gradient(270deg, var(--xc-gold-border), transparent);
}

/* Ele section animated reveal */
.xclube-section-ele {
    animation: xclube-reveal .5s cubic-bezier(.22,1,.36,1);
}

@keyframes xclube-reveal {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   Consent checkboxes
   ========================================================================== */
.xclube-consent label {
    display: block;
    font-size: 13px;
    font-weight: 300;
    color: var(--xc-cream-dim);
    text-transform: none;
    letter-spacing: 0;
    cursor: pointer;
    padding: 12px 16px;
    border: 1px solid rgba(255,255,255,.04);
    border-radius: var(--xc-radius);
    background: rgba(255,255,255,.02);
    transition: border-color .3s, background .3s;
    line-height: 1.6;
}

.xclube-consent label:hover {
    border-color: var(--xc-gold-border);
    background: var(--xc-gold-glass);
}

.xclube-consent input[type="checkbox"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    min-width: 20px;
    border: 1.5px solid var(--xc-gold-border);
    border-radius: 4px;
    background: var(--xc-bg-field);
    cursor: pointer;
    margin: 0 10px 0 0;
    vertical-align: middle;
    position: relative;
    display: inline-block;
    transition: all .2s;
}

.xclube-consent input[type="checkbox"]:checked {
    background: var(--xc-gold);
    border-color: var(--xc-gold);
}

.xclube-consent input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 6px;
    width: 5px;
    height: 10px;
    border: solid #0d0b09;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.xclube-consent a,
.xclube-consent a:link,
.xclube-consent a:visited,
.xclube-consent a:hover,
.xclube-consent a:active {
    color: var(--xc-gold) !important;
    text-decoration: none !important;
    text-decoration-line: none !important;
    border: none !important;
    background: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    transition: color .2s;
}

.xclube-consent a:hover {
    color: var(--xc-gold-bright) !important;
}

/* ==========================================================================
   Error states
   ========================================================================== */
.xclube-field-error {
    color: var(--xc-red);
    font-size: 13px;
    font-weight: 400;
    margin-bottom: 16px;
    padding: 10px 14px;
    background: rgba(192,57,43,.08);
    border: 1px solid rgba(192,57,43,.2);
    border-radius: var(--xc-radius);
}

.xclube-field.has-error input,
.xclube-field.has-error select,
.xclube-field.has-error textarea {
    border-color: var(--xc-red);
    box-shadow: 0 0 0 3px rgba(192,57,43,.1);
}

.xclube-field.has-error .iti input {
    border-color: var(--xc-red);
}

/* Per-field error message */
.xclube-field-msg {
    display: block;
    font-size: 12px;
    font-weight: 400;
    color: var(--xc-red);
    min-height: 0;
    margin-top: 4px;
    letter-spacing: 0;
    text-transform: none;
}

.xclube-field-msg:empty {
    display: none;
}

/* ==========================================================================
   Success box
   ========================================================================== */
.xclube-success-box {
    text-align: center;
    padding: 60px 30px;
    border: 1px solid var(--xc-gold-border);
    border-radius: var(--xc-radius-lg);
    background: linear-gradient(180deg, rgba(201,168,76,.06) 0%, var(--xc-bg-card) 100%);
    animation: xclube-success-in .8s cubic-bezier(.22,1,.36,1);
}

.xclube-success-box::before {
    content: '';
    display: block;
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    border: 2px solid var(--xc-gold);
    border-radius: 50%;
    background: var(--xc-gold-glass);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23c9a84c' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    animation: xclube-check-pop .6s .3s cubic-bezier(.22,1,.36,1) both;
}

@keyframes xclube-success-in {
    from { opacity: 0; transform: scale(.95); }
    to   { opacity: 1; transform: scale(1); }
}

@keyframes xclube-check-pop {
    from { opacity: 0; transform: scale(.5); }
    to   { opacity: 1; transform: scale(1); }
}

.xclube-success-box h2 {
    font-family: var(--xc-font-display);
    font-size: 28px;
    font-weight: 600;
    color: var(--xc-gold);
    margin: 0 0 10px;
}

.xclube-success-box p {
    color: var(--xc-cream-dim);
    font-size: 15px;
    font-weight: 300;
    max-width: 380px;
    margin: 0 auto;
}

/* ==========================================================================
   reCAPTCHA notice
   ========================================================================== */
.xclube-recaptcha-notice {
    font-size: 11px;
    font-weight: 300;
    color: rgba(240,234,214,.2);
    text-align: center;
    margin-top: 16px;
    letter-spacing: .02em;
}

/* ==========================================================================
   Loading spinner
   ========================================================================== */
.xclube-btn.loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}

.xclube-btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid rgba(13,11,9,.2);
    border-top-color: #0d0b09;
    border-radius: 50%;
    animation: xclube-spin .65s linear infinite;
}

@keyframes xclube-spin {
    to { transform: rotate(360deg); }
}

/* ==========================================================================
   Step transitions
   ========================================================================== */
.xclube-step {
    animation: xclube-step-in .45s cubic-bezier(.22,1,.36,1);
}

@keyframes xclube-step-in {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   Decorative gold line beneath title
   ========================================================================== */
.xclube-form-title::after {
    content: '';
    display: block;
    width: 48px;
    height: 2px;
    margin-top: 10px;
    background: linear-gradient(90deg, var(--xc-gold), transparent);
    border-radius: 1px;
}

/* Center the line on the choice step */
[data-step="0"] .xclube-form-title {
    text-align: center;
}

[data-step="0"] .xclube-form-title::after {
    margin-left: auto;
    margin-right: auto;
}

[data-step="0"] .xclube-form-subtitle {
    text-align: center;
}

/* ==========================================================================
   Member form step — centered, contained
   ========================================================================== */
[data-step="member"] #xclube-member-form {
    max-width: 360px;
}

[data-step="member"] #member_number {
    text-align: center;
    font-size: 24px;
    font-family: var(--xc-font-display);
    font-weight: 600;
    letter-spacing: .1em;
    padding: 16px;
    color: var(--xc-gold);
}

[data-step="member"] #member_number::placeholder {
    font-size: 18px;
    font-weight: 400;
    color: rgba(201,168,76,.25);
}

/* ==========================================================================
   Custom Select
   ========================================================================== */
.xc-select {
    position: relative;
    width: 100%;
}

.xc-select-display {
    padding-right: 40px;
    cursor: pointer;
    outline: none;
    display: flex;
    align-items: center;
    min-height: 47px;
    user-select: none;
}

.xc-select-display:focus,
.xc-select.open .xc-select-display {
    border-color: var(--xc-gold);
    box-shadow: 0 0 0 3px var(--xc-gold-glow);
}

.has-error .xc-select-display {
    border-color: var(--xc-red);
    box-shadow: 0 0 0 3px rgba(192,57,43,.1);
}

.xc-select-placeholder-text {
    color: rgba(240,234,214,.3);
}

.xc-select-value {
    color: var(--xc-cream);
}

.xc-select-arrow {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid var(--xc-gold);
    transition: transform .25s;
    pointer-events: none;
}

.xc-select.open .xc-select-arrow {
    transform: translateY(-50%) rotate(180deg);
}

.xc-select-list {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    z-index: 100;
    max-height: 280px;
    overflow-y: auto;
    overflow-x: hidden;
    background: #1a1714;
    border: 1px solid var(--xc-gold-border);
    border-radius: var(--xc-radius);
    box-shadow: 0 12px 40px rgba(0,0,0,.5);
    scrollbar-width: thin;
    scrollbar-color: rgba(201,168,76,.3) transparent;
    scrollbar-gutter: stable;
}

.xc-select.open .xc-select-list {
    display: block;
    animation: xc-dropdown-in .2s ease;
}

@keyframes xc-dropdown-in {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.xc-select-list::-webkit-scrollbar {
    width: 6px;
    background: transparent;
}

.xc-select-list::-webkit-scrollbar-track {
    background: transparent;
    border: none;
}

.xc-select-list::-webkit-scrollbar-thumb {
    background: rgba(201,168,76,.3);
    border-radius: 3px;
    border: none;
}

.xc-select-list::-webkit-scrollbar-thumb:hover {
    background: rgba(201,168,76,.5);
}

.xc-select-list::-webkit-scrollbar-button {
    display: none;
    height: 0;
    width: 0;
}

.xc-select-list::-webkit-scrollbar-corner {
    background: transparent;
}

.xc-select-search {
    display: block;
    width: calc(100% - 16px);
    margin: 8px;
    padding: 10px 14px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 6px;
    background: rgba(0,0,0,.35);
    color: #f0ead6;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.4;
    outline: none;
    box-sizing: border-box;
}

.xc-select-search:focus {
    border-color: var(--xc-gold-border);
    background: rgba(255,255,255,.06);
}

.xc-select-search::placeholder {
    color: rgba(240,234,214,.35);
    font-size: 14px;
    font-weight: 300;
}

.xc-select-option {
    padding: 10px 16px;
    font-size: 14px;
    color: var(--xc-cream);
    cursor: pointer;
    transition: background .15s, color .15s;
}

.xc-select-option:hover {
    background: var(--xc-gold-glass);
    color: var(--xc-gold-bright);
}

.xc-select-option.selected {
    background: rgba(201,168,76,.12);
    color: var(--xc-gold);
    font-weight: 500;
}

/* Hide the placeholder option from the dropdown list (it's only useful in native select) */
.xc-select-option.xc-select-placeholder {
    display: none;
}

/* Hide the native select when custom is active */
.xclube-field select[data-customized] {
    position: absolute !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
}

/* reCAPTCHA badge overflow fix */
.grecaptcha-badge {
    overflow: hidden !important;
    max-width: 70px;
    transition: max-width .3s;
}

.grecaptcha-badge:hover {
    max-width: 256px;
}

/* ==========================================================================
   Responsive refinements
   ========================================================================== */
@media (max-width: 520px) {
    .xclube-form-wrap {
        padding: 8px 16px 32px;
    }

    .xclube-form-title {
        font-size: 26px;
    }

    .xclube-choice-buttons .xclube-btn {
        min-height: 120px;
        font-size: 19px;
    }

    .xclube-field input,
    .xclube-field select,
    .xclube-field textarea {
        font-size: 16px; /* Prevents iOS zoom */
        padding: 14px 16px;
    }
}
