#results p strong {
    color: #334155; /* Tailwind slate-700 */
    font-weight: 700;
}
/* Savings results modern card style */
#results.results {
    background: #e2e8f0; /* Tailwind slate-200 */
    border-radius: 1rem;
    box-shadow: 0 4px 18px rgba(30,41,59,0.10);
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    margin: 2rem auto 1.5rem auto;
    max-width: 420px;
    text-align: center;
    border-left: 10px solid #B3CF53; /* Brand green */
    border-right: none;
    border-top: none;
    border-bottom: none;
    transition: box-shadow 0.2s;
}

#results h3 {
    font-size: 1.3rem;
    color: #E47C3A;
    margin-bottom: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}
#results p {
    font-size: 1.08rem;
    margin: 0.7rem 0;
    color: #cbd5e1;
}

#results span#monthly_saving, #results span#annual_saving {
    display: inline-block;
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
    background: #334155; /* Tailwind slate-700 */
    border-radius: 999px;
    padding: 0.25em 1em;
    margin-left: 0.5em;
    margin-right: 0.5em;
    margin-top: 0.2rem;
    letter-spacing: 0.01em;
    vertical-align: middle;
}

#results strong {
    color: #f1f5f9;
    font-weight: 700;
}
.calculator-form .input-group label {
    font-size: 0.98rem;
    font-weight: 500;
    margin-bottom: 0.3rem;
    color: #333;
}
.calculator-form .input-group {
    width: 50%;
    max-width: 340px;
    min-width: 180px;
}
@media (max-width: 900px) {
    .calculator-form .input-group {
        width: 100%;
        max-width: 100%;
    }
}
.calculator-form .input-group input {
    font-size: 1rem;
    padding: 0.4rem 0.6rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
}
/* Toast notification styles */
.cm-toast {
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: #e74c3c;
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    font-size: 1rem;
    z-index: 9999;
    opacity: 0.95;
    transition: opacity 0.3s;
}
/* Modern horizontal layout for calculator form */
.calculator-form .input-row {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.calculator-form .input-group {
    display: flex;
    flex-direction: column;
    flex: 1 1 200px;
    min-width: 200px;
}

@media (max-width: 600px) {
    .calculator-form .input-row {
        flex-direction: column;
        gap: 1rem;
    }
}
/* Container */
.consignmate-calculator-container {
    width: 100% !important;
    max-width: 750px !important;
    margin: 0 auto !important;
    padding: 2rem !important;
    background: #fff !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1) !important;
    font-family: Arial, sans-serif !important;
}

/* Title & Subtitle */
.cm-title {
    font-size: 28px !important;
    font-weight: 700 !important;
    color: #E47C3A !important; /* Brand orange */
    text-align: center !important;
    margin-bottom: 10px !important;
}

.cm-subtitle {
    font-size: 16px !important;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: 25px !important;
    color: #555 !important;
    display: block !important;
    width: 100% !important;
    justify-content: center !important;
    align-items: center !important;
}

/* Form Labels & Inputs */
.calculator-form label {
    font-weight: bold !important;
    display: block !important;
    margin-top: 15px !important;
}

.calculator-form input {
    width: 100% !important;
    padding: 10px !important;
    margin-top: 5px !important;
    border-radius: 6px !important;
    border: 1px solid #ccc !important;
        position: relative !important;
}

.calculator-form {
    text-align: center !important;
}

/* Calculate Button */
#calculate_savings {
    margin-top: 15px !important;
    padding: 12px 32px !important;
    background: #E47C3A !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    font-size: 18px !important;
    font-weight: bold !important;
    box-shadow: 0 2px 8px rgba(228,124,58,0.10) !important;
    transition: background 0.3s, box-shadow 0.3s !important;
    display: inline-block !important;
}
#calculate_savings:hover {
    background: #c96427 !important;
    box-shadow: 0 4px 16px rgba(228,124,58,0.18) !important;
}



/* CTA Section */
.cta-section {
    text-align: center !important; /* center the buttons */
    margin-top: 30px !important;
}

.cta-btn {
    display: inline-block !important;
    margin: 5px !important;
    padding: 14px 32px !important;
    background: #B3CF53 !important;  /* brand green */
    color: #fff !important;
    font-weight: bold !important;
    border-radius: 8px !important;
    border: none !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: background 0.3s, box-shadow 0.3s !important;
    box-shadow: 0 2px 8px rgba(179,207,83,0.10) !important;
    min-width: 180px !important;
    text-align: center !important;
    font-size: 17px !important;
}

/* Ensure Contact Us button text is white */
.cta-btn[href*="contact-us"],
    .cta-section .cta-btn[href*="contact-us"] {
    color: #fff !important;
    background: #B3CF53 !important;
    font-weight: bold !important;
}

.cta-btn.secondary {
    background: #B3CF53 !important;  /* brand green */
    color: #fff !important;
    box-shadow: 0 2px 8px rgba(179,207,83,0.10) !important;
    border: none !important;
}

.cta-btn:hover {
    opacity: 0.95 !important;
    background: #9bbf2e !important;
}

/* Modal Styles */
.modal {
    display: none !important;
    position: fixed !important;
    z-index: 9999 !important;
    left: 0 !important; top: 0 !important;
    width: 100vw !important; height: 100vh !important;
    overflow: hidden !important;
    background: rgba(0,0,0,0.6) !important;
}

/* Force modal to display as flex when shown */
.modal[style*="display: block"], .modal[style*="display: flex"] {
    display: flex !important;
    align-items: center;
    justify-content: center;
    z-index: 9999 !important;
}


.modal-content {
    background: #fff !important;
    margin: 0 auto !important;
    padding: 0 !important;
    border-radius: 10px !important;
    max-width: 800px !important;
    width: 100vw !important;
    height: 100vh !important;
    max-height: 100vh !important;
    display: flex !important;
    flex-direction: column !important;
    box-sizing: border-box !important;
    display: relative !important;

}

.modal .close {
    position: absolute !important;
    top: 18px !important;
    right: 24px !important;
    font-size: 1.5rem !important;
    cursor: pointer !important;
    z-index: 10 !important;
    background: none !important;
    border: none !important;
    color: #888 !important;
    padding: 0 !important;
    line-height: 1 !important;
}
    .modal .close {
        top: 28px !important;
        right: 32px !important;
    }

.modal .close:hover {
    color: #000 !important;
}

/* Modal Body Text */
.modal-body {
    font-size: 14px !important;
    line-height: 1.6 !important;
    color: #333 !important;
    overflow-y: auto !important;
    flex: 1 1 auto !important;
    padding: 0 25px 25px 25px !important;
    max-height: calc(95vh - 80px) !important;
}

.modal-content h2 {
    margin-top: 0 !important;
    margin-bottom: 15px !important;
    text-align: center !important;
    position: sticky !important;
    top: 0 !important;
    background: #fff !important;
    z-index: 2 !important;
    padding: 25px 25px 10px 25px !important;
    border-top-left-radius: 10px !important;
    border-top-right-radius: 10px !important;
}

.modal-body {
    font-size: 14px !important;
    line-height: 1.6 !important;
    color: #333 !important;
    overflow-y: auto !important;
    flex: 1 1 auto !important;
    padding: 0 25px 25px 25px !important;
    max-height: calc(100vh - 80px) !important;
}

.modal-body ul li {
    margin-bottom: 8px !important;
}
