

/* Start:/local/components/realweb/authorization/templates/.default/style.css?17500912584363*/
.form-container {
    width: 100%;
    max-width: 700px;
    margin: 30px 20px;
    padding: 20px;
    font-family: Gilroy, sans-serif;
    font-size: 18px !important;
}

.form-group {
    margin-bottom: 30px;
}

input, select {
    width: 100%;
    padding: 10px 0;
    border: none;
    border-bottom: 2px solid #ccc;
    outline: none;
}


.form-group select{
    background: transparent;
    padding:0;
    font-family: Gilroy, sans-serif;
}
.form-group select:invalid {
    color: #939393;
    font-family: Gilroy, sans-serif;
}
span.required, .form-group select option:disabled {
    color: #939393;
    font-family: Gilroy, sans-serif;
}

input:focus, select:focus {
    border-bottom-color: #007bff;
}

.error-border {
    border-bottom-color: #ff0000 !important;
}

.error::placeholder {
    color: #ff0000 !important;
    opacity: 1;
}

.gender-container {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 16px;
}

.radio-group {
    display: flex;
    align-items: center;
    gap: 18px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.custom-radio {
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    border-radius: 50%;
    position: relative;
}

.custom-radio::after {
    content: '';
    width: 12px;
    height: 12px;
    background: #007bff;
    position: absolute;
    top: 2px;
    left: 2px;
    border-radius: 50%;
    display: none;
}

input[type="radio"]:checked + .radio-label .custom-radio {
    border-color: #007bff;
}

input[type="radio"]:checked + .radio-label .custom-radio::after {
    display: block;
}

.required::after {
    content: '*';
    color: red;
    margin-left: 3px;
}

.children-container {
    margin: 20px 0;
}

.child-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    align-items: flex-end;
}

.child-row > div {
    flex: 1;
}
input[type="date"]{
    color:#939393;
}
.add-child {
    background: none;
    border: none;
    color: #939393;
    font-family: Gilroy, sans-serif;
    font-weight: 500;
    cursor: pointer;
    padding: 5px 0;
    margin: 10px 0;
    text-transform: none;
    font-size:18px;

}

.remove-child {
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: #ff4444;
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    cursor: pointer;
    margin-left: 10px;
}

.checkbox-group {
    margin: 20px 0 30px;
    position: relative;
}

.custom-checkbox {
    position: relative;
    padding-left: 35px;
    cursor: pointer;
    display: block;
    line-height: 25px;
    font-size: 16px;
    font-family: Gilroy, sans-serif;
}

.custom-checkbox a {
    font-size: 16px;
    text-transform: none;
    text-decoration: underline;
    font-family: Gilroy, sans-serif;
}

.custom-checkbox input[type="checkbox"] {
    display: none;
}

.checkmark {
    position: absolute;
    left: 0;
    top: 0;
    height: 25px;
    width: 25px;
    border: 2px solid #ccc;
    border-radius: 4px;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 6px;
    top: 1px;
    width: 8px;
    height: 12px;
    border: solid white;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

.custom-checkbox input:checked ~ .checkmark {
    background: #007bff;
    border-color: #007bff;
}

.custom-checkbox input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-error .checkmark {
    border-color: #ff0000;
}

.error-message {
    color: red;
    display: none;
    margin-top: 5px;
    font-size: 14px;
}

@media screen and (max-width: 980px) {
    .form-container {
        margin: 0;
        padding: 10px;
    }

    .form-container button, .form-container input, .form-container optgroup, .form-container select, .form-container textarea {
        font-family: sans-serif;
        font-size: 70%;
        line-height: 1.15;
        margin: 0;
    }


    .child-row {
        display: flex;
        gap: 15px;
        margin-bottom: 15px;
        align-items: flex-start;
        justify-content: space-between;
        flex-wrap: wrap;

    }

    .child-row > .form-group {
        flex: 1;
    }

    .child-row > .form-group:first-child {
        width: 100%;
        flex: auto;
    }

    .child-select {
       margin-top:-50%;
    }
}

/* End */
/* /local/components/realweb/authorization/templates/.default/style.css?17500912584363 */
