
/* ===== Bildirim Dropdown ===== */
.notif-dropdown {
    display: flex;
    align-items: center;
}
.notif-dropdown > .nav-link {
    position: relative;
    display: flex;
    align-items: center;
    padding: 10px 12px !important;
}
.notif-dropdown .badge-count {
    position: absolute;
    top: 8px;
    right: 4px;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    background: #ef4444;
    color: white;
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    border: 2px solid white;
    line-height: 1;
    animation: badgePulse 2s ease-in-out infinite;
}
@keyframes badgePulse { 0%,100%{transform:scale(1)} 50%{transform:scale(1.1)} }

.notification-panel {
    width: 400px; border-radius: 16px; border: 1px solid #e2e8f0;
    box-shadow: 0 20px 40px -4px rgba(0,0,0,0.12), 0 8px 16px -6px rgba(0,0,0,0.08);
    overflow: hidden; padding: 0;
}

.notif-header {
    padding: 16px 20px 12px; display: flex;
    align-items: center; justify-content: space-between;
    border-bottom: 1px solid #f1f5f9;
}
.notif-header h5 { font-size: 15px; font-weight: 700; color: #1e293b; margin: 0; display: flex; align-items: center; gap: 10px; }
.notif-count-badge {
    background: #2563eb; color: white; font-size: 11px; font-weight: 700;
    padding: 2px 8px; border-radius: 20px;
}
.mark-all-read {
    font-size: 12px; color: #2563eb; font-weight: 600; cursor: pointer;
    padding: 4px 10px; border-radius: 6px; border: none; background: none;
}
.mark-all-read:hover { background: #dbeafe; }

.notif-list { max-height: 380px; overflow-y: auto; scrollbar-width: thin; }
.notif-list::-webkit-scrollbar { width: 4px; }
.notif-list::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }

.notif-item {
    display: flex; gap: 14px; padding: 14px 20px;
    text-decoration: none !important; color: inherit !important;
    border-bottom: 1px solid #f1f5f9; transition: all 0.15s ease;
    position: relative; cursor: pointer;
}
.notif-item:hover { background: #f8fafc; }

.notif-item.unread {
    background: linear-gradient(135deg, rgba(37,99,235,0.03), rgba(37,99,235,0.06));
}
.notif-item.unread::before {
    content: ''; position: absolute; left: 0; top: 0; bottom: 0;
    width: 3px; background: #2563eb; border-radius: 0 3px 3px 0;
}

.notif-icon {
    flex-shrink: 0; width: 40px; height: 40px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center; font-size: 16px;
}
.notif-icon.replied { background: linear-gradient(135deg,#dbeafe,#bfdbfe); color: #2563eb; }
.notif-icon.read-icon { background: linear-gradient(135deg,#d1fae5,#a7f3d0); color: #059669; }

.notif-content { flex: 1; min-width: 0; }
.notif-top-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.notif-course { font-size: 13px; font-weight: 700; color: #1e293b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.notif-time { font-size: 11px; color: #94a3b8; white-space: nowrap; }

.notif-status-tag {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 4px;
    text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 6px;
}
.notif-status-tag.new { background: #dbeafe; color: #2563eb; }
.notif-status-tag.okundu { background: #f1f5f9; color: #64748b; }

.notif-message {
    font-size: 12px; color: #64748b; line-height: 1.5; margin-bottom: 5px;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.notif-message strong { color: #475569; }

.notif-reply {
    font-size: 12px; color: #334155; line-height: 1.5;
    padding: 6px 10px; background: #f8fafc; border-radius: 8px;
    border-left: 2px solid #2563eb;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.notif-reply strong { color: #2563eb; font-weight: 600; }

.notif-item.read .notif-course { color: #64748b; font-weight: 600; }
.notif-item.read .notif-reply { border-left-color: #cbd5e1; }

.notif-footer {
    padding: 12px 20px; text-align: center;
    border-top: 1px solid #f1f5f9; background: #f8fafc;
}
.notif-footer a {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 13px; font-weight: 600; color: #2563eb;
    text-decoration: none; padding: 6px 20px; border-radius: 8px;
}
.notif-footer a:hover { background: #dbeafe; }
