:root {
    --cwru-blue: #003071;
    --cwru-blue-hover: #2359ef;
    --highlight-bg: #aedd8b;
    --border-light: #377e72;
    --text-main: #333;
    --text-muted: #666;
    --bg-main: #f4f7f9;
}

/* body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    padding: 20px;
} */

.dashboard-container {
    max-width: 850px;
    margin: 0 auto;
    background: #fff;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

header {
    text-align: center;
    border-bottom: 4px solid var(--cwru-blue);
    margin-bottom: 30px;
    padding-bottom: 10px;
}

h1 { color: var(--cwru-blue); }

.grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.input-group { margin-bottom: 15px; }

label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #444;
}

select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    background-color: #fff;
}

#calculate-btn {
    width: 100%;
    padding: 16px;
    background-color: var(--cwru-blue);
    color: white;
    font-weight: bold;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 20px;
    transition: background 0.2s ease;
}

#calculate-btn:hover { background-color: var(--cwru-blue-hover); }

/* Results Styling */
#results-area {
    margin-top: 40px;
    display: none;
    animation: slideUpFade 0.5s ease-out forwards;
}

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

.metadata-header {
    display: flex;
    justify-content: space-around;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    border: 1px solid var(--border-light);
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 15px;
}

.result-card {
    padding: 20px;
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    text-align: center;
}

.per-pay-highlight {
    background-color: var(--highlight-bg);
    border: 2px solid var(--cwru-blue);
    grid-column: span 1;
}

.amount {
    display: block;
    font-size: 1.4rem;
    font-weight: 700;
    margin-top: 10px;
}

.per-pay-highlight .amount {
    font-size: 1.8rem;
    color: var(--cwru-blue);
}

small {
    color: var(--text-muted);
    font-style: italic;
}

/* Highlighting for the Annual Employer Contribution card */
.employer-card {
    background-color: #f0fdf4; /* Light green success background */
    border: 2px solid #28a745; /* Distinct green border */
}

.employer-card .amount {
    color: #155724; /* High-contrast green for the total value */
}

footer {
    margin-top: 25px;
    text-align: center;
    font-size: 0.85rem;
    color: #777;
}
/* Plan Definitions Styling */
.plan-definitions {
    margin-top: 40px;
    padding-top: 25px;
    border-top: 2px solid var(--cwru-blue);
}

.plan-definitions h3 {
    color: var(--cwru-blue);
    margin-bottom: 20px;
}

.def-group {
    margin-bottom: 15px;
}

.def-group h4 {
    margin-bottom: 5px;
    /* font-size: 1.1rem; */
    color: var(--text-main);
}

.def-group p {
    /* font-size: 0.95rem; */
    line-height: 1.6;
    color: var(--text-main);
    margin-bottom: 10px;
}

.more-info-link {
    margin-top: 25px;
    text-align: center;
    font-weight: 600;
}

.more-info-link a {
    color: var(--cwru-blue);
    text-decoration: underline;
}

.more-info-link a:hover {
    color: var(--cwru-blue-hover);
}

