/*
Theme Name: Smiling Money School - FID
Theme URI: https://money4smiling.com
Author: Smiling Money School
Author URI: https://money4smiling.com
Description: Complete Financial Independence Day (FID) Landing Pages & Automation Theme with 16 Editable Topic Pages, Modern Black Aesthetic, Native Elementor Visual Builder, Interactive Multi-Spectrum Calculators (FID Estimator, Smiling Money Spectrum, Dream Feasibility Validator, Education Shield, Money Personality Diagnostic, Retirement Runway Simulator), n8n Webhook Integration, and Custom Admin Panel.
Version: 1.6.1
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
Text Domain: money4smiling
*/

/* ==========================================================================
   SMILING MONEY SCHOOL - UNIVERSAL DARK LUXURY FORM & INPUT STYLES
   Ensures 100% dark background with crisp, visible text across all browsers,
   WordPress default styles, Elementor overrides, and browser autofill.
   ========================================================================== */

/* Universal Form Card Container */
.fid-reg-card,
.fid-sc-card,
#register .bg-slate-900\/90,
#register > div,
div[id="register"] > div {
    background-color: #0f172a !important;
    background: #0f172a !important;
    border: 1px solid #1e293b !important;
    color: #ffffff !important;
    border-radius: 24px !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7), 0 0 25px rgba(16, 185, 129, 0.08) !important;
}

/* Headings & Subtitles */
.fid-reg-card h3,
.fid-sc-card h3,
.fid-sc-title,
#register h3 {
    color: #ffffff !important;
    font-weight: 800 !important;
}

.fid-reg-card p,
.fid-sc-card p,
.fid-sc-sub,
#register p {
    color: #94a3b8 !important;
}

/* Form Field Labels */
.fid-reg-card label,
.fid-sc-card label,
.fid-sc-label,
#fid-reg-form label,
#register label {
    display: block !important;
    color: #cbd5e1 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    margin-bottom: 6px !important;
}

/* All Inputs & Select Dropdowns (Maximum Specificity to override Elementor & WP core) */
#fid-reg-form input[type="text"],
#fid-reg-form input[type="email"],
#fid-reg-form input[type="tel"],
#fid-reg-form select,
.fid-sc-card input[type="text"],
.fid-sc-card input[type="email"],
.fid-sc-card input[type="tel"],
.fid-sc-card select,
.fid-sc-input,
.fid-sc-select,
#register input[type="text"],
#register input[type="email"],
#register input[type="tel"],
#register select {
    width: 100% !important;
    background-color: #07090e !important;
    background: #07090e !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    border: 1px solid #334155 !important;
    border-radius: 12px !important;
    padding: 12px 16px !important;
    font-size: 14px !important;
    font-family: inherit !important;
    outline: none !important;
    box-sizing: border-box !important;
    transition: all 0.2s ease !important;
}

/* Focus States */
#fid-reg-form input:focus,
#fid-reg-form select:focus,
.fid-sc-input:focus,
.fid-sc-select:focus,
#register input:focus,
#register select:focus {
    border-color: #10b981 !important;
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.3) !important;
}

/* Placeholder Styling */
#fid-reg-form input::placeholder,
.fid-sc-input::placeholder,
#register input::placeholder {
    color: #64748b !important;
    -webkit-text-fill-color: #64748b !important;
    opacity: 1 !important;
}

/* Chrome / Safari / Edge Autofill Fix (Prevents white/yellow box) */
#fid-reg-form input:-webkit-autofill,
#fid-reg-form input:-webkit-autofill:hover, 
#fid-reg-form input:-webkit-autofill:focus,
#fid-reg-form input:-webkit-autofill:active,
.fid-sc-card input:-webkit-autofill,
.fid-sc-card input:-webkit-autofill:hover, 
.fid-sc-card input:-webkit-autofill:focus,
.fid-sc-card input:-webkit-autofill:active,
#register input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px #07090e inset !important;
    box-shadow: 0 0 0 1000px #07090e inset !important;
    -webkit-text-fill-color: #ffffff !important;
    color: #ffffff !important;
    transition: background-color 5000s ease-in-out 0s !important;
}

/* Phone Country Prefix (+91) */
.fid-sc-prefix,
#fid-reg-form .fid-phone-prefix,
#register span.border-r,
#register div.flex > span.inline-flex {
    display: inline-flex !important;
    align-items: center !important;
    padding: 0 14px !important;
    background-color: #1e293b !important;
    background: #1e293b !important;
    color: #38bdf8 !important;
    -webkit-text-fill-color: #38bdf8 !important;
    border: 1px solid #334155 !important;
    border-right: none !important;
    border-radius: 12px 0 0 12px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
}

/* Select Dropdown Options */
#fid-reg-form select option,
.fid-sc-select option,
#register select option {
    background-color: #0f172a !important;
    color: #ffffff !important;
    padding: 10px !important;
}

/* Consent Checkbox */
#register input[type="checkbox"],
.fid-sc-consent input[type="checkbox"] {
    accent-color: #10b981 !important;
    width: 16px !important;
    height: 16px !important;
    cursor: pointer !important;
}

/* Submit Buttons */
#fid-submit-btn,
.fid-sc-btn,
#register button[type="submit"] {
    width: 100% !important;
    padding: 14px 20px !important;
    border-radius: 12px !important;
    background: linear-gradient(90deg, #10b981, #14b8a6) !important;
    color: #022c22 !important;
    -webkit-text-fill-color: #022c22 !important;
    font-weight: 900 !important;
    font-size: 14px !important;
    border: none !important;
    cursor: pointer !important;
    box-shadow: 0 0 25px rgba(16, 185, 129, 0.4) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    transition: all 0.2s ease !important;
}

#fid-submit-btn:hover,
.fid-sc-btn:hover,
#register button[type="submit"]:hover {
    background: linear-gradient(90deg, #34d399, #2dd4bf) !important;
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.6) !important;
}
