.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;
}

.c-form {
    max-width: 500px;
    /* margin-top: 20px !important; */
    margin: 0 auto;
    /* padding: 20px; */
    /* background-color: rgba(168, 168, 168, 0.7); */
    border-radius: 10px;
    box-sizing: border-box; /* Додаємо цю властивість */
}

.c-form div {
    margin-bottom: 1px;
    overflow: hidden; /* Додаємо цю властивість для контролю переповнення */
}

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

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

.c-form button {
    width: 100%;
    padding: 10px;
    background-color: #ffe000;
    border: none;
    border-radius: 5px;
    color: #000;
    font-size: 16px;
    cursor: pointer;
}

.c-form button:hover {
    background-color: #bda700;
}

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

input.is-valid {
    border-color: green;
    background-image: url('../images/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('../images/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;
}

.c-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; */
    }
