.toast-notification {
    position: fixed;
    padding: 16px 20px;
    border-radius: 8px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    min-width: 160px;
    max-width: 300px;
    text-align: center;
    opacity: 0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.toast-notification.show {
    opacity: 1;
}

.toast-notification.hide {
    opacity: 0;
}

/* 位置設定 */
.toast-notification.center {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.toast-notification.center.show {
    transform: translate(-50%, -50%) scale(1);
}

.toast-notification.center.hide {
    transform: translate(-50%, -50%) scale(0.8);
}

.toast-notification.top-center {
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
}

.toast-notification.top-center.show {
    transform: translateX(-50%) translateY(0);
}

.toast-notification.top-center.hide {
    transform: translateX(-50%) translateY(-20px);
}

.toast-notification.top-right {
    top: 20px;
    right: 20px;
    transform: translateY(-20px);
}

.toast-notification.top-right.show {
    transform: translateY(0);
}

.toast-notification.top-right.hide {
    transform: translateY(-20px);
}

.toast-notification.top-left {
    top: 20px;
    left: 20px;
    transform: translateY(-20px);
}

.toast-notification.top-left.show {
    transform: translateY(0);
}

.toast-notification.top-left.hide {
    transform: translateY(-20px);
}

.toast-notification.bottom-center {
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
}

.toast-notification.bottom-center.show {
    transform: translateX(-50%) translateY(0);
}

.toast-notification.bottom-center.hide {
    transform: translateX(-50%) translateY(20px);
}

.toast-notification.bottom-right {
    bottom: 20px;
    right: 20px;
    transform: translateY(20px);
}

.toast-notification.bottom-right.show {
    transform: translateY(0);
}

.toast-notification.bottom-right.hide {
    transform: translateY(20px);
}

.toast-notification.bottom-left {
    bottom: 20px;
    left: 20px;
    transform: translateY(20px);
}

.toast-notification.bottom-left.show {
    transform: translateY(0);
}

.toast-notification.bottom-left.hide {
    transform: translateY(20px);
}

/* 圖示樣式 */
.toast-icon {
    margin: 0 auto 12px auto;
    font-size: 24px;
    line-height: 1;
}

.toast-icon svg {
    width: 48px;
    height: 48px;
}

/* 訊息樣式 */
.toast-message {
    font-size: 14px;
    line-height: 1.4;
    font-weight: 700;
}