/* assets/notifications.css */

.notif-wrapper {
    position: relative;
    display: inline-block;
    margin-left: 10px;
}

.notif-bell {
    position: relative;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 20px;
    padding: 5px;
}

.notif-bell i {
    pointer-events: none;
}

.notif-count {
    position: absolute;
    top: 0;
    right: 0;
    transform: translate(40%, -40%);
    background: #ff3b30;
    color: #fff;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 999px;
    min-width: 18px;
    text-align: center;
}

.notif-dropdown {
    position: absolute;
    top: 120%;
    right: 0;
    width: 320px;
    max-height: 400px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    overflow: hidden;
    z-index: 9999;
}

.notif-header {
    padding: 10px 12px;
    background: #004aad;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
}

.notif-list {
    max-height: 350px;
    overflow-y: auto;
}

.notif-empty {
    padding: 15px;
    text-align: center;
    font-size: 13px;
    color: #777;
}

.notif-item {
    padding: 10px 12px;
    border-bottom: 1px solid #eee;
    font-size: 13px;
    cursor: pointer;
}

.notif-item.unread {
    background: #f4f7ff;
}

.notif-item:last-child {
    border-bottom: none;
}

.notif-title {
    font-weight: 600;
    margin-bottom: 4px;
}

.notif-body {
    color: #555;
    margin-bottom: 6px;
}

.notif-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: #888;
}

.notif-footer a {
    font-size: 11px;
    text-decoration: none;
    color: #004aad;
}

.notif-footer a:hover {
    text-decoration: underline;
}

@media (max-width: 480px) {
    .notif-dropdown {
        width: 260px;
    }
}
