﻿body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    
}

.calculator-container {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.2);
    padding: 25px;
    margin: 70px auto;
    max-width: 800px;
}

h1 {
    
    text-align: center;
    color: #2a5c91 !important;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2a5c91 !important;
}

input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
}

.unit {
    color: #7f8c8d;
    font-size: 14px;
    margin-left: 5px;
}

.error-message {
    color: #ff7b00;
    font-size: 14px;
    margin-top: 5px;
    display: none;
}

.invalid-input {
    border-color: #ff7b00 !important;
}

.btn-calc {
    background-color: #2a5c91 !important;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    display: block;
    width: 100%;
    margin: 25px 0;
    transition: background-color 0.3s;
}

    .btn-calc:hover {
        opacity: 0.9;
    }

.result-section {
    padding: 20px;
    border-radius: 4px;
    margin-top: 30px;
    text-align: center;
    display: none;
    transition: all 0.5s ease;
}

.result-green {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.result-orange {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}

.result-red {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.result-value {
    font-size: 28px;
    font-weight: bold;
    margin: 10px 0;
}

.result-interpretation {
    font-size: 18px;
    margin-bottom: 10px;
}

.sources {
    font-size: 14px;
    color: #666;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

@media (max-width: 600px) {
    

    .calculator-container {
        padding: 15px;
        width: 90%;
        margin-top: 100px;
    }

    h1 {
        font-size: 24px;
    }
}
