@font-face {
    font-family: 'Material Icons Round';
    font-style: normal;
    font-weight: 400;
    src: url(https://fonts.gstatic.com/s/materialiconsround/v108/LDItaoyNOAY6Uewc665JcIzCKsKc_M9flwmP.woff2) format('woff2');
}

.material-icons {
    font-family: 'Material Icons Round';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
}

.textfield input:-webkit-autofill,
.textfield input:-webkit-autofill:hover,
.textfield input:-webkit-autofill:focus,
.textfield input:-webkit-autofill:active {
    -webkit-background-clip: text;
    /*-webkit-text-fill-color: #ffffff;*/
    transition: background-color 5000s ease-in-out 0s;
    box-shadow: inset 0 0 20px 20px #23232329;
    color: #000;
}

.textfield {
    width: 100%;
    position: relative;
    margin: 16px auto;
    height: 54px;
    background: #fff;
    display: flex;
    flex-wrap: wrap;
}

.textfield.with_help_text {
    margin-bottom: 32px;
}

.textfield * {
    transition: all .26s ease;
}

.textfield input,
.textfield select {
    font-size: 14px;
    width: 100%;
    height: 100%;
    position: absolute;
    border: none !important;
    padding: 1px 44px;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

.textfield select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.textfield .textfield-left {
    width: 36px;
    height: 100%;
    border: 1px solid #adadad;
    border-right: 0;
    border-radius: 6px 0 0 6px;
    position: relative;
}

.textfield .textfield-left .icon,
.textfield .textfield-right .icon {
    height: 100%;
    width: 46px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    color: #adadad;
    position: absolute;
    top: 0;
}

.textfield .textfield-left .icon {
    left: 0;
}

.textfield .textfield-right .icon {
    right: 0;
}

.textfield .textfield-left .icon i,
.textfield .textfield-right .icon i {
    display: flex;
}

.textfield .textfield-center {
    flex: 1;
    height: 100%;
    display: flex;
    padding: 0 8px;
    align-items: center;
    border-top: 1px solid #adadad;
    border-bottom: 1px solid #adadad;
}

.textfield .textfield-center label {
    color: #5c5c5c;
    font-size: 16px;
    font-weight: 400;
    margin: 0;
    white-space: nowrap;
}

.textfield .textfield-right {
    flex: 1;
    max-width: 36px;
    height: 100%;
    border: 1px solid #adadad;
    border-left: 0;
    border-radius: 0 6px 6px 0;
    position: relative;
}

.textfield input:focus ~ .textfield-center,
.textfield select:focus ~ .textfield-center,
.textfield input:not(:placeholder-shown) ~ .textfield-center,
.textfield select:has(option:checked:not([value=""])) ~ .textfield-center {
    flex: unset;
    padding: 0 8px;
    border: 0;
    border-bottom: 2px solid #222;
    position: relative;
    align-items: flex-start;
}

.textfield input:focus ~ .textfield-center label,
.textfield select:focus ~ .textfield-center label,
.textfield input:not(:placeholder-shown) ~ .textfield-center label,
.textfield select:has(option:checked:not([value=""])) ~ .textfield-center label {
    font-size: 12px;
    transform: translateY(-50%);
    color: #222;
}

.textfield input:not(:placeholder-shown):not(:focus) ~ .textfield-center,
.textfield select:has(option:checked:not([value=""])):not(:focus) ~ .textfield-center {
    border-bottom: 1px solid #adadad;
}

.textfield input:not(:placeholder-shown):not(:focus) ~ .textfield-center label,
.textfield select:has(option:checked:not([value=""])):not(:focus) ~ .textfield-center label {
    font-weight: 400;
    color: #5c5c5c;
}

.textfield input ~ .textfield-left,
.textfield input ~ .textfield-center,
.textfield input ~ .textfield-right,
.textfield select ~ .textfield-left,
.textfield select ~ .textfield-center,
.textfield select ~ .textfield-right {
    pointer-events: none;
    z-index: 1;
}

.textfield input ~ .textfield-right .icon {
    pointer-events: initial;
    user-select: none;
}

.textfield input:focus ~ .textfield-left,
.textfield select:focus ~ .textfield-left {
    border: 2px solid #222;
    border-right: 0;
}

.textfield input:focus ~ .textfield-center,
.textfield select:focus ~ .textfield-center {
    border-bottom: 2px solid #222;
}

.textfield input:focus ~ .textfield-right,
.textfield select:focus ~ .textfield-right {
    max-width: 100%;
    border: 2px solid #222;
    border-left: 0;
}

.textfield input:not(:placeholder-shown):not(:focus) ~ .textfield-right,
.textfield select:has(option:checked:not([value=""])):not(:focus) ~ .textfield-right {
    max-width: 100%;
}

.textfield .help_text {
    position: absolute;
    top: 52px;
    font-size: 10px;
}

.textfield-group .help_text {
    position: absolute;
    bottom: -24px;
    font-size: 10px;
}

.textfield-group {
    min-height: 54px;
    width: 100%;
    border-radius: 6px;
    border: 1px solid #adadad;
    position: relative;
    padding: 16px;
    margin: 16px;
}

.textfield-group .textfield-group-title {
    color: #adadad;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    position: absolute;
    top: -14px;
    left: 16px;
    font-size: 12px;
    padding: 0 8px;
    background: #fff;
}

.textfield.checkbox {
    width: 100%;
    position: relative;
    margin: 16px auto;
    min-height: 54px;
    background: transparent;
    display: flex;
    flex-wrap: wrap;
}

.textfield.checkbox input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 0;
    padding: 0;
    border: 0;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    overflow: hidden;
    white-space: nowrap;
}

.textfield.checkbox .checkbox-indicator {
    height: 40px;
    width: 40px;
    padding: 11px;
    border-radius: 50%;
    transition: all .3s ease;
    margin: 8px 4px 8px 0px;
    position: relative;
    float: left;
    cursor: pointer;
}

.textfield.checkbox .checkbox-indicator:before {
    content: "";
    position: absolute;
    height: 18px;
    width: 18px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid #5f6368;
    border-radius: 2px;
    transition: all .3s ease;
}

.textfield.checkbox .checkbox-indicator:after {
    content: "";
    box-sizing: border-box;
    position: absolute;
    left: 14px;
    top: 10px;
    width: 6px;
    height: 10px;
    border-width: 0 2px 2px 0;
    border-style: solid;
    transform-origin: bottom left;
    transform: rotate(45deg);
    color: #fff;
    transition: all .3s ease;
    display: none;
}

.textfield.checkbox input:checked ~ .checkbox-indicator:after{
    display: block;
}

.textfield.checkbox input:checked ~ .checkbox-indicator:before {
    background: #222;
    border-color: #222;
}

.textfield.checkbox .checkbox-indicator:hover {
    background: rgba(0, 0, 0, 0.13);
}

.textfield.checkbox input:checked ~ .checkbox-indicator:hover {
    background: rgba(34, 34, 34, 0.13);
}

.textfield.checkbox .label-text{
    flex: 1;
    font-size: 12px;
    line-height: 1.15;
    padding-top: 11px;
    margin-top: 8px;
    cursor: pointer;
}
