/* Husar Contract Withdrawal Form - Dark Tactical Theme */

.husar-withdrawal-wrapper {
    max-width: 680px;
    margin: 60px auto;
    padding: 36px 40px;
    background: #1c1c1c;
    border: 1px solid #333333;
    border-radius: 6px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6);
    font-family: "Saira Semi Condensed", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #e5e5e5;
    box-sizing: border-box;
}

.husar-withdrawal-intro h2 {
    font-family: "Saira Condensed", sans-serif;
    font-size: 26px;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 16px;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid #fdb913;
    padding-bottom: 12px;
}

.husar-legal-info {
    font-size: 14px;
    line-height: 1.6;
    color: #a3a3a3;
    margin-bottom: 28px;
}

/* ALERTS */
.husar-withdrawal-alert {
    padding: 16px 20px;
    border-radius: 4px;
    margin-bottom: 25px;
    font-size: 15px;
    line-height: 1.5;
}

.husar-withdrawal-alert-success {
    background-color: rgba(16, 185, 129, 0.15);
    border: 1px solid #10b981;
    color: #34d399;
}

.husar-withdrawal-alert-error {
    background-color: rgba(239, 68, 68, 0.15);
    border: 1px solid #ef4444;
    color: #f87171;
}

/* FORM FIELDS */
.husar-form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 22px;
}

.husar-form-col {
    flex: 1;
}

.husar-form-col-full {
    flex: 100%;
}

.husar-form-row label {
    display: block;
    font-family: "Saira Condensed", sans-serif;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #d4d4d4;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

/* INPUTS & TEXTAREA - STRICT CONTRAST ENFORCEMENT */
.husar-withdrawal-form input[type="text"],
.husar-withdrawal-form input[type="email"],
.husar-withdrawal-form input[type="number"],
.husar-withdrawal-form textarea {
    width: 100% !important;
    padding: 13px 16px !important;
    font-size: 15px !important;
    font-family: inherit !important;
    border: 1px solid #3d3d3d !important;
    border-radius: 4px !important;
    background-color: #262626 !important;
    color: #ffffff !important;
    caret-color: #fdb913 !important;
    box-sizing: border-box !important;
    transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s !important;
}

.husar-withdrawal-form input[type="text"]:focus,
.husar-withdrawal-form input[type="email"]:focus,
.husar-withdrawal-form input[type="number"]:focus,
.husar-withdrawal-form textarea:focus {
    background-color: #2c2c2c !important;
    border-color: #fdb913 !important;
    box-shadow: 0 0 0 2px rgba(253, 185, 19, 0.25) !important;
    outline: none !important;
    color: #ffffff !important;
}

.husar-withdrawal-form input::placeholder,
.husar-withdrawal-form textarea::placeholder {
    color: #737373 !important;
    opacity: 1 !important;
}

/* Fix browser autofill dark mode styling */
.husar-withdrawal-form input:-webkit-autofill,
.husar-withdrawal-form input:-webkit-autofill:hover, 
.husar-withdrawal-form input:-webkit-autofill:focus, 
.husar-withdrawal-form textarea:-webkit-autofill,
.husar-withdrawal-form textarea:-webkit-autofill:hover,
.husar-withdrawal-form textarea:-webkit-autofill:focus {
    -webkit-text-fill-color: #ffffff !important;
    -webkit-box-shadow: 0 0 0px 1000px #262626 inset !important;
    box-shadow: 0 0 0px 1000px #262626 inset !important;
    transition: background-color 5000s ease-in-out 0s !important;
}

/* RADIO GROUP */
.husar-radio-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 14px 16px;
    background: #242424;
    border: 1px solid #383838;
    border-radius: 4px;
}

.husar-radio-label {
    display: flex !important;
    align-items: center;
    gap: 12px;
    font-size: 14px !important;
    font-weight: 500 !important;
    text-transform: none !important;
    color: #e5e5e5 !important;
    cursor: pointer;
    margin-bottom: 0 !important;
}

.husar-radio-label input[type="radio"] {
    width: 18px !important;
    height: 18px !important;
    accent-color: #fdb913 !important;
    cursor: pointer;
}

/* SUBMIT BUTTON */
.husar-form-submit-row {
    margin-top: 32px;
}

.husar-btn-confirm {
    display: block;
    width: 100%;
    padding: 16px 28px;
    background-color: #fdb913 !important;
    color: #121212 !important;
    font-family: "Saira Condensed", sans-serif;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
}

.husar-btn-confirm:hover {
    background-color: #fca311 !important;
    color: #000000 !important;
    box-shadow: 0 4px 16px rgba(253, 185, 19, 0.4);
}

.husar-btn-confirm:active {
    transform: translateY(1px);
}

/* CTA BUTTON (SHORTCODE) */
.husar-withdrawal-cta-btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: #fdb913;
    color: #121212 !important;
    font-family: "Saira Condensed", sans-serif;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.husar-withdrawal-cta-btn:hover {
    background-color: #fca311;
    color: #000000 !important;
}

/* RESPONSIVE */
@media (max-width: 640px) {
    .husar-withdrawal-wrapper {
        margin: 20px 15px;
        padding: 24px 20px;
    }
    .husar-form-row {
        flex-direction: column;
        gap: 16px;
    }
}
