body {
    padding-top: 40px; /* This will push down the entire page content by the height of the progress bar */
}

#progressBarContainer {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 40px;
    background-color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    z-index: 1001;
    overflow: hidden;
}

#progressBarContainer span {
    position: relative;
    z-index: 2; /* Above the pseudo-element */
    white-space: nowrap; /* Keeps the text on one line */
    min-width: 300px; /* Adjust as needed to prevent text wrapping */
}

/* Define a default value for --progress-duration */
:root {
    --progress-duration: 30s;
}

#progressBar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background-color: #d40225;
    transition: width var(--progress-duration) ease-in-out;
    z-index: -2;
}

#progressBarContainer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: #d40225;
    transition: width var(--progress-duration) ease-in-out;
    z-index: -1;
}

#proceedButton {
    display: block; /* Block level makes it easier to center */
    margin: 20px auto 80px auto; /* Top, right, bottom, left margins */
    padding: 10px 20px;
    background-color: #d40225;
    color: #ffffff;
    border: none;
    cursor: pointer;
}
#progressBarContainer p {
    line-height: 1.2; /* Adjust the value as needed to reduce space */
    margin: 0; /* Remove default margin */
}
