/* tools/sip-calculator/sip.css */

/* --- Overall Tool Page Layout (consistent with other tools) --- */
.tool-page-main {
    padding: 4rem 0 5rem; 
    background-color: var(--bg-main);
    overflow-x: hidden; /* Prevent horizontal scroll from any element breaking layout */
}

.tool-container {
    max-width: 80vw; /* UPDATED: Set max-width to 80% of viewport width */
    margin: 0 auto;
    padding: 0 var(--space-xl); /* Ensure horizontal padding to keep content off edges */
}
@media (min-width: 1600px) { /* Cap max-width for very large screens if 80vw becomes too wide */
    .tool-container {
        max-width: 1280px; /* Example: Cap at 1280px or 1400px if 80vw makes it too wide */
    }
}


/* --- Tool Header (consistent with other tools) --- */
.tool-header {
    text-align: center;
    margin-top: 2rem; 
    margin-bottom: 4rem; 
}

.tool-icon-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.85rem; 
    margin-bottom: 1.2rem; 
}

.tool-icon {
    font-size: 3.5rem; 
    color: var(--accent-color);
}

.tool-header h1 {
    font-size: clamp(2.5rem, 6vw, 4rem); 
    font-weight: 900; 
    color: var(--text-primary);
    line-height: 1.15;
    margin-bottom: 0;
    letter-spacing: -0.03em; 
}

.tool-description {
    font-size: clamp(1rem, 2.5vw, 1.25rem); 
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 700px;
    margin: 0.8rem auto 0 auto;
}

/* --- Error Message Container (consistent) --- */
.error-message-container {
    background-color: #fef2f2; 
    border: 1px solid #ef4444; 
    color: #b91c1c; 
    padding: 1rem 1.5rem; 
    border-radius: 10px; 
    margin-bottom: 2rem; 
    display: flex;
    align-items: center;
    gap: 0.75rem; 
    font-size: var(--fs-base); 
    box-shadow: 0 4px 10px rgba(0,0,0,0.05); 
    text-align: left; 
}
html[data-theme="dark"] .error-message-container {
    background-color: #3f0f0f;
    border-color: #dc2626;
    color: #ef4444;
}
.error-message-container p { 
    margin: 0;
}


/* --- Main Calculator Card (.sip-calculator-card) --- */
.sip-calculator-card { 
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px; 
    box-shadow: 0 15px 50px rgba(0,0,0,0.1); 
    
    height: 85vh; /* Fixed height for larger screens */
    display: flex; 
    flex-direction: column; 
    overflow: hidden; 

    margin-bottom: 4rem; 
    max-width: 900px; /* Consistent general calculator width */
    margin-left: auto;
    margin-right: auto;
    transition: all 0.3s ease-out; 
}
html[data-theme="dark"] .sip-calculator-card {
    box-shadow: 0 15px 50px rgba(0,0,0,0.25);
}

/* Inner Grid for Calculator Content (input vs results panels) */
.calculator-grid-wrapper {
    flex-grow: 1; 
    display: grid;
    grid-template-columns: 1.5fr 1fr; /* Input panel is significantly bigger than result */
    gap: 0; 
    overflow: hidden; 
}

/* Input Panel (left side/top) */
.input-panel {
    display: flex;
    flex-direction: column;
    height: 100%; 
    position: relative;
    padding: var(--space-xl) var(--space-xxl) var(--space-xl) var(--space-xl); 
    border-right: 1px solid var(--border-color); 
    overflow-y: auto; 
    padding-bottom: var(--space-lg); 
    background-color: var(--bg-main); 
}
html[data-theme="dark"] .input-panel {
    border-right-color: var(--border-grid-gray-dark);
    background-color: var(--bg-card); 
}
.input-panel::-webkit-scrollbar { width: 6px; }
.input-panel::-webkit-scrollbar-track { background: var(--bg-highlight); border-radius: 10px; }
.input-panel::-webkit-scrollbar-thumb { background: var(--accent-color); border-radius: 10px; }
.input-panel::-webkit-scrollbar-thumb:hover { background: var(--btn-primary-hover); }


/* Result Display Panel (right side/bottom) */
.results-panel {
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Push bottom element to bottom */
    height: 100%; 
    position: relative;
    overflow-y: auto; 
    padding: var(--space-xl); 
    background-color: var(--bg-card); 
}
.results-panel::-webkit-scrollbar { width: 6px; }
.results-panel::-webkit-scrollbar-track { background: var(--bg-highlight); border-radius: 10px; }
.results-panel::-webkit-scrollbar-thumb { background: var(--accent-color); border-radius: 10px; }
.results-panel::-webkit-scrollbar-thumb:hover { background: var(--btn-primary-hover); }

/* Spacing for sections within results-panel, and pushing last item to bottom */
.results-panel > *:not(:last-child) {
    margin-bottom: var(--space-xl);
}
.results-panel > :last-child {
    margin-top: auto; /* Push the very last element to the bottom */
}


/* --- Section Titles within Panels/Cards --- */
.section-title-within-tab, .section-title-within-card {
    font-size: clamp(1.6rem, 3.5vw, 2.2rem); 
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    text-align: left; 
}

/* --- Form Styles (consistent) --- */
.form-group {
    margin-bottom: 1.5rem; 
}
.form-group label {
    font-size: var(--fs-md); 
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.75rem; 
}
.form-control {
    width: 100%;
    padding: 0.85rem 1.2rem; 
    font-size: var(--fs-base); 
    border: 1px solid var(--border-color);
    border-radius: 10px; 
    background-color: var(--bg-main);
    color: var(--text-primary);
    transition: border-color 0.2s, box-shadow 0.2s;
}
.form-control:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(76, 81, 191, 0.2); 
}
html[data-theme="dark"] .form-control {
    background-color: var(--bg-card);
}
html[data-theme="dark"] .form-control:focus {
    box-shadow: 0 0 0 3px rgba(129, 140, 248, 0.2);
}

.form-text {
    font-size: var(--fs-sm);
    color: var(--text-secondary);
    margin-top: 0.6rem; 
    display: block;
    line-height: 1.5;
}

/* Input group for tenure/time period */
.tenure-input-group {
    display: flex;
    gap: 0.5rem;
}
.tenure-input-group input {
    flex-grow: 1;
}
.tenure-input-group select {
    flex-shrink: 0;
    width: auto; 
    min-width: 80px; 
}

/* New: Divider for optional sections */
.divider {
    border-top: 1px dashed var(--border-color);
    margin: 2rem 0;
}
html[data-theme="dark"] .divider {
    border-top-color: var(--text-secondary);
}


.form-actions {
    display: flex;
    gap: 1rem; 
    margin-top: 2rem; 
    flex-wrap: wrap;
}
.form-actions .btn {
    flex-grow: 1;
    max-width: 250px; 
    font-size: var(--fs-base); 
    padding: 0.9rem 1.5rem; 
    border-radius: 10px; 
}
.form-actions.full-width .btn {
    max-width: none; 
}


/* --- Quick Result Display (Prominent SIP value) --- */
.quick-result-display-wrapper { 
    background-color: var(--bg-highlight); 
    border-radius: 16px;
    padding: var(--space-xl); 
    text-align: center;
    box-shadow: inset 0 0 8px rgba(0,0,0,0.05);
    display: flex; 
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0; 
    /* Highlight styles */
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28' width='28' height='28' fill='none' stroke='%23e0e4f8'%3e%3cpath d='M0 .5H28M.5 0V28'/%3e%3c/svg%3e"); /* Very Light Indigo tint for light theme */
    background-size: 28px 28px;
    background-position: top left;
    border: 1px solid var(--accent-color); 
    box-shadow: 0 8px 25px rgba(76, 81, 191, 0.2); 
}
html[data-theme="dark"] .quick-result-display-wrapper {
    background-color: var(--bg-main);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28' width='28' height='28' fill='none' stroke='%239aa6f5'%3e%3cpath d='M0 .5H28M.5 0V28'/%3e%3c/svg%3e");
    border-color: var(--accent-color);
    box-shadow: 0 8px 25px rgba(129, 140, 248, 0.25);
}
.total-value-display { /* Specific ID for SIP total value */
    font-size: clamp(2.5rem, 6vw, 4rem); 
    font-weight: 900;
    color: var(--accent-color);
    line-height: 1;
    margin-bottom: 0.5rem; 
    letter-spacing: -0.05em;
}
.total-value-words-display { /* Specific ID for SIP total value in words */
    font-size: var(--fs-base);
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: var(--space-lg); 
}
.download-report-btn { 
    font-size: var(--fs-sm);
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    margin-top: 0; 
}


/* --- Summary Results Grid (Below Quick Result) --- */
.summary-results-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: var(--space-md); 
}

.result-item {
    background-color: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: 12px; 
    padding: 1rem 1.2rem; 
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem; 
}
html[data-theme="dark"] .result-item {
    background-color: var(--bg-card); 
}

.result-label {
    font-size: var(--fs-sm);
    color: var(--text-secondary);
    font-weight: 500;
}

.result-value {
    font-size: var(--fs-base);
    color: var(--text-primary);
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.result-item.total-highlight { /* Used for Invested Amount + Returns = Total Value */
    background-color: color-mix(in srgb, var(--accent-color) 10%, transparent); 
    border-color: var(--accent-color);
    box-shadow: 0 2px 8px rgba(76, 81, 191, 0.15); 
}
html[data-theme="dark"] .result-item.total-highlight {
    background-color: color-mix(in srgb, var(--accent-color) 15%, transparent);
    box-shadow: 0 2px 8px rgba(129, 140, 248, 0.15);
}
.result-item.total-highlight .result-label {
    color: var(--text-primary); 
}
.result-item.total-highlight .result-value {
    font-size: var(--fs-lg); 
    color: var(--accent-color); 
}

/* --- Pie Chart Visualization (Investment Breakdown) --- */
.visualization-card {
    background-color: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: var(--space-lg);
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: space-between; 
    min-height: 250px; 
}
html[data-theme="dark"] .visualization-card {
    background-color: var(--bg-card);
}

.chart-container {
    display: flex;
    flex-direction: column; 
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem; 
    flex-grow: 1; 
}
@media (min-width: 768px) { 
    .chart-container {
        flex-direction: row;
        align-items: center; 
        justify-content: center;
    }
    .legend {
        padding-left: 2rem; 
    }
}

.pie-chart-wrapper {
    position: relative;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-color: var(--border-color); 
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.08);
    border: 3px solid var(--border-color); 
    box-shadow: 0 0 0 5px rgba(0,0,0,0.05), inset 0 0 10px rgba(0,0,0,0.08); 
}
html[data-theme="dark"] .pie-chart-wrapper {
    background-color: var(--border-grid-gray-dark);
    box-shadow: 0 0 0 5px rgba(255,255,255,0.02), inset 0 0 10px rgba(255,255,255,0.05);
}

.pie-chart {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    /* Colors for SIP: Invested Amount (accent), Estimated Returns (a complementing color) */
    background: conic-gradient(var(--accent-color) 0% 50%, #4CAF50 50% 100%); /* Example: Green for returns */
    transition: background 0.5s ease-in-out;
}

.pie-chart-label {
    position: absolute;
    font-size: var(--fs-sm);
    color: var(--text-secondary);
    font-weight: 500;
    text-align: center;
    line-height: 1.2; 
}
.pie-chart-label span {
    display: block;
    font-size: var(--fs-md);
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 0.2rem;
}

.legend {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: var(--fs-sm);
    color: var(--text-primary);
    padding-left: 0; 
}
.legend-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    flex-shrink: 0;
}
.invested-color { background-color: var(--accent-color); }
.returns-color { background-color: #4CAF50; } /* Green for returns */
html[data-theme="dark"] .returns-color { background-color: #81C784; } /* Lighter green for dark theme */


/* --- Investment Schedule Table --- */
.investment-schedule-section {
    background-color: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: var(--space-lg);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
html[data-theme="dark"] .investment-schedule-section {
    background-color: var(--bg-card);
}

.investment-schedule-section .column-title {
    margin-bottom: 1.5rem;
}

.table-responsive {
    overflow-x: auto; 
    -webkit-overflow-scrolling: touch;
    margin-top: 1rem;
    padding-bottom: 5px; 
}

.styled-table {
    width: 100%; /* Important: Table should take full available width in its container */
    border-collapse: separate; 
    border-spacing: 0;
    font-size: var(--fs-sm);
    color: var(--text-primary);
    min-width: 400px; /* Adjusted to be more flexible, will scroll if container is smaller */
}

.styled-table thead th {
    background-color: var(--accent-color);
    color: var(--btn-primary-text);
    padding: 0.8rem 0.5rem; /* Adjusted horizontal padding for tighter fit */
    text-align: center;
    font-weight: 600;
    border-bottom: 1px solid var(--accent-color);
    position: sticky;
    top: 0;
    z-index: 10;
}
.styled-table thead th:first-child { border-top-left-radius: 12px; }
.styled-table thead th:last-child { border-top-right-radius: 12px; }

/* Adjusted column widths for better fitting and responsiveness */
.styled-table th:nth-child(1), .styled-table td:nth-child(1) { width: 15%; min-width: 60px; text-align: center; } /* Month */
.styled-table th:nth-child(2), .styled-table td:nth-child(2) { width: 25%; min-width: 100px; text-align: right; } /* Monthly SIP */
.styled-table th:nth-child(3), .styled-table td:nth-child(3) { width: 25%; min-width: 100px; text-align: right; } /* Total Invested */
.styled-table th:nth-child(4), .styled-table td:nth-child(4) { width: 17%; min-width: 90px; text-align: right; } /* Est. Returns */
.styled-table th:nth-child(5), .styled-table td:nth-child(5) { width: 18%; min-width: 100px; text-align: right; } /* Total Value */


.styled-table tbody tr {
    transition: background-color 0.2s ease;
}
.styled-table tbody tr:nth-child(even) { background-color: var(--bg-highlight); }
html[data-theme="dark"] .styled-table tbody tr:nth-child(even) { background-color: var(--bg-main); }
.styled-table tbody tr:hover {
    background-color: color-mix(in srgb, var(--accent-color) 5%, var(--bg-highlight) 95%);
}
html[data-theme="dark"] .styled-table tbody tr:hover {
    background-color: color-mix(in srgb, var(--accent-color) 8%, var(--bg-main) 92%);
}

.styled-table td {
    padding: 0.7rem 0.5rem; /* Adjusted horizontal padding for tighter fit */
    border-bottom: 1px solid var(--border-color);
    text-align: right; /* Align numbers to right */
}


/* --- Info, FAQ, CTA sections (consistent) --- */
.info-section, .faq-section, .support-tool-cta { 
    padding: var(--space-xxl); 
    margin-top: 4rem;
    margin-bottom: 4rem;
    border-radius: 20px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.08); 
}

.info-section .column-title, .faq-section .column-title, .support-tool-cta h3 { 
    font-size: var(--fs-xl); 
    font-weight: 700;
    margin-bottom: 1rem; 
    text-align: left;
}
.info-section p, .faq-section p, .support-tool-cta p { 
    font-size: var(--fs-base);
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0.75rem; 
    padding: 0 0.5rem; 
}
.info-section p:last-of-type { 
    margin-bottom: 0;
}
.info-section .info-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
}
.info-section .info-list li {
    font-size: var(--fs-base);
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
    padding-right: 0.5rem;
}
.info-section .info-list li::before {
    content: '•';
    color: var(--accent-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.how-to-list { 
    list-style-type: decimal;
    padding-left: 1.5rem;
    margin-top: 1rem;
}
.how-to-list li {
    font-size: var(--fs-base);
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    line-height: 1.6;
    padding-right: 0.5rem;
}
.how-to-list li strong {
    color: var(--text-primary);
}


/* Support Tool CTA (consistent) */
.support-tool-cta { 
    text-align: center;
}
.support-tool-cta .support-tool-icon {
    font-size: 4rem; 
    color: var(--accent-color);
    margin-bottom: 1.5rem; 
}
.support-tool-cta p {
    max-width: 600px; 
    margin-left: auto;
    margin-right: auto;
}
.support-tool-cta .coffee-btn-small {
    font-size: var(--fs-base); 
    padding: 0.9rem 1.8rem; 
    border-radius: 10px; 
}

/* --- Responsive Adjustments (consistent) --- */
@media (max-width: 992px) { 
    .tool-page-main { padding: 2.5rem 0 3.5rem; }
    .tool-header { margin-bottom: 2.5rem; }
    .tool-icon { font-size: 2.5rem; }
    .tool-header h1 { font-size: clamp(1.8rem, 4.5vw, 2.5rem); }
    .tool-description { font-size: var(--fs-base); }

    .sip-calculator-card {
        padding: var(--space-lg); 
        height: auto; 
        min-height: 70vh; 
    }
    .calculator-grid-wrapper {
        grid-template-columns: 1fr; 
        gap: var(--space-xl); 
        padding: var(--space-md); 
    }
    .input-panel {
        padding-right: 0;
        border-right: none; 
        padding-bottom: var(--space-lg); 
        border-bottom: 1px solid var(--border-color); 
    }
    html[data-theme="dark"] .input-panel { border-bottom-color: var(--border-grid-gray-dark); border-right-color: transparent; }
    .results-panel {
        padding-left: 0;
        padding-top: var(--space-lg); 
        margin-top: 0; 
        border-top: 1px solid var(--border-color); 
    }
    html[data-theme="dark"] .results-panel { border-top-color: var(--border-grid-gray-dark); }
    
    .results-panel > *:not(:last-child) { margin-bottom: var(--space-lg); } 
    .results-panel > :last-child { margin-top: var(--space-lg); } 

    .quick-result-display-wrapper { 
        padding: 1.5rem; 
    }
    .total-value-display { font-size: 2.5rem; }
    .total-value-words-display { font-size: var(--fs-sm); }
    .download-report-btn { font-size: var(--fs-xs); padding: 0.6rem 1.2rem; }

    .summary-results-grid {
        grid-template-columns: 1fr; 
        gap: 0.75rem;
    }
    .result-item { padding: 0.6rem 0.8rem; }
    .result-label { font-size: var(--fs-xs); }
    .result-value { font-size: var(--fs-sm); }
    .result-item.total-highlight .result-value { font-size: var(--fs-base); }

    .styled-table thead th { padding: 0.8rem 0.3rem; } /* Further reduce padding on smaller screens */
    .styled-table td { padding: 0.7rem 0.3rem; }
    .styled-table th:nth-child(1), .styled-table td:nth-child(1) { min-width: 50px; } /* Month */
    .styled-table th:nth-child(2), .styled-table td:nth-child(2) { min-width: 90px; } /* Monthly SIP */
    .styled-table th:nth-child(3), .styled-table td:nth-child(3) { min-width: 90px; } /* Total Invested */
    .styled-table th:nth-child(4), .styled-table td:nth-child(4) { min-width: 90px; } /* Est. Returns */ /* Slightly increased */
    .styled-table th:nth-child(5), .styled-table td:nth-child(5) { min-width: 100px; } /* Total Value */


    .info-section, .faq-section, .support-tool-cta {
        padding: 2.5rem; 
        margin-top: 3rem;
        margin-bottom: 3rem;
    }
    .info-section .column-title, .faq-section .column-title, .support-tool-cta h3 { font-size: var(--fs-lg); }
    .info-section p, .faq-section p, .support-tool-cta p { font-size: var(--fs-sm); }
    .how-to-list li { font-size: var(--fs-sm); }
    .support-tool-cta .tool-icon { font-size: 3rem; } 
    .support-tool-cta .coffee-btn-small { font-size: var(--fs-sm); }
}

@media (max-width: 576px) { 
    .tool-page-main { padding: 1.5rem 0 2rem; }
    .tool-header { margin-bottom: 1.5rem; }
    .tool-icon { font-size: 2rem; }
    .tool-header h1 { font-size: clamp(1.5rem, 4vw, 2rem); }
    .tool-description { font-size: var(--fs-sm); }

    /* Mobile: Card 100% width, 5px padding left/right */
    .sip-calculator-card {
        width: calc(100% - 10px); /* 100% of viewport width minus 5px left + 5px right padding */
        margin-left: 5px; 
        margin-right: 5px;
        padding: 1rem 10px; /* Adjust internal padding to be consistent and avoid breaking layout */
        border-radius: 16px;
        height: auto; 
        min-height: 60vh; 
        box-sizing: border-box; /* Include padding in the width calculation */
    }
    /* Adjust input and results panels within the tighter card padding */
    .input-panel, .results-panel {
        padding: var(--space-md) var(--space-sm); /* Reduced internal padding for very small screens */
    }

    .section-title-within-tab { font-size: 1.3rem; margin-bottom: 1rem; }

    .quick-result-display-wrapper { padding: 1rem; }
    .total-value-display { font-size: 2rem; }
    .total-value-words-display { font-size: var(--fs-xs); }
    .download-report-btn { font-size: var(--fs-xs); padding: 0.5rem 1rem; }

    .form-group label { font-size: var(--fs-sm); }
    .form-control { padding: 0.5rem 0.75rem; font-size: var(--fs-sm); }
    .form-text { font-size: 0.7rem; }
    .form-actions { margin-top: 0.8rem; }
    .form-actions .btn { font-size: var(--fs-xs); padding: 0.5rem 0.8rem; }
    
    .styled-table thead th { padding: 0.6rem 0.2rem; font-size: var(--fs-xs); } /* Even tighter */
    .styled-table td { padding: 0.5rem 0.2rem; font-size: var(--fs-xs); }
    .styled-table th:nth-child(1), .styled-table td:nth-child(1) { min-width: 40px; } /* Month */
    .styled-table th:nth-child(2), .styled-table td:nth-child(2) { min-width: 70px; } /* Monthly SIP */
    .styled-table th:nth-child(3), .styled-table td:nth-child(3) { min-width: 70px; } /* Total Invested */
    .styled-table th:nth-child(4), .styled-table td:nth-child(4) { min-width: 70px; } /* Est. Returns */
    .styled-table th:nth-child(5), .styled-table td:nth-child(5) { min-width: 80px; } /* Total Value */


    .info-section, .faq-section, .support-tool-cta {
        padding: 1.5rem; 
        margin-top: 1.5rem;
        margin-bottom: 1.5rem;
    }
    .info-section .column-title, .faq-section .column-title, .support-tool-cta h3 { font-size: var(--fs-sm); }
    .info-section p, .faq-section p, .support-tool-cta p { font-size: var(--fs-xs); }
    .how-to-list li { font-size: var(--fs-xs); }
    .support-tool-cta .tool-icon { font-size: 2.2rem; } 
    .support-tool-cta .coffee-btn-small { font-size: var(--fs-xs); }
}