/* Enhanced Notification Panel UI */

.notification-menu {
    width: 420px !important;
    max-height: 550px;
    border: none;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    border-radius: 16px;
    overflow: hidden;
    padding: 0;
    animation: slideDown 0.3s ease;
    position: absolute !important;
    top: 100% !important;
    right: 0 !important;
    left: auto !important;
    margin-top: 8px !important;
    transform: none !important;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.notification-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.notification-header h6 {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 0.3px;
}

.notification-header h6 i {
    animation: bell-ring 2s infinite;
}

@keyframes bell-ring {
    0%, 100% { transform: rotate(0deg); }
    10%, 30% { transform: rotate(-10deg); }
    20%, 40% { transform: rotate(10deg); }
}

.notification-header .btn-link {
    color: rgba(255,255,255,0.95);
    text-decoration: none;
    font-size: 12px;
    padding: 6px 12px;
    background: rgba(255,255,255,0.15);
    border-radius: 20px;
    transition: all 0.3s ease;
    font-weight: 600;
}

.notification-header .btn-link:hover {
    background: rgba(255,255,255,0.25);
    text-decoration: none;
    transform: scale(1.05);
}

.notification-list {
    max-height: 420px;
    overflow-y: auto;
    background: #fafbfc;
}

.notification-list::-webkit-scrollbar {
    width: 8px;
}

.notification-list::-webkit-scrollbar-track {
    background: #f0f0f0;
}

.notification-list::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    border: 2px solid #f0f0f0;
}

.notification-list::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.notification-loading {
    padding: 60px 20px;
    text-align: center;
    color: #999;
}

.notification-loading i {
    font-size: 24px;
    color: #667eea;
}

.notification-item {
    padding: 16px 20px;
    border-bottom: 1px solid #e8ecef;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    background: white;
    margin: 0 8px;
    border-radius: 8px;
    margin-bottom: 6px;
}

.notification-item:first-child {
    margin-top: 8px;
}

.notification-item:last-child {
    margin-bottom: 8px;
}

.notification-item:hover {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    transform: translateX(4px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.notification-item.unread {
    background: linear-gradient(135deg, #f0f4ff 0%, #e8f0ff 100%);
    border-left: 4px solid #667eea;
    padding-left: 16px;
}

.notification-item.unread::after {
    content: '';
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: #667eea;
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.7);
    }
    50% {
        box-shadow: 0 0 0 6px rgba(102, 126, 234, 0);
    }
}

.notification-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 14px;
    font-size: 20px;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.notification-item:hover .notification-icon {
    transform: scale(1.1) rotate(5deg);
}

.notification-icon.match {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.notification-icon.message {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.notification-icon.event {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.notification-icon.verification {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.notification-icon.premium {
    background: linear-gradient(135deg, #ffd700 0%, #ff8c00 100%);
}

.notification-icon.system {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.notification-content {
    flex: 1;
    min-width: 0;
}

.notification-title {
    font-size: 14.5px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 5px;
    line-height: 1.4;
    display: flex;
    align-items: center;
    gap: 6px;
}

.notification-message {
    font-size: 13px;
    color: #5a5a5a;
    margin-bottom: 6px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.notification-time {
    font-size: 11px;
    color: #999;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
}

.notification-time::before {
    content: '•';
    color: #667eea;
}

.notification-footer {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 14px 20px;
    text-align: center;
    border-top: 2px solid #e8ecef;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.03);
}

.notification-footer a {
    color: #667eea;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    border-radius: 20px;
    background: rgba(102, 126, 234, 0.1);
    transition: all 0.3s ease;
}

.notification-footer a:hover {
    background: rgba(102, 126, 234, 0.2);
    color: #764ba2;
    transform: translateY(-2px);
}

.notification-footer a::after {
    content: '→';
    font-size: 16px;
    transition: transform 0.3s ease;
}

.notification-footer a:hover::after {
    transform: translateX(4px);
}

.notification-empty {
    padding: 60px 30px;
    text-align: center;
    background: white;
    margin: 8px;
    border-radius: 12px;
}

.notification-empty i {
    font-size: 64px;
    color: #e0e0e0;
    margin-bottom: 20px;
    opacity: 0.5;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.notification-empty p {
    color: #999;
    margin: 0;
    font-size: 15px;
    font-weight: 500;
}

.notification-empty::after {
    content: 'You\'re all caught up! 🎉';
    display: block;
    margin-top: 10px;
    font-size: 13px;
    color: #667eea;
    font-weight: 600;
}

