﻿.input-field {
    position: relative;
    width: 100%;
    margin-bottom: 10px;
}
input[type=password]::-ms-reveal,
input[type=password]::-ms-clear {
    display: none;
}
.input-field input[type=text],
.input-field input[type=password],
.input-field input[type=date],
.input-field input[type=month],
.input-field textarea,
.input-field select {
    font-family: 'Nexa';
    font-weight: 400;
    font-size: 18px;
    color: #1D2758;
    width: 100%;
    border: 1px solid #B8B8B8;
    border-radius: 4px;
    transition: border-color 0.2s ease;
    background-color: #ffffff;
    cursor: text;
    -webkit-appearance: none;
    padding: 19px 14px 9px 14px;
}
#card-element {
    padding: 17px 14px 17px 14px;
    border: 1px solid #B8B8B8;
    border-radius: 4px;
}
.input-field label {
    display: block;
    font-family: 'Nexa';
    font-weight: 400;
    font-size: 18px;
    color: #1D2758;
    transform: translate(16px, 15px);
    position: absolute;
    top: 0;
    transition: all 0.2s ease-out;
    text-align: left;
    cursor: text;
}
.input-field input[type=text]:focus,
.input-field input[type=password]:focus,
.input-field input[type=date]:focus,
.input-field input[type=month]:focus,
.input-field textarea:focus,
.input-field select:focus {
    outline: none;
    border-color: #1B89F9;
}
.input-field input[type=text].hasvalue:not(:focus),
.input-field input[type=password].hasvalue:not(:focus),
.input-field input[type=date].hasvalue:not(:focus),
.input-field input[type=month].hasvalue:not(:focus),
.input-field textarea.hasvalue:not(:focus),
.input-field select.hasvalue:not(:focus) {
    outline: none;
    border-color: #1D2758;
}
.input-field input[type=text]:focus + label,
.input-field input[type=password]:focus + label,
.input-field input[type=date]:focus + label,
.input-field input[type=month]:focus + label,
.input-field select:focus + label,
.input-field input[type=text]:not(:placeholder-shown) + label,
.input-field input[type=password]:not(:placeholder-shown) + label,
.input-field input[type=date]:not(:placeholder-shown) + label,
.input-field input[type=month]:not(:placeholder-shown) + label,
.input-field select:not(:placeholder-shown) + label
.input-field textarea:focus + label,
.input-field textarea:not(:placeholder-shown) + label {
    transform: translate(16px, 5px);
    font-size: 12px;
    color: #9D99AC;
}
.input-field select:focus + label, .input-field select:valid + label {
    transform: translate(16px, 5px);
    font-size: 12px;
    color: #9D99AC;
}
.input-field input[type=text].indoor {
    position: absolute;
    left: 0;
}
input[type=checkbox] {
    position: absolute;
    z-index: -1;
    opacity: 0;
}
.input-field input[type=checkbox] + label {
    display: inline-flex;
    align-items: center;
    user-select: none;
    position: relative;
    transform: none;
    font-family: 'Nexa';
    font-weight: 400;
    font-size: 16px;
    line-height: 19px;
    letter-spacing: -0.015em;
    color: #1D2758;
    cursor: default;
}
.input-field input[type=checkbox]+label::before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    flex-grow: 0;
    margin-right: 0.5em;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 50% 50%;
    border: 1px solid #B8B8B8;
    border-radius: 2px;
}
.input-field input[type=checkbox]:checked+label::before {
    border-color: #0b76ef;
    background-color: #0b76ef;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3e%3c/svg%3e");
}
.input-field-group {
    display: flex;
    gap: 10px;
}
.input-field-group .input-field:nth-child(2) {
    width: 1%;
    min-width: 160px;
}
.field-validation-error {
    color: #e12953;
}
.validation-summary-errors ul {
    list-style: none;
    padding: 0;
    color: #e12953;
}
.margin-bottom-10 {
    margin-bottom: 10px;
}
.margin-bottom-20 {
    margin-bottom: 20px;
}
.red-text {
    color: #ff000c !important;
}
.green-text {
    color: #1ac11f !important;
}
.hidden {
    display: none !important;
}
.display-flex {
    display: flex;
    gap: 30px;
}
.space {
    height: 30px;
}
.flex-center {
    justify-content: center;
}
.popup-suggestion {
    position: absolute;
    background-color: white !important;
    box-shadow: 2px 2px 8px 0px #c7c7c7 !important;
    border: none;
    padding: 0 !important;
    z-index: 1;
    left: 0;
    right: 0;
    max-height: 180px;
    overflow: auto;
}
.popup-suggestion div {
    text-align: left;
    padding: 5px 10px;
    cursor: pointer;
}
.popup-suggestion div:hover {
    background-color: #ECF0F7;
    color: #421CFA;
}

