.student-phone-field,
.student-phone-popup {
    --phone-font: var(--font-primary), sans-serif;
    --phone-size: 16px;
    --phone-label-size: 14px;
    --phone-height: 50px;
    --phone-radius: 6px;
    --phone-color: var(--color-body);
    --phone-border: var(--color-border);
    --phone-background: var(--color-white, #fff);
    --phone-disabled: #f5f5f8;
    --phone-focus: var(--color-primary);
    --phone-focus-ring: rgba(47, 87, 239, 0.12);
}

.student-phone-field .student-phone-control {
    width: 100%;
    font-family: var(--phone-font);
    font-size: var(--phone-size);
    line-height: 1.5;
    color: var(--phone-color);
}

.student-phone-field > label {
    position: static;
    display: block;
    width: auto;
    margin: 0 0 8px;
    font-family: var(--phone-font);
    font-size: var(--phone-label-size);
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: normal;
    transform: none;
    z-index: auto;
}

.student-phone-field .student-phone-control .student-phone {
    box-sizing: border-box;
    width: 100%;
    height: var(--phone-height);
    margin: 0;
    padding-top: 10px;
    padding-bottom: 10px;
    font-family: inherit;
    font-size: inherit;
    font-weight: 400;
    line-height: 1.5;
    color: var(--phone-color);
    background-color: var(--phone-background);
    border: 1px solid var(--phone-border);
    border-radius: var(--phone-radius);
    box-shadow: none;
}

.student-phone-field .student-phone-control .student-phone:focus {
    outline: none;
    border-color: var(--phone-focus);
    box-shadow: 0 0 0 3px var(--phone-focus-ring);
}

.student-phone-field .student-phone-control .student-phone:disabled {
    background-color: var(--phone-disabled);
    opacity: 1;
}

.student-phone-field .student-phone-control .iti__selected-country {
    margin: 0;
    padding: 0;
    font: inherit;
    color: inherit;
    background: transparent;
    border: 0;
    border-radius: var(--phone-radius) 0 0 var(--phone-radius);
    box-shadow: none;
}

.student-phone-field .student-phone-control .iti__selected-country-primary {
    border-radius: var(--phone-radius) 0 0 var(--phone-radius);
}

.student-phone-popup {
    font-family: var(--phone-font);
    font-size: var(--phone-size);
    line-height: 1.5;
    color: var(--phone-color);
    --iti-country-selector-bg: var(--phone-background);
    --iti-border-color: var(--phone-border);
}

.student-phone-popup .iti__country-selector {
    overflow: hidden;
    border-radius: var(--phone-radius);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.student-phone-popup .iti__search-input {
    box-sizing: border-box;
    width: 100%;
    height: 44px;
    min-height: 44px;
    margin: 0;
    padding: 10px 36px;
    font: inherit;
    letter-spacing: normal;
    color: inherit;
    background: var(--phone-background);
    border: 0;
    border-bottom: 1px solid var(--phone-border);
    border-radius: 0;
    box-shadow: none;
}

.student-phone-popup .iti__country-list {
    margin: 0;
    padding: 4px 0;
}

.student-phone-popup .iti__country {
    margin: 0;
    padding: 10px 12px;
    font: inherit;
}

.student-phone-field .student-phone-error {
    display: block;
    margin-top: 6px;
    font-family: var(--phone-font);
    font-size: var(--phone-label-size);
    font-weight: 400;
    line-height: 1.5;
}

.student-phone-field .student-phone-error:empty {
    display: none;
}

.student-profile-form .form-group {
    margin-bottom: 24px;
}

.student-profile-form .form-group > label {
    position: static;
    display: block;
    width: auto;
    margin: 0 0 8px;
    font-family: var(--font-primary), sans-serif;
    color: var(--color-body);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: normal;
    transform: none;
    z-index: auto;
}

.student-profile-form .form-group > input:not(.student-phone) {
    height: 50px;
    padding: 10px 16px;
    font-family: var(--font-primary), sans-serif;
    font-size: 16px;
    line-height: 1.5;
    border: 1px solid var(--color-border);
    border-radius: 6px;
}