﻿.notification-out {
    position: relative;
    right: 170px;
}

.notification-bell {
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.notification-bell:hover .bell-icon {
    fill: #22c55e;
    transform: scale(1.1);
}

.bell-icon {
    width: 28px;
    height: 28px;
    fill: #ffffff;
    transition: all 0.3s ease;
}

.notification-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background-color: #ef4444;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
    border: 2px solid #1a1a1a;
    min-width: 20px;
}

.notification-badge.hidden {
    display: none;
}




.notification-in .notification-container {
    position: absolute;
    top: 40px;
    left: -170px;
    width: 400px;
    max-width: 90vw;
    background-color: #2a2a2a;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    max-height: 30vh;
    overflow-y: auto;
    z-index: 1000;
}
.notification-out .notification-container {
    position: absolute;
    top: 60px;
    right: 0;
    width: 400px;
    max-width: 90vw;
    background-color: #2a2a2a;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    max-height: 80vh;
    overflow-y: auto;
}

.notification-container.show {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.notification-header {
    padding: 16px 20px;
    background-color: #333333;
    border-bottom: 1px solid #444444;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.notification-header h2 {
    font-size: 18px;
    font-weight: 600;
}

.clear-all-btn {
    background: none;
    border: none;
    color: #8b5cf6;
    cursor: pointer;
    font-size: 14px;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.clear-all-btn:hover {
    background-color: #444444;
}

.notification-item {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #444444;
    transition: background-color 0.2s ease;
    position: relative;
}

.notification-item.new {
    background-color: #2d1b69;
}

.notification-item:hover {
    background-color: #333333;
}

.notification-item:last-child {
    border-bottom: none;
}

.notification-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    flex-shrink: 0;
    position: relative;
}

.notification-icon::before {
    content: 'i';
    color: white;
    font-weight: bold;
    font-size: 14px;
    font-style: italic;
}

.notification-content {
    flex: 1;
}

.notification-title {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 4px;
    color: #ffffff !important;
}




.notification-time {
    color: #666666;
    font-size: 12px;
    margin-left: auto;
    padding-left: 16px;
    flex-shrink: 0;
}

.new-indicator {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background-color: #ef4444;
    border-radius: 50%;
}

.main-content {
    max-width: 600px;
    margin: 60px auto 0;
    text-align: center;
}

.demo-btn {
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin: 10px;
    transition: transform 0.2s ease;
}

.demo-btn:hover {
    transform: translateY(-2px);
}

.demo-btn:active {
    transform: translateY(0);
}

.empty-state {
    padding: 40px 20px;
    text-align: center;
    color: #666666;
}

.empty-state h3 {
    margin-bottom: 8px;
    color: #999999;
}

/* Overlay to close dropdown when clicking outside */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    display: none;
}

.overlay.show {
    display: block;
}

@media all and (max-width: 445px)
{
    .notification-in .notification-container {
        left: -130px;
        width: 300px;
    }
}