.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    justify-content: center;
    align-items: center;
}

.loader-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    text-align: center;
}

.cancel-button {
    margin-top: 0px;
    cursor: pointer;
    display: block;
    margin: 0 auto;
    transition: opacity 0.3s ease;
    border-radius: 50px;
}

.cancel-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.cancel-button:hover {
    font-weight: 600;
    background-color: #05446c;
    opacity: 1;
}

.scaled-image {
    width: 60%;
    max-width: 100%;
    height: auto;
}

.loading {
    display: inline-block;
    font-family: monospace;
    font-size: 20px;
    font-weight: bold;
    color: #05446c;
    clip-path: inset(0 3ch 0 0);
    animation: l 1s steps(4) infinite;
}

@keyframes l {
    to {
        clip-path: inset(0 -1ch 0 0)
    }
}

.progress-bar {
    display: flex;
    justify-content: center;
    align-items: center;
}