/* Notifications Styles */

.notification-dropdown {
    padding: 0 !important;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.notification-dropdown .dropdown-header {
    padding: 12px 16px;
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    position: sticky;
    top: 0;
    z-index: 10;
}

.notification-item {
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background-color 0.2s;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    position: relative;
}

.notification-actions {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
}

.mark-read-btn,
.delete-notification-btn {
    opacity: 0.6;
    transition: opacity 0.2s;
}

.mark-read-btn:hover {
    opacity: 1;
    color: #28a745 !important;
}

.delete-notification-btn:hover {
    opacity: 1;
    color: #dc3545 !important;
}

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

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

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

.notification-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 16px;
    color: white;
}

.notification-icon.ticket {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.notification-icon.franchise {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.notification-icon.payment {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.notification-icon.student {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.notification-icon.exam {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.notification-icon.marksheet {
    background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
}

.notification-content {
    flex: 1;
    min-width: 0;
}

.notification-title {
    font-size: 13px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 4px;
    line-height: 1.3;
}

.notification-message {
    font-size: 11px;
    color: #64748b;
    line-height: 1.4;
    margin-bottom: 4px;
}

.notification-time {
    font-size: 10px;
    color: #94a3b8;
}

.notification-badge {
    position: absolute;
    top: 0;
    right: 0;
    transform: translate(25%, -25%);
    font-size: 10px;
    padding: 2px 6px;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#notificationBadge {
    font-size: 10px;
    padding: 2px 6px;
    min-width: 18px;
    height: 18px;
    line-height: 14px;
    top: 2px !important;
    right: -5px !important;
    z-index: 1050;
}

.notification-empty {
    padding: 40px 20px;
    text-align: center;
    color: #94a3b8;
}

.notification-empty i {
    font-size: 3rem;
    opacity: 0.3;
    margin-bottom: 10px;
}

