/* Header Stilleri */

/* Uzman Bildirim Badge */
.expert-notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    animation: badgePulse 2s infinite;
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Uzman Bildirim Dropdown */
.expert-notification-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 360px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    z-index: 99999;
    display: none;
    overflow: hidden;
    margin-top: 10px;
}

.expert-notification-dropdown.active {
    display: block;
    animation: dropdownSlide 0.3s ease;
}

@keyframes dropdownSlide {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.notification-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
}

.notification-header h6 {
    margin: 0;
    font-weight: 600;
}

.notification-header .view-all {
    color: white;
    font-size: 12px;
    text-decoration: none;
    opacity: 0.9;
}

.notification-header .view-all:hover {
    opacity: 1;
    text-decoration: underline;
}

.notification-list {
    max-height: 400px;
    overflow-y: auto;
}

.notification-item {
    display: flex;
    gap: 12px;
    padding: 14px 20px;
    border-bottom: 1px solid #f3f4f6;
    transition: background 0.2s;
    text-decoration: none;
    color: inherit;
}

.notification-item:hover {
    background: #f9fafb;
}

.notification-item.unread {
    background: #fef3c7;
}

.notification-item img {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
}

.notification-content {
    flex: 1;
    min-width: 0;
}

.notification-title {
    font-weight: 600;
    font-size: 14px;
    color: #1a1a2e;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.notification-meta {
    font-size: 12px;
    color: #666;
    display: flex;
    gap: 10px;
    align-items: center;
}

.notification-priority {
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 600;
}

.notification-priority.urgent {
    background: #fef2f2;
    color: #dc2626;
}

.notification-priority.normal {
    background: #f0fdf4;
    color: #16a34a;
}

.notification-empty {
    padding: 40px 20px;
    text-align: center;
    color: #666;
}

.notification-empty-icon {
    font-size: 48px;
    margin-bottom: 12px;
}

.notification-loading {
    padding: 40px 20px;
    text-align: center;
    color: #666;
}

.notification-loading .spinner {
    width: 30px;
    height: 30px;
    border: 3px solid #f3f4f6;
    border-top-color: #f59e0b;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 12px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* CANLI Badge Animasyonu */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* Mobil uyum */
@media (max-width: 576px) {
    .expert-notification-dropdown {
        position: fixed;
        top: 60px;
        left: 10px;
        right: 10px;
        width: auto;
    }
}
