/* Flash 메시지 공통 스타일 */
.alert-message {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%); /* 항상 가운데 고정 */
    max-width: 800px;
    padding: 14px 20px;
    border-radius: 8px;
    font-weight: bold;
    text-align: center;
    animation: fadeIn 0.6s ease-out;
    transition: opacity 0.5s ease-in-out;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 9999;
    white-space: nowrap;
}

/* 성공 메시지 */
.alert-message.success {
    background-color: #e0f8ec;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}

/* 에러 메시지 */
.alert-message.error {
    background-color: #ffe0e0;
    color: #b71c1c;
    border: 1px solid #f28b82;
}

/* 중지 메시지 */
.alert-message.paused {
    background-color: #fff4e5;
    color: #ff9800;
    border: 1px solid #ffb74d;
}


/* 간단한 fadeIn 애니메이션 */
@keyframes fadeIn {
    0% { opacity: 0; transform: translateX(-50%) translateY(-20px); }
    100% { opacity: 1; transform: translateX(-50%) translateY(0); }
}