.elementor-2706 .elementor-element.elementor-element-49ba19c{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-2706 .elementor-element.elementor-element-2f22a2d{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-2706 .elementor-element.elementor-element-c812f24{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}/* Start custom CSS for html, class: .elementor-element-79e0a38 *//* --- Global Styles & Variables --- */
:root {
    --primary: #e5322d;
    --primary-dark: #c22a25;
    --secondary: #555;
    --success: #198754;
    --bg-light: #f8f9fa;
    --border: #dee2e6;
    --text-dark: #212529;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

#tool-page {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-dark);
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* --- Layout Structure --- */
.calculator-container {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 25px;
    align-items: start;
}

@media (max-width: 992px) {
    .calculator-container {
        grid-template-columns: 1fr;
    }
}

.input-section, .results-section {
    background: #ffffff;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

/* --- Input Groupings --- */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: var(--secondary);
}

input[type="number"], select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.2s;
}

input[type="number"]:focus {
    border-color: var(--primary);
    outline: none;
}

input[type="range"] {
    width: 100%;
    margin-top: 10px;
    accent-color: var(--primary);
    cursor: pointer;
}

/* --- Custom Radio Buttons --- */
.radio-group {
    display: flex;
    gap: 8px;
}

.radio-label {
    flex: 1;
    border: 1px solid var(--border);
    padding: 10px 5px;
    text-align: center;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s;
}

.radio-label:hover {
    background: var(--bg-light);
}

.radio-label:has(input:checked) {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.radio-label input {
    display: none;
}

/* --- Results Header & Toggle --- */
.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--bg-light);
}

.inflation-toggle {
    display: flex;
    align-items: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--secondary);
}

/* --- Result Cards --- */
.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

.result-card {
    background: var(--bg-light);
    padding: 20px 15px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid var(--border);
}

.result-card.highlight {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    border: none;
}

.result-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    opacity: 0.9;
}

.result-value {
    font-size: 1.5rem;
    font-weight: 800;
}

.color-green {
    color: var(--success);
}

/* --- Tabs Logic (Critical Fix) --- */
.tabs {
    display: flex;
    gap: 10px;
    border-bottom: 2px solid var(--border);
    margin-top: 25px;
    margin-bottom: 20px;
}

.tab {
    padding: 10px 20px;
    cursor: pointer;
    font-weight: 600;
    color: var(--secondary);
    position: relative;
    transition: color 0.2s;
}

.tab:hover {
    color: var(--primary);
}

.tab.active {
    color: var(--primary);
}

.tab.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary);
}

.tab-content {
    display: none; /* Hidden by default */
    animation: fadeIn 0.3s ease;
}

.tab-content.active {
    display: block; /* Visible when tab is clicked */
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Yearly Table --- */
.table-container {
    max-height: 450px;
    overflow-y: auto;
    border: 1px solid var(--border);
    border-radius: 8px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th {
    position: sticky;
    top: 0;
    background: #f1f3f5;
    padding: 12px;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--secondary);
    z-index: 10;
}

td {
    padding: 12px;
    border-bottom: 1px solid var(--border);
    text-align: center;
    font-size: 0.95rem;
}

tr:nth-child(even) {
    background: #fdfdfd;
}

tr:hover {
    background: #fff5f5;
}

/* --- Switch UI --- */
.switch {
    position: relative;
    display: inline-block;
    width: 36px;
    height: 20px;
    margin-right: 10px;
}

.switch input { display: none; }

.slider.round {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #ccc;
    transition: .3s;
    border-radius: 20px;
}

.slider.round:before {
    position: absolute;
    content: "";
    height: 14px; width: 14px;
    left: 3px; bottom: 3px;
    background-color: white;
    transition: .3s;
    border-radius: 50%;
}

input:checked + .slider { background-color: var(--primary); }
input:checked + .slider:before { transform: translateX(16px); }

/* --- Buttons & UI Elements --- */
.btn {
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: transform 0.1s, opacity 0.2s;
    background: var(--primary);
    color: #fff;
}

.btn:active { transform: scale(0.98); }
.btn-secondary { background: var(--secondary); }
.btn-small { padding: 6px 12px; font-size: 0.8rem; }

.annuity-info {
    background: #eef2ff;
    padding: 20px;
    border-radius: 10px;
    border-left: 5px solid #4f46e5;
}

.info-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.note {
    font-size: 0.85rem;
    color: var(--secondary);
    margin-top: 15px;
    font-style: italic;
}

/* --- Print Settings --- */
@media print {
    .no-print, .input-section, .action-buttons, .tabs, .back-to-home-btn {
        display: none !important;
    }
    
    body { background: #fff; }
    
    .calculator-container {
        display: block;
    }
    
    .results-section {
        box-shadow: none;
        border: none;
        width: 100%;
    }
    
    .result-card {
        border: 1px solid #ccc;
        color: #000 !important;
        background: #fff !important;
    }

    .tab-content {
        display: block !important;
        opacity: 1 !important;
    }

    .table-container {
        max-height: none;
        overflow: visible;
    }
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-31db70d *//* --- Master Info Section Styles (Optimized & Compact) --- */
.info-section {
    max-width: 1100px;
    margin: 2rem auto;
    padding: 1rem;
    line-height: 1.7;
}

/* Red Vertical Accent & Headers */
.info-section h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 1rem;
    border-left: 6px solid #e33d3d;
    padding-left: 15px;
    line-height: 1.2;
}

.info-section h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 2rem 0 0.8rem 0;
    border-left: 4px solid #e33d3d;
    padding-left: 12px;
}

/* Compact Paragraph Styling */
.about-content p {
    font-size: 1.1rem;
    color: #4a5568;
    margin-bottom: 1rem; /* Reduced Gap */
    text-align: left;
}

.about-content strong { color: #e33d3d; }

/* Compact Grid Cards */
.faq-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 1.2rem; /* Reduced Gap */
}
.faq-item { 
    background: #fff; 
    padding: 1.5rem; /* Compact Padding */
    border-radius: 10px; 
    border: 1px solid #e2e8f0; 
    transition: 0.3s;
}
.faq-item:hover { transform: translateY(-3px); border-color: #e33d3d; box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
.faq-item strong { display: block; font-size: 1.15rem; color: #1a1a1a; margin-bottom: 6px; }
.faq-item p { font-size: 0.95rem; margin: 0; color: #718096; }

/* Table Styling */
.table-container { margin: 2.5rem 0; }
.responsive-table { overflow-x: auto; border-radius: 10px; border: 1px solid #e2e8f0; }
table { width: 100%; border-collapse: collapse; min-width: 650px; }
th { background: #e33d3d; color: white; padding: 15px; text-align: left; font-size: 0.95rem; }
td { padding: 12px 15px; border-bottom: 1px solid #edf2f7; color: #2d3748; font-size: 0.95rem; }
tr:nth-child(even) { background-color: #fcfcfc; }

/* Highlight Box */
.vatsalya-highlight {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1.8rem;
    margin: 2rem 0;
    border: 1px solid #e2e8f0;
}
.how-to-list { padding-left: 1rem; margin: 0; }
.how-to-list li { margin-bottom: 0.6rem; font-size: 1rem; color: #4a5568; }

/* Mobile Fixes */
@media (max-width: 768px) {
    .info-section h2 { font-size: 1.7rem; }
    .info-section h3 { font-size: 1.4rem; }
    .faq-grid { grid-template-columns: 1fr; }
    .about-content p { font-size: 1rem; }
}/* --- Master Info Section Styles --- */
.info-section {
    max-width: 1100px;
    margin: 4rem auto;
    padding: 1rem;
    line-height: 1.8;
}

/* Red Vertical Accent for Headings */
.info-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    border-left: 6px solid #e33d3d;
    padding-left: 20px;
    line-height: 1.2;
}

.info-section h3 {
    font-size: 1.85rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-top: 3rem;
    margin-bottom: 1.2rem;
    border-left: 4px solid #e33d3d; /* Matches the inner titles in your images */
    padding-left: 15px;
}

/* Paragraph Styling */
.about-content p {
    font-size: 1.15rem;
    color: #4a5568;
    margin-bottom: 1.5rem;
    text-align: left;
}

.about-content strong { color: #e33d3d; }

/* Grid Cards */
.faq-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.5rem; }
.faq-item { 
    background: #fff; 
    padding: 2.2rem; 
    border-radius: 12px; 
    border: 1px solid #e2e8f0; 
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    transition: 0.3s;
}
.faq-item:hover { transform: translateY(-5px); border-color: #e33d3d; box-shadow: 0 15px 30px rgba(0,0,0,0.05); }
.faq-item strong { display: block; font-size: 1.25rem; color: #1a1a1a; margin-bottom: 12px; }

/* Table Styling */
.table-container { margin: 3.5rem 0; }
.responsive-table { overflow-x: auto; border-radius: 12px; border: 1px solid #e2e8f0; }
table { width: 100%; border-collapse: collapse; min-width: 700px; }
th { background: #e33d3d; color: white; padding: 20px; text-align: left; }
td { padding: 18px; border-bottom: 1px solid #edf2f7; color: #2d3748; }
tr:nth-child(even) { background-color: #fcfcfc; }

/* Highlight Box */
.vatsalya-highlight {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 2.5rem;
    margin: 3rem 0;
    border: 1px solid #e2e8f0;
}

.how-to-list { padding-left: 1.2rem; }
.how-to-list li { margin-bottom: 1rem; font-size: 1.1rem; color: #4a5568; }

/* Mobile Optimization */
@media (max-width: 768px) {
    .info-section h2 { font-size: 1.9rem; }
    .faq-grid { grid-template-columns: 1fr; }
    .about-content p { font-size: 1.05rem; }
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-34f6d2d *//* --- Similar Tools Section (Compact Utilix Style) --- */
.similar-tools-section {
    background-color: #f8f9fa;
    padding: 2rem 1rem !important; /* Tight padding */
    margin-bottom: 0;
    border-top: 1px solid #eef0f2;
}

.tool-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem; /* Small gaps */
    max-width: 1100px;
    margin: 0 auto;
}

.tool-card-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.2rem; /* Reduced padding */
    text-align: center;
    transition: 0.3s ease;
}

.tool-card-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-color: #0d6efd;
}

.tool-card-icon {
    margin: 0 auto 0.8rem auto;
    height: 40px;
    width: 40px;
    border-radius: 50%;
    background-color: #e33d3d1a; /* Faded Utilix Red */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e33d3d;
}

.tool-card-item h3 {
    font-size: 1.1rem;
    color: #1a1a1a;
    margin: 0 0 0.5rem 0;
    border: none !important; /* Removes red bar for small cards */
    padding: 0 !important;
}

.tool-card-item p {
    color: #718096;
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.tool-card-link {
    display: inline-block;
    background-color: #0d6efd;
    color: #ffffff;
    text-decoration: none;
    padding: 8px 20px;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: 0.2s;
}

.tool-card-link:hover {
    background-color: #0b5ed7;
}

/* Mobile Tweak */
@media (max-width: 768px) {
    .tool-card-grid {
        grid-template-columns: 1fr;
    }
}/* End custom CSS */