/* === NOTIFICATION CENTER === */
.notification-bell {
    position: relative;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.2s;
}
.notification-bell:hover {
    background: rgba(59,130,246,0.15);
    border-color: var(--primary);
    transform: scale(1.05);
}

.notification-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: #ef4444;
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 5px;
    border-radius: 10px;
    min-width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(239,68,68,0.4);
    animation: badge-pulse 2s infinite;
    pointer-events: none;
}
.notification-badge.hidden {
    display: none;
}
@keyframes badge-pulse {
    0%, 100% { box-shadow: 0 2px 6px rgba(239,68,68,0.4); }
    50% { box-shadow: 0 2px 12px rgba(239,68,68,0.7); }
}

.notification-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 360px;
    max-height: 480px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
    z-index: 9999;
    overflow: hidden;
    display: none;
    flex-direction: column;
    animation: notification-fade-in 0.2s ease;
}
.notification-dropdown.visible {
    display: flex;
}
@keyframes notification-fade-in {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.notification-dropdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    background: var(--bg);
}
.notification-dropdown-title {
    font-weight: 700;
    font-size: 0.95rem;
}
.notification-mark-all {
    background: transparent;
    border: none;
    color: var(--primary);
    cursor: pointer;
    font-size: 0.78rem;
    font-family: inherit;
    padding: 4px 8px;
    border-radius: 4px;
}
.notification-mark-all:hover {
    background: rgba(59,130,246,0.15);
}

.notification-list {
    overflow-y: auto;
    max-height: 380px;
    flex: 1;
}

.notification-item {
    display: flex;
    gap: 10px;
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid var(--border);
    transition: background 0.15s;
    text-decoration: none;
    color: var(--text);
}
.notification-item:hover {
    background: rgba(59,130,246,0.08);
}
.notification-item:last-child {
    border-bottom: none;
}
.notification-item.unread {
    background: rgba(59,130,246,0.04);
}
.notification-item.unread::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
    flex-shrink: 0;
    margin-top: 8px;
}

.notification-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.notification-icon.info { background: rgba(59,130,246,0.15); color: #3b82f6; }
.notification-icon.success { background: rgba(16,185,129,0.15); color: #10b981; }
.notification-icon.warning { background: rgba(245,158,11,0.15); color: #f59e0b; }
.notification-icon.danger { background: rgba(239,68,68,0.15); color: #ef4444; }

.notification-content {
    flex: 1;
    min-width: 0;
}
.notification-title {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 2px;
    color: var(--text);
}
.notification-message {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.4;
    margin-bottom: 4px;
}
.notification-time {
    font-size: 0.7rem;
    color: var(--text-muted);
    opacity: 0.7;
}

.notification-empty {
    padding: 40px 20px;
    text-align: center;
    color: var(--text-muted);
}
.notification-empty-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
    opacity: 0.4;
}

.notification-dropdown-footer {
    padding: 8px 12px;
    text-align: center;
    border-top: 1px solid var(--border);
    background: var(--bg);
}
.notification-dropdown-footer a {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 600;
}
.notification-dropdown-footer a:hover {
    text-decoration: underline;
}

/* === WELCOME BANNER === */
.welcome-banner {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 24px;
    background: linear-gradient(135deg, rgba(59,130,246,0.1), rgba(139,92,246,0.05));
    border: 1px solid rgba(59,130,246,0.25);
    border-radius: 12px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}
.welcome-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(139,92,246,0.15) 0%, transparent 70%);
    pointer-events: none;
}
.welcome-banner-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 8px rgba(59,130,246,0.3));
}
.welcome-banner-content {
    flex: 1;
    min-width: 0;
}
.welcome-banner-greeting {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 2px;
}
.welcome-banner-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
}
.welcome-banner-quickstats {
    display: flex;
    gap: 14px;
    flex-shrink: 0;
}
.welcome-quickstat {
    text-align: center;
    padding: 4px 10px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 6px;
}
.welcome-quickstat-value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
}
.welcome-quickstat-label {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.welcome-banner-dismiss {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1.1rem;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.15s;
    align-self: flex-start;
    font-family: inherit;
}
.welcome-banner-dismiss:hover {
    background: rgba(239,68,68,0.1);
    color: #ef4444;
}