/* ========================================
   NOTIFICATIONS STYLES
======================================== */

/* Notifications Button */
.notifications-button {
    position: relative;
    display: inline-block;
    margin-right: 15px;
}

.notif-icon-btn {
    background: rgba(86, 176, 255, 0.1);
    border: 1px solid rgba(86, 176, 255, 0.3);
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    transition: all 0.3s ease;
    position: relative;
}

.notif-icon-btn:hover {
    background: rgba(86, 176, 255, 0.2);
    border-color: #56b0ff;
    transform: scale(1.1);
}

.notif-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4d4d;
    color: white;
    border-radius: 10px;
    padding: 2px 6px;
    font-size: 11px;
    font-weight: bold;
    min-width: 18px;
    text-align: center;
    animation: notifPulse 2s ease-in-out infinite;
}

@keyframes notifPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

/* Notifications Dropdown */
.notifications-dropdown {
    position: fixed;
    width: 380px;
    max-height: 500px;
    background: rgba(14, 36, 53, 0.98);
    border: 1px solid rgba(86, 176, 255, 0.3);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    z-index: 10000;
    overflow: hidden;
}

.notif-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(86, 176, 255, 0.2);
}

.notif-header h3 {
    margin: 0;
    color: #56b0ff;
    font-size: 16px;
}

.notif-mark-all-read {
    background: none;
    border: none;
    color: #888;
    font-size: 12px;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 4px;
    transition: all 0.2s;
}

.notif-mark-all-read:hover {
    color: #56b0ff;
    background: rgba(86, 176, 255, 0.1);
}

/* Notifications List */
.notif-list {
    max-height: 380px;
    overflow-y: auto;
}

.notif-list::-webkit-scrollbar {
    width: 6px;
}

.notif-list::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
}

.notif-list::-webkit-scrollbar-thumb {
    background: rgba(86, 176, 255, 0.3);
    border-radius: 3px;
}

.notif-item {
    display: flex;
    gap: 12px;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(86, 176, 255, 0.1);
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.notif-item:hover {
    background: rgba(86, 176, 255, 0.05);
}

.notif-item.unread {
    background: rgba(86, 176, 255, 0.08);
}

.notif-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.notif-content {
    flex: 1;
}

.notif-title {
    font-weight: bold;
    color: #fff;
    margin-bottom: 4px;
    font-size: 14px;
}

.notif-message {
    color: #bbb;
    font-size: 13px;
    margin-bottom: 4px;
    line-height: 1.4;
}

.notif-time {
    color: #888;
    font-size: 11px;
}

.notif-unread-dot {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: #56b0ff;
    border-radius: 50%;
}

.notif-loading,
.notif-empty {
    text-align: center;
    padding: 40px 20px;
    color: #888;
}

/* Notifications Footer */
.notif-footer {
    padding: 12px 20px;
    text-align: center;
    border-top: 1px solid rgba(86, 176, 255, 0.2);
}

.notif-footer a {
    color: #56b0ff;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s;
}

.notif-footer a:hover {
    color: #8dcaff;
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .notifications-dropdown {
        width: calc(100vw - 20px);
        max-width: 380px;
        right: 10px !important;
    }

    .notif-icon-btn {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}