/* Add here all your CSS customizations */
.test-result.form-check-input:disabled ~ .form-check-label {
    opacity: 1 !important;
}

#accordionSubjects .accordion-header {
    margin-top: 0 !important;
}

#accordionSubjects .accordion-item {
    margin-bottom: 20px !important;
}

/* ===== Notifications Dropdown Styles ===== */
.notification-item {
    position: relative;
    transition: background-color 0.2s ease;
}

.notification-item.unread {
    background-color: #f0f8ff !important;
}

.notification-item .mark-read-btn {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #999;
    font-size: 16px;
    cursor: pointer;
    padding: 5px 10px;
    opacity: 0;
    transition: opacity 0.2s ease, color 0.2s ease;
}

.notification-item:hover .mark-read-btn {
    opacity: 1;
}

.notification-item .mark-read-btn:hover {
    color: #47a447;
}

.notification-item a {
    display: block;
    padding-right: 40px; /* Spazio per bottone mark-read */
}

/* ===== Messages Dropdown Styles ===== */
#recent-messages-list li.unread {
    background-color: #e8f4fd !important;
    border-left: 3px solid #0084ff;
}

#recent-messages-list li.unread .title {
    font-weight: 600 !important;
    color: #212529 !important;
}

#recent-messages-list li.unread .message {
    font-weight: 500 !important;
}