/* Main container */
.mc-calculator-container {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

/* Title */
.mc-title {
    color: #2c3e50;
    text-align: center;
    margin-bottom: 20px;
    font-size: 24px;
}

.mc-title i {
    color: #3498db;
    margin-right: 10px;
}

/* Tabs */
.mc-tabs {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 1px solid #ddd;
}

.mc-tab {
    padding: 10px 15px;
    background: #eee;
    border: none;
    border-radius: 5px 5px 0 0;
    margin-right: 5px;
    cursor: pointer;
    font-weight: 600;
    color: #555;
    transition: all 0.3s ease;
}

.mc-tab:hover {
    background: #ddd;
}

.mc-tab.active {
    background: #3498db;
    color: white;
}

/* Tab content */
.mc-tab-content {
    display: none;
    padding: 20px;
    background: white;
    border-radius: 0 0 5px 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.mc-tab-content.active {
    display: block;
}

.mc-description {
    color: #7f8c8d;
    margin-bottom: 20px;
    font-style: italic;
}

/* Form elements */
.mc-form-group {
    margin-bottom: 15px;
}

.mc-form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #2c3e50;
}

.mc-form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.mc-form-group input:focus {
    border-color: #3498db;
    outline: none;
}

/* Buttons */
.mc-calculate-btn {
    background-color: #2ecc71;
    color: white;
    border: none;
    padding: 12px 20px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    font-weight: 600;
    transition: background-color 0.3s;
    margin-top: 10px;
}

.mc-calculate-btn:hover {
    background-color: #27ae60;
}

/* Results */
.mc-result {
    margin-top: 20px;
    padding: 15px;
    border-radius: 4px;
    font-size: 16px;
}

.mc-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.mc-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.mc-loading {
    text-align: center;
    color: #0c5460;
    background-color: #d1ecf1;
    border: 1px solid #bee5eb;
}

.mc-result-value {
    font-weight: 600;
    margin-bottom: 5px;
}

.mc-calculation-details {
    font-size: 14px;
    margin-top: 10px;
    color: #555;
}

.mc-formula {
    margin-top: 15px;
    padding: 10px;
    background-color: #e8f4f8;
    border-left: 3px solid #3498db;
    font-size: 14px;
}

/* Responsive design */
@media (max-width: 768px) {
    .mc-calculator-container {
        padding: 15px;
    }
    
    .mc-tabs {
        flex-wrap: wrap;
    }
    
    .mc-tab {
        flex: 1 0 auto;
        margin-bottom: 5px;
        font-size: 14px;
        padding: 8px 10px;
    }
}

@media (max-width: 480px) {
    .mc-tab {
        flex: 1 0 100%;
    }
}