/**
 * Pregnancy Weight Gain Calculator Styles
 */

/* Ana Konteyner Stilleri */
.pregnancy-weight-gain-calculator-container {
    font-family: 'Roboto', sans-serif;
    max-width: 100%;
    margin: 0 auto;
    color: #333;
    border-radius: 8px;
    background-color: #fff;
}

.pregnancy-weight-gain-calculator-container h2 {
    color: #2c3e50;
    font-weight: 600;
}

.calculator-description {
    color: #555;
    font-size: 1rem;
}

/* Form Alanları */
.pregnancy-weight-gain-form .form-group label {
    font-weight: 500;
    color: #2c3e50;
}

.pregnancy-weight-gain-form .form-control,
.pregnancy-weight-gain-form .form-select {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 8px 12px;
    transition: border-color 0.3s;
}

.pregnancy-weight-gain-form .form-control:focus,
.pregnancy-weight-gain-form .form-select:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
}

.pregnancy-weight-gain-form .input-group-text {
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    color: #555;
}

/* Butonlar */
.pregnancy-weight-gain-form .btn-primary {
    background-color: #3498db;
    border-color: #3498db;
}

.pregnancy-weight-gain-form .btn-primary:hover {
    background-color: #2980b9;
    border-color: #2980b9;
}

.pregnancy-weight-gain-form .btn-outline-secondary {
    color: #6c757d;
    border-color: #6c757d;
}

.pregnancy-weight-gain-form .btn-outline-secondary:hover {
    background-color: #6c757d;
    border-color: #6c757d;
    color: #fff;
}

/* Sonuç Alanı */
.pregnancy-weight-gain-form .result-container {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
}

.pregnancy-weight-gain-form .result-container h3 {
    color: #2c3e50;
    font-weight: 500;
}

.pregnancy-weight-gain-form .result-container .mb-2 {
    font-size: 1rem;
    line-height: 1.6;
}

.pregnancy-weight-gain-form .result-container strong {
    color: #2c3e50;
}

/* Bilgi Kartları */
.weight-gain-info .card {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.weight-gain-info .card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.weight-gain-info .card-title {
    color: #2c3e50;
    font-weight: 600;
}

.weight-gain-info h3 {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

/* Tablo Stilleri */
.weight-gain-info .table {
    font-size: 0.95rem;
}

.weight-gain-info .table th {
    background-color: #f8f9fa;
    color: #2c3e50;
    font-weight: 500;
}

.weight-gain-info .table td {
    vertical-align: middle;
}

/* Uyarı Mesajı */
.weight-gain-info .alert-warning {
    background-color: #fcf8e3;
    border-color: #faebcc;
    color: #8a6d3b;
}

.weight-gain-info .alert-heading {
    color: #8a6d3b;
}

/* Sonuç Değerlendirme Renkleri */
#gain-evaluation {
    font-weight: 600;
}

#gain-evaluation.normal {
    color: #28a745;
}

#gain-evaluation.low {
    color: #ffc107;
}

#gain-evaluation.high {
    color: #dc3545;
}

#gain-evaluation.very-low {
    color: #dc3545;
}

#gain-evaluation.very-high {
    color: #dc3545;
}

/* Responsive Ayarlar */
@media (max-width: 767px) {
    .pregnancy-weight-gain-form .row .col-md-6 {
        margin-bottom: 1rem;
    }
    
    .pregnancy-weight-gain-form .result-container {
        margin-top: 1rem;
    }
    
    .weight-gain-info .table-responsive {
        font-size: 0.85rem;
    }
}

/* Animasyonlar */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pregnancy-weight-gain-form #weight-gain-result {
    animation: fadeIn 0.5s ease-out;
}

/* Form Validation Stilleri */
.pregnancy-weight-gain-form .form-control.is-invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.pregnancy-weight-gain-form .invalid-feedback {
    display: block;
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Loading State */
.pregnancy-weight-gain-form .btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Sonuç Kartları */
.result-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.result-card h4 {
    color: white;
    margin-bottom: 1rem;
}

.result-value {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

/* Progress Bar */
.progress-container {
    margin: 1rem 0;
}

.progress {
    height: 8px;
    border-radius: 4px;
    background-color: #e9ecef;
}

.progress-bar {
    background-color: #3498db;
    border-radius: 4px;
    transition: width 0.6s ease;
}

.progress-bar.success {
    background-color: #28a745;
}

.progress-bar.warning {
    background-color: #ffc107;
}

.progress-bar.danger {
    background-color: #dc3545;
} 