/* Main Container */
.easy-calculators-container {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

/* Tab Styling */
.calculator-tabs {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 2px solid #ddd;
}

.tab-btn {
    padding: 12px 20px;
    background-color: #f1f1f1;
    border: none;
    outline: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: #555;
    transition: all 0.3s ease;
    border-radius: 5px 5px 0 0;
    margin-right: 5px;
}

.tab-btn:hover {
    background-color: #e0e0e0;
}

.tab-btn.active {
    background-color: #4CAF50;
    color: white;
}

/* Tab Content */
.tab-content {
    display: none;
    padding: 20px;
    background-color: white;
    border-radius: 0 0 5px 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.tab-content.active {
    display: block;
}

.tab-content h2 {
    color: #333;
    margin-top: 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.tab-content h2 i {
    margin-right: 10px;
    color: #4CAF50;
}

/* Form Styling */
.calculator-form {
    margin-top: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #555;
}

.form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-control:focus {
    border-color: #4CAF50;
    outline: none;
}

.input-group {
    display: flex;
}

.input-group .form-control {
    flex: 1;
    border-radius: 4px 0 0 4px;
}

.input-group select.form-control {
    width: auto;
    border-radius: 0 4px 4px 0;
    border-left: none;
}

/* Button Styling */
.btn-calculate {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 100%;
    margin-top: 10px;
}

.btn-calculate:hover {
    background-color: #45a049;
}

.btn-calculate:active {
    background-color: #3d8b40;
}

/* Result Styling */
.result-container {
    margin-top: 20px;
    padding: 15px;
    background-color: #f5f5f5;
    border-radius: 4px;
}

.result-container h3 {
    margin-top: 0;
    color: #333;
}

.result-box {
    background-color: white;
    padding: 15px;
    border-radius: 4px;
    border-left: 4px solid #4CAF50;
}

.result-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.result-row:last-child {
    margin-bottom: 0;
}

.result-label {
    font-weight: 600;
    color: #555;
}

.result-value {
    color: #333;
    font-weight: 600;
}

.breakdown-container {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed #ddd;
}

/* Error Styling */
.error {
    color: #e74c3c;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    .calculator-tabs {
        flex-direction: column;
    }
    
    .tab-btn {
        border-radius: 0;
        margin-right: 0;
        margin-bottom: 5px;
    }
    
    .tab-btn.active {
        border-radius: 5px;
    }
    
    .input-group {
        flex-direction: column;
    }
    
    .input-group .form-control {
        border-radius: 4px;
        margin-bottom: 5px;
    }
    
    .input-group select.form-control {
        border-radius: 4px;
        border-left: 1px solid #ddd;
    }
}