/* ===== Notification Bell & Dropdown ===== */
.notification-bell {
    position: relative;
    cursor: pointer;
}

.notification-bell .badge-count {
    position: absolute;
    top: -4px;
    right: -4px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    line-height: 1;
    box-shadow: 0 2px 6px rgba(231, 76, 60, 0.4);
    animation: badgePulse 2s infinite;
    z-index: 2;
}

@keyframes badgePulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
    }
}

.notification-bell .badge-count:empty,
.notification-bell .badge-count[data-count="0"] {
    display: none;
}

/* Dropdown Container */
.notification-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    width: 360px;
    max-height: 480px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(191, 148, 86, 0.08);
    z-index: 99999;
    display: none;
    overflow: hidden;
    border: 1px solid rgba(191, 148, 86, 0.12);
}

[dir="rtl"] .notification-dropdown {
    left: auto;
    right: 50%;
    transform: translateX(50%);
}

.notification-dropdown.show {
    display: block;
    animation: dropdownSlide 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes dropdownSlide {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

[dir="rtl"] @keyframes dropdownSlide {
    from {
        opacity: 0;
        transform: translateX(50%) translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateX(50%) translateY(0);
    }
}

/* Dropdown Header */
.notification-dropdown .nd-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px 12px;
    border-bottom: 1px solid #f0ebe3;
}

.notification-dropdown .nd-header h6 {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: #1a1a2e;
}

.notification-dropdown .nd-header .nd-mark-read {
    font-size: 12px;
    color: #BF9456;
    cursor: pointer;
    border: none;
    background: none;
    padding: 4px 8px;
    border-radius: 6px;
    transition: all 0.2s;
    font-weight: 600;
}

.notification-dropdown .nd-header .nd-mark-read:hover {
    background: rgba(191, 148, 86, 0.08);
}

/* Notification List */
.notification-dropdown .nd-list {
    max-height: 340px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #e0d5c5 transparent;
}

.notification-dropdown .nd-list::-webkit-scrollbar {
    width: 4px;
}

.notification-dropdown .nd-list::-webkit-scrollbar-thumb {
    background: #e0d5c5;
    border-radius: 4px;
}

/* Notification Item */
/* Notification Item */
.notification-dropdown .nd-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 18px;
    cursor: pointer;
    transition: background 0.2s;
    text-decoration: none;
    color: #1a1a2e !important;
    border-bottom: 1px solid #f8f5f0;
    position: relative;
    text-align: start;
}

.notification-dropdown .nd-item:hover {
    background: #faf7f2;
    color: #1a1a2e !important;
}

.notification-dropdown .nd-item.unread {
    background: rgba(191, 148, 86, 0.04);
}

.notification-dropdown .nd-item.unread::before {
    content: '';
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #BF9456;
}

[dir="rtl"] .notification-dropdown .nd-item.unread::before {
    right: auto;
    left: 12px;
}

/* Icon */
.notification-dropdown .nd-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 18px;
}

.nd-icon.nd-icon-booking {
    background: linear-gradient(135deg, #e8f4fd, #d0e8f7);
    color: #2980b9;
}

.nd-icon.nd-icon-wallet {
    background: linear-gradient(135deg, #e8fdf0, #d0f7e0);
    color: #27ae60;
}

.nd-icon.nd-icon-loyalty {
    background: linear-gradient(135deg, #fdf8e8, #f7eed0);
    color: #f39c12;
}

.nd-icon.nd-icon-gift {
    background: linear-gradient(135deg, #fde8f4, #f7d0e8);
    color: #e74c3c;
}

.nd-icon.nd-icon-package {
    background: linear-gradient(135deg, #f0e8fd, #e0d0f7);
    color: #8e44ad;
}

.nd-icon.nd-icon-coupon {
    background: linear-gradient(135deg, #e8fdfa, #d0f7f0);
    color: #16a085;
}

.nd-icon.nd-icon-welcome {
    background: linear-gradient(135deg, #fdf3e8, #f7e4d0);
    color: #BF9456;
}

.nd-icon.nd-icon-default {
    background: linear-gradient(135deg, #f0f0f0, #e5e5e5);
    color: #666;
}

/* Content */
.notification-dropdown .nd-content {
    flex: 1;
    min-width: 0;
    padding-left: 0;
    text-align: start;
}

[dir="rtl"] .notification-dropdown .nd-content {
    padding-right: 0;
    text-align: right;
}

.notification-dropdown .nd-title {
    font-size: 13px;
    font-weight: 700;
    color: #1a1a2e !important;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.notification-dropdown .nd-message {
    font-size: 12px;
    color: #555555 !important;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 4px;
}

.notification-dropdown .nd-time {
    font-size: 11px;
    color: #888888 !important;
}

/* Empty State */
.notification-dropdown .nd-empty {
    text-align: center;
    padding: 40px 20px;
    color: #999;
}

.notification-dropdown .nd-empty svg {
    width: 48px;
    height: 48px;
    color: #ddd;
    margin-bottom: 12px;
}

.notification-dropdown .nd-empty p {
    font-size: 13px;
    margin: 0;
}

/* Footer */
.notification-dropdown .nd-footer {
    padding: 12px 18px;
    text-align: center;
    border-top: 1px solid #f0ebe3;
}

.notification-dropdown .nd-footer a {
    font-size: 13px;
    color: #BF9456;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.notification-dropdown .nd-footer a:hover {
    color: #a07d3f;
}

/* Responsive */
@media (max-width: 768px) {
    .notification-dropdown {
        width: calc(100vw - 24px);
        left: 50%;
        transform: translateX(-50%);
        max-height: 70vh;
    }

    [dir="rtl"] .notification-dropdown {
        right: 50%;
        transform: translateX(50%);
    }
}

/* ===== Notifications Page ===== */
.notifications-page {
    max-width: 720px;
    margin: 30px auto;
    padding: 0 16px;
}

.notifications-page .np-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.notifications-page .np-header h4 {
    margin: 0;
    font-weight: 700;
    color: #1a1a2e;
}

.notifications-page .np-mark-all {
    font-size: 13px;
    color: #BF9456;
    cursor: pointer;
    border: 1px solid #BF9456;
    background: none;
    padding: 6px 16px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.2s;
}

.notifications-page .np-mark-all:hover {
    background: #BF9456;
    color: #fff;
}

.notifications-page .np-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.notifications-page .np-tab {
    padding: 8px 20px;
    border-radius: 20px;
    border: 1px solid #e5e5e5;
    background: #fff;
    color: #666;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.notifications-page .np-tab.active {
    background: #BF9456;
    color: #fff;
    border-color: #BF9456;
}

.notifications-page .np-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.notifications-page .np-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 20px;
    background: #fff;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.25s;
    text-decoration: none;
    color: inherit;
    border: 1px solid #f0ebe3;
    position: relative;
}

.notifications-page .np-item:hover {
    box-shadow: 0 4px 16px rgba(191, 148, 86, 0.1);
    transform: translateY(-1px);
}

.notifications-page .np-item.unread {
    background: rgba(191, 148, 86, 0.03);
    border-color: rgba(191, 148, 86, 0.15);
}

.notifications-page .np-item.unread::after {
    content: '';
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #BF9456;
}

[dir="rtl"] .notifications-page .np-item.unread::after {
    right: auto;
    left: 16px;
}

.notifications-page .np-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 22px;
}

.notifications-page .np-content {
    flex: 1;
    min-width: 0;
}

.notifications-page .np-title {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 4px;
}

.notifications-page .np-message {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 6px;
}

.notifications-page .np-time {
    font-size: 12px;
    color: #aaa;
}

.notifications-page .np-empty {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.notifications-page .np-empty svg {
    width: 64px;
    height: 64px;
    color: #ddd;
    margin-bottom: 16px;
}

.notifications-page .np-load-more {
    display: block;
    margin: 24px auto;
    padding: 10px 32px;
    background: #fff;
    border: 1px solid #BF9456;
    color: #BF9456;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.notifications-page .np-load-more:hover {
    background: #BF9456;
    color: #fff;
}