/* Home Eleven — custom toastr (theme nine style). Load instead of toastr.min.css */

#toast-container {
    position: fixed;
    z-index: 999999;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#toast-container.toast-top-right {
    top: 24px;
    right: 24px;
}

#toast-container > div {
    pointer-events: auto;
    position: relative;
    min-width: 300px;
    max-width: 420px;
    padding: 16px 40px 16px 24px;
    border-radius: 12px;
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    color: #e2e8f0;
    font-size: 0.9rem;
    line-height: 1.5;
    overflow: hidden;
    animation: he11ToastIn 0.35s ease;
    background-image: none !important;
    opacity: 1;
}

#toast-container > div:before {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    content: '';
}

#toast-container > .toast-success {
    border-color: rgba(56, 183, 115, 0.2);
}

#toast-container > .toast-success:before {
    background: #38b773;
}

#toast-container > .toast-error {
    border-color: rgba(239, 68, 68, 0.2);
}

#toast-container > .toast-error:before {
    background: #ef4444;
}

#toast-container > .toast-warning {
    border-color: rgba(245, 158, 11, 0.2);
}

#toast-container > .toast-warning:before {
    background: #f59e0b;
}

#toast-container > .toast-info {
    border-color: rgba(59, 130, 246, 0.2);
}

#toast-container > .toast-info:before {
    background: #3b82f6;
}

#toast-container .toast-title {
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 2px;
    color: #e2e8f0;
}

#toast-container .toast-message {
    font-size: 0.85rem;
    color: #94a3b8;
}

#toast-container .toast-close-button {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    border: none;
    color: rgba(255, 255, 255, 0.35);
    font-size: 1rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: all 0.25s;
    text-shadow: none;
    opacity: 1;
}

#toast-container .toast-close-button:hover {
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.7);
}

#toast-container > div:hover {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    cursor: default;
}

@keyframes he11ToastIn {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (max-width: 480px) {
    #toast-container.toast-top-right {
        top: 16px;
        right: 16px;
        left: 16px;
    }

    #toast-container > div {
        min-width: 0;
        width: 100%;
        max-width: none;
    }
}
