
.quiz-header {
    height: 320px;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 30px;
}
.quiz-header img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}
.quiz-header-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
    color: white;
    padding: 30px;
}
.badge-custom {
    border-radius: 50px;
    padding: 5px 15px;
    font-size: 0.8rem;
    font-weight: 600;
}
.badge-medium {
    background-color: #ffc107;
}
.badge-featured {
    background-color: #9c27b0;
}
.badge-popular {
    background-color: #2196f3;
}
.quiz-meta-item {
    display: flex;
    align-items: center;
    margin-right: 25px;
}
.quiz-meta-item i {
    margin-right: 8px;
    font-size: 1.1rem;
}
.tab-content {
    padding-top: 25px;
}
.related-quiz-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s;
    height: 100%;
}
.related-quiz-card:hover {
    transform: translateY(-5px);
}
.related-quiz-card img {
    height: 130px;
    object-fit: cover;
    width: 100%;
}
.related-quiz-card-content {
    padding: 15px;
    background: white;
}
.tag {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 50px;
    border: 1px solid #dee2e6;
    font-size: 0.85rem;
    margin-right: 10px;
    margin-bottom: 10px;
}
.sidebar-card {
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    overflow: hidden;
    background: #0F172A;
    border: 1px solid var(--section-bg)
}

.quiz-show-border {
    border: 1px solid var(--section-bg)
}

.progress {
    height: 8px;
    border-radius: 4px;
}
.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.leaderboard-table{
    background-color: #1E293B !important;
    color: white;
}

.leaderboard-table td, .leaderboard-table th {
    vertical-align: middle;
}

.leaderboard-table th {
    background-color: #020817 !important;
}

.review-star {
    color: #ddd;
    cursor: pointer;
    font-size: 1.5rem;
    transition: color 0.2s;
}
.review-star.active,
.review-star:hover,
.review-star.hover {
    color: #ffc107;
}
.review-user-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}
.rating-display {
    color: #ffc107;
}
.modal-star {
    font-size: 2rem;
    color: #ddd;
    cursor: pointer;
    transition: color 0.2s;
}
.modal-star.active,
.modal-star.hover {
    color: #ffc107;
}

.review-header{
    border-bottom: none !important;
}

.review-footer{
    border-top: none !important;
}

.review-modal {
    color: white;
    background-color: #020817;
    border: 1px solid #1e293b;
}

.quiz-show-back-button{
    position: relative;
    width: 200px;
    display: block;
    transition: background-color 0.25s ease;
}

.quiz-show-back-button a {
    color: var(--text-light);
}

.quiz-show-back-button:hover{
    background-color: #1e293b;
}



/* Tabs */
.leaderboard-tabs {
    display: flex;
    gap: 0.25rem;
    padding: 0.25rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.leaderboard-tabs .tab-btn {
    background-color: #1E293B;
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    /*background: transparent;*/
    font-size: 0.875rem;
    font-weight: 500;
    color: #64748b;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.leaderboard-tabs .tab-btn.active {
    background-color: #0F172A;
    border: 3px solid var(--section-bg);
    color: var(--primary-color);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.review-card{
    background-color: #020817;
}

.show-quiz-play-button{
    background: linear-gradient(to right, var(--gradient-purple), var(--gradient-indigo));
    color: white;
    border: none;
    border-radius: 12px;
    padding: 10px 20px;
    font-weight: 500;
    transition: all 0.3s ease;
}
