/* PREMIUM BOUTIQUE TOAST & MODAL SYSTEM */
.toast-container {
    position: fixed !important;
    top: 20px !important;
    right: 20px !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
    z-index: 99999 !important;
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* Align toasts to the right */
    gap: 15px;
    pointer-events: none;
}

.toast {
    min-width: 320px;
    max-width: 450px;
    padding: 18px 25px;
    background: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #2c3e50 !important;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1), 0 5px 15px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    gap: 18px;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    pointer-events: auto;
    border: 1px solid rgba(255,255,255,0.4);
    border-top: 4px solid #8b1221; /* Default brand color */
    position: relative;
    overflow: hidden;
}

.toast::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 100%);
    pointer-events: none;
}

.toast-success { border-top-color: #2e7d32 !important; }
.toast-success i { color: #2e7d32 !important; }

.toast-error { border-top-color: #8b1221 !important; }
.toast-error i { color: #8b1221 !important; }

.toast-delete { border-top-color: #d32f2f !important; }
.toast-delete i { color: #d32f2f !important; }

.toast-warning { border-top-color: #fbc02d !important; }
.toast-warning i { color: #fbc02d !important; }

.toast i { font-size: 26px; }

.toast {
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.toast-fade-out {
    opacity: 0;
    transform: translateX(50px);
}


/* PREMIUM CONFIRM MODAL */
.confirm-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(139, 18, 33, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    font-family: 'Montserrat', sans-serif;
}

.confirm-modal.show {
    display: flex;
}

.confirm-modal-content {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    max-width: 450px;
    width: 90%;
    box-shadow: 0 25px 80px rgba(0,0,0,0.15);
    text-align: center;
    border: 1px solid rgba(139, 18, 33, 0.1);
}


.confirm-modal-content h3 {
    font-weight: 700;
    margin-top: 0;
    color: #333;
    font-size: 24px;
    letter-spacing: 0.5px;
}

.confirm-modal-content p {
    color: #666;
    line-height: 1.7;
    margin: 25px 0 35px;
    font-size: 16px;
}

.confirm-modal-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.confirm-modal-actions button {
    padding: 14px 35px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-ok {
    background: #8b1221;
    color: #fff;
}

.btn-cancel {
    background: #f8f8f8;
    color: #444;
    border: 1px solid #eee !important;
}

@media (max-width: 768px) {
    .toast-container {
        top: 10px !important;
        right: 10px !important;
        gap: 10px;
    }
    .toast {
        min-width: auto;
        width: 280px;
        font-size: 13px;
        padding: 12px 18px;
    }
}

@media (max-width: 480px) {
    .confirm-modal-content {
        padding: 35px 25px;
        width: 95%;
    }
    .confirm-modal-actions {
        flex-direction: column;
        gap: 12px;
    }
    .confirm-modal-actions button {
        width: 100%;
        padding: 16px 20px;
        font-size: 13px;
    }
    .confirm-modal-content h3 {
        font-size: 20px;
    }
    .confirm-modal-content p {
        font-size: 14px;
        margin: 15px 0 25px;
    }
}
