﻿/* ============================================================
   ANIMATED BANNER � BLUE LEATHER + STITCHED THEME
   Matches secondary.css (teal #055d53 / navy #002b68)
   Includes autofill theming for inputs, Select2, intl-tel-input
   All original class names preserved � drop-in replacement.
   ============================================================ */

:root {
    --primary-green: #055d53;
    --dark-green: #044039;
    --light-green: #7fd4c4;
    --accent-gold: #b8895c;
    --accent-amber: #a4764a;
    --accent-orange: #8c6238;
    --bg-deep: #fffdf9;
    --bg-surface: #fdfbf6;
    --bg-elevated: #f5f1e7;
    --bg-card: #fffdf9;
    --glass-bg: rgba(15, 23, 42, 0.04);
    --glass-border: rgba(120, 80, 35, 0.16);
    --glass-border-hover: rgba(120, 80, 35, 0.3);
    --glass-highlight: rgba(15, 23, 42, 0.06);
    --text-primary: #16202e;
    --text-secondary: #334155;
    --text-muted: #5b6f64;
    --text-dim: #94a3b8;
    --glow-green: rgba(5, 93, 83, 0.15);
    --glow-gold: rgba(180, 137, 92, 0.15);
    --glow-surface: rgba(15, 23, 42, 0.05);
    --error: #dc2626;
    --error-light: #fef2f2;
    --error-border: #fca5a5;
    --stat-blue: #002b68;
    --stat-green: #055d53;
    --stat-orange: #b8895c;
    --stat-purple: #7c3aed;
    --thread: #f4ead6;
    --thread-dim: rgba(255, 235, 200, .55);
}

/* ============================================================
   AUTOFILL � matches blue leather / teal theme
   Native inputs + Select2 + intl-tel-input
   ============================================================ */

/* ---------- Chrome / Edge / Safari ---------- */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active,
textarea:-webkit-autofill,
select:-webkit-autofill {
    -webkit-text-fill-color: var(--text-primary) !important;
    -webkit-box-shadow: 0 0 0 1000px var(--bg-surface) inset !important;
    box-shadow: 0 0 0 1000px var(--bg-surface) inset !important;
    border: 2px solid transparent !important;
    border-radius: 16px !important;
    transition: background-color 5000s ease-in-out 0s;
    caret-color: var(--text-primary);
    font: inherit !important;
}

    /* focused autofill keeps the teal ring */
    input:-webkit-autofill:focus,
    textarea:-webkit-autofill:focus,
    select:-webkit-autofill:focus {
        -webkit-box-shadow: 0 0 0 1000px var(--bg-deep) inset, 0 0 0 5px rgba(5, 93, 83, .1), 0 8px 24px rgba(5, 93, 83, .1) !important;
        box-shadow: 0 0 0 1000px var(--bg-deep) inset, 0 0 0 5px rgba(5, 93, 83, .1), 0 8px 24px rgba(5, 93, 83, .1) !important;
        border-color: var(--primary-green) !important;
    }

/* ---------- Firefox ---------- */
input:autofill,
textarea:autofill,
select:autofill {
    background: var(--bg-surface) !important;
    color: var(--text-primary) !important;
    border: 2px solid transparent !important;
}

    input:autofill:focus,
    textarea:autofill:focus,
    select:autofill:focus {
        background: var(--bg-deep) !important;
        border-color: var(--primary-green) !important;
    }

/* ---------- Select2 (closed state) ---------- */
.select2-container--default .select2-selection--single:-webkit-autofill,
.select2-container--default .select2-selection--single .select2-selection__rendered:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px var(--bg-surface) inset !important;
    box-shadow: 0 0 0 1000px var(--bg-surface) inset !important;
    -webkit-text-fill-color: var(--text-primary) !important;
}

/* ---------- intl-tel-input ---------- */
.iti__tel-input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px var(--bg-surface) inset !important;
    box-shadow: 0 0 0 1000px var(--bg-surface) inset !important;
    -webkit-text-fill-color: var(--text-primary) !important;
    border-radius: 16px !important;
}

    .iti__tel-input:-webkit-autofill:focus {
        -webkit-box-shadow: 0 0 0 1000px var(--bg-deep) inset, 0 0 0 5px rgba(5, 93, 83, .1), 0 8px 24px rgba(5, 93, 83, .1) !important;
        box-shadow: 0 0 0 1000px var(--bg-deep) inset, 0 0 0 5px rgba(5, 93, 83, .1), 0 8px 24px rgba(5, 93, 83, .1) !important;
        border-color: var(--primary-green) !important;
    }

/* ============================================================
   BANNER � BLUE LEATHER SLAB
   ============================================================ */
.pe-banner {
    position: relative;
    width: 100%;
    min-height: 340px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 18% 24%, rgba(0, 0, 0, .28) 0 1px, transparent 1.8px), radial-gradient(circle at 72% 58%, rgba(0, 0, 0, .24) 0 1px, transparent 1.8px), radial-gradient(circle at 38% 82%, rgba(0, 0, 0, .22) 0 1px, transparent 1.8px), radial-gradient(circle at 88% 30%, rgba(0, 0, 0, .2) 0 1px, transparent 1.8px), radial-gradient(circle at 55% 12%, rgba(0, 0, 0, .18) 0 1px, transparent 1.8px), radial-gradient(130% 90% at 18% 8%, rgba(120, 180, 255, .3), transparent 55%), radial-gradient(130% 100% at 85% 100%, rgba(0, 8, 30, .7), transparent 58%), linear-gradient(155deg, #1e4d8c 0%, #17407a 30%, #0f3266 60%, #0a2652 85%, #071d40 100%);
    background-size: 5px 5px, 7px 7px, 6px 6px, 8px 8px, 5px 5px, auto, auto, auto;
    background-blend-mode: normal, normal, normal, normal, normal, normal, normal, normal;
    border: 1px solid rgba(4, 18, 48, .75);
    box-shadow: inset 0 1px 0 rgba(150, 200, 255, .28), inset 0 0 0 1px rgba(150, 200, 255, .06), inset 0 -4px 12px rgba(0, 5, 20, .5), inset 0 0 60px rgba(0, 10, 35, .25), 0 24px 50px -26px rgba(0, 15, 45, .7);
}

    /* stitched seam + corner tacks */
    .pe-banner::before {
        content: "";
        position: absolute;
        inset: 12px;
        border-radius: 12px;
        pointer-events: none;
        z-index: 2;
        border: 1.5px dashed rgba(180, 215, 255, .3);
        background: linear-gradient(rgba(180, 215, 255, .8), rgba(180, 215, 255, .8)) 8px 8px / 14px 1.5px no-repeat, linear-gradient(rgba(180, 215, 255, .8), rgba(180, 215, 255, .8)) 8px 8px / 1.5px 14px no-repeat, linear-gradient(rgba(180, 215, 255, .8), rgba(180, 215, 255, .8)) calc(100% - 8px) 8px / 14px 1.5px no-repeat, linear-gradient(rgba(180, 215, 255, .8), rgba(180, 215, 255, .8)) calc(100% - 8px) 8px / 1.5px 14px no-repeat, linear-gradient(rgba(180, 215, 255, .8), rgba(180, 215, 255, .8)) 8px calc(100% - 8px) / 14px 1.5px no-repeat, linear-gradient(rgba(180, 215, 255, .8), rgba(180, 215, 255, .8)) 8px calc(100% - 8px) / 1.5px 14px no-repeat, linear-gradient(rgba(180, 215, 255, .8), rgba(180, 215, 255, .8)) calc(100% - 8px) calc(100% - 8px) / 14px 1.5px no-repeat, linear-gradient(rgba(180, 215, 255, .8), rgba(180, 215, 255, .8)) calc(100% - 8px) calc(100% - 8px) / 1.5px 14px no-repeat;
        filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .55));
        opacity: .8;
    }

.pe-banner-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: .7;
    mix-blend-mode: screen;
}

.pe-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 20% 50%, rgba(5, 93, 83, .16) 0%, transparent 50%), radial-gradient(ellipse at 80% 20%, rgba(180, 215, 255, .1) 0%, transparent 40%);
    z-index: 2;
    pointer-events: none;
}

.pe-banner-content {
    position: relative;
    z-index: 4;
    text-align: center;
    padding: 60px 24px;
}

form *:focus-visible {
    outline: none;
}
/* ---------- badge ---------- */
.pe-banner-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(180, 215, 255, .1);
    border: 1px solid rgba(180, 215, 255, .35);
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    color: #dceaff;
    margin-bottom: 20px;
    backdrop-filter: blur(4px);
    animation: fadeInDown 0.8s ease-out 0.1s both;
}

.pe-banner-badge-dot {
    width: 6px;
    height: 6px;
    background: var(--light-green);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(127, 212, 196, .8);
    animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% {
        opacity: 1
    }

    50% {
        opacity: 0.3
    }
}

/* ---------- logo ---------- */
.pe-banner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 20px;
    animation: fadeInDown 0.8s ease-out both;
}

.pe-banner-logo-icon {
    width: 56px;
    height: 56px;
    animation: logoPulse 3s ease-in-out infinite;
}

    .pe-banner-logo-icon svg {
        width: 100%;
        height: 100%;
    }

@keyframes logoPulse {
    0%, 100% {
        filter: drop-shadow(0 0 20px rgba(127, 212, 196, .4));
        transform: scale(1);
    }

    50% {
        filter: drop-shadow(0 0 35px rgba(127, 212, 196, .75));
        transform: scale(1.02);
    }
}

.pe-banner-logo-text {
    font-size: 42px;
    font-weight: 800;
    color: #f0f6ff;
    letter-spacing: -2px;
    background: linear-gradient(135deg, #fff 0%, #c8dcff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 20px rgba(0, 0, 0, .4);
}

/* ---------- title / subtitle ---------- */
.pe-banner-title {
    font-size: clamp(26px, 4vw, 38px);
    font-weight: 800;
    color: #f0f6ff;
    margin-bottom: 12px;
    letter-spacing: -1px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, .55), 0 -1px 0 rgba(180, 215, 255, .15);
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.pe-banner-subtitle {
    font-size: 16px;
    color: rgba(210, 225, 245, .75);
    max-width: 520px;
    margin: 0 auto;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .35);
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

/* ============================================================
   SELECT2 � THEMED TO MATCH FORM
   ============================================================ */
.select2-container {
    width: 100% !important;
    z-index: 1;
}

    .select2-container .select2-selection--single {
        height: auto !important;
        min-height: 62.5px;
        padding: 18px 44px 18px 52px !important;
        font-size: 15px;
        font-family: 'Inter', system-ui, sans-serif;
        color: var(--text-primary);
        background: var(--bg-surface);
        border: 2px solid transparent !important;
        border-radius: 16px !important;
        outline: none;
        transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        display: flex !important;
        align-items: center;
    }

        .select2-container .select2-selection--single:hover {
            background: var(--bg-elevated);
        }

    .select2-container.select2-container--focus .select2-selection--single,
    .select2-container.select2-container--open .select2-selection--single {
        background: var(--bg-deep) !important;
        border-color: var(--primary-green) !important;
        box-shadow: 0 0 0 5px rgba(5, 93, 83, .1), 0 8px 24px rgba(5, 93, 83, .1);
    }

    .select2-container .select2-selection--single .select2-selection__rendered {
        padding-left: 0 !important;
        padding-right: 0 !important;
        color: var(--text-primary);
        line-height: 1.4 !important;
        font-size: 15px;
    }

        .select2-container .select2-selection--single .select2-selection__rendered[title="Select"] {
            opacity: 0;
        }

    .select2-container .select2-selection--single .select2-selection__placeholder {
        color: var(--text-muted) !important;
    }

    .select2-container .select2-selection--single .select2-selection__arrow {
        position: absolute;
        top: 0;
        right: 18px;
        width: 20px;
        height: 100%;
    }

        .select2-container .select2-selection--single .select2-selection__arrow b {
            border-color: #94a3b8 transparent transparent transparent !important;
            border-style: solid !important;
            border-width: 5px 4px 0 4px !important;
            width: 0;
            height: 0;
            margin-left: -4px;
            margin-top: -2px;
        }

.select2-container--open .select2-selection--single .select2-selection__arrow b {
    border-color: transparent transparent #055d53 transparent !important;
    border-width: 0 4px 5px 4px !important;
}

.select2-container--open {
    z-index: 9999 !important;
}

.select2-dropdown {
    border: 2px solid var(--primary-green) !important;
    border-radius: 16px !important;
    box-shadow: 0 12px 40px rgba(5, 93, 83, .18) !important;
    background: var(--bg-deep) !important;
    margin-top: 6px;
    overflow: hidden !important;
    font-family: 'Inter', system-ui, sans-serif;
    z-index: 9999 !important;
}

.select2-results__options {
    max-height: 280px;
    padding: 6px !important;
}

.select2-results__option {
    padding: 8px 16px !important;
    border-radius: 10px !important;
    font-size: 14px;
    color: var(--text-primary);
    transition: all 0.2s ease;
    margin-bottom: 2px;
    background: transparent !important;
}

.select2-results__option--highlighted[aria-selected] {
    background: linear-gradient(135deg, rgba(5, 93, 83, .1), rgba(180, 137, 92, .08)) !important;
    color: var(--primary-green) !important;
}

.select2-results__option[aria-selected="true"] {
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green)) !important;
    color: #fff !important;
}

.select2-search--dropdown {
    padding: 12px !important;
    border-bottom: 1px solid var(--glass-border) !important;
}

    .select2-search--dropdown .select2-search__field {
        padding: 10px 14px !important;
        border: 2px solid var(--primary-green) !important;
        border-radius: 12px !important;
        font-size: 14px;
        font-family: 'Inter', system-ui, sans-serif;
        outline: none;
        transition: all 0.3s ease;
        color: var(--text-primary) !important;
        background: var(--bg-deep) !important;
    }

        .select2-search--dropdown .select2-search__field:focus {
            border-color: var(--primary-green) !important;
            box-shadow: 0 0 0 4px rgba(5, 93, 83, .1);
        }

/* ---------- select wrap + floating label ---------- */
.pe-select-wrap {
    position: relative;
}

    .pe-select-wrap .pe-form-label {
        left: 52px;
        pointer-events: none;
    }

    .pe-select-wrap.has-value .pe-form-label,
    .pe-select-wrap.is-focused .pe-form-label {
        top: 0;
        left: 16px;
        transform: translateY(-50%) scale(0.82);
        color: var(--primary-green);
        font-weight: 600;
        background: var(--bg-deep);
    }

    .pe-select-wrap.is-focused .pe-input-icon,
    .pe-select-wrap.has-value .pe-input-icon {
        color: var(--primary-green);
    }

/* ---------- select2 error states ---------- */
.select2-container .select2-selection--single.error-select2 {
    border-color: var(--error-border) !important;
    background: var(--error-light) !important;
    animation: shake 0.4s ease;
}

.pe-select-wrap.is-error .pe-form-label {
    color: var(--error) !important;
}

.pe-select-wrap.is-error .pe-input-icon {
    color: var(--error);
}

/* ============================================================
   FORM SECTION � leather paper panel with stitched frame
   ============================================================ */
.pe-form-wrap {
    max-width: 1350px;
    margin: -50px auto 80px;
    padding: 0 24px;
    position: relative;
    z-index: 10;
}

.pe-form-card {
    position: relative;
    background: repeating-linear-gradient(90deg, rgba(0, 0, 0, .018) 0 1px, transparent 1px 3px), repeating-linear-gradient(0deg, rgba(120, 95, 60, .015) 0 1px, transparent 1px 3px), linear-gradient(160deg, #fffdf9 0%, #f7f2e7 100%);
    border: 1px solid rgba(120, 80, 35, .18);
    border-radius: 28px;
    padding: 48px 52px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), 0 32px 80px rgba(60, 40, 15, .18), 0 0 0 1px rgba(120, 80, 35, .06);
    overflow: hidden;
    animation: slideUp 0.7s ease-out 0.3s both;
}

    /* stitched inner frame */
    .pe-form-card::before {
        content: '';
        position: absolute;
        inset: 10px;
        border: 1.5px dashed rgba(120, 80, 35, .3);
        border-radius: 20px;
        pointer-events: none;
        filter: drop-shadow(0 .5px 0 rgba(255, 255, 255, .6));
        z-index: 0;
    }

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.pe-form-header {
    position: relative;
    z-index: 1;
    text-align: center;
    margin-bottom: 40px;
}

    .pe-form-header h2 {
        font-size: 26px;
        font-weight: 800;
        color: var(--text-primary);
        margin-bottom: 8px;
        letter-spacing: -0.5px;
    }

    .pe-form-header p {
        font-size: 15px;
        color: var(--text-muted);
    }

.pe-form-header-line {
    width: 48px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-green), var(--accent-gold));
    border-radius: 2px;
    margin: 16px auto 0;
}

/* ============================================================
   FLOATING LABEL INPUTS
   ============================================================ */
.pe-form-group {
    position: relative;
    z-index: 1;
    margin-bottom: 28px;
    animation: fadeInUp 0.5s ease-out both;
}

    .pe-form-group:nth-child(1) {
        animation-delay: 0.4s
    }

    .pe-form-group:nth-child(2) {
        animation-delay: 0.45s
    }

    .pe-form-group:nth-child(3) {
        animation-delay: 0.5s
    }

    .pe-form-group:nth-child(4) {
        animation-delay: 0.55s
    }

    .pe-form-group:nth-child(5) {
        animation-delay: 0.6s
    }

    .pe-form-group:nth-child(6) {
        animation-delay: 0.65s
    }

    .pe-form-group:nth-child(7) {
        animation-delay: 0.7s
    }

    .pe-form-group:nth-child(8) {
        animation-delay: 0.75s
    }

.pe-input-wrap {
    position: relative;
}

.pe-form-input,
.pe-form-select {
    width: 100%;
    padding: 18px 18px 18px 52px;
    font-size: 15px;
    font-family: 'Inter', system-ui, sans-serif;
    color: var(--text-primary);
    background: var(--bg-surface);
    border: 2px solid transparent;
    border-radius: 16px;
    outline: none;
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    appearance: none;
    -webkit-appearance: none;
}

    .pe-form-input::placeholder {
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .pe-form-input:focus::placeholder {
        opacity: 1;
    }

    .pe-form-input:hover,
    .pe-form-select:hover {
        background: var(--bg-elevated);
    }

    .pe-form-input:focus,
    .pe-form-select:focus {
        background: var(--bg-deep);
        border-color: var(--primary-green);
        box-shadow: 0 0 0 5px rgba(5, 93, 83, .1), 0 8px 24px rgba(5, 93, 83, .1);
    }

.pe-form-label {
    position: absolute;
    left: 52px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 15px;
    color: var(--text-muted);
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    padding: 0 4px;
    z-index: 2;
    background: transparent;
}

.pe-form-input:focus ~ .pe-form-label,
.pe-form-input:not(:placeholder-shown) ~ .pe-form-label,
.pe-form-select:focus ~ .pe-form-label,
.pe-form-select:valid ~ .pe-form-label {
    top: 0;
    left: 16px;
    transform: translateY(-50%) scale(0.82);
    color: var(--primary-green);
    font-weight: 600;
    background: var(--bg-deep);
    z-index: 9999;
}

.pe-form-select:invalid ~ .pe-form-label {
    top: 50%;
    left: 52px;
    transform: translateY(-50%) scale(1);
    color: var(--text-muted);
    background: transparent;
    z-index: 9999;
}

.pe-form-select:focus:invalid ~ .pe-form-label {
    top: 0;
    left: 16px;
    transform: translateY(-50%) scale(0.82);
    color: var(--primary-green);
    font-weight: 600;
    background: var(--bg-deep);
}

.pe-input-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: var(--text-dim);
    transition: all 0.3s ease;
    z-index: 9999;
}

.pe-form-input:focus ~ .pe-input-icon,
.pe-form-select:focus ~ .pe-input-icon {
    color: var(--primary-green);
}

.pe-select-wrap::after {
    display: none !important;
}

.pe-select-wrap:focus-within::after {
    border-top-color: var(--primary-green);
    transform: translateY(-50%) rotate(180deg);
}

.pe-form-select {
    cursor: pointer;
    padding-right: 44px;
    color: var(--text-dim);
}

    .pe-form-select:valid {
        color: var(--text-primary);
    }

    .pe-form-select option {
        font-size: 15px;
        padding: 10px;
        color: var(--text-primary);
    }

        .pe-form-select option:first-child {
            color: var(--text-dim);
        }

    /* ---------- error states ---------- */
    .pe-form-input.error,
    .pe-form-select.error {
        border-color: var(--error-border);
        background: var(--error-light);
        animation: shake 0.4s ease;
    }

@keyframes shake {
    0%, 100% {
        transform: translateX(0)
    }

    20% {
        transform: translateX(-6px)
    }

    40% {
        transform: translateX(6px)
    }

    60% {
        transform: translateX(-3px)
    }

    80% {
        transform: translateX(3px)
    }
}

.pe-form-input.error ~ .pe-form-label,
.pe-form-select.error ~ .pe-form-label {
    color: var(--error) !important;
}

.pe-form-input.error ~ .pe-input-icon,
.pe-form-select.error ~ .pe-input-icon {
    color: var(--error);
}

.pe-form-error {
    font-size: 12px;
    color: var(--error);
    margin-top: 6px;
    margin-left: 16px;
    display: flex;
    align-items: center;
    gap: 4px;
    opacity: 0;
    transform: translateY(-4px);
    transition: all 0.3s ease;
}

    .pe-form-error.visible {
        opacity: 1;
        transform: translateY(0);
    }

/* ============================================================
   SUBMIT � BROWN LEATHER STITCHED BUTTON
   ============================================================ */
.pe-submit-wrap {
    margin-top: 8px;
    animation: fadeInUp 0.5s ease-out 0.8s both;
}

.pe-form-submit {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 40px;
    color: #fdf4e6;
    border: 1.5px solid rgba(50, 28, 8, .7);
    border-radius: 16px;
    font-size: 16px;
    font-weight: 700;
    font-family: 'Inter', system-ui, sans-serif;
    cursor: pointer;
    overflow: hidden;
    z-index: 1;
    background: radial-gradient(circle at 18% 24%, rgba(0, 0, 0, .22) 0 1px, transparent 1.6px), radial-gradient(circle at 72% 58%, rgba(0, 0, 0, .18) 0 1px, transparent 1.6px), radial-gradient(circle at 38% 82%, rgba(0, 0, 0, .16) 0 1px, transparent 1.6px), radial-gradient(130% 90% at 18% 8%, rgba(255, 220, 170, .35), transparent 55%), radial-gradient(130% 100% at 85% 100%, rgba(30, 12, 0, .55), transparent 58%), linear-gradient(155deg, #b8895c 0%, #a4764a 35%, #8c6238 65%, #6f4c28 100%);
    background-size: 5px 5px, 7px 7px, 6px 6px, auto, auto, auto;
    background-blend-mode: normal, normal, normal, normal, normal, normal;
    box-shadow: inset 0 1px 0 rgba(255, 238, 212, .45), inset 0 0 0 1px rgba(255, 238, 212, .08), inset 0 -2px 6px rgba(20, 8, 0, .45), 0 8px 28px rgba(50, 28, 8, .4);
    text-shadow: 0 1px 1px rgba(0, 0, 0, .5), 0 -1px 0 rgba(255, 240, 215, .15);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

    .pe-form-submit::before {
        content: '';
        position: absolute;
        inset: 6px;
        border: 1.5px dashed rgba(255, 235, 200, .6);
        border-radius: 11px;
        pointer-events: none;
        filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .5));
        transition: border-color 0.35s ease;
    }

    .pe-form-submit::after {
        content: '';
        position: absolute;
        top: 0;
        left: -80%;
        width: 50%;
        height: 100%;
        background: linear-gradient(105deg, transparent, rgba(255, 240, 215, .5), transparent);
        transform: skewX(-20deg);
        transition: left 0.7s cubic-bezier(.16, 1, .3, 1);
        pointer-events: none;
    }

    .pe-form-submit:hover {
        transform: translateY(-3px);
        box-shadow: inset 0 1px 0 rgba(255, 238, 212, .5), inset 0 -2px 8px rgba(20, 8, 0, .5), 0 16px 40px rgba(50, 28, 8, .55);
    }

        .pe-form-submit:hover::before {
            border-color: rgba(255, 240, 215, .95);
        }

        .pe-form-submit:hover::after {
            left: 130%;
        }

    .pe-form-submit:active {
        transform: translateY(-1px);
    }

    .pe-form-submit.success {
        background: linear-gradient(135deg, var(--dark-green), #044039);
        pointer-events: none;
    }

    .pe-form-submit svg {
        width: 20px;
        height: 20px;
        transition: transform 0.3s ease;
    }

    .pe-form-submit:hover svg {
        transform: translateX(3px);
    }

/* ============================================================
   SUCCESS OVERLAY
   ============================================================ */
.pe-success-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-deep);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
    z-index: 20;
    border-radius: 28px;
}

    .pe-success-overlay.show {
        opacity: 1;
        pointer-events: all;
    }

.pe-success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-green), var(--light-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: scaleIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 12px 40px rgba(5, 93, 83, .3);
}

@keyframes scaleIn {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

.pe-success-icon svg {
    width: 36px;
    height: 36px;
    color: #fff;
}

.pe-success-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-primary);
}

.pe-success-text {
    font-size: 15px;
    color: var(--text-muted);
    max-width: 320px;
    text-align: center;
}

/* ============================================================
   FLOATING PARTICLES
   ============================================================ */
.pe-particle {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.12;
}

.pe-particle-1 {
    width: 300px;
    height: 300px;
    background: var(--primary-green);
    filter: blur(100px);
    top: 30%;
    right: -100px;
    animation: floatParticle 20s ease-in-out infinite;
}

.pe-particle-2 {
    width: 200px;
    height: 200px;
    background: var(--accent-gold);
    filter: blur(80px);
    bottom: 15%;
    left: -80px;
    animation: floatParticle 25s ease-in-out infinite 5s;
}

@keyframes floatParticle {
    0%, 100% {
        transform: translate(0, 0) scale(1)
    }

    33% {
        transform: translate(-30px, -40px) scale(1.1)
    }

    66% {
        transform: translate(20px, 30px) scale(0.95)
    }
}

/* ============================================================
   FOOTER
   ============================================================ */
.pe-footer {
    text-align: center;
    padding: 32px 24px 48px;
}

    .pe-footer p {
        font-size: 14px;
        color: var(--text-muted);
    }

    .pe-footer a {
        color: var(--primary-green);
        text-decoration: none;
        font-weight: 600;
        transition: color 0.3s ease;
        position: relative;
    }

        .pe-footer a::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 0;
            height: 2px;
            background: linear-gradient(90deg, var(--primary-green), var(--accent-gold));
            transition: width 0.3s ease;
        }

        .pe-footer a:hover {
            color: var(--accent-gold);
        }

            .pe-footer a:hover::after {
                width: 100%;
            }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
    .pe-form-card {
        padding: 36px 24px;
        border-radius: 20px;
    }

    .pe-form-wrap {
        margin-top: -30px;
    }

    .pe-banner-title {
        font-size: 24px;
    }

    .pe-banner-logo-text {
        font-size: 32px;
    }

    .pe-banner::before {
        inset: 8px;
    }
}

@media (max-width: 480px) {
    .pe-form-card {
        padding: 28px 20px;
        border-radius: 16px;
    }

    .pe-form-input,
    .pe-form-select {
        padding: 16px 16px 16px 48px;
    }

    .pe-form-label {
        left: 48px;
    }

    .pe-form-input:focus ~ .pe-form-label,
    .pe-form-input:not(:placeholder-shown) ~ .pe-form-label,
    .pe-form-select:focus ~ .pe-form-label,
    .pe-form-select:valid ~ .pe-form-label {
        left: 14px;
    }

    .pe-input-icon {
        left: 16px;
    }
}
