/* =========================
CUSTOM TOAST
========================= */
.toast-container {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.custom-toast {
    min-width: 320px;
    max-width: 420px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
    padding: 14px 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    opacity: 0;
    transform: translateY(-8px) translateX(8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: auto;
}

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

.custom-toast.success {
    border-left: 4px solid var(--color-success);
}

.custom-toast.error {
    border-left: 4px solid var(--color-error);
}

.custom-toast.info {
    border-left: 4px solid var(--color-info);
}

.custom-toast__icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 2px;
}

.custom-toast.success .custom-toast__icon {
    color: var(--color-success);
}

.custom-toast.error .custom-toast__icon {
    color: var(--color-error);
}

.custom-toast.info .custom-toast__icon {
    color: var(--color-info);
}

.custom-toast__content {
    flex: 1;
    min-width: 0;
}

.custom-toast__title {
    margin: 0 0 4px;
    font-size: 14px;
    font-weight: 600;
    color: #111827;
}

.custom-toast.success .custom-toast__title {
    color: var(--color-success);
}

.custom-toast.error .custom-toast__title {
    color: var(--color-error);
}

.custom-toast.info .custom-toast__title {
    color: var(--color-info);
}

.custom-toast__message {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: var(--color-text-secondary);
}

.custom-toast.success .custom-toast__message {
    color: var(--color-success);
}

.custom-toast.error .custom-toast__message {
    color: var(--color-error);
}

.custom-toast.info .custom-toast__message {
    color: var(--color-info);
}

.custom-toast__close {
    border: 0;
    background: transparent;
    color: var(--color-text-secondary);
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    padding: 0;
    margin-left: 6px;
}

.custom-toast__close:hover {
    color: var(--color-primary-dark);
}
