/* Main container */
.salary-bifurcation-container {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

/* Form styling */
.salary-bifurcation-form h2 {
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #3498db;
}

.form-section {
    margin-bottom: 20px;
    padding: 15px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

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

.input-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #34495e;
}

.form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.radio-group {
    display: flex;
    gap: 15px;
    margin-top: 5px;
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: normal;
    cursor: pointer;
}

/* Button styling */
.button-group {
    display: flex;
    gap: 10px;
}

.btn {
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background-color: #3498db;
    color: white;
}

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

.btn-secondary {
    background-color: #95a5a6;
    color: white;
}

.btn-secondary:hover {
    background-color: #7f8c8d;
}

.btn-download {
    background-color: #e74c3c;
    color: white;
    margin-top: 20px;
}

.btn-download:hover {
    background-color: #c0392b;
}

/* Result section */
.salary-bifurcation-result {
    margin-top: 30px;
    padding: 20px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.salary-bifurcation-result h2 {
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #3498db;
}

/* Table styling */
.result-table {
    overflow-x: auto;
    margin-bottom: 20px;
}

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

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

.result-table th {
    background-color: #3498db;
    color: white;
}

.result-table tr:nth-child(even) {
    background-color: #f2f2f2;
}

.result-table tr:hover {
    background-color: #e6f7ff;
}

.result-table .total-row {
    font-weight: bold;
    background-color: #eaf2f8 !important;
}

/* Notes section */
.notes-section {
    margin-top: 20px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 5px;
    border-left: 4px solid #3498db;
}

.notes-section p {
    margin: 0 0 10px 0;
    color: #555;
}

.hr-notes-section {
    margin-top: 15px;
    padding: 10px;
    background-color: #fff;
    border-radius: 4px;
    border: 1px solid #eee;
}

.hr-notes-section h4 {
    margin-top: 0;
    color: #2c3e50;
    border-bottom: 1px dashed #ddd;
    padding-bottom: 5px;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .button-group {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .radio-group {
        flex-direction: column;
        gap: 5px;
    }
}