/**
 * Luxe Glow Salon & Spa - Real-time Push Notification Styling
 */

/* Notification Bell Trigger & Live Badge Counter ("Number of Notifaction in Page") */
.luxe-notif-wrapper {
    position: relative;
    display: inline-block;
}

.luxe-notif-btn {
    position: relative;
    background: transparent;
    border: 1px solid rgba(197, 155, 39, 0.35);
    color: #c59b27;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    transition: all 0.25s ease;
    cursor: pointer;
    text-decoration: none;
}

.luxe-notif-btn:hover, .luxe-notif-btn:focus {
    background: rgba(197, 155, 39, 0.12);
    border-color: #c59b27;
    color: #c59b27;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(197, 155, 39, 0.2);
}

.luxe-notif-badge {
    position: absolute;
    top: -5px;
    right: -6px;
    background: linear-gradient(135deg, #e53935, #c62828);
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 6px rgba(229, 57, 53, 0.45);
    letter-spacing: -0.2px;
}

.admin-topbar .luxe-notif-badge {
    border-color: #ffffff;
}

/* Badge Pulse Animation on new push */
.luxe-badge-pulse {
    animation: luxeBadgeBounce 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes luxeBadgeBounce {
    0% { transform: scale(0.6); opacity: 0.4; }
    50% { transform: scale(1.35); box-shadow: 0 0 15px rgba(229, 57, 53, 0.8); }
    100% { transform: scale(1); }
}

/* Notification Dropdown Menu */
.luxe-notif-dropdown {
    width: 360px;
    max-width: 90vw;
    border-radius: 14px;
    border: 1px solid #e8ebf0;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12);
    padding: 0;
    overflow: hidden;
    margin-top: 10px !important;
}

.luxe-notif-header {
    padding: 14px 18px;
    background: #fafafc;
    border-bottom: 1px solid #eceef3;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.luxe-notif-header-title {
    font-weight: 700;
    font-size: 0.95rem;
    color: #1a1c23;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.luxe-notif-dropdown-list {
    max-height: 380px;
    overflow-y: auto;
}

.luxe-notif-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid #f1f3f7;
    text-decoration: none;
    color: #333333;
    transition: background 0.2s ease;
    position: relative;
}

.luxe-notif-item:hover {
    background: #f8f9fc;
    color: #111111;
}

.luxe-notif-item.luxe-notif-unread {
    background: #fffcf2;
}

.luxe-notif-item-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 10px;
    background: #f4efe4;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.luxe-notif-item-body {
    flex-grow: 1;
    overflow: hidden;
}

.luxe-notif-item-sender {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #8b7132;
    letter-spacing: 0.4px;
}

.luxe-notif-item-time {
    font-size: 0.72rem;
    color: #8c93a0;
}

.luxe-notif-item-title {
    font-size: 0.86rem;
    font-weight: 600;
    color: #1a1c23;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.luxe-notif-item-desc {
    font-size: 0.78rem;
    color: #636b79;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.luxe-unread-dot {
    width: 8px;
    height: 8px;
    min-width: 8px;
    border-radius: 50%;
    background: #c59b27;
    margin-top: 6px;
}

.luxe-notif-footer {
    padding: 10px 16px;
    background: #fafafc;
    border-top: 1px solid #eceef3;
    text-align: center;
    font-size: 0.76rem;
}

/* Floating Real-Time Luxury Toast Notification */
.luxe-toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 100000;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
    max-width: 420px;
    width: calc(100% - 48px);
}

.luxe-toast-notification {
    pointer-events: auto;
    background: rgba(18, 19, 22, 0.96);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(197, 155, 39, 0.4);
    border-radius: 14px;
    padding: 16px;
    color: #ffffff;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35), 0 0 20px rgba(197, 155, 39, 0.15);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    animation: luxeToastSlideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.luxe-toast-notification:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.45), 0 0 25px rgba(197, 155, 39, 0.25);
    border-color: #c59b27;
}

.luxe-toast-hide {
    opacity: 0;
    transform: translateX(60px);
}

@keyframes luxeToastSlideIn {
    from {
        opacity: 0;
        transform: translateX(80px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

.luxe-toast-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 10px;
    background: rgba(197, 155, 39, 0.15);
    border: 1px solid rgba(197, 155, 39, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
}

.luxe-toast-sender {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #e5b945;
    letter-spacing: 0.5px;
}

.luxe-toast-time {
    font-size: 0.72rem;
    color: #a0a6b3;
}

.luxe-toast-title {
    font-size: 0.92rem;
    font-weight: 600;
    color: #ffffff;
}

.luxe-toast-msg {
    font-size: 0.82rem;
    color: #c8cdd6;
    line-height: 1.4;
}

@media (max-width: 576px) {
    .luxe-toast-container {
        top: 14px;
        right: 14px;
        left: 14px;
        width: auto;
    }
    .luxe-notif-dropdown {
        width: 320px;
    }
}
