.form-group label.label {
    position: absolute;
    top: -10px;
    left: 25px;
    line-height: 1.33;
    letter-spacing: 0.4px;
    color: #fff;
    height: 20px;
    /*background-color: #1f2128;*/
    background-color: #2b70fa;
    font-size: 12px;
    text-align: center;
    min-width: 50px;
    border-radius: 5px;
    z-index: 10;
    display: inline;
    padding: .2em 1em .3em;
    white-space: nowrap;
    vertical-align: baseline;
    font-weight: normal;
    border: 0px solid #2b70fa;
    transition: background-color .2s ease-in-out;
}

.form-group.checkbox {
    display: flex;
    font-size: 14px;
    margin-bottom: .25rem;
}

.form-group.checkbox label.checkbox-label {
    position: relative;
    line-height: 1.33;
    letter-spacing: 0.4px;
    color: #fff;
    z-index: 10;
    display: inline;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    margin-left: 10px;
}

.form-group.checkbox input[type="checkbox"] {
    -webkit-appearance: none;
    appearance: none;
    background-color: #1f2128;
    margin: 0;
    color: #2b70fa;
    width: 1.25em;
    height: 1.25em;
    border-radius: 3px;
    display: grid;
    place-content: center;
    margin-left: 2px;
}

.form-group.checkbox input[type="checkbox"]::before {
    content: "";
    width: 0.65em;
    height: 0.65em;
    transform: scale(0);
    transition: 120ms transform ease-in-out;
    box-shadow: inset 1em 1em #2b70fa;
    transform-origin: bottom left;
    clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0, 43% 62%);
}

.form-group.checkbox input[type="checkbox"]:checked::before {
    transform: scale(1);
}

.form-group.checkbox input[type="checkbox"]:focus {
    outline: none;
}

.form-group input[type="text"] {
    background-color: #1f2128;
    color: #fff;
    height: 60px;
    font-size: 15px;
    margin-bottom: 20px;
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    display: block;
    width: 100%;
    padding: 10px 20px;
    line-height: 1.43;
    background-image: none;
    border-radius: 6px;
    -webkit-box-shadow: inset 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 1px 1px rgba(0, 0, 0, 0.075);
    border: 2px solid #292e3c;
    transition: border-color .2s ease-in-out;
}

.form-group input[type="text"]:focus {
    border: 2px solid #2b70fa;
}

.form-group label a {
    font-weight: bold;
}

.form-group.error:not(.checkbox) label {
    background-color: #ff3f3f !important;
}

.form-group.error:not(.checkbox) input {
    border-color: #ff3f3f !important;
}

.form-group.error.checkbox label {
    color: #ff3f3f !important;
}

.form-group.error.checkbox input {
    background-color: #ff3f3f !important;
}

.form-group.error.checkbox input[type="checkbox"]::before {
    box-shadow: inset 1em 1em #fff !important;
}

.submit-btn {
    min-width: 200px;
}

#Errors > * {
    background-color: #ff3f3f;
    color: #fff;
    text-align: center;
    padding: 5px 20px;
    border-radius: 6px;
    width: -moz-fit-content;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

#Errors *:not(:last-child) {
    margin-bottom: 5px;
}

#Errors .close-btn {
    background: none;
    border: none;
    color: #fff;
    font-weight: bold;
}