/* Notification Center Styles */

.notification-bell {
    position: relative;
    display: inline-block;
    margin-right: 1rem;
    cursor: pointer;
}

.notification-bell i {
    font-size: 1.25rem;
    color: #495057;
    transition: color 0.2s;
}

.notification-bell:hover i {
    color: #0d6efd;
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -8px;
    background-color: #dc3545;
    color: white;
    border-radius: 0.5rem;
    padding: 2px 6px;
    font-size: 0.75rem;
    font-weight: bold;
    min-width: 18px;
    text-align: center;
    display: none;
}

.notification-badge.show {
    display: inline-block;
}

.notification-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    width: 400px;
    max-height: 500px;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    display: none;
    z-index: 1050;
    overflow: hidden;
}

.notification-dropdown.show {
    display: block;
}

.notification-header {
    padding: 1rem;
    border-bottom: 1px solid #dee2e6;
    background-color: #f8f9fa;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notification-header h6 {
    margin: 0;
    font-weight: 600;
    font-size: 1rem;
}

.notification-list {
    max-height: 400px;
    overflow-y: auto;
}

.notification-item {
    padding: 0.875rem;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background-color 0.2s;
}

.notification-item:hover {
    background-color: #f8f9fa;
}

.notification-item.unread {
    background-color: #e7f3ff;
}

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

.notification-title {
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
    color: #212529;
}

.notification-message {
    font-size: 0.875rem;
    color: #6c757d;
    margin-bottom: 0.25rem;
    line-height: 1.4;
}

.notification-time {
    font-size: 0.75rem;
    color: #adb5bd;
}

.notification-empty {
    padding: 2rem;
    text-align: center;
    color: #6c757d;
    font-size: 0.875rem;
}

.notification-footer {
    padding: 0.75rem;
    border-top: 1px solid #dee2e6;
    background-color: #f8f9fa;
    text-align: center;
}

.notification-footer button {
    font-size: 0.875rem;
    padding: 0.375rem 0.75rem;
}
