/* 
 * BMR Hesaplayıcısı için özel stiller
 * Bu dosya sadece BMR hesaplayıcısına özgü ve calculator-common.css'de bulunmayan stilleri içerir
 */

/* BMR sonuç değeri ve birim gösterimi için stiller */
.result-value {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 15px 0;
}

.result-unit {
    font-size: 1rem;
    font-weight: 500;
    color: #666;
    display: inline-block;
    margin-left: 5px;
}

/* Formül bilgisi için stiller */
.formula-name {
    text-align: center;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
}

/* TDEE tablosu için özel stiller */
.table-responsive {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 6px rgba(0,0,0,0.05);
    margin-top: 15px;
}

.table-hover tbody tr {
    transition: background-color 0.2s;
}

.table-hover tbody tr:hover {
    background-color: rgba(var(--primary-color-rgb), 0.04);
}

.table th {
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
    border: none;
    padding: 10px 15px;
}

.table td {
    padding: 10px 15px;
    vertical-align: middle;
    border-color: #edf2f9;
}

/* İkon stilleri */
.result-container h4 i,
.result-container h5 i,
.table i {
    width: 20px;
    text-align: center;
    margin-right: 6px;
}

/* Duyarlı tasarım düzeltmeleri */
@media (max-width: 768px) {
    .result-value {
        font-size: 1.8rem;
    }
    
    .table-responsive {
        overflow-x: auto;
    }
    
    .table td, .table th {
        padding: 8px 12px;
    }
}

@media (max-width: 576px) {
    .result-value {
        font-size: 1.5rem;
    }
    
    .result-unit {
        font-size: 0.9rem;
    }
    
    .table-responsive {
        margin-top: 10px;
    }
    
    .table td, .table th {
        padding: 6px 10px;
        font-size: 0.85rem;
    }
}

/* BMR Hesaplayıcısı için özel stiller */

/* Hesaplayıcı container özel stilleri */
.calculator-container {
    max-width: 900px;
    margin: 0rem auto!important;
}

.calculator {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.calculator:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    transform: translateY(-5px);
}

.calculator h3 {
    color: var(--primary-color);
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 25px;
    text-align: center;
}

.calculator h3:after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* Form stilleri */
.calculator-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 18px;
}

.input-group {
    position: relative;
    margin-bottom: 0;
}

.input-group label {
    display: block;
    margin-bottom: 5px;
    margin-right: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    color: #444;
    transition: all 0.3s;
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e1e5eb;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s;
    background-color: #fff;
}

.input-group input:focus,
.input-group select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(var(--primary-color-rgb), 0.15);
    outline: none;
}

/* İkon stilleri */
.input-group label i,
.result-container h4 i,
.result-container h5 i,
.info-section h3 i,
.info-section h4 i,
.table i {
    color: var(--primary-color);
    width: 20px;
    text-align: center;
    margin-right: 6px;
}

/* Hesaplayıcı buton stilleri */
.calculator-btn {
    grid-column: span 2;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-color-dark, #0056b3) 100%);
    font-weight: 700;
    padding: 12px;
    margin-top: 10px;
}

.calculator-btn i {
    margin-right: 8px;
    font-size: 1.2rem;
}

/* Sonuç konteyneri stilleri */
.result-container {
    background-color: rgba(var(--primary-color-rgb), 0.03);
    border-radius: 12px;
    padding: 25px;
    margin-top: 20px;
    border: 1px solid rgba(var(--primary-color-rgb), 0.1);
    transition: all 0.4s ease-in-out;
}

.result-container h4 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.result-container h5 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

/* Sonuç değeri stilleri */
.result-value {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 15px 0;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.result-unit {
    font-size: 1.1rem;
    font-weight: 500;
    color: #666;
    display: inline-block;
    margin-left: 5px;
}

.result-details {
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
}

/* Tablo iyileştirmeleri */
.table-responsive {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 6px rgba(0,0,0,0.05);
    margin-top: 15px;
}

.table {
    margin-bottom: 0;
}

.table th {
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
    border: none;
}

.table td {
    padding: 12px 15px;
    vertical-align: middle;
    border-color: #edf2f9;
}

.table-hover tbody tr:hover {
    background-color: rgba(var(--primary-color-rgb), 0.04);
}

/* Bilgi bölümü stilleri */
.info-section {
    background-color: #fff;
    border-radius: 15px;
    padding: 30px;
    margin-top: 40px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.04);
}

.info-section h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-color);
}

.info-section h4 {
    color: #333;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 25px 0 15px;
}

.info-section p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 15px;
}

/* Formül kutusu stilleri */
.formula {
    background-color: #f8f9fa;
    border-left: 4px solid var(--primary-color);
    padding: 18px;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.formula h5 {
    margin-bottom: 10px;
    color: #333;
    font-weight: 600;
    font-size: 1.05rem;
}

/* Liste stilleri */
.info-section ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

.info-section li {
    margin-bottom: 10px;
    line-height: 1.6;
    color: #555;
    position: relative;
    padding-left: 5px;
}

.info-section strong {
    color: #333;
    font-weight: 600;
}

/* Uyarı kutusu stilleri */
.alert {
    border-radius: 12px;
    padding: 18px 20px;
    margin: 20px 0;
    border: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.alert-info {
    background-color: rgba(13, 110, 253, 0.08);
    border-left: 4px solid #0d6efd;
    color: #0a58ca;
    border-radius: 8px;
    padding: 16px 18px;
}

.alert strong {
    font-weight: 600;
}

/* Mobil Duyarlı Tasarım */
@media (max-width: 768px) {
    .calculator-form {
        grid-template-columns: 1fr;
        grid-gap: 12px;
    }
    
    .calculator-btn {
        grid-column: 1;
        margin-top: 8px;
    }
    
    .result-value {
        font-size: 1.8rem;
    }
    
    .table-responsive {
        overflow-x: auto;
    }
}

@media (max-width: 576px) {
    .result-value {
        font-size: 1.6rem;
    }
    
    .result-unit {
        font-size: 0.9rem;
    }
    
    .formula {
        padding: 12px;
    }
} 