/* Notifications Page */
.notifications-page {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 10000;
    display: none;
}

.notifications-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    background: white;
}

.notifications-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: #000;
}

.back-btn {
    background: none;
    border: none;
    font-size: 20px;
    color: #000;
    cursor: pointer;
    padding: 10px;
}

.clear-all-btn {
    background: none;
    border: none;
    color: #8A2BE2;
    font-weight: 600;
    cursor: pointer;
    padding: 10px;
}

.notifications-list {
    padding: 10px;
    overflow-y: auto;
    height: calc(100vh - 80px);
}

.notification-item {
    display: flex;
    align-items: center;
    padding: 15px;
    margin: 10px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    cursor: pointer;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.notification-item.unread {
    background: rgba(138, 43, 226, 0.05);
    border-left-color: #8A2BE2;
}

.notification-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.notification-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-right: 15px;
    background: rgba(138, 43, 226, 0.1);
}

.notification-icon .logo-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.notification-content {
    flex: 1;
}

.notification-text {
    color: #000;
    font-size: 15px;
    margin-bottom: 5px;
}

.notification-time {
    color: #666;
    font-size: 12px;
}

.notification-dot {
    width: 10px;
    height: 10px;
    background: #FF4757;
    border-radius: 50%;
}

.loading-notifications,
.no-notifications,
.error-notifications {
    text-align: center;
    padding: 50px 20px;
    color: #666;
}

.loading-notifications i,
.no-notifications i,
.error-notifications i {
    font-size: 40px;
    margin-bottom: 15px;
    display: block;
}

/* Badge for notifications button */
.top-notifications-icon {
    position: relative;
}

.top-notifications-icon.has-notification::after {
    content: attr(data-count);
    position: absolute;
    top: -5px;
    right: -5px;
    background: #FF4757;
    color: white;
    font-size: 10px;
    font-weight: bold;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
