/* Custom styles for Health Calculator App */
body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    font-family: 'Arial', sans-serif;
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
}

.main-container {
    margin-top: 30px;
    margin-bottom: 30px;
}

.calculator-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.calculator-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.card-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 15px 15px 0 0 !important;
    border: none;
    padding: 20px;
}

.card-header h2 {
    margin: 0;
    font-weight: bold;
}

.card-body {
    padding: 30px;
}

.form-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.form-control, .form-select {
    border-radius: 10px;
    border: 2px solid #e0e0e0;
    padding: 12px 15px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.btn-calculate {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 25px;
    padding: 12px 30px;
    font-weight: bold;
    color: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-calculate:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
    color: white;
}

.result-section {
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f0fe 100%);
    border-radius: 15px;
    padding: 25px;
    margin-top: 25px;
    border: 2px solid #e3f2fd;
}

.result-title {
    color: #667eea;
    font-weight: bold;
    margin-bottom: 15px;
}

.result-value {
    font-size: 2rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.result-category {
    font-size: 1.2rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 20px;
    display: inline-block;
}

.category-underweight {
    background-color: #e3f2fd;
    color: #1976d2;
}

.category-normal {
    background-color: #e8f5e8;
    color: #388e3c;
}

.category-overweight {
    background-color: #fff3e0;
    color: #f57c00;
}

.category-obese {
    background-color: #ffebee;
    color: #d32f2f;
}

.alert-error {
    background-color: #ffebee;
    color: #c62828;
    border: 1px solid #ef5350;
    border-radius: 10px;
}

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

.calculator-link {
    text-decoration: none;
    color: inherit;
}

.calculator-item {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.calculator-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.calculator-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.calculator-item h3 {
    color: #333;
    font-weight: bold;
    margin-bottom: 15px;
}

.calculator-item p {
    color: #666;
    font-size: 0.95rem;
}

.activity-results {
    background: white;
    border-radius: 10px;
    padding: 20px;
    margin-top: 15px;
}

.activity-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-label {
    font-weight: 600;
    color: #333;
}

.activity-value {
    font-weight: bold;
    color: #667eea;
}

@media (max-width: 768px) {
    .card-body {
        padding: 20px;
    }
    
    .result-value {
        font-size: 1.5rem;
    }
    
    .home-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .calculator-item {
        padding: 20px;
    }
}
