﻿.custom-toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    pointer-events: none;
    gap: 12px;
    max-height: calc(100vh - 40px);
}

.custom-toast {
    background: linear-gradient(135deg, #2b3aff, #1ea4f0);
    color: white;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
    width: 320px;
    font-family: "Hikasami-Regular", sans-serif;
    animation: fadeIn 0.3s ease-out;
    overflow: hidden;
    font-size: 1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: auto !important;
}

    .custom-toast.show {
        opacity: 1;
        transform: translateX(0);
    }

.custom-toast-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    font-weight: 600;
    font-size: 0.85rem;
    background-color: rgba(255, 255, 255, 0.1);
}

.custom-toast-body {
    padding: 12px 16px;
    font-size: 0.85rem;
    line-height: 1.4;
    text-align: left;
}

.close-btn {
    position: relative;
    z-index: 10001;
    background: transparent;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer !important;
    pointer-events: auto !important;
    z-index: 10001 !important;
    transition: opacity 0.2s;
    padding: 8px 12px;
    margin: -8px -12px -8px 0;
}

    .close-btn:hover {
        opacity: 0.7;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

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

.toast-confirm {
    background: linear-gradient(135deg, #2b3aff, #1ea4f0);
}

.custom-toast-footer {
    display: flex;
    justify-content: flex-end;
    padding: 10px 16px;
    gap: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.toast-info {
    background: linear-gradient(135deg, #2b3aff, #1ea4f0);
}

.toast-error {
    background: linear-gradient(135deg, #ff3a3a, #ff6e6e);
}

.toast-success {
    background: linear-gradient(135deg, #28a745, #5cd26a);
}

.toast-warning {
    background: linear-gradient(135deg, #2b3aff, #1ea4f0);
}

.btn-confirm-yes {
    background-color: transparent;
    color: white;
    font-weight: 600;
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    font-size: 0.9rem;
}

    .btn-confirm-yes:hover {
        transform: scale(1.05);
    }

.btn-confirm-no {
    background-color: transparent;
    color: white;
    font-weight: 600;
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    font-size: 0.9rem;
}

    .btn-confirm-no:hover {
        transform: scale(1.05);
    }

.toast-animation-wrapper {
    max-height: 200px;
    transition: max-height 0.3s ease, opacity 0.3s ease, transform 0.3s ease, margin-bottom 0.3s ease;
    overflow: hidden;
    margin-bottom: 12px;
}

    .toast-animation-wrapper.removing {
        max-height: 0 !important;
        opacity: 0;
        transform: translateY(-10px);
        margin-bottom: 0;
    }

.custom-toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    pointer-events: none;
    gap: 0; 
}



