/* Target the Angular Labels (Variable names around the circle) */
.responsive-radar .polartick text, 
.responsive-radar .angularaxis text,
.responsive-radar g[class^="angularaxis"] text {
    font-size: 16px !important; /* Desktop default */
    fill: #2c3e50 !important;
}

/* Tablet: Screens smaller than 992px */
@media screen and (max-width: 992px) {
    .responsive-radar .polartick text, 
    .responsive-radar .angularaxis text,
    .responsive-radar g[class^="angularaxis"] text {
        font-size: 12px !important;
    }
}

/* Mobile: Screens smaller than 600px */
@media screen and (max-width: 600px) {
    .responsive-radar .polartick text, 
    .responsive-radar .angularaxis text,
    .responsive-radar g[class^="angularaxis"] text {
        font-size: 9px !important;
    }
}

/* Reduce padding on mobile so the graph has more room */
@media screen and (max-width: 600px) {
    .card-body {
        padding: 0.5rem !important;
    }
}

#score-mode-toggle .form-check {
    padding-left: 0;
    margin: 5px;
}

#score-mode-toggle label {
    display: block;
    padding: 10px 20px;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    width: 100%;
}

#score-mode-toggle input:checked + label {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}

/* accordion title fontsize */
.accordion-button {
    font-size: 1.25rem;
}
/* Base Logo Styling for Desktop */
.header-logo {
    height: 60px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.header-logo.sipher {
    height: 80px;
}

/* Base Title Styling */
.header-title {
    font-size: 1.8rem;
    text-align: center;
    padding: 0 10px;
}

/* Mobile Fix: Prevents Overlap */
@media screen and (max-width: 768px) {
    /* Scale logos down so they don't hit each other */
    .header-logo {
        height: 40px; 
    }
    
    .header-logo.sipher {
        height: 50px;
    }

    /* Force title to stay below and resize font */
    .header-title {
        font-size: 1.1rem !important;
        margin-top: 15px;
        padding-top: 10px;
        border-top: 1px solid #eee;
    }
    
    /* Ensure the row doesn't have negative margins that clip logos */
    .row.g-0 {
        margin-right: 0;
        margin-left: 0;
    }
}