/* Box Sizing & Tool Wrapper */
.fc-tool-wrapper,
.fc-tool-wrapper *,
.fc-tool-wrapper *::before,
.fc-tool-wrapper *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.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;
}

/* Header Section */
.fc-tool-header {
    text-align: center;
    margin-bottom: 24px;
}

.fc-tool-title {
    color: #0a3d62;
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 6px;
    line-height: 1.3;
}

.fc-tool-subtitle {
    color: #64748b;
    font-size: 15px;
    font-weight: 500;
}

/* Input Grid Container */
.fc-tool-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.fc-input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: #f8fafc;
    padding: 16px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

.fc-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.fc-label {
    font-size: 14px;
    font-weight: 700;
    color: #334155;
}

.fc-required {
    color: #ef4444;
}

/* Split Inputs for Bank 1 & Bank 2 */
.fc-split-inputs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.fc-field-block {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.fc-field-subtag {
    font-size: 12px;
    font-weight: 800;
    color: #0a3d62;
    text-transform: uppercase;
}

.fc-input {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    font-size: 15px;
    font-weight: 600;
    color: #0f172a;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    outline: none;
    transition: all 0.2s ease-in-out;
}

.fc-bank-input {
    text-align: center;
    font-weight: 800;
    color: #0a3d62;
    background: #eaf2ff;
    border-color: #bfdbfe;
    letter-spacing: 0.5px;
}

.fc-input:focus {
    border-color: #0a3d62;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(10, 61, 98, 0.15);
}

/* Fees Combo Select */
.fc-fees-combo {
    display: flex;
    gap: 6px;
}

.fc-fees-select {
    min-height: 44px;
    padding: 8px 10px;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    background: #e2e8f0;
    font-weight: 700;
    font-size: 13px;
    color: #1e293b;
    outline: none;
    cursor: pointer;
}

.fc-fees-select:focus {
    border-color: #0a3d62;
}

/* Action Button */
.fc-btn-primary {
    width: 100%;
    margin-top: 24px;
    background: #0a3d62;
    color: #ffffff;
    border: none;
    padding: 16px;
    font-size: 18px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    transition: background 0.2s ease, transform 0.1s ease;
    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 Display Panel */
.fc-results-wrapper {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 2px dashed #e2e8f0;
    animation: fcFadeIn 0.3s ease-in-out;
}

/* Hero Badge */
.fc-badge {
    padding: 16px 20px;
    border-radius: 10px;
    text-align: center;
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 24px;
    display: block;
    width: 100%;
}

.fc-badge-good {
    background-color: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

/* Results Grid System */
.fc-results-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

/* Solid Results Cards (Dark Navy) */
.fc-res-card {
    background-color: #0a3d62;
    color: #ffffff;
    padding: 16px 18px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.fc-full-width-card {
    grid-column: span 2;
    background-color: #082d49;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.fc-card-title {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.9;
    margin-bottom: 10px;
    font-weight: 700;
}

.fc-split-val-row {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.fc-split-col {
    flex: 1;
}

.fc-split-val-row small {
    display: block;
    font-size: 11px;
    color: #93c5fd;
    font-weight: 700;
    margin-bottom: 2px;
    text-transform: uppercase;
}

.fc-split-val-row strong {
    font-size: 17px;
    font-weight: 800;
    color: #ffffff;
    display: block;
}

.fc-full-width-card .fc-split-val-row strong {
    font-size: 20px;
}

.fc-divider {
    width: 1px;
    height: 32px;
    background: rgba(255, 255, 255, 0.2);
}

/* Highlight Colors for Winners/Losers */
.fc-val-cheaper {
    color: #34d399 !important; /* साफ़ चमकता हुआ हरा */
}

.fc-val-costlier {
    color: #fca5a5 !important; /* साफ़ चमकता हुआ लाल */
}

/* Advisory Box */
.fc-advisory-box {
    padding: 20px;
    border-radius: 10px;
    font-size: 14px;
    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;
}

/* अस्वीकरण */
.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;
}

@keyframes fcFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Mobile Responsiveness */
@media (max-width: 650px) {
    .fc-tool-wrapper {
        padding: 12px;
    }
    .fc-tool-title {
        font-size: 22px;
    }
    .fc-split-inputs,
    .fc-results-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .fc-full-width-card {
        grid-column: span 1;
    }
    .fc-badge {
        font-size: 16px;
        padding: 12px 14px;
    }
}
