/* Base styles and utility classes */
body {
    /* font-family: "Inter", sans-serif; */
    /* margin: 0; */
    /* padding: 20px; */
    /* background-color: #f0f2f5; */
    /* display: flex; */
    /* justify-content: center; */
    /* align-items: flex-start; */
    /* min-height: 100vh; */
    /* box-sizing: border-box; */
}

.Calculator-container {
    max-width: 1200px;
    width: 100%;
    margin: auto;
    font-family: "Inter", sans-serif;
}

.Card {
    padding: 10px;
}

.Calculator-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.calculator-heading {
    font-size: 40px;
    color: #2a2a2a;
    text-align: center;
    margin: 0;
    font-weight: 700;
    font-family: "Instrument Serif", serif;
}

.gzl-Spread {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: space-around;
}

.Calculator-column {
    flex: 1 1 25%; /* Allows columns to wrap on smaller screens */
    /* flex-basis: 10%; */
    min-width: 300px; /* Minimum width before wrapping */
    padding: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: #f9f9f9;
}

@media (max-width: 768px) {
    .Calculator-column {
        flex: 1 1 100%; /* Full width on small screens */
    }
}

.Calculator-subtotal {
    font-size: 18px;
    padding: 10px;
    color: #2a2a2a;
    margin: 0 0 20px;
    text-align: center;
    font-weight: 600;
    background: #dbe0d5;
    border-radius: 6px;
}

.Calculator-subtotal span {
    color: #278229; /* Blue for assets */
}

.Calculator-subtotal--liabilities span {
    color: #d2191b; /* Red for liabilities */
}

.Calculator-columnFlex {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gzl-FormField {
    margin-bottom: 10px;
}

.gzl-FormField-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 0;
    display: block;
}

.Calculator-description {
    font-size: 12px;
    color: #666;
    margin-top: 6px;
    margin-bottom: 10px;
}

.currency-input-wrapper {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    overflow: hidden;
}

.currency-symbol {
    padding: 10px 4px 10px 8px;
    /* background-color: #eee; */
    /* border-right: 1px solid #ccc; */
    color: #2a2a2a;
    font-weight: 600;
}

.Calculator-input {
    border: none;
    padding: 10px 10px 10px 0;
    font-size: 16px;
    font-family: 'Inter';
    font-weight: 600;
    width: 100%;
    box-sizing: border-box;
    outline: none;
}

.Calculator-input:focus {
     /* Light blue on focus */
}

/* Results Section */
.Calculator-resultsWrapper {
    margin-top: 0;
    text-align: center;
}

.Calculator-resultsContainer {
    padding: 25px;
    border: 0; /* Blue border for net worth */
    border-radius: 8px;
    background: linear-gradient(90deg, #3e4827, #dbe0d5, #3e4827); /* Light blue background */
}

.Calculator-resultsHeading {
    font-size: 20px;
    color: #2a2a2a;
    margin-bottom: 10px;
}

.Calculator-results {
    font-size: 3em;
    font-weight: 800;
    color: #2a2a2a; /* Blue for positive net worth */
}

.Calculator-results--negative {
    color: #d2191b; /* Red for negative net worth */
}

.Calculator-callout {
    font-size: 14px;
    color: #2a2a2a;
    margin-top: 15px;
    font-weight: 600;
}

.Calculator-followup {
    font-size: 14px;
    color: #303030;
    margin-top: 5px;
}

/* Charts Section */
.charts-section {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 15px;
}

.chart-title {
    width: 100%;
    text-align: center;
    font-size: 20px;
    color: #2a2a2a;
    margin-top: 10px;
    margin-bottom: 0;
    font-weight: 600;
}

.chart-container {
    flex: 1 1 45%; /* Allows charts to wrap */
    min-width: 300px;
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .chart-container {
        flex: 1 1 100%; /* Full width on small screens */
    }
}

/* General classes from style.css for consistency */
.u-cardMedium {
    border-radius: 8px;
}

.h3 {
    font-style: normal;
    font-weight: 700;
    color: #2A2A2A;
}

.u-typesetDisplaySmall {
    font-size: 35px; /* Example size, adjust as needed */
    line-height: 1.2;
    margin: 0;
}

/* Inter font for general text */
.inter- {
    font-family: "Inter", sans-serif;
    font-style: normal;
}

/* Instrument Serif for headings */
.instrument-serif-regular {
    font-family: "Instrument Serif", serif;
    font-weight: 400;
    font-style: normal;
}


.Calculator-column--result {
    flex: 1 1 25%;
    min-width: 300px;
    /* padding: 20px; */
    /* border: 1px solid #e0e0e0; */
    /* border-radius: 8px; */
    /* background-color: #f9f9f9; */
}