.modal-container {
    background-color: #6104b5;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    position: relative;
}

.modal-header {
    font-size: 30px;
    color: #fff;
    margin-bottom: 20px;
    font-family: Squad, sans-serif;
    font-weight: 700;
}

.modal p {
    margin: 0;
}

.highlight {
    color: #7bf98e;
}

.modal-input {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 5px;
    outline: none;
    color: #382274 !important;
    font-family: Squad, sans-serif;
    font-weight: 700;
    font-size: 24px;
}

.modal-input::placeholder {
    color: gray;
}

.link-bold {
    font-family: Squad, sans-serif;
    font-weight: 700;
}

.modal-button img {
    margin-right: 10px;
}

.modal-text {
    color: #fff;
    font-size: 12px;
    margin-top: 20px;
    font-weight: 600;
}

#modal-text-error {
    color: red;
    font-size: 14px;
    margin-top: 15px;
    display: none;
    font-weight: 700;
    margin-bottom: 10px;
}

.modal-link {
    color: #f6ca45 !important;
    text-decoration: none;
}

.close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 20px;
    color: #fff;
    cursor: pointer;
}

.modal {
    transition: opacity 0.5s ease;
    position: fixed;
    display: none;
    top: 0;
    left: 0;
    transition: all 0.5s ease;
    height: -moz-fit-content;
    height: fit-content;
    right: 0;
    max-height: 600px;
    overflow: auto;
    transition: margin-top 0.3s ease, height 0.3s ease;
    transform: translateZ(0);
    padding: 70px 24px;
    border-radius: 6px;
    max-width: 600px;
    z-index: 1000000000;
    font-family: Squad, sans-serif;

    justify-content: center;
    align-items: center;
    max-width: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    height: 100dvh;
    width: 100dvw;
    max-height: 100dvh;
}

.modal-container {
    max-width: 600px;
}

.modal.show {
    display: flex;
}

#overlay.active,
.modal.active {
    display: block;
    animation: fadeIn 0.5s ease forwards;
}

.overlay {
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 30;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.overlay {
    opacity: 0;
    transition: opacity 0.2s;
}

.overlay {
    opacity: 0;
    transition: opacity 0.2s;
}

.overlay-visible {
    opacity: 1;
}

#overlay.hiding,
.modal.hiding {
    animation: fadeOut 0.5s ease forwards;
}

.close-modal {
    transition: all 0.2s ease-in-out;
    cursor: pointer;
}

.close-modal:hover {
    transform: scale(0.95);
}

.close-modal:active {
    transform: scale(0.65);
}

.modal-hidden {
    display: none;
    opacity: 0;
    transform: scale(0.9);
}

.modal-visible {
    opacity: 1;
    display: block;
    transform: scale(1);
}