/* User Panel Notification Card */
.notifications-container {
    margin: 20px 0;
}

.notification-card {
    background-color: var(--warning-bg-color);
    border-left: 5px solid var(--warning-border-color);
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 2px 4px var(--shadow-color-light);
    transition: background-color 0.3s;
}

.notification-card p {
    margin: 0 0 8px 0;
    color: var(--text-color);
    line-height: 1.5;
}

.notification-card .date {
    font-size: 0.8rem;
    color: var(--text-color-light);
    text-align: right;
    display: block;
}

/* Header Notification Bell */
.notification-bell-container {
    position: relative;
}

#notification-bell {
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    padding: 5px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

#notification-bell:hover {
    opacity: 0.8;
}

.notification-badge {
    position: absolute;
    top: 0px;
    right: 0px;
    background-color: var(--danger-color);
    color: white;
    border-radius: 50%;
    padding: 2px 5px;
    font-size: 0.7rem;
    font-weight: bold;
    min-width: 10px;
    text-align: center;
    line-height: 1;
    border: 1px solid #000000;
}

#notifications-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 10px;
    width: 320px;
    max-height: 400px;
    overflow-y: auto;
    background-color: var(--panel-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 4px 12px var(--shadow-color);
    z-index: 1010;
    color: var(--text-color-light);
    text-align: left;
}

#notifications-dropdown.visible {
    display: block;
    animation: fadeIn 0.3s ease-out;
}

#notifications-dropdown-header {
    padding: 15px;
    border-bottom: 1px solid var(--border-color-light);
    font-size: 1.1rem;
    font-weight: bold;
    margin: 0;
}

#notifications-list {
    padding: 0;
    margin: 0;
}

.notification-item {
    padding: 15px;
    border-bottom: 1px solid var(--border-color-light);
    cursor: default;
}

.notification-item:last-child {
    border-bottom: none;
}

.notification-item:hover {
    background-color: var(--bg-color);
}

.notification-item p {
    margin: 0 0 5px;
    font-size: 0.9rem;
    line-height: 1.4;
}

.notification-item .date {
    font-size: 0.75rem;
    color: var(--text-color-light);
}

#notification-empty-state {
    padding: 20px;
    text-align: center;
    color: var(--text-color-light);
}