/* Notifications Component */
.notification-dropdown {
    position: absolute;
    top: 60px;
    right: 0;
    width: 320px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 1000;
    overflow: hidden;
}

.notification-dropdown.active {
    display: block;
}

.notif-header {
    padding: 15px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notif-header span {
    font-weight: 800;
    font-size: 14px;
}

.notif-item {
    padding: 15px;
    border-bottom: 1px solid var(--border);
    display: flex;
    gap: 12px;
    transition: 0.3s;
    text-decoration: none;
    color: inherit;
}

.notif-item:hover {
    background: rgba(255, 255, 255, 0.03);
}

.notif-icon {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.notif-icon.primary {
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
}

.notif-content {
    flex: 1;
}

.notif-title {
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 3px;
    display: block;
}

.notif-text {
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.4;
    display: block;
}

.notif-time {
    font-size: 10px;
    color: var(--text-muted);
    margin-top: 5px;
    display: block;
}

.notif-footer {
    padding: 12px;
    text-align: center;
}

.notif-footer a {
    font-size: 12px;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.notif-trigger {
    color:var(--primary);
    cursor: pointer;
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    transition: var(--transition);
}

.notif-trigger:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
}

.notif-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4d4d;
    color: white;
    font-size: 10px;
    font-weight: 800;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bg-card);
}

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

/* Scrollbar for notifications */
.notif-list::-webkit-scrollbar {
    width: 4px;
}

.notif-list::-webkit-scrollbar-track {
    background: transparent;
}

.notif-list::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 10px;
}

.notif-empty {
    padding: 40px 20px;
    text-align: center;
    color: var(--text-muted);
}

.notif-empty i {
    font-size: 24px;
    margin-bottom: 10px;
    display: block;
    opacity: 0.3;
}

.notif-empty span {
    font-size: 12px;
}

.btn-mark-read {
    background: none;
    border: none;
    color: var(--primary);
    font-size: 11px;
    cursor: pointer;
    font-weight: 600;
}