/**
 * Bellissima Beauty Clinic - Notifications Styles
 *
 * @package Bellissima
 * @version 1.0.0
 */

/* ==========================================
   Notifications Container
   ========================================== */
#notifications-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    pointer-events: none;
}

/* ==========================================
   Notification Toast
   ========================================== */
.notification-toast {
    width: 350px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-right: 4px solid var(--gold);
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-4);
    pointer-events: auto;
    cursor: pointer;
    animation: slideInRight 0.4s ease-out, goldGlow 2s ease-in-out infinite;
    transition: all 0.3s ease;
}

.notification-toast:hover {
    transform: translateX(-5px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
}

.notification-toast.fade-out {
    animation: fadeOut 0.4s ease-out forwards;
}

/* ==========================================
   Toast Emoji
   ========================================== */
.toast-emoji {
    font-size: 2.5rem;
    line-height: 1;
    flex-shrink: 0;
}

/* ==========================================
   Toast Body
   ========================================== */
.toast-body {
    flex: 1;
    min-width: 0;
}

.toast-body strong {
    display: block;
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--maroon);
    margin-bottom: var(--space-1);
}

.toast-body p {
    font-size: var(--text-base);
    color: var(--text-primary);
    margin: 0 0 var(--space-1) 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.toast-body small {
    font-size: var(--text-sm);
    color: var(--text-muted);
    direction: ltr;
    display: inline-block;
}

/* ==========================================
   Toast Close Button
   ========================================== */
.toast-close {
    width: 28px;
    height: 28px;
    border: none;
    background: var(--cream);
    color: var(--text-muted);
    border-radius: var(--radius-full);
    font-size: var(--text-lg);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.toast-close:hover {
    background: var(--maroon);
    color: var(--white);
}

/* ==========================================
   Sound Toggle Button
   ========================================== */
.btn-sound-toggle {
    width: 44px;
    height: 44px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    font-size: 1.25rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-sound-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.btn-sound-toggle.sound-off {
    opacity: 0.6;
}

/* ==========================================
   Animations
   ========================================== */
@keyframes slideInRight {
    from {
        transform: translateX(120%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeOut {
    to {
        opacity: 0;
        transform: translateX(50px);
    }
}

@keyframes goldGlow {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }
    50% {
        box-shadow: 0 4px 30px rgba(212, 175, 55, 0.4);
    }
}

/* ==========================================
   Responsive
   ========================================== */
@media (max-width: 480px) {
    #notifications-container {
        right: 10px;
        left: 10px;
    }

    .notification-toast {
        width: 100%;
    }
}
