.ecs-toast-container {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    z-index: 2000;
    width: min(24rem, calc(100vw - 2rem));
    pointer-events: none;
}

.ecs-toast {
    display: none;
    overflow: hidden;
    border: 1px solid rgba(214, 212, 216, 0.86);
    border-left: 6px solid var(--ecs-color-primary);
    border-radius: 1.2rem;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 1rem 3rem rgba(46, 39, 55, 0.15);
    color: var(--ecs-color-text);
    pointer-events: auto;
}

.ecs-toast.show {
    display: block;
}

.ecs-toast-success {
    background-color: rgba(242, 251, 246, 0.97);
    border-left-color: #16a34a;
}

.ecs-toast-error {
    background-color: rgba(255, 245, 248, 0.97);
    border-left-color: #dc2626;
}

.ecs-toast-warning {
    background-color: rgba(255, 248, 241, 0.97);
    border-left-color: #d97706;
}

.ecs-toast-header {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.8rem 1rem 0.25rem;
}

.ecs-toast-header strong {
    flex: 1 1 auto;
    font-size: 1.05rem;
    font-weight: 700;
}

.ecs-toast-icon {
    font-size: 1.45rem;
    color: var(--ecs-color-primary);
}

.ecs-toast-success .ecs-toast-icon {
    color: #16a34a;
}

.ecs-toast-error .ecs-toast-icon {
    color: #dc2626;
}

.ecs-toast-warning .ecs-toast-icon {
    color: #d97706;
}

.ecs-toast-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.8rem;
    height: 1.8rem;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #625e6a;
    font-size: 1.35rem;
    line-height: 1;
}

.ecs-toast-close:hover,
.ecs-toast-close:focus-visible {
    background: rgba(206, 50, 105, 0.08);
    color: var(--ecs-color-primary);
    outline: none;
}

.ecs-toast-body {
    padding: 0.25rem 1rem 1rem 3.1rem;
    color: var(--ecs-color-text);
    font-size: 0.95rem;
    font-weight: 500;
}
