* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #F5F6F8;
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

nav, footer {
    background-color: #ffffff; 
    color: #4664aa;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

footer {
    margin-top: auto;
}

a {
    color: #4664aa !important;
}

a:hover {
    color: #000000 !important;
}

button, .link {
    background-color: #B40000 !important;
    color: #ffffff !important;
    border: 2px solid #B40000;
}

button:hover, .link:hover {
    background-color: #ffffff !important;
    color: #B40000 !important;
    border: 2px solid #B40000;
    transition: ease 0.3s;
}

.score-container {
    width: 100%;
    max-width: 520px;
    margin: 40px auto;
    text-align: center;
    font-family: Arial, sans-serif;
}

.note {
    font-style: italic;
    font-size: 14px;
    color: #555;
}

.bar-wrapper {
    position: relative;
    margin-top: 25px;
}

.bar {
    display: flex;
    height: 40px;
    border-radius: 4px;
    overflow: hidden;
    border: 2px solid #000;
}

.segment {
    flex: 1;
}

.red {
    background-color: #ff6666;
}

.yellow {
    background-color: #ffeb73;
}

.light-green {
    background-color: #b6d98a;
}

.green {
    background-color: #5cbf7a;
}

.color-red {
    color: #ff6666;
}

.color-yellow {
    color: #ffeb73;
}

.color-light-green {
    color: #b6d98a;
}

.color-green {
    color: #5cbf7a;
}

.stroke-red { stroke: #ff6666; }
.stroke-yellow { stroke: #ffeb73; }
.stroke-light-green { stroke: #b6d98a; }
.stroke-green { stroke: #5cbf7a; }

.indicator {
    position: absolute;
    top: 30px;
    transform: translateX(-50%);
    text-align: center;
    transition: left 0.6s ease-out;
}

.arrow {
    width: 0;
    height: 0;
    margin: 0 auto;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 10px solid #4a90e2;
}

.value {
    font-size: 14px;
    font-weight: bold;
    margin-top: 4px;
}

.labels {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    font-size: 14px;
}