@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');

html, body {
    -webkit-font-smoothing: subpixel-antialiased;
    -moz-osx-font-smoothing: grayscale;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px #0E172A inset !important;
    box-shadow: 0 0 0 1000px #0E172A inset !important;
    -webkit-text-fill-color: #94A3B8 !important;
    transition: background-color 9999s ease-in-out 0s;
}

body {
    background-color: #0E172A;
}

.center {
    text-align: center;
}

.registration-form {
    padding-top: 35px;
}

.registration-form * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.registration-form_logo {
    width: 140px;
    height: 33px;
    display: block;
    margin: auto;
}

.registration-form form {
    font-family: 'Montserrat', sans-serif;
    color: #070707;
    width: 100%;
    max-width: 440px;
    margin: 45px auto;
    padding: 35px;
    background-color: #1E293B;
    box-shadow: 0px 2px 8px rgba(29, 27, 32, 0.04);
    border-radius: 12px;
}

.registration-form header {
    margin-bottom: 20px;
}

.registration-form header h2 {
    font-size: 22px;
    font-weight: 400;
    color: #94A3B8;
    margin-bottom: 25px;
}

.title-underline {
    width: 110px;
    height: 2px;
    background-color: #D5E3ED;
    margin: 0 auto 30px;
    border-radius: 2px;
}

.registration-form header p {
    font-size: 12px;
    line-height: 20px;
    color: #94A3B8;
    text-align: justify;
}

.form-group {
    margin-bottom: 6px;
    position: relative;
    padding-bottom: 18px;
}

.form-group label {
    font-size: 14px;
    color: #94A3B8;
    margin-bottom: 7px;
    display: block;
}

.form-group label span {
    color: #A0A3B1;
}

.form-group input {
    width: 100%;
    padding: 14px;
    height: 40px;
    border-radius: 5px;
    font-size: 14px;
    background-color: #0E172A;
    border: 1px solid #333D4E;
    color: #94A3B8;
    font-family: 'Montserrat', sans-serif;
}

.form-group .error-message {
    display: block;
    font-size: 11px;
    color: #FB3640;
    font-family: 'Montserrat', sans-serif;
    margin-top: 6px;
}

.form-group input:focus {
    outline: none;
}

.form-group input::placeholder {
    color: #A6A6A6;
}

.form-group.form-group_error .error-message {
    display: block;
}

.form-group.form-group_error input {
    border-color: #FB3640;
}

.form-btn-group .btn {
    width: 100%;
    height: 40px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    color: #0E172A;
    cursor: pointer;
    margin-top: 14px;
    transition: all 0.3s ease-in-out;
    font-family: 'Montserrat', sans-serif;
    font-weight: 550;
}

.form-btn-group .btn-primary {
    background-color: #17B79B;
    border-color: #17B79B;
    transition: none !important;
}

.form-btn-group .btn-primary:hover {
    background: #25706B !important;
}

.form-btn-group .btn-disabled, .form-btn-group .btn-disabled:disabled {
    background-color: #0E172A;
    font-weight: 500;
}

.form-group_flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    margin-top: 15px;
    color: #94A3B8;
    font-size: 14px;
}

.form-group_check {
    display: flex;
    align-items: center;
}

.form-group_check input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 1px solid #334155;
    background-color: #0E172A;
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    transition: none !important;
    animation: none !important;
}

.form-group_check input[type="checkbox"]:checked {
    background-color: #17B79B;
    border-color: #17B79B;
    transition: none !important;
    animation: none !important;
}

.form-group_check input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 6px;
    width: 4px;
    height: 8px;
    border: solid #0E172A;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    transition: none !important;
    animation: none !important;
}

.form-group_check label {
    margin-left: 8px;
}

.form-group_link {
    color: #25706B;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease-in-out;
}

.form-group_link:hover {
    color: #25706B;

}

.mb-0 {
    margin-bottom: 0;
}

.form-btn-group .btn-primary:hover {
    background: #25706B !important;
    border-color: #25706B !important;
    transition: none !important;
}

.registration-form form {
    animation: fadeInUp 0.45s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.registration-form_logo {
    animation: fadeIn 0.5s ease-out;
}

.form-group input::placeholder {
    opacity: 1;
    transition: opacity 0.15s ease;
}
.form-group input:focus::placeholder {
    opacity: 0.35;
}

.registration-form header p {
    font-weight: 200;
}

label, input {
    font-weight: 400;
}
