/* Main page compete score box */
.view-more-charts-here {
    font-weight: bold;
}

.compete-score-wrapper {
    height: 280px;
    background-color: #f6f6f6;
    border-radius: 2px;
    margin-top: 15px;
    display: flex;
    align-items: center;
}

.compete-score-box {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px 0;
}

/* Overlay compete score box */
.overlay .compete-score-box {
    background-color: #f8f8f8;
    border-radius: 4px;
}

.compete-score-value {
    text-align: center;
    line-height: 1;
    font-size: 1.25rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

.compete-score-number {
    font-size: 1.8rem;
    font-weight: 700;
}

.compete-score-label {
    margin-left: 0.2rem;
    font-weight: 600;
}

.compete-description {
    line-height: 1.5;
    text-align: center;
    padding: 0 60px;
}

.compete-calculation-link {
    text-align: center;
}

.score-chart-container {
    position: relative;
}

.compete-calculation-link a {
    font-size: 0.8rem;
    color: #D12335;
    text-decoration: underline;
    font-weight: 500;
    text-align: center;
    display: block;
}

.compete-calculation-link a:hover {
    color: #a81a2a;
    text-decoration: none;
}

/* Compete score class for overlay items */
.compete-score-class {
    background-color: #f8f8f8;
    padding: 15px 0;
    border-radius: 0;
    max-width: 600px;
    margin: 0 auto;
    border-bottom: 1px solid #e0e0e0;
}

.compete-score-class:last-child {
    border-bottom: none;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

.compete-score-class:first-child {
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.compete-progress-container {
    width: 400px;
    height: 18px;
    background-color: white;
    border-radius: 9px;
    margin: 12px auto 12px;
    position: relative;
    overflow: hidden;
}

.compete-progress-bar {
    width: 100%;
    height: 100%;
    position: relative;
}

.compete-progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    border-radius: 9px;
    overflow: hidden;
    min-width: 0.5%;
}

.compete-progress-fill::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, #999999 0%, #FFEB3B 50%, #D12335 100%);
    width: 400px;
}

.compete-contact-agent {
    margin-top: 12px;
    text-align: center;
}