.retirement-401k-container {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    /*background-color: #f5f7fa;
    margin: 20px auto;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    */
	color: #333;
    box-sizing: border-box;
}

.retirement-401k-container h1 {
    color: #2c3e50;
    text-align: center;
    margin-bottom: 30px;
    border-bottom: 2px solid #ecf0f1;
    padding-bottom: 15px;
}

.calculator-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

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

.input-section, .results-section {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.input-section {
    background-color: #f8f9fa;
}

h2 {
    color: #3498db;
    margin-top: 0;
    font-size: 1.4rem;
}

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

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

input[type="number"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 16px;
}

input[type="number"]:focus {
    border-color: #3498db;
    outline: none;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

.buttons {
    display: flex;
    gap: 10px;
    margin-top: 25px;
}

button {
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

#calculate-btn {
    background-color: #3498db;
    color: white;
    flex: 2;
}

#calculate-btn:hover {
    background-color: #2980b9;
}

#clear-btn {
    background-color: #e74c3c;
    color: white;
    flex: 1;
}

#clear-btn:hover {
    background-color: #c0392b;
}

.results-section {
    background-color: white;
}

.summary {
    background-color: #e8f4fc;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid #3498db;
}

.summary h3 {
    margin-top: 0;
    color: #2c3e50;
}

.summary p {
    font-size: 1.1rem;
    line-height: 1.5;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

th, td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #dee2e6;
}

th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #495057;
}

.withdrawal-section {
    margin-top: 30px;
}

.withdrawal-option {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    border-left: 3px solid #3498db;
}

.withdrawal-option h4 {
    margin-top: 0;
    color: #2c3e50;
}

.highlight {
    font-weight: bold;
    color: #2c3e50;
}

.currency {
    font-family: 'Courier New', monospace;
}

.indented {
    padding-left: 20px;
}

.footer {
    text-align: center;
    margin-top: 30px;
    color: #7f8c8d;
    font-size: 0.9rem;
    grid-column: 1 / -1;
}

/* Non-responsive design - fixed width */
@media (max-width: 1020px) {
    .retirement-401k-container {
        width: 1000px !important;
        overflow-x: auto;
    }
}