/* Notification Bell Icon Styles */
#eu-notification-bell {
    display: flex !important;
    align-items: center;
    margin-left: 15px;
    position: relative;
    z-index: 10000;
}

.eu-notification-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, #FFA500, #FF8C00) !important;
    color: white !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
    font-size: 18px !important;
    opacity: 1 !important;
    visibility: visible !important;
    line-height: 1 !important;
    filter: none !important;
    position: relative;
}

.eu-notification-icon i {
    color: white !important;
    font-size: 18px !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: inline-block !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5) !important;
    -webkit-text-fill-color: white !important;
    filter: none !important;
    background: none !important;
    background-image: none !important;
}

.eu-notification-icon:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15) !important;
    background: linear-gradient(135deg, #FF8C00, #FFA500) !important;
    color: white !important;
    text-decoration: none !important;
}

/* Notification Badge (Unread Count) */
.eu-notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #FF4444;
    color: white;
    border-radius: 10px;
    padding: 2px 6px;
    font-size: 11px;
    font-weight: bold;
    min-width: 18px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

/* Notification Dropdown Panel */
.eu-notification-dropdown {
    position: absolute;
    top: 50px;
    right: 0;
    width: 350px;
    max-height: 500px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 10001;
    overflow: hidden;
    display: none;
}

.eu-notification-dropdown.show {
    display: block;
}

/* Notification Header */
.eu-notification-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px solid #e0e0e0;
    background: #f9f9f9;
}

.eu-notification-header span {
    font-weight: 600;
    font-size: 15px;
    color: #333;
}

.eu-mark-all-read {
    font-size: 12px;
    color: #71c55d;
    text-decoration: none;
    transition: color 0.2s;
}

.eu-mark-all-read:hover {
    color: #5ba347;
    text-decoration: underline;
}

/* Notification List */
.eu-notification-list {
    max-height: 380px;
    overflow-y: auto;
}

.eu-notification-loading {
    padding: 20px;
    text-align: center;
    color: #999;
    font-size: 14px;
}

.eu-notification-empty {
    padding: 30px 20px;
    text-align: center;
    color: #999;
    font-size: 14px;
}

/* Individual Notification Item */
.eu-notification-item {
    padding: 12px 15px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background 0.2s;
    position: relative;
}

.eu-notification-item:hover {
    background: #f5f5f5;
}

.eu-notification-item.unread {
    background: #f0f7ff;
}

.eu-notification-item.unread::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #4F8EE1;
}

.eu-notification-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 5px;
}

.eu-notification-title {
    font-weight: 600;
    font-size: 13px;
    color: #333;
    flex: 1;
    margin-right: 10px;
}

.eu-notification-time {
    font-size: 11px;
    color: #999;
    white-space: nowrap;
}

.eu-notification-message {
    font-size: 12px;
    color: #666;
    line-height: 1.4;
    margin-bottom: 5px;
    max-height: 40px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.eu-notification-type {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 5px;
}

.eu-notification-type.project_update {
    background: #e3f2fd;
    color: #1976d2;
}

.eu-notification-type.credit_alert {
    background: #fff3e0;
    color: #f57c00;
}

.eu-notification-type.app_news {
    background: #e8f5e9;
    color: #388e3c;
}

.eu-notification-type.tech_support {
    background: #fce4ec;
    color: #c2185b;
}

.eu-notification-type.system_maintenance {
    background: #fff9c4;
    color: #f57f17;
}

.eu-notification-type.zoom_meeting {
    background: #e0f2f1;
    color: #00796b;
}

.eu-notification-type.general {
    background: #f5f5f5;
    color: #616161;
}

/* Priority Indicators */
.eu-notification-item[data-priority="urgent"] .eu-notification-title {
    color: #d32f2f;
}

.eu-notification-item[data-priority="high"] .eu-notification-title {
    color: #f57c00;
}

/* Notification Footer */
.eu-notification-footer {
    padding: 10px 15px;
    border-top: 1px solid #e0e0e0;
    text-align: center;
    background: #f9f9f9;
}

.eu-notification-footer a {
    color: #4F8EE1;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}

.eu-notification-footer a:hover {
    text-decoration: underline;
}

/* Scrollbar Styling */
.eu-notification-list::-webkit-scrollbar {
    width: 6px;
}

.eu-notification-list::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.eu-notification-list::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

.eu-notification-list::-webkit-scrollbar-thumb:hover {
    background: #999;
}

/* Mobile Responsive */
@media (max-width: 991px) {
    #eu-notification-bell {
        display: flex !important;
        align-items: center !important;
        margin-left: 10px;
    }

    .eu-notification-icon {
        width: 35px !important;
        height: 35px !important;
        font-size: 16px !important;
    }

    .eu-notification-dropdown {
        width: 300px;
        right: -50px;
    }
}

@media (max-width: 480px) {
    .eu-notification-dropdown {
        width: 280px;
        max-height: 400px;
        right: -80px;
    }

    .eu-notification-list {
        max-height: 280px;
    }
}

/* Animation for New Notifications */
@keyframes notification-pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.eu-notification-icon.has-new {
    animation: notification-pulse 2s ease-in-out infinite;
}

/* Delete/Archive Button */
.eu-notification-delete {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    border: none;
    color: #999;
    font-size: 14px;
    cursor: pointer;
    padding: 5px;
    opacity: 0;
    transition: opacity 0.2s, color 0.2s;
}

.eu-notification-item:hover .eu-notification-delete {
    opacity: 1;
}

.eu-notification-delete:hover {
    color: #d32f2f;
}
