button.wpsf-reset-lnk {
    color: #465cb1;
}

/* =========================
   FORM CARD WRAPPER
========================= */
.lumivoltech-form-wrapper {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%) !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 18px !important;
    padding: 26px !important;
    box-shadow: 0 14px 40px rgba(0,0,0,0.06) !important;
    margin-bottom: 15px;
}

/* =========================
   FORM GROUP SPACING
========================= */
.lumivoltech-clean-theme .form-group {
    margin-bottom: 16px !important;
}

/* =========================
   LABELS (CLEAN + PREMIUM)
========================= */
.lumivoltech-clean-theme .form-group label {
    display: block !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 1.2px !important;
    text-transform: uppercase !important;
    margin-bottom: 6px !important;
}

/* =========================
   INPUTS + SELECTS
========================= */
.lumivoltech-clean-theme .form-group input,
.lumivoltech-clean-theme .form-group select {
    width: 100% !important;
    padding: 14px 14px !important;
    font-size: 15px !important;
    border-radius: 12px !important;
    border: 1px solid #e5e7eb !important;
    background: #ffffff !important;
   
    box-shadow: 0 1px 2px rgba(0,0,0,0.04) !important;
    transition: all 0.2s ease !important;
}

/* extra safety override */
.lumivoltech-clean-theme input,
.lumivoltech-clean-theme select {
    border: 1px solid #e5e7eb !important;
}

/* =========================
   FOCUS STATE (IMPORTANT UX)
========================= */
.lumivoltech-clean-theme .form-group input:focus,
.lumivoltech-clean-theme .form-group select:focus {
    outline: none !important;
    border-color: #10b981 !important;
    box-shadow: 0 0 0 4px rgba(16,185,129,0.12) !important;
}

/* =========================
   PLACEHOLDER STYLE
========================= */
.lumivoltech-clean-theme .form-group input::placeholder {
    color: #9ca3af !important;
}

/* =========================
   GRID SYSTEM (REPLACES INLINE STYLE)
========================= */
.lumivoltech-grid-2 {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 14px !important;
}

/* =========================
   STATE + ZIP CONTROL
========================= */
#lumivoltech-state {
    width: 100% !important;
    max-width: 220px !important;
}

#lumivoltech-zip {
    width: 100% !important;
}

/* ZIP spans full width for cleaner layout */
#lumivoltech-zip {
    grid-column: 1 / -1 !important;
}

/* =========================
   GRID RESPONSIVE
========================= */
@media (max-width: 640px) {
    .lumivoltech-grid-2 {
        grid-template-columns: 1fr !important;
    }

    #lumivoltech-state {
        max-width: 100% !important;
    }

    #lumivoltech-zip {
        grid-column: auto !important;
    }
}

/* =========================
   AUTOFILL FIX (CHROME)
========================= */
.lumivoltech-clean-theme input:-webkit-autofill {
    box-shadow: 0 0 0 1000px #ffffff inset !important;
    -webkit-text-fill-color: #111827 !important;
}

/* =========================
   EXTRA POLISH (OPTIONAL)
========================= */
.lumivoltech-form-wrapper:hover {
    box-shadow: 0 16px 50px rgba(0,0,0,0.08) !important;
    transition: all 0.2s ease !important;
}

.lumivoltech-chart-wrap {
    width: 100%;
    max-width: 100%;
    position: relative;
}

.lumivoltech-chart-wrap canvas {
    width: 100% !important;
    height: auto !important;
}

/* =========================================
   COMPACT SOLAR FOOTER
========================================= */
.lumivoltech-footer {
    margin-top: 24px;
    padding: 18px 20px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
}

.lumivoltech-footer-disclaimer {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.lumivoltech-disclaimer-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    line-height: 1.55;
}

.lumivoltech-disclaimer-icon {
    font-size: 16px;
    line-height: 1.2;
    flex-shrink: 0;
    margin-top: 1px;
}

.lumivoltech-disclaimer-text strong {
    color: #0f172a;
    font-weight: 600;
}

.lumivoltech-footer-copyright {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid #edf2f7;
    text-align: center;
    font-size: 12px;
    color: #64748b;
}

@media (max-width: 768px) {
    .lumivoltech-footer {
        padding: 16px;
    }
    .lumivoltech-disclaimer-item {
        font-size: 12px;
        line-height: 1.5;
    }
    .lumivoltech-disclaimer-icon {
        font-size: 15px;
    }
    .lumivoltech-footer-copyright {
        font-size: 11px;
    }
}

#lumivoltech-success-restart-btn {
    margin: 25px !important;
    padding: 10px 25px;
    color: #fff;
}

table {
    background-color: #fff;
    border-radius: 10px !important;
}

#lumivoltechSavingsChart {
    background-color: #fff;
    border-radius: 10px;
    border-color: #cbc2c2;
    border-width: 1px;
    border-style: solid;
}

#lumivoltech-state {
    font-size: 1.6em;
    color: rebeccapurple;
    font-weight: 600;
}

#lumivoltech-monthly-bill {
    font-size: 1.6em !important;
}

.lumivoltech-currency-input {
    position: relative;
    padding-left: 45px !important;
    max-width: 180px;  
}

.lumivoltech-currency-symbol {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    font-weight: 700;
    color: #110101;
    z-index: 2;
    pointer-events: none;
    line-height: 1;
    background-color: #fff;
    padding: 5px 5px 8px 5px;
}

.lumivoltech-currency-input input {
    padding-left: 38px !important;
}

/* Chrome, Edge, Safari */
#lumivoltech-monthly-bill::-webkit-outer-spin-button,
#lumivoltech-monthly-bill::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
#lumivoltech-monthly-bill {
    -moz-appearance: textfield;
}

/* Header Card Responsive Fix */
@media (max-width: 600px) {
    .responsive-card {
        flex-direction: column !important;
        text-align: center !important;
        padding: 20px !important;
    }
    .responsive-card .lumivoltech-header-content {
        text-align: center !important;
        margin-top: 15px !important;
    }
    .responsive-card .lumivoltech-form-logo {
        width: 100% !important;
        flex: 0 0 auto !important;
    }
}

/* Premium Table Styling */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-family: system-ui, -apple-system, sans-serif;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

table th {
    background-color: #f8fafc;
    color: #475569;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 14px 12px;
    text-align: left;
}

table td {
    padding: 12px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.95rem;
    color: #1e293b;
}

table tr:nth-child(even) {
    background-color: #fcfdfe;
}

table td:last-child {
    font-weight: 700;
    color: #10b981;
}

/* Total Savings Highlight Box */
.lumivoltech-total-box {
    background: #10b981;
    color: #ffffff;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    margin-top: 20px;
    box-shadow: 0 10px 15px -3px rgba(16, 185, 129, 0.3);
}

.lumivoltech-total-box h3 {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.lumivoltech-total-box #lumivoltech-total-savings-value {
    font-size: 2.2rem;
    font-weight: 800;
    margin-top: 5px;
}

/* Container Layout */
.lumivoltech-header-responsive {
    background: #ffffff !important;
    padding: 25px 24px !important;
    border-radius: 12px !important;
    margin-bottom: 25px !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05) !important;
    border: 1px solid #eaeaea !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 24px !important;
}

/* Logo Specifics */
.lumivoltech-form-logo {
    width: 125px !important;
    min-width: 125px !important;
    text-align: center !important;
}

.lumivoltech-form-logo img {
    max-width: 125px !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
}

/* Content Styles */
.lumivoltech-header-content h2 {
    margin: 0 0 6px 0 !important;
    color: #1e293b !important;
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
}

.lumivoltech-header-content p {
    margin: 0 0 10px 0 !important;
    color: #64748b !important;
    font-size: 1.02rem !important;
}

.lumivoltech-badge {
    display: inline-block !important;
    padding: 4px 12px !important;
    border-radius: 20px !important;
    background: #f1f5f9 !important;
    color: #0f172a !important;
    font-size: 0.65rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.3px !important;
}

/* Mobile Stacking Logic */
@media (max-width: 600px) {
    .lumivoltech-header-responsive {
        flex-direction: column !important;
        text-align: center !important;
        gap: 15px !important;
    }
    
    .lumivoltech-header-content {
        text-align: center !important;
    }
}

/* =========================
   WPSF LEGACY SUPPORT FIX
========================= */

.lumivoltech-clean-theme .wpsf-field-group,
.lumivoltech-clean-theme .sfp-field-group {
    margin-bottom: 18px;
}

.lumivoltech-clean-theme select,
.lumivoltech-clean-theme input {
    font-family: inherit;
    font-size: 15px;
}

.lumivoltech-clean-theme .wpsf-system-recommendations {
    display: flex;
    gap: 16px;
    margin-bottom: 22px;
}

.lumivoltech-clean-theme .wpsf-size-card {
    background: #fff;
    border-radius: 10px;
    padding: 16px;
}
.sfp-header-card.sfp-header-responsive {
    background-color: #fff;
    padding: .8em;
    border: 1px;
    border-color: #ccc4c4;
    border-style: solid;
    border-radius: 15px;
    text-align: center;
}

.lumivoltech-clean-theme {
    max-width: 640px;
    margin: 20px auto;
    border: 1px solid #e2e8f0;
    background: #fff;
    font-family: system-ui, sans-serif;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    background-color: #ebebeb;
}


/* =========================
   CURRENCY INPUT
========================= */
.wpsf-currency-input {
    position: relative;
    width: 100%;
    min-width: 275px;
    max-width: 300px;
}

.wpsf-currency-symbol {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px; /* Standardized size */
    font-weight: 700;
    color: #6b7280;
    pointer-events: none;
    z-index: 2;
}

.wpsf-currency-input input {
    width: 100%;
    height: 48px; /* Increased height for better mobile tap target */
    font-size: 16px; /* Set to 16px to prevent iOS from auto-zooming on focus */
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    padding-left: 36px; /* Sufficient space for '$' + spacing */
    padding-right: 12px;
    box-sizing: border-box;
    -webkit-appearance: none; /* Removes default iOS styling */
    appearance: none;
}

.wpsf-currency-input input:focus {
    outline: none;
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16,185,129,0.15);
}

input#wpsf-monthly-bill {
    margin-left: 1em !important;
    font-size: 16px !important;
    padding-left: 2em !important;
}
span.wpsf-currency-symbol {
    margin-left: 1.2em !important;
}
/* =========================
   ADAPTIVE SIZING
========================= */
@media (max-width: 640px) {
 input#wpsf-monthly-bill {
    margin-left: 1em !important;
    font-size: 16px !important;
    padding-left: 3em !important;
}
    .wpsf-currency-input {
        max-width: 100%; /* Full width on small screens */
    }
}

/* =========================
   HEADER
========================= */
.sfp-header-responsive {
    display: flex;
    align-items: center;
    gap: 20px;
}

.sfp-form-logo {
    flex-shrink: 0;
}

.sfp-form-logo img {
    max-width: 120px;
    height: auto;
    display: block;
}

.sfp-header-content {
    flex: 1;
}

/* Mobile */
@media (max-width: 768px) {

    .sfp-header-responsive {
        flex-direction: column;
        text-align: center;
    }

    .sfp-form-logo img {
        max-width: 100px;
        margin: 0 auto;
    }
}

/* Content Styles */
.sfp-header-content h2 {
    margin: 0 0 6px 0 !important;
    color: #1e293b !important;
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
}

.sfp-header-content p {
    margin: 0 0 10px 0 !important;
    color: #64748b !important;
    font-size: 1.02rem !important;
}

.sfp-badge {
    display: inline-block !important;
    padding: 4px 12px !important;
    border-radius: 20px !important;
    background: #f1f5f9 !important;
    color: #0f172a !important;
    font-size: 0.65rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.3px !important;
}

/* Mobile Stacking Logic */
@media (max-width: 600px) {
    .sfp-header-responsive {
        flex-direction: column !important;
        text-align: center !important;
        gap: 15px !important;
    }
    
    .sfp-header-content {
        text-align: center !important;
    }
}


#wpsf-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.55);
    z-index: 9998;
}

#wpsf-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    width: 90%;
    max-width: 420px;
}


#wpsf-modal {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 9999;
	width: 90%;
	max-width: 420px;
	background-color: #fff;
	padding: 2em;
	border-radius: 2em;
}

#wpsf-modal-content {
    background: #ffffff;
    padding: 22px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
    font-family: inherit;
}

#wpsf-modal-text {
    font-size: 16px;
    margin-bottom: 16px;
    color: #111827;
    font-weight: 600;
}

#wpsf-modal-close {
    background: #1f7a3a;
    color: #fff;
    border: none;
    padding: 10px 18px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
}

#wpsf-modal-close:hover {
    background: #166534;
}

button#lumivoltech-to-step-2 {
    width: 100%;
    padding: 12px;
    background: #3182ce !important;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
}
.sfp-footer {
  background-color: #f8f9fa !important;
  border-radius: 8px !important;
  padding: 15px !important;
  border: 1px solid #e9ecef !important;
}

/* Chrome, Safari, Edge, Opera */
input#wpsf-monthly-bill::-webkit-outer-spin-button,
input#wpsf-monthly-bill::-webkit-inner-spin-button {
  -webkit-appearance: none !important;
  margin: 0 !important;
}

/* Firefox */
input#wpsf-monthly-bill {
  -moz-appearance: textfield !important;
}

input#wpsf-monthly-bill {
    size: 18px;
    font-size: 18px !important;
    font-weight: 600;
    color: red;
}

select#wpsf-state {
    font-size: 20px !important;
    color: blue;
    padding: 10px 30px;
    font-weight: 600;
}