/* Enhanced Notification Styles */

/* Notification icon styling */
.notification-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.notification-icon i {
    font-size: 14px;
    color: white;
}

/* Notification item styling */
.notification-item {
    border-right: 3px solid transparent;
    transition: all 0.2s ease;
    padding: 10px;
    margin-bottom: 1px;
}

.notification-item:hover {
    background-color: rgba(0, 0, 0, 0.03);
}

.notification-item.unread {
    border-right-color: #4e73df;
    background-color: rgba(78, 115, 223, 0.05);
}

/* Notification content */
.notification-title {
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 3px;
    color: #333;
}

.notification-message {
    font-size: 12px;
    color: #555;
    margin-bottom: 3px;
    line-height: 1.3;
}

.notification-time {
    font-size: 10px;
    color: #888;
}

/* Notification dropdown styling */
.notification-dropdown {
    border-radius: 8px;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    padding: 0;
    overflow: hidden;
    width: 300px;
}

.notification-dropdown .dropdown-item {
    padding: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.notification-dropdown .dropdown-item:last-child {
    border-bottom: none;
}

.notification-dropdown .notification-link {
    display: block;
    padding: 8px;
    color: inherit;
    text-decoration: none;
}

.notification-dropdown .notification-link:hover {
    text-decoration: none;
}

/* Fixed height scrollable dropdown - FIXED TO PREVENT DOUBLE SCROLLBAR */
.notifications-list {
    max-height: 350px;
    overflow-y: auto;
    scrollbar-width: thin;
}

/* Remove double scrollbar */
.notification-dropdown {
    overflow-y: hidden !important;
    max-height: none !important;
}

.notifications-list::-webkit-scrollbar {
    width: 4px;
}

.notifications-list::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.notifications-list::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

/* Colors for different notification types */
.bg-info {
    background-color: #36b9cc;
}

.bg-success {
    background-color: #1cc88a;
}

.bg-warning {
    background-color: #f6c23e;
}

.bg-danger {
    background-color: #e74a3b;
} 