/* Box Sizing & Reset */
.fcu-tool-shell--flat-vs-reducing-calc, 
.fcu-tool-shell--flat-vs-reducing-calc *, 
.fcu-tool-shell--flat-vs-reducing-calc *::before, 
.fcu-tool-shell--flat-vs-reducing-calc *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Tool Main Wrapper System */
.fc-tool-wrapper {
    width: 100%;
    max-width: 900px;
    margin: 0 auto 35px auto;
    background: #ffffff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(10, 61, 98, 0.06);
    border: 1px solid #e2e8f0;
    color: #0f172a;
    box-sizing: border-box;
}

/* Header Section */
.fc-tool-header {
    text-align: center;
    margin-bottom: 24px;
}

.fc-tool-title {
    color: #0a3d62;
    font-size: 26px;
    font-weight: 800;
    margin: 0 0 6px 0;
    line-height: 1.3;
}

.fc-tool-subtitle {
    color: #64748b;
    font-size: 15px;
    margin: 0;
    font-weight: 500;
}

/* Input Grid Container */
.fc-tool-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

/* Single Input Block Structure */
.fc-input-group {
    display: flex;
    flex-direction: column;
}

.fc-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.fc-label {
    font-size: 14px;
    font-weight: 600;
    color: #334155;
}

.fc-badge-val {
    font-size: 13px;
    font-weight: 700;
    color: #0a3d62;
    background: #eaf2ff;
    padding: 3px 8px;
    border-radius: 6px;
}

.fc-required {
    color: #ef4444;
}

/* Numeric Text Input */
.fc-input {
    width: 100%;
    padding: 12px 14px;
    font-size: 15px;
    font-weight: 600;
    color: #0f172a;
    background: #f8fafc;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    outline: none;
    transition: all 0.2s ease-in-out;
}

.fc-input:focus {
    border-color: #0a3d62;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(10, 61, 98, 0.15);
}

/* Main गणना करें Button */
.fc-btn-primary {
    width: 100%;
    margin-top: 28px;
    background: #0a3d62;
    color: #ffffff;
    border: none;
    padding: 16px;
    font-size: 18px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    transition: background 0.2s ease-in-out, transform 0.1s ease-in-out;
    box-shadow: 0 4px 12px rgba(10, 61, 98, 0.2);
}

.fc-btn-primary:hover {
    background: #072c47;
}

.fc-btn-primary:active {
    transform: scale(0.99);
}

/* Results Wrapper Block */
.fc-results-wrapper {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 2px dashed #e2e8f0;
    animation: fcFadeIn 0.4s ease-in-out;
}

/* Results Comparison Grid System */
.fc-comparison-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

/* Solid Results Card */
.fc-res-card {
    padding: 18px;
    border-radius: 10px;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.fc-card-title {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    font-weight: 800;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 8px;
}

.fc-card-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fc-result-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
}

.fc-res-label {
    font-size: 13px;
    opacity: 0.9;
    font-weight: 600;
}

.fc-res-val {
    font-size: 17px;
    font-weight: 800;
}

.fc-row-highlight {
    border-top: 1px dashed rgba(255, 255, 255, 0.25);
    padding-top: 8px;
    margin-top: 4px;
}

.fc-row-highlight .fc-res-val {
    font-size: 20px;
}

/* 1. फ्लैट कार्ड - उच्च लागत / लाल शेड */
.fc-card-flat {
    background-color: #7f1d1d;
}
.fc-card-flat .fc-card-title {
    color: #fecaca;
}
.fc-card-flat .fc-res-val {
    color: #fca5a5;
}

/* 2. रिड्यूसिंग कार्ड - किफायती / हरा शेड */
.fc-card-reducing {
    background-color: #064e3b;
}
.fc-card-reducing .fc-card-title {
    color: #a7f3d0;
}
.fc-card-reducing .fc-res-val {
    color: #34d399;
}

/* Savings Advisory Box */
.fc-advisory-box {
    padding: 20px;
    border-radius: 10px;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.fc-lt-adv-good {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-left: 5px solid #16a34a;
    color: #0f172a;
}

.fc-lt-alert-title {
    display: block;
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 8px;
    text-transform: uppercase;
    color: #15803d;
}

/* अस्वीकरण Footer */
.fc-disclaimer {
    font-size: 12px;
    color: #64748b;
    text-align: justify;
    line-height: 1.6;
    border-top: 1px solid #e2e8f0;
    padding-top: 16px;
    margin-top: 20px;
}

/* Animations */
@keyframes fcFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive Breakpoints */
@media (max-width: 650px) {
    .fc-comparison-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .fc-tool-wrapper {
        padding: 12px;
    }
    .fc-tool-title {
        font-size: 22px;
    }
}