.container {
    max-width: 900px;
    margin: 0 auto;
}

.headers {
    text-align: center;
	 background: linear-gradient(180deg, #6630C6 0%, #330F95 100%);


	padding: 31px;
    border-radius: 15px;
    margin-bottom: 10px;
}

.headers h1 {
    font-size: 45px !important;
    margin-bottom: 10px;
    font-weight: 700;
}

.subtitle {
    font-size: 1.1em;
    opacity: 0.95;
}

.calculator-card {
    background: #f8fafc !important;
    border-radius: 15px !important;
    padding: 30px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.input-section h2 {
    color: #1e3a8a !important;
    margin-bottom: 10px;
    font-size: 1.8em !important;
}

.instruction {
    color: #64748b;
    margin-bottom: 25px;
    font-size: 1em;
}

.score-input-group {
    margin-bottom: 9px;
    background: white !important;
    padding: 20px !important;
    border-radius: 10px !important;
    border: 2px solid #e2e8f0 !important;
    transition: all 0.3s ease;
}

.score-input-group:hover {
    border-color: #3b82f6;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.1);
}

.score-input-group label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 10px;
}

.label-text {
    font-weight: 600;
    color: #334155;
    flex: 1;
    min-width: 200px;
}

.label-range {
    color: #64748b;
    font-size: 0.9em;
}

.score-input {
    width: 100%;
    padding: 12px 15px !important;
    font-size: 1.1em;
    border: 2px solid #cbd5e1;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 600;
}

.score-input:focus {
    outline: none !important;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}


.results-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 3px solid #e2e8f0;
}

.results-section h2 {
    color: #1e3a8a;
    margin-bottom: 25px;
    font-size: 1.8em !important;
    text-align: center;
}

.result-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.result-item {
    background: white;
    padding: 25px !important;
    border-radius: 10px !important;
    text-align: center;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.result-item:hover {
    border-color: #3b82f6 !important;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.result-label {
    font-size: 0.95em;
    color: #64748b;
    margin-bottom: 10px;
    font-weight: 600;
}

.result-score {
    font-size: 2.5em;
    font-weight: 700;
    color: #2563eb;
}

.total-score {
    background: linear-gradient(180deg, #6630C6 0%, #330F95 100%);
    color: white;
    padding: 30px !important;
    border-radius: 12px !important;
    text-align: center;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.total-label {
    font-size: 1.3em;
    margin-bottom: 10px;
    font-weight: 600;
    opacity: 0.95;
}

.total-value {
    font-size: 3.5em;
    font-weight: 700;
}

/* Slider Base */
.score-slider {
    width: 100%;
    height: 5px !important;
    border-radius: 5px !important;
    background: #e2e8f0 !important;
    outline: none !important;
    appearance: none !important;
    -webkit-appearance: none;
    margin-top: 12px;
    cursor: pointer;
}

/* Track (Chrome, Safari) */
.score-slider::-webkit-slider-runnable-track {
    height: 8px;
    border-radius: 5px;
    background: linear-gradient(90deg, #3b82f6 var(--progress, 0%), #e2e8f0 var(--progress, 0%));
}

/* Thumb (Chrome, Safari) */
.score-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    height: 22px;
    width: 22px;
    border-radius: 50%;
    background: #2563eb;
    border: 3px solid white;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    margin-top: -7px;
    transition: transform 0.2s ease;
}

.score-slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

/* Firefox */
.score-slider::-moz-range-track {
    height: 8px;
    border-radius: 5px;
    background: #e2e8f0;
}

.score-slider::-moz-range-progress {
    background: #3b82f6;
    height: 8px;
    border-radius: 5px;
}

.score-slider::-moz-range-thumb {
    height: 22px;
    width: 22px;
    border-radius: 50%;
    background: #2563eb;
    border: 3px solid white;
    cursor: pointer;
}

/* Value text */
.slider-value {
    margin-top: 0px;
    font-weight: 700;
    color: #2563eb !important;
    text-align: right;
    font-size: 1.1em;
}
.score-info {
    background: #eff6ff;
    padding: 20px !important;
    border-radius: 10px;
    border-left: 4px solid #3b82f6;
}

.score-info p {
    margin: 8px 0;
    color: #334155;
}

/* footer {
    text-align: center;
    padding: 20px;
    color: #64748b;
    font-size: 0.95em;
} */

@media (max-width: 768px) {
    .headers h1 {
        font-size: 35px!important;
    }

    .subtitle {
        font-size: 1em;
    }

    .calculator-card {
        padding: 20px;
    }

    .input-section h2,
    .results-section h2 {
        font-size: 1.5em;
    }

    .result-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .result-score {
        font-size: 2em;
    }

    .total-value {
        font-size: 2.8em;
    }

    .score-input-group label {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
   

   

    .headers h1 {
        font-size: 1.6em;
    }

    .calculator-card {
        padding: 15px;
    }

    .result-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .total-value {
        font-size: 2.5em;
    }
}
