/* Hindi Finance Calculator Pack - Style */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Devanagari:wght@400;600;700&family=Inter:wght@400;500;600;700&display=swap');

.hfc-card {
    font-family: 'Inter', 'Noto Sans Devanagari', sans-serif;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.10);
    margin: 24px 0;
    overflow: hidden;
    max-width: 720px;
}

.hfc-header {
    background: linear-gradient(135deg, #1a3c6e 0%, #2563eb 100%);
    color: white;
    padding: 28px 32px 20px;
    text-align: center;
}

.hfc-icon {
    font-size: 36px;
    display: block;
    margin-bottom: 8px;
}

.hfc-header h2 {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 6px;
    color: white !important;
    border: none !important;
}

.hfc-header p {
    font-size: 13px;
    opacity: 0.85;
    margin: 0;
    color: #cfe0ff;
}

.hfc-body {
    padding: 28px 32px;
    background: #f8faff;
}

.hfc-field {
    margin-bottom: 20px;
}

.hfc-field label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    color: #1e3a5f;
    margin-bottom: 8px;
}

.hfc-hint {
    font-weight: 400;
    font-size: 12px;
    color: #6b8cb8;
    margin-left: 6px;
}

.hfc-field input[type="number"] {
    width: 100%;
    padding: 11px 14px;
    border: 2px solid #d0e0f7;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #1a3c6e;
    background: white;
    box-sizing: border-box;
    transition: border-color 0.2s;
    outline: none;
}

.hfc-field input[type="number"]:focus {
    border-color: #2563eb;
}

.hfc-field input[type="range"] {
    width: 100%;
    margin-top: 8px;
    accent-color: #2563eb;
    cursor: pointer;
}

.hfc-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: 0.3px;
    margin-top: 8px;
    transition: transform 0.1s, box-shadow 0.2s;
    box-shadow: 0 4px 14px rgba(37,99,235,0.35);
}

.hfc-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(37,99,235,0.45);
}

.hfc-btn:active {
    transform: translateY(0);
}

.hfc-results {
    margin-top: 24px;
    animation: hfc-fadein 0.4s ease;
}

@keyframes hfc-fadein {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.hfc-result-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.hfc-result-box {
    background: white;
    border-radius: 10px;
    padding: 16px 12px;
    text-align: center;
    border: 2px solid #e8f0fe;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.hfc-result-box.invested { border-top: 4px solid #6366f1; }
.hfc-result-box.returns { border-top: 4px solid #22c55e; }
.hfc-result-box.total { border-top: 4px solid #f59e0b; }

.hfc-label {
    display: block;
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
    margin-bottom: 6px;
}

.hfc-value {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #1a3c6e;
}

.hfc-chart-wrap {
    background: white;
    border-radius: 12px;
    padding: 16px;
    border: 1px solid #e8f0fe;
    margin-top: 4px;
}

.hfc-disclaimer {
    font-size: 11px;
    color: #94a3b8;
    margin-top: 12px;
    text-align: center;
    font-style: italic;
}

/* Tax Compare */
.hfc-tax-compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.hfc-tax-regime {
    background: white;
    border-radius: 12px;
    padding: 18px;
    border: 2px solid #e8f0fe;
}

.hfc-tax-regime h3 {
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 12px;
    color: #1a3c6e;
    border: none !important;
}

.hfc-tax-regime .hfc-result-box {
    margin-bottom: 10px;
}

.hfc-recommendation {
    background: linear-gradient(135deg, #dcfce7, #bbf7d0);
    border: 2px solid #22c55e;
    border-radius: 12px;
    padding: 16px 20px;
    text-align: center;
    font-weight: 700;
    color: #166534;
    font-size: 15px;
    margin-top: 4px;
}

/* Mobile responsive */
@media (max-width: 600px) {
    .hfc-body { padding: 20px 16px; }
    .hfc-header { padding: 20px 16px; }
    .hfc-result-grid { grid-template-columns: 1fr; gap: 8px; }
    .hfc-value { font-size: 15px; }
    .hfc-tax-compare { grid-template-columns: 1fr; }
}

/* FD Table */
.hfc-fd-table-wrap {
    background: white;
    border-radius: 12px;
    padding: 16px;
    border: 1px solid #e8f0fe;
    margin-top: 16px;
}

.hfc-fd-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.hfc-fd-table th {
    background: #1a3c6e;
    color: white;
    padding: 10px 8px;
    text-align: center;
    font-weight: 600;
}

.hfc-fd-table td {
    padding: 8px;
    text-align: center;
    border-bottom: 1px solid #e8f0fe;
    color: #1e3a5f;
}

.hfc-fd-table tr:nth-child(even) td {
    background: #f8faff;
}

.hfc-fd-table tr:last-child td {
    font-weight: 700;
    color: #059669;
    background: #dcfce7;
}
