.modal {
    display: none;
    position: fixed;
    z-index: 1050;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}

.modal-content {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 10px;
    background-color: #fff;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 400px;
}

.modal-content:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 65px;
    background-color: rgb(var(--red));
}

#authModal .modal-content:before {
    height: 85px;
}

.modal-header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 10px;
    margin-bottom: 30px;
}

.modal__heading {
    color: #ffffff;
    z-index: 1101;
}


.modal__close {
    color: #ffffff;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1101;
    -webkit-transition: color 0.2s ease-in-out;
    -o-transition: color 0.2s ease-in-out;
    transition: color 0.2s ease-in-out;
}

.modal__close:hover {
    color: rgb(var(--grey));
    -webkit-transition: color 0.2s ease-in-out;
    -o-transition: color 0.2s ease-in-out;
    transition: color 0.2s ease-in-out;
}



.form-group {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    gap: 5px;
}

.form-control {
    width: 100%;
    padding: 7px;
    font-size: 16px;
    border: 1px solid #ccc;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
}

.modal__input--bid {
    font-size: 16px;
    width: 50%;
    min-width: 78px;
    border: 1px solid rgb(var(--grey));
}

.input-icon {
    position: absolute;
    right: 10px;
    top: 10px;
    cursor: pointer;
    font-size: 18px;
}

.input-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    width: 50%;
}

.input-wrapper input[type="number"] {
    width: 80px;
    padding: 10px;
    font-size: 18px;
    text-align: center;
    border: 1px solid #ccc;
}

.input-wrapper .currency-symbol {
    font-size: 18px;
    margin-left: 5px;
}



.modal__select {
    padding: 7px;
    width: 40%;
    min-width: 110px;
    border: 1px solid rgb(var(--grey));
    border-radius: 0;
}



.modal-footer {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    gap: 20px;
    font-size: 12px;
    color: #666;
}

.modal-footer a {
    color: #007bff;
    text-decoration: none;
}

.modal-footer a:hover {
    text-decoration: underline;
}

.modal-content .red-button {
    -ms-flex-item-align: center;
        -ms-grid-row-align: center;
        align-self: center;
}


.code-boxes {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    gap: 10px;
}

.code-box {
    width: 40px;
    height: 40px;
    font-size: 20px;
    text-align: center;
    border: 1px solid #ccc;
    border-radius: 3px;
}
.code-box:focus {
    border-color: rgb(var(--blue));
    outline: none;
    background-color: rgb(var(--light-grey));
}


#emailInput {
    display: block;
}

#codeInput {
    display: none;
}

.back-arrow {
    color: #ffffff;
    font-size: 30px;
}

.back-arrow:hover {
    color: rgb(var(--grey));
}

.message-auth-error {
    padding: 10px;
    font-size: 11px;
    margin-bottom: 10px;
    border-radius: 5px;
    color: red;
}