﻿.wait-message-box {
    display: none; 
    position: relative;
    margin: 15px 0;
    padding: 15px 20px 20px 20px;
    background-color: var(--shadow-warm);
    border-radius: 4px;
    text-align: center;
    overflow: hidden;
}

.wait-message-text {
    color: #8a6d3b;
    font-weight: 500;
    font-size: 15px;
    animation: pulseBlink 2s infinite ease-in-out;
}

.progress-bar-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px; 
    background-color: #e5e5e5; 
}

.progress-bar-line {
    width: 0%; 
    height: 100%;
    background-color: var(--accent);
    transition: width 0.5s linear; 
}

@keyframes pulseBlink {
    0% {
        opacity: 1.0;
    }

    50% {
        opacity: 0.3;
    }

    100% {
        opacity: 1.0;
    }
}

@media screen and (max-width: 480px) {
    .wait-message-box {
        margin: 10px 0; 
        padding: 10px 12px 14px 12px; 
        border-radius: 3px; 
    }

    .wait-message-text {
        font-size: 13px; 
        line-height: 1.3; 
    }

    .progress-bar-container {
        height: 4px; 
    }
}
