.student-topbar .topbar-actions {
    position: relative;
}

.student-notification-panel {
    position: absolute;
    top: 52px;
    right: 0;
    z-index: 1200;
    width: min(410px, calc(100vw - 30px));
    overflow: hidden;
    border: 1px solid #dce5e2;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 22px 60px rgba(24, 50, 44, .2);
}

.student-notification-panel header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 16px;
    border-bottom: 1px solid #e3ebe8;
}

.student-notification-panel header strong,
.student-notification-panel header small,
.student-notification-item strong,
.student-notification-item span,
.student-notification-item small {
    display: block;
}

.student-notification-panel header small {
    margin-top: 3px;
    color: #71847e;
    font-size: 10px;
}

.student-notification-panel header button {
    flex: 0 0 auto;
    border: 0;
    background: transparent;
    color: var(--forest);
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
}

.student-notification-list {
    max-height: min(430px, calc(100vh - 150px));
    overflow-y: auto;
}

.student-notification-item {
    display: block;
    width: 100%;
    padding: 15px 17px;
    border: 0;
    border-bottom: 1px solid #e7ecea;
    background: #fff;
    color: inherit;
    text-align: left;
    cursor: pointer;
}

.student-notification-item:hover {
    background: #f7faf9;
}

.student-notification-item.unread {
    border-left: 4px solid var(--forest);
    background: color-mix(in srgb, var(--forest) 7%, white);
}

.student-notification-item strong {
    color: #263f39;
    font-size: 13px;
}

.student-notification-item span {
    margin: 5px 0;
    color: #5c716b;
    font-size: 12px;
    line-height: 1.5;
}

.student-notification-item small {
    color: #83938e;
    font-size: 10px;
}

.student-notification-panel .empty-notifications {
    margin: 0;
    padding: 25px;
    color: #758983;
    text-align: center;
}

@media (max-width: 760px) {
    .student-notification-panel {
        position: fixed;
        top: 72px;
        right: 12px;
        left: 12px;
        width: auto;
    }
}
