/* Stack Components Overrides for Holding Page */

/* Override input-standard-002 styling to match glassmorphism theme */
[data-sc_component="input-standard-002"] label {
    color: white !important;
}

[data-sc_component="input-standard-002"] label svg {
    fill: #f991f9 !important;
}

[data-sc_component="input-standard-002"] input {
    background: rgba(255, 255, 255, 0.1) !important;
    color: white !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    font-size: 1rem !important;
    padding: 0.75rem 1rem !important;
    height: 48px !important;
    box-sizing: border-box !important;
}

[data-sc_component="input-standard-002"] input:focus {
    background: rgba(255, 255, 255, 0.15) !important;
    border: 2px solid rgba(255, 255, 255, 0.6) !important;
}

[data-sc_component="input-standard-002"] input::placeholder {
    color: rgba(255, 255, 255, 0.6) !important;
}

/* Override autocomplete background */
[data-sc_component="input-standard-002"] input:-webkit-autofill,
[data-sc_component="input-standard-002"] input:-webkit-autofill:hover,
[data-sc_component="input-standard-002"] input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px rgba(118, 75, 162, 0.6) inset !important;
    -webkit-text-fill-color: white !important;
    border: 2px solid rgba(255, 255, 255, 0.6) !important;
    font-size: 16px !important;
    -webkit-font-smoothing: antialiased !important;
}

/* Override error message styling and positioning */
[data-sc_component="input-standard-002"] output {
    top: 71px !important;
    display: inline-block !important;
    left: -72px !important;
    font-size: 13px !important;
    color: #e0c5f2 !important;
}

[data-sc_component="input-standard-002"][data-state="error"] input {
    animation: shake 0.4s ease-in-out !important;
}

/* Override button-icon-010 styling to match input height and glassmorphism theme */
[data-sc_component="button-icon-010"] {
    background: white !important;
    color: #667eea !important;
    padding: 0 1.25rem !important;
    min-height: 48px !important;
    height: 48px !important;
    line-height: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    box-sizing: border-box !important;
}

[data-sc_component="button-icon-010"] svg {
    fill: #667eea !important;
}

/* Override button-icon-004 styling (secondary button) */
[data-sc_component="button-icon-004"] {
    background: rgba(255, 255, 255, 0.2) !important;
    color: white !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
}

[data-sc_component="button-icon-004"] svg {
    fill: white !important;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    [data-sc_component="input-standard-002"] output {
        left: 0 !important;
    }
}
