.error {
    color: red;
}

.phone-input-container {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    border-radius: 5px;
}

.country-flag {
    height: 10px;
    color: aliceblue;
    display: flex;
    align-items: center;
    padding: 10px;
    padding-right: 20px;
    border-radius: 4px 0 0 4px;
    margin-bottom: 10px;
}

.country-flag img {
    width: 20px;
    height: auto;
    margin-right: 10px;
}


form label {
    display: block;
    margin-bottom: 5px;
}

form input {
    width: 100%;
    border-radius: 5px;
}

form button {
    width: 100%;
    padding: 10px;
    background-color: #046B37;
    border: none;
    border-radius: 5px;
    color: white;
    font-size: 16px;
    cursor: pointer;
}

form button:hover {
    background-color: #01680d;
}

input {
    border: 2px solid #ccc;
    padding: 10px;
    margin: 5px 0;
    box-sizing: border-box;
}

input.is-valid {
    border-color: green;
    background-image: url('../img/green-check-mark-verified.png');
    background-position: right 10px center;
    background-repeat: no-repeat;
    background-size: 20px 20px;
}

input.is-invalid {
    border-color: red;
    background-image: url('../img/red-check-mark-verifield.png');
    background-position: right 10px center;
    background-repeat: no-repeat;
    background-size: 20px 20px;
}

label.error {
    color: red;
    margin-top: 5px;
    font-size: 12px;
}

.phone-input-container {
    display: flex;
    align-items: center;
    margin: 5px 0;
}

.phone-input-container .phone {
    flex: 1;
    padding-left: 50px;
    border: 1px solid #ccc;
    height: 40px;
    box-sizing: border-box;
}

.iti {
    width: 100%;
}

.iti__flag-container {
    position: absolute;
    left: 10px;
    top: 10px;
}

.iti__selected-flag {
    z-index: 1;
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
}

.form-check {
    margin-top: 15px;
    margin-bottom: 15px;
    display: -webkit-box;
    align-items: center;
}

.form-check-label {
    margin-left: 10px;
    font-size: 14px;
    color: #000;
}

.form-check-input {
    transform: scale(1.2);
    margin-left: 0;
}

form label.error {
    display: block;
    color: red;
    font-size: 12px;
    margin-top: 5px;
    width: 100%;
    box-sizing: border-box; /* Додаємо цю властивість */
}

input {
    border: 2px solid #ccc;
    padding: 10px;
    margin: 5px 0;
    box-sizing: border-box; /* Додаємо цю властивість */
    width: calc(100% - 22px); /* Скоригуємо ширину з урахуванням padding та border */
}

.phone-input-container .phone {
    flex: 1;
    padding-left: 50px;
    border: 1px solid #ccc;
    height: 40px;
    box-sizing: border-box; /* Додаємо цю властивість */
}

.d-none {
    display: none !important; 
    }
    
    .loader {
    width: 100%;
    height: 100% !important;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(2px);
    z-index: 99999999;
    }

    /* .iti--separate-dial-code .iti__selected-flag {
        background-color: rgba(0, 0, 0, 0.0);
        margin-top: -6px;
    } */