/* ========================================
   TOAST NOTIFICATIONS (Luxe)
   ======================================== */
#toast-container {
    visibility: hidden;
    min-width: 300px;
    background-color: #1a1a1a;
    color: #fff;
    text-align: center;
    border-radius: 2px;
    padding: 16px;
    position: fixed;
    z-index: 9999;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.5s, bottom 0.5s;
    letter-spacing: 0.5px;
    border-left: 4px solid #D3AFC0;
}

#toast-container.show {
    visibility: visible;
    opacity: 1;
    bottom: 50px;
}

/* ========================================
   LOADER (Spinner Minimaliste)
   ======================================== */
.loader {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #D3AFC0;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 50px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ========================================
   MODAL PERSONNALISÉE
   ======================================== */
#custom-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

#custom-modal .modal-content {
    background: white;
    padding: 40px;
    border-radius: 4px;
    text-align: center;
    max-width: 400px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#custom-modal h3 {
    font-family: 'Playfair Display', serif;
    margin-top: 0;
    margin-bottom: 20px;
    color: #000;
}

#custom-modal p {
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

#custom-modal .modal-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

#custom-modal button {
    padding: 12px 24px;
    border: none;
    cursor: pointer;
    border-radius: 3px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

#custom-modal .btn-cancel {
    background: #eee;
    color: #333;
}

#custom-modal .btn-cancel:hover {
    background: #ddd;
}

#custom-modal .btn-confirm {
    background: #000;
    color: #fff;
}

#custom-modal .btn-confirm:hover {
    background: #333;
}
