/* Panel kabuğu — notification-drawer.css */

.notification-list {
    flex: 1;
    overflow-y: auto;
    background: transparent;
    padding: 6px 0;
}

.notification-drawer-root .notification-list {
    background: var(--header-strip-bg, #14151a);
}

.notification-empty {
    padding: 32px 16px;
    text-align: center;
    color: #8e8e95;
    background: transparent;
}

.notification-empty p {
    font-size: 14px;
    margin: 0;
    color: #8a8f9e;
    font-weight: 400;
}

/* Notification Footer - Tümünü Gör */
.notification-footer {
    padding: 10px 14px;
    background: #141518;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    text-align: center;
}

.notification-view-all {
    color: #7ec0ff;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: opacity 0.2s;
}

.notification-view-all:hover {
    opacity: 0.8;
}

.notification-view-all i {
    font-size: 12px;
}

.notification-item {
    padding: 10px 12px;
    margin: 0 6px 4px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    position: relative;
    background: transparent;
}

.notification-item:hover {
    background: rgba(255, 255, 255, 0.04);
}

.notification-item.unread {
    background: rgba(61, 158, 255, 0.08);
}

.notification-item.unread:hover {
    background: rgba(61, 158, 255, 0.11);
}

.notification-avatar {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
}

.notification-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.notification-icon {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 16px;
}

.notification-icon.info {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
}

.notification-icon.success {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

.notification-icon.warning {
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
}

.notification-icon.error {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.notification-item.kyc-notification {
    align-items: flex-start;
    padding: 10px 12px;
    margin: 0 6px 6px;
    gap: 10px;
    border-left: 2px solid transparent;
    border-radius: 8px;
}

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

.notification-item.kyc-notification--error {
    border-left-color: #ef4444;
}

.notification-item.kyc-notification--success {
    border-left-color: #22c55e;
}

.notification-brand,
.notification-avatar.admin-avatar {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(155deg, #2a2a2e 0%, #121214 55%, #0a0a0c 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    padding: 5px;
    box-sizing: border-box;
}

.notification-item.kyc-notification .notification-brand {
    width: 30px;
    height: 30px;
    min-width: 30px;
    padding: 4px;
    border-radius: 6px;
    background: #0a0a0a !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: none !important;
}

.notification-item.kyc-notification .notification-brand img {
    width: auto;
    height: auto;
    max-width: 20px;
    max-height: 20px;
    object-fit: contain;
    filter: none;
}

.notification-brand img,
.notification-avatar.admin-avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(1.05);
}

.notification-item.kyc-notification--error .notification-brand {
    border-color: rgba(239, 68, 68, 0.4);
}

.notification-item.kyc-notification--success .notification-brand {
    border-color: rgba(34, 197, 94, 0.4);
}

.notification-system-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #60a5fa;
    margin-bottom: 3px;
}

.notification-item.kyc-notification .notification-system-tag {
    font-size: 8px;
    margin-bottom: 2px;
    gap: 4px;
}

.notification-title--kyc {
    font-size: 12px;
    font-weight: 600;
    color: #f3f4f6;
    line-height: 1.35;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.notification-title--kyc .kyc-ref-no,
.bildirim-title--kyc .kyc-ref-no {
    color: #93c5fd;
    font-weight: 800;
}

.notification-message--kyc {
    font-size: 11px;
    line-height: 1.45;
    color: #9ca3af;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.notification-kyc-cta {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 2px;
    font-size: 11px;
    font-weight: 600;
    color: #6eb6ff;
    pointer-events: none;
}

.notification-kyc-cta i {
    font-size: 9px;
}

.notification-item.kyc-notification .notification-time {
    font-size: 10px;
    color: #6b7280;
    margin-top: 2px;
}

.notification-item.kyc-notification .notification-kyc-ref {
    padding: 2px 7px;
    font-size: 9px;
    margin-bottom: 3px;
}

.notification-kyc-ref {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    margin-bottom: 4px;
    padding: 3px 8px;
    border-radius: 4px;
    background: rgba(79, 124, 255, 0.15);
    font-size: 10px;
}

.notification-kyc-ref strong {
    color: #93c5fd;
}

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

.notification-title--system {
    font-size: 13px;
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 4px;
    line-height: 1.3;
}

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

.notification-message {
    font-size: 12px;
    color: #9ca3af;
    line-height: 1.4;
    margin-bottom: 6px;
}

.notification-time {
    font-size: 11px;
    color: #6b7280;
    font-weight: 400;
}

.unread-dot {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 8px;
    height: 8px;
    background: #4a5fd9;
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(74, 95, 217, 0.2);
}

.notification-footer {
    padding: 12px 18px;
    background: #2a2d3a;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.view-all-btn {
    width: 100%;
    padding: 10px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.view-all-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Çekmece light/dark — notification-drawer.css (header-strip-bg) */

/* Scrollbar */
.notification-list::-webkit-scrollbar {
    width: 5px;
}

.notification-list::-webkit-scrollbar-track {
    background: transparent;
}

.notification-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.notification-list::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* Mobil — notifications-mobile.css */



/* Loading state */
.notification-loading {
    padding: 30px 20px;
    text-align: center;
    color: #8a8f9e;
}

.notification-loading i {
    margin-right: 8px;
}

/* Follow notification icon */
.notification-icon.follow {
    background: rgba(40, 167, 69, 0.2);
    color: #28a745;
}

/* Admin Notification Special Styles */
.notification-item.admin-notification {
    position: relative;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.08) 100%);
    border: 2px solid transparent;
    animation: adminBorderAnimation 3s linear infinite;
}

@keyframes adminBorderAnimation {
    0% {
        border-color: #fbbf24;
        box-shadow: 0 0 10px rgba(251, 191, 36, 0.3);
    }
    33% {
        border-color: #3b82f6;
        box-shadow: 0 0 10px rgba(59, 130, 246, 0.3);
    }
    66% {
        border-color: #a855f7;
        box-shadow: 0 0 10px rgba(168, 85, 247, 0.3);
    }
    100% {
        border-color: #fbbf24;
        box-shadow: 0 0 10px rgba(251, 191, 36, 0.3);
    }
}

.notification-item.admin-notification:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.12) 0%, rgba(118, 75, 162, 0.12) 100%);
}

.notification-item.admin-notification .notification-avatar {
    background: #ffffff;
    padding: 4px;
    border-radius: 4px;
}

.notification-item.admin-notification .notification-avatar img {
    border-radius: 2px;
}

.admin-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Light Mode Admin Notification */
.light-mode .notification-item.admin-notification {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.06) 0%, rgba(118, 75, 162, 0.06) 100%);
}

.light-mode .notification-item.admin-notification:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
}


/* Header Notification Modal Styles */
.notif-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
}

.notif-modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.notif-modal {
    background: rgba(45, 45, 45, 0.95) !important;
    border-radius: 4px !important;
    -webkit-border-radius: 4px !important;
    -moz-border-radius: 4px !important;
    padding: 30px 60px !important;
    text-align: center;
    max-width: 520px;
    width: 95%;
    transform: scale(0.8) translateY(-30px);
    transition: all 0.3s ease;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
}

.notif-modal-overlay.show .notif-modal {
    transform: scale(1) translateY(0);
}

.notif-modal-icon {
    width: 80px !important;
    height: 80px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto 20px !important;
    font-size: 32px !important;
    font-weight: bold !important;
    background: transparent !important;
}

.notif-modal-icon.success {
    border: 4px solid #1ed760 !important;
    color: #1ed760 !important;
}

.notif-modal-icon.error {
    border: 4px solid #ff6b7a !important;
    color: #ff6b7a !important;
}

.notif-modal-icon.confirm {
    border: 4px solid #3b82f6 !important;
    color: #3b82f6 !important;
}

.notif-modal-icon i {
    opacity: 0;
    transform: scale(0);
    animation: notifTickAnimation 0.4s ease-out 0.1s forwards;
}

@keyframes notifTickAnimation {
    0% {
        opacity: 0;
        transform: scale(0);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.notif-modal h3 {
    color: #ffffff;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
}

.notif-modal p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    line-height: 1.4;
    margin-bottom: 25px;
    font-weight: 400;
}

.notif-modal-btn {
    background: #4f7cff !important;
    color: #ffffff !important;
    border: none !important;
    padding: 12px 30px !important;
    border-radius: 4px !important;
    -webkit-border-radius: 4px !important;
    -moz-border-radius: 4px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.notif-modal-btn:hover {
    background: #4169e1 !important;
}

/* Light Mode */
.light-mode .notif-modal {
    background: rgba(255, 255, 255, 0.98) !important;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.light-mode .notif-modal h3 {
    color: #1a1a1a;
}

.light-mode .notif-modal p {
    color: rgba(0, 0, 0, 0.7);
}
