/* box.module.css */

.container {
    height: 100vh;
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, #1b1d29 0%, #252a3d 100%);
    color: white;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    overflow: hidden;
}

.header {
    position: relative;
    padding: 1.5rem 1.5rem 1rem;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.headerContent {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

.logoSection {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo {
    font-size: 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    background: linear-gradient(45deg, #ffffff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.4rem 0.8rem;
    border-radius: 16px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.headerGradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
}

.content {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.1);
}

.emptyState {
    text-align: center;
    padding: 4rem 2rem;
    color: rgba(255, 255, 255, 0.8);
}

.emptyIcon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.emptyState h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.emptyState p {
    margin: 0;
    opacity: 0.7;
}

.notificationsList {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.notification {
    position: relative;
    background: rgba(43, 48, 65, 0.95);
    color: #e5e7eb;
    border-radius: 12px;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.notification:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    background: rgba(48, 54, 73, 0.98);
}

.notification.unread {
    background: rgba(48, 54, 73, 0.98);
    border-left: 4px solid #3b82f6;
}

.notification.read {
    background: rgba(40, 44, 58, 0.85);
    opacity: 0.9;
}

.notificationHeader {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.notificationMeta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
}

.icon {
    font-size: 1.2rem;
    background: rgba(99, 102, 241, 0.1);
    padding: 0.5rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
}

.titleSection {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.notificationTitle {
    font-weight: 600;
    font-size: 0.9rem;
    color: #e5e7eb;
}

.category {
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    font-weight: 500;
    width: fit-content;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.timestamp {
    font-size: 0.75rem;
    color: #9ca3af;
    font-weight: 500;
    white-space: nowrap;
}

.notificationContent {
    font-size: 0.85rem;
    line-height: 1.5;
    color: #d1d5db;
    padding-left: 3.25rem;
}

.unreadIndicator {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 8px;
    height: 8px;
    background: #3b82f6;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.categoryStripe {
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    opacity: 0.6;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

/* Scrollbar styling */
.content::-webkit-scrollbar {
    width: 6px;
}

.content::-webkit-scrollbar-track {
    background: transparent;
}

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

.content::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* Responsive design */
@media (max-width: 768px) {
    .header {
        padding: 1rem;
    }

    .headerContent {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }

    .notification {
        padding: 0.75rem;
    }

    .notificationMeta {
        gap: 0.5rem;
    }

    .notificationContent {
        padding-left: 2.5rem;
    } }