/* Water Intake Calculator Styles */
.water-calculator-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.calc-hero {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #667eea 0%, #4fc3f7 100%);
    color: white;
    border-radius: 12px;
    margin-bottom: 30px;
}

.calc-hero h2 {
    font-size: 2.5em;
    margin: 0 0 15px 0;
}

.calc-subtitle {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto;
}

.calc-section {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    padding: 40px;
    margin-bottom: 30px;
}

.calc-section h3 {
    text-align: center;
    margin-bottom: 30px;
}

#water-calculator-form {
    max-width: 600px;
    margin: 0 auto;
}

.input-group {
    margin-bottom: 25px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.weight-inputs {
    display: flex;
    align-items: center;
    gap: 10px;
}

.weight-inputs input {
    flex: 1;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1em;
}

.weight-inputs span.separator {
    color: #666;
    font-weight: 600;
}

.input-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1em;
}

.input-group small {
    display: block;
    margin-top: 5px;
    color: #666;
    font-size: 0.85em;
}

.calc-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #667eea 0%, #4fc3f7 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
}

.calc-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.calc-results {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #e0e0e0;
}

.result-header {
    text-align: center;
}

.result-dual {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 20px 0;
}

.result-metric, .result-imperial {
    text-align: center;
}

.result-value {
    font-size: 3em;
    font-weight: 700;
    color: #667eea;
}

.result-unit {
    display: block;
    font-size: 1em;
    color: #666;
    margin-top: 5px;
}

.result-glasses {
    font-size: 1.3em;
    color: #666;
    margin-top: 15px;
}

.breakdown-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.breakdown-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
}

.breakdown-label {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 10px;
}

.breakdown-value {
    font-size: 2em;
    font-weight: 700;
    color: #667eea;
    margin: 10px 0;
}

.breakdown-desc {
    font-size: 0.85em;
    color: #888;
}

.hydration-tips {
    background: #e8f4f8;
    padding: 20px;
    border-radius: 8px;
    margin-top: 30px;
}

.hydration-tips h4 {
    margin-top: 0;
}

.expert-insights,  .calc-education, .calc-disclaimer, .calc-sources {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    padding: 40px;
    margin-bottom: 30px;
}

.expert-insights h3, .calc-education h3, .calc-sources h3 {
    margin-bottom: 20px;
}

.insight-content p {
    line-height: 1.8;
    margin-bottom: 15px;
}

.education-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 2px solid #e0e0e0;
}

.education-tabs .tab-btn {
    padding: 12px 20px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    font-weight: 600;
    color: #666;
    cursor: pointer;
}

.education-tabs .tab-btn.active {
    color: #667eea;
    border-bottom-color: #667eea;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.info-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

.info-card h5 {
    color: #667eea;
    margin-bottom: 15px;
}

.hydration-sources,  .severity-levels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.source-card, .severity-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
}

.myth-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.calc-disclaimer {
    background: #fff3cd;
    border: 2px solid #ffc107;
}

.calc-disclaimer h3, .calc-disclaimer h4, .calc-disclaimer p, .calc-disclaimer ul {
    color: #856404;
}

.calc-sources ol, .calc-sources ul {
    margin: 15px 0;
    padding-left: 25px;
}

.calc-sources a {
    color: #667eea;
    text-decoration: none;
}

@media (max-width: 768px) {
    .calc-hero h2 {
        font-size: 2em;
    }
    .result-dual {
        flex-direction: column;
        gap: 20px;
    }
    .weight-inputs {
        flex-wrap: wrap;
    }
}
