/* Notifications Container */
.main-container-center-container-inner-upper {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
}

/* Notification Item */
.notification-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    border-bottom: 1px solid var(--border-color, #2d2d2d);
    cursor: pointer;
    transition: background-color 0.2s ease;
    position: relative;
    text-decoration: none;
    color: inherit;
}

.notification-item:hover {
    background-color: rgba(255, 255, 255, 0.03);
}

/* Unread notification - different background */
.notification-unread {
    background-color: rgba(88, 101, 242, 0.08);
}

.notification-unread:hover {
    background-color: rgba(88, 101, 242, 0.12);
}

/* Read notification - default background */
.notification-read {
    background-color: transparent;
}

/* Lair Icon */
.notification-lair-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--background-secondary, #1a1a1a);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.notification-lair-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Notification Content */
.notification-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.notification-type {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary, #ffffff);
}

.notification-message {
    font-size: 14px;
    color: var(--text-secondary, #b9b9b9);
    line-height: 1.4;
    word-wrap: break-word;
}

/* Notification detail styles */
.notification-detail {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: var(--text-tertiary, #888888);
    opacity: 0.9;
}

.notification-comment-preview {
    font-style: italic;
    opacity: 0.8;
    padding-left: 8px;
    border-left: 2px solid var(--border-color, #2d2d2d);
    margin-top: 6px;
}

.notification-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--text-tertiary, #888888);
}

.notification-lair {
    font-weight: 500;
}

.notification-date {
    opacity: 0.8;
}

.notification-meta::before {
    content: '';
    display: inline-block;
}

.notification-lair::after {
    content: '•';
    margin-left: 8px;
}

/* Unread indicator dot */
.notification-unread-indicator {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background-color: #5865f2;
    border-radius: 50%;
}

/* Load More Button Container */
.load-more-container {
    display: flex;
    justify-content: center;
    padding: 24px 16px;
    border-bottom: 1px solid var(--border-color, #2d2d2d);
}

.load-more-btn {
    padding: 10px 24px;
    background-color: transparent;
    border: 1px solid var(--border-color, #2d2d2d);
    border-radius: 20px;
    color: var(--text-primary, #ffffff);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.load-more-btn:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: #5865f2;
    color: #5865f2;
}

.load-more-btn:active {
    transform: scale(0.98);
}

/* Empty State */
.notifications-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 64px 32px;
    text-align: center;
}

.notifications-empty-state svg {
    margin-bottom: 16px;
    opacity: 0.4;
}

.notifications-empty-state h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary, #ffffff);
    margin: 0 0 8px 0;
}

.notifications-empty-state p {
    font-size: 14px;
    color: var(--text-secondary, #b9b9b9);
    margin: 0;
}

/* Error State */
.notifications-error-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 64px 32px;
    text-align: center;
}

.notifications-error-state svg {
    margin-bottom: 16px;
    opacity: 0.6;
}

.notifications-error-state h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary, #ffffff);
    margin: 0 0 8px 0;
}

.notifications-error-state p {
    font-size: 14px;
    color: var(--text-secondary, #b9b9b9);
    margin: 0 0 16px 0;
}

.retry-btn {
    padding: 10px 24px;
    background-color: #5865f2;
    border: none;
    border-radius: 6px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.retry-btn:hover {
    background-color: #4752c4;
}

.retry-btn:active {
    transform: scale(0.98);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .notification-item {
        padding: 12px;
        gap: 10px;
    }

    .notification-lair-icon {
        width: 40px;
        height: 40px;
    }

    .notification-type {
        font-size: 13px;
    }

    .notification-message {
        font-size: 13px;
    }

    .notification-meta {
        font-size: 11px;
    }
}
