/* ==============================================
   SDK FORM STYLE OVERRIDES
   Force SDK form to match our custom design
   ============================================== */

/* HIDE SDK's default wrapper and styling */
.lander-form-wrapper {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
}

.lander-form-wrapper:hover {
    transform: none !important;
}

/* HIDE SDK's header completely */
.lander-form-header {
    display: none !important;
}

/* FORCE FORM STYLING */
.lander-form {
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* OVERRIDE ALL INPUT FIELDS TO MATCH ORIGINAL */
.lander-form input[type="text"],
.lander-form input[type="email"],
.lander-form input[type="tel"] {
    width: 100% !important;
    padding: 0.875rem 1rem !important;
    padding-left: 1rem !important;
    background-color: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 0 !important;
    font-size: 1rem !important;
    color: #010E29 !important;
    transition: all 0.2s !important;
    font-family: 'Public Sans', sans-serif !important;
    box-shadow: none !important;
    height: auto !important;
    line-height: 1.5 !important;
}

.lander-form input[type="text"]::placeholder,
.lander-form input[type="email"]::placeholder,
.lander-form input[type="tel"]::placeholder {
    color: #94a3b8 !important;
}

.lander-form input[type="text"]:focus,
.lander-form input[type="email"]:focus,
.lander-form input[type="tel"]:focus {
    outline: none !important;
    border-color: #bb0027 !important;
    background-color: white !important;
    box-shadow: 0 0 0 3px rgba(187, 0, 39, 0.1) !important;
}

/* PHONE INPUT SPECIFIC */
.lander-form input[type="tel"] {
    padding-left: 60px !important;
}

.iti {
    width: 100% !important;
    display: block !important;
}

.iti__flag-container {
    top: 0 !important;
    bottom: 0 !important;
    display: flex !important;
    align-items: center !important;
    left: 0 !important;
    padding-left: 0.5rem !important;
}

.iti__selected-flag {
    background-color: transparent !important;
    border-right: 1px solid #e2e8f0 !important;
    padding-right: 0.5rem !important;
}

/* SUBMIT BUTTON - FORCE RED COLOR */
.lander-submit,
button[type="submit"].lander-submit,
.lander-form button[type="submit"] {
    margin-top: 1.5rem !important;
    width: 100% !important;
    background: #bb0027 !important;
    background-color: #bb0027 !important;
    color: white !important;
    padding: 1rem 2.5rem !important;
    border-radius: 0 !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.025em !important;
    cursor: pointer !important;
    border: none !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    transition: all 0.3s ease !important;
    animation: none !important;
    font-family: 'Public Sans', sans-serif !important;
}

.lander-submit:hover,
button[type="submit"].lander-submit:hover,
.lander-form button[type="submit"]:hover {
    background: #010E29 !important;
    background-color: #010E29 !important;
    transform: scale(1.02) translateY(-2px) !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35) !important;
}

/* REMOVE PULSE ANIMATION */
@keyframes pulse {
    0%, 100% { 
        transform: scale(1) !important; 
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important; 
    }
}

/* HIDE LOADER IF IT APPEARS */
.loader {
    display: none !important;
}

/* AUTOFILL COLORS */
input:-webkit-autofill,
input:-webkit-autofill:focus,
input:-webkit-autofill:hover {
    -webkit-box-shadow: 0 0 0 1000px #f8fafc inset !important;
    box-shadow: 0 0 0 1000px #f8fafc inset !important;
    background-color: #f8fafc !important;
    -webkit-text-fill-color: #010E29 !important;
}

/* LABELS (if SDK generates any) */
.lander-form label {
    display: block !important;
    font-size: 10px !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
    color: #64748b !important;
    margin-bottom: 0.5rem !important;
    font-weight: 500 !important;
    font-family: 'Public Sans', sans-serif !important;
}

/* FORCE CONTAINER WIDTH */
#step-4 .max-w-lg {
    max-width: 32rem !important;
}

/* Welcome Bonus Styling */
.bonus-display-field {
    background-color: #f8fafc !important;
    border: 1px solid #bb0027 !important;
    border-radius: 0 !important;
    padding: 1rem !important;
    margin-top: 1rem !important;
    margin-bottom: 0.5rem !important;
}

.bonus-display-content {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.bonus-display-left {
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
}

.bonus-display-icon {
    color: #bb0027 !important;
    font-size: 1.25rem !important;
}

.bonus-display-label {
    display: block !important;
    font-size: 10px !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
    color: #64748b !important;
    font-weight: 700 !important;
}

.bonus-display-subtext {
    font-size: 0.75rem !important;
    color: #64748b !important;
    margin-top: 0.125rem !important;
}

.bonus-display-right {
    text-align: right !important;
}

.bonus-display-amount {
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    color: #bb0027 !important;
    line-height: 1 !important;
}

.bonus-display-detail {
    font-size: 10px !important;
    color: #64748b !important;
    text-transform: uppercase !important;
    letter-spacing: 0.025em !important;
    margin-top: 0.25rem !important;
}
