/* 공통 Toast fragment */
.toast {
    position: fixed;
    left: 50%;
    bottom: 260px;
    transform: translateX(-50%);
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 8px;
    height: 48px;
    padding: 0 24px;
    border-radius: 400px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.16);
    color: var(--color-white);
    font-weight: 700;
    font-size: 15px;
    line-height: 23px;
    white-space: nowrap;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.toast.is-hidden {
    opacity: 0;
    visibility: hidden;
}

.toast--error {
    background: rgba(237, 21, 21, 0.72);
}

.toast__icon {
    display: inline-flex;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
}

.toast__icon svg {
    display: block;
    width: 100%;
    height: 100%;
}

@media (max-width: 768px) {
    .toast {
        left: 16px;
        right: 16px;
        transform: none;
        height: auto;
        min-height: 48px;
        padding: 12px 24px;
        justify-content: center;
        text-align: center;
        white-space: normal;
    }
}
