/* Notification Badge - Paper Style */
.notification-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    background: var(--primary);
    color: white;
    font-size: 11px;
    font-weight: 700;
    border-radius: 0px;
    animation: pulse 2s ease-in-out infinite;
}

.notification-badge.hidden {
    display: none;
}

/* Header Notification Badge - Paper Style */
.notification-badge-header {
    position: absolute;
    top: -4px;
    right: -4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: var(--primary);
    color: white;
    font-size: 10px;
    font-weight: 700;
    border-radius: 0px;
    border: 2px solid white;
    animation: pulse 2s ease-in-out infinite;
}

.notification-badge-header.hidden {
    display: none;
}

/* Notification Dropdown - Paper Style */
.notification-dropdown {
    position: fixed;
    top: 96px;
    right: 16px;
    width: 380px;
    max-height: 500px;
    background: white;
    border-radius: 0px;
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.05),
        0 4px 12px rgba(0, 0, 0, 0.08),
        0 16px 48px rgba(0, 0, 0, 0.12);
    border: 1px solid #e4e4e7;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    animation: slideDown 0.2s ease-out;
}

.notification-dropdown.hidden {
    display: none;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.notification-dropdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #e4e4e7;
    background: #fafafa;
}

.notification-dropdown-header button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    border-radius: 0px;
    transition: background 0.2s;
}

.notification-dropdown-header button:hover {
    background: rgba(212, 175, 55, 0.1);
}

.notification-dropdown-body {
    overflow-y: auto;
    max-height: 440px;
    padding: 12px;
}

.notification-dropdown-body::-webkit-scrollbar {
    width: 6px;
}

.notification-dropdown-body::-webkit-scrollbar-track {
    background: transparent;
}

.notification-dropdown-body::-webkit-scrollbar-thumb {
    background: #d4d4d8;
    border-radius: 0px;
}

.notification-dropdown-body::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Notification Item - Paper Style */
.notification-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    background: #fafafa;
    border: 1px solid #e4e4e7;
    border-radius: 0px;
    transition: all var(--transition-smooth);
}

.notification-item:hover {
    background: rgba(212, 175, 55, 0.05);
    border-color: var(--primary);
}

.notification-item.unread {
    background: rgba(212, 175, 55, 0.08);
    border-left: 3px solid var(--primary);
    border-color: rgba(212, 175, 55, 0.3);
}

.notification-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0px;
}

.notification-icon.info {
    background: rgba(212, 175, 55, 0.1);
    color: var(--primary);
}

.notification-icon.warning {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.notification-icon.success {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.notification-icon.error {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.notification-content {
    flex: 1;
}

.notification-title {
    font-size: 14px;
    font-weight: 600;
    color: #27272a;
    margin-bottom: 4px;
}

.notification-message {
    font-size: 13px;
    color: #71717a;
    line-height: 1.5;
}

.notification-time {
    font-size: 11px;
    color: #a1a1aa;
    margin-top: 4px;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}