@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap');

:root{
    --main-color: #001965;
    --skyBlue: #e0effa;
    --lightPink: #f8dde6;
    --veryLightGray: #f6f5f4;
    --white: #fff;
    --main-bg: #feecdc;
    --blue: #005ad2;
}

.Ccontainer {
    max-width: 900px;
    margin: 0 auto;
    padding: 0;
}

.calculator-container {
   
}

.calculator-title {
    font-size: 48px;
    font-weight: 400;
    color: #1e3a8a;
    margin-bottom: 60px;
    text-align: left;
    font-family: "Noto Sans", sans-serif;
    font-weight: 400;
}

.slider-label, .value-number, .value-unit{
    color: var(--main-color);
        font-family: "Noto Sans", sans-serif;
    font-weight: 500;

}

.slider-row {

        margin-bottom: 4%;
}

.slider-label {
    font-size: 18px;
    min-width: 220px;
    font-weight: 400;
    text-align: left;
}

.slider-container {
    flex: 1;
    /* max-width: 450px;
    position: relative;
    margin-right: 30px; */
}

/* Slider Styling - Exact Match to Image */
.slider {
    width: 100%;
    height: 12px;
    border-radius: 6px;
    background: #1e3a8a;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    position: relative;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #ffffff;
    border: 4px solid #1e3a8a;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease;
}

.slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
}

.slider::-moz-range-thumb {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #ffffff;
    border: 4px solid #1e3a8a;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease;
}

.slider::-moz-range-track {
    height: 12px;
    border-radius: 6px;
    background: #1e3a8a;
    border: none;
}

.slider::-moz-range-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
}

/* Value Display - Exact Match */
.value-display {
    display: flex;
    align-items: center;
    background-color: #f4f5f6;
    padding: 8px 10px;
    min-width: 120px;
    justify-content: space-between;
    gap: 10px;
    width: 180px;
        -webkit-box-shadow: 0 9pt 5px rgba(39, 45, 65, .01), 0 7px 4px rgba(39, 45, 65, .04), 0 3px 3px rgba(39, 45, 65, .07), 0 1px 2px rgba(39, 45, 65, .08), 0 0 0 rgba(39, 45, 65, .08);
    box-shadow: 0 9pt 5px rgba(39, 45, 65, .01), 0 7px 4px rgba(39, 45, 65, .04), 0 3px 3px rgba(39, 45, 65, .07), 0 1px 2px rgba(39, 45, 65, .08), 0 0 0 rgba(39, 45, 65, .08);
}

.value-number {
    font-size: 18px;
    min-width: 50px;
    text-align: right;
}

.value-unit {
    font-size: 16px;
   
}

/* Result Section - Enhanced Design */
.result-section {
    
}

.result-title {
    font-size: 24px;
    color: var(--main-color);
    font-family: "Noto Sans", sans-serif;
    font-weight: 700;
}

.result-value {
     background-color: #f4f5f6;
    padding: 5px 20px;
    min-width: 120px;
    font-size: 24px;
   font-family: "Noto Sans", sans-serif;
    font-weight: 400;
    color: var(--main-color);
    width: 180px;
        -webkit-box-shadow: 0 9pt 5px rgba(39, 45, 65, .01), 0 7px 4px rgba(39, 45, 65, .04), 0 3px 3px rgba(39, 45, 65, .07), 0 1px 2px rgba(39, 45, 65, .08), 0 0 0 rgba(39, 45, 65, .08);
    box-shadow: 0 9pt 5px rgba(39, 45, 65, .01), 0 7px 4px rgba(39, 45, 65, .04), 0 3px 3px rgba(39, 45, 65, .07), 0 1px 2px rgba(39, 45, 65, .08), 0 0 0 rgba(39, 45, 65, .08);
}

.result-interpretation {
    max-width: 700px;
    margin: 0 auto;
}

.risk-level {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
    padding: 15px 25px;
    border-radius: 10px;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.risk-level.low-risk {
    background-color: #d1fae5;
    color: #065f46;
    border: 2px solid #10b981;
}

.risk-level.medium-risk {
    background-color: #fef3c7;
    color: #92400e;
    border: 2px solid #f59e0b;
}

.risk-level.high-risk {
    background-color: #fee2e2;
    color: #991b1b;
    border: 2px solid #ef4444;
}

.risk-description {
    font-size: 16px;
    color: #4b5563;
    line-height: 1.7;
    text-align: left;
    background-color: #f9fafb;
    padding: 25px;
    border-radius: 10px;
    margin-top: 25px;
    border-left: 4px solid #e5e7eb;
}

/* Age Warning */
.age-warning {
    background-color: #fef3c7;
    color: #92400e;
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
    border: 2px solid #fde68a;
    font-size: 15px;
    font-weight: 500;
    text-align: center;
}

/* Interactive States */
.slider:active::-webkit-slider-thumb {
    transform: scale(1.15);
}

.slider:active::-moz-range-thumb {
    transform: scale(1.15);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 10px;
    }
    
    .calculator-container {
        padding: 25px;
    }
    
    .calculator-title {
        font-size: 36px;
        margin-bottom: 40px;
    }
    
    .slider-row {
       
    }
    
    .slider-label {
        min-width: auto;
        font-size: 16px;
        text-align: left;
    }
    
    .slider-container {
        max-width: none;
        margin-right: 0;
    }
    
    .value-display {
        align-self: flex-end;
        min-width: 100px;
        max-width: 140px;
    }
    
    .result-value {
        font-size: 24px;
    }
    
    .result-section {
        padding: 25px;
    }
    
    .risk-level {
        font-size: 18px;
        padding: 12px 20px;
    }
    
    .risk-description {
        font-size: 15px;
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .calculator-title {
        font-size: 28px;
        text-align: center;
    }
    
    .result-value {
        font-size: 18px;
    }
    
    .value-number {
        font-size: 16px;
    }
    
    .value-unit {
        font-size: 14px;
    }
    
    .slider-row {
        margin-bottom: 30px;
    }
    
    .slider {
        height: 10px;
    }
    
    .slider::-webkit-slider-thumb {
        width: 24px;
        height: 24px;
    }
    
    .slider::-moz-range-thumb {
        width: 24px;
        height: 24px;
    }
    
    .risk-level {
        font-size: 16px;
        padding: 10px 18px;
    }
    
    .risk-description {
        font-size: 14px;
        padding: 18px;
    }
}