/* ============================================
   NOTIFICATION POPUP - Near User Icon (TopBar)
   ============================================ */

.notification-popup-container {
    position: fixed;
    top: 70px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 350px;
}

.notification-popup {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-left: 3px solid;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.3s ease;
}

.notification-popup.show {
    opacity: 1;
    transform: translateX(0);
}

.notification-popup-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-popup-content {
    flex: 1;
    min-width: 0;
}

.notification-popup-title {
    font-weight: 600;
    font-size: 0.8125rem;
    margin-bottom: 2px;
    line-height: 1.3;
}

.notification-popup-message {
    font-size: 0.75rem;
    color: #6b7280;
    line-height: 1.4;
}

.notification-popup-close {
    flex-shrink: 0;
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    padding: 2px;
    transition: color 0.2s;
}

.notification-popup-close:hover {
    color: #374151;
}

/* Popup Colors */
.notification-popup-success {
    border-left-color: #10b981;
}

.notification-popup-success .notification-popup-icon {
    color: #10b981;
}

.notification-popup-success .notification-popup-title {
    color: #065f46;
}

.notification-popup-error {
    border-left-color: #ef4444;
}

.notification-popup-error .notification-popup-icon {
    color: #ef4444;
}

.notification-popup-error .notification-popup-title {
    color: #991b1b;
}

.notification-popup-warning {
    border-left-color: #f59e0b;
}

.notification-popup-warning .notification-popup-icon {
    color: #f59e0b;
}

.notification-popup-warning .notification-popup-title {
    color: #92400e;
}

.notification-popup-info {
    border-left-color: #3b82f6;
}

.notification-popup-info .notification-popup-icon {
    color: #3b82f6;
}

.notification-popup-info .notification-popup-title {
    color: #1e40af;
}

/* ============================================
   NOTIFICATION BANNER - Body Area
   ============================================ */

.notification-banner-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 1.5rem;
}

.notification-banner {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border-radius: 8px;
    border: 1px solid;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s ease;
}

.notification-banner.show {
    opacity: 1;
    transform: translateY(0);
}

.notification-banner-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-banner-content {
    flex: 1;
}

.notification-banner-title {
    font-weight: 600;
    font-size: 0.9375rem;
    margin-bottom: 4px;
}

.notification-banner-message {
    font-size: 0.875rem;
    line-height: 1.5;
}

.notification-banner-close {
    flex-shrink: 0;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.notification-banner-close:hover {
    opacity: 1;
}

/* Banner Colors */
.notification-banner-success {
    background: #ecfdf5;
    border-color: #10b981;
}

.notification-banner-success .notification-banner-icon {
    color: #10b981;
}

.notification-banner-success .notification-banner-title {
    color: #065f46;
}

.notification-banner-success .notification-banner-message {
    color: #047857;
}

.notification-banner-success .notification-banner-close {
    color: #059669;
}

.notification-banner-error {
    background: #fef2f2;
    border-color: #ef4444;
}

.notification-banner-error .notification-banner-icon {
    color: #ef4444;
}

.notification-banner-error .notification-banner-title {
    color: #991b1b;
}

.notification-banner-error .notification-banner-message {
    color: #dc2626;
}

.notification-banner-error .notification-banner-close {
    color: #ef4444;
}

.notification-banner-warning {
    background: #fffbeb;
    border-color: #f59e0b;
}

.notification-banner-warning .notification-banner-icon {
    color: #f59e0b;
}

.notification-banner-warning .notification-banner-title {
    color: #92400e;
}

.notification-banner-warning .notification-banner-message {
    color: #d97706;
}

.notification-banner-warning .notification-banner-close {
    color: #f59e0b;
}

.notification-banner-info {
    background: #eff6ff;
    border-color: #3b82f6;
}

.notification-banner-info .notification-banner-icon {
    color: #3b82f6;
}

.notification-banner-info .notification-banner-title {
    color: #1e40af;
}

.notification-banner-info .notification-banner-message {
    color: #2563eb;
}

.notification-banner-info .notification-banner-close {
    color: #3b82f6;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .notification-popup-container {
        right: 12px;
        left: 12px;
        max-width: none;
    }
}

/* ============================================
   AZURE-STYLE NOTIFICATION BELL
   ============================================ */

.azure-bell-wrapper {
    position: relative;
}

.azure-bell-button {
    position: relative;
    background: transparent;
    border: 1px solid #e1e1e1;
    border-radius: 4px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #323130;
    transition: all 0.1s ease;
}

.azure-bell-button:hover {
    background: #f3f2f1;
    border-color: #c8c6c4;
}

.azure-bell-button:active {
    background: #edebe9;
}

.azure-bell-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #c50f1f;
    color: white;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 5px;
    border-radius: 10px;
    min-width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    border: 2px solid white;
}

.azure-bell-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 998;
}

.azure-bell-panel {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 360px;
    max-height: 520px;
    background: #ffffff;
    border: 1px solid #edebe9;
    border-radius: 2px;
    box-shadow: 0 6.4px 14.4px rgba(0,0,0,0.132), 0 1.2px 3.6px rgba(0,0,0,0.108);
    display: flex;
    flex-direction: column;
    z-index: 999;
    animation: azureSlideDown 0.15s cubic-bezier(0.1, 0.9, 0.2, 1);
}

@keyframes azureSlideDown {
    from {
        opacity: 0;
        transform: translateY(-8px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.azure-bell-header {
    padding: 16px 20px;
    border-bottom: 1px solid #edebe9;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #faf9f8;
}

.azure-bell-header-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.azure-bell-header-left svg {
    color: #605e5c;
}

.azure-bell-title {
    font-size: 14px;
    font-weight: 600;
    color: #323130;
    margin: 0;
}

.azure-bell-actions button {
    background: none;
    border: none;
    color: #0078d4;
    font-size: 12px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 2px;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: background 0.1s;
}

.azure-bell-actions button:hover {
    background: #f3f2f1;
    text-decoration: underline;
}

.azure-bell-body {
    overflow-y: auto;
    max-height: 400px;
    flex: 1;
}

.azure-bell-empty {
    padding: 48px 24px;
    text-align: center;
    color: #605e5c;
}

.azure-bell-empty svg {
    margin: 0 auto 16px;
    color: #c8c6c4;
    opacity: 0.6;
}

.azure-bell-empty h4 {
    font-size: 16px;
    font-weight: 600;
    color: #323130;
    margin: 0 0 8px 0;
}

.azure-bell-empty p {
    font-size: 13px;
    color: #605e5c;
    margin: 0;
}

.azure-bell-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 20px;
    cursor: pointer;
    transition: background 0.1s;
    border-bottom: 1px solid #f3f2f1;
    position: relative;
}

.azure-bell-item:hover {
    background: #f3f2f1;
}

.azure-bell-item:last-child {
    border-bottom: none;
}

.azure-bell-item.unread {
    background: #f3f2f1;
}

.azure-bell-item-indicator {
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #0078d4;
    opacity: 0;
}

.azure-bell-item.unread .azure-bell-item-indicator {
    opacity: 1;
}

.azure-bell-item-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.azure-icon-success {
    background: #dff6dd;
    color: #107c10;
}

.azure-icon-error {
    background: #fde7e9;
    color: #a80000;
}

.azure-icon-warning {
    background: #fff4ce;
    color: #8a8000;
}

.azure-icon-info {
    background: #cfe4fa;
