﻿@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700");

body {
    font-family: "Roboto", sans-serif;
}

.container {
    width: 100%;
    margin: 0 auto 90px auto;
}

@media screen and (min-width: 560px) {
    .container {
        width: 400px;
        max-width: 400px;
        margin: 0 auto;
    }
}

.brand {
    border: 4px solid #21365f;
    border-radius: 16px;
    background-color: white;
    height: 160px;
    width: 160px;
    margin: 56px auto 32px auto;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.brand-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.nav-tabs {
    margin-bottom: 32px;
    border: 0;
    display: flex;
    justify-content: space-between;
}

.nav-tabs .nav-item {
    width: 49%;
}

.nav-tabs .nav-item .nav-link {
    border: 0;
    border-bottom: solid 1px #b5b7c4;
    text-transform: uppercase;
    font-size: 12px;
    line-height: 16px;
    color: #2d2d29;
    padding: 8px 24px;
    text-align: center;
    transition: 0.3s;
    font-weight: 500;
}

.nav-tabs .nav-link.active {
    border-bottom: 2px solid #387082;
}

.btn-primary {
    background-color: #367982;
    border-color: #367982;
    font-size: 14px;
    padding: 6px 16px;
    font-weight: 500;
    transition: 0.3s;
}

.btn-primary:hover {
    background-color: rgb(44, 87, 102);
    border-color: rgb(44, 87, 102);
}

.btn-primary:active,
.btn-active:focus {
    background-color: #297798;
    border-color: #297798;
}

.btn-text {
    font-weight: 500;
    color: #387082;
    padding: 6px 16px;
    font-size: 14px;
    border-radius: 4px;
    transition: 0.3s;
    border: 0;
    display: inline-block;
}

.btn-text:hover {
    color: #4396a1;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
    text-decoration: none;
}

.btn-text:active,
.btn-text:focus {
    color: #297798;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar {
    background: linear-gradient(16.72deg, rgba(67, 150, 161, 0) 14.82%, #387082 85.18%), #2e5c6b;
    display: flex;
    justify-content: center;
    padding: 16px;
}

.navbar h1 {
    font-size: 24px;
    line-height: 32px;
    text-transform: uppercase;
    margin: 0;
    color: white;
}

.form-label {
    color: #636870;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
}

input,
textarea {
    border: 1px solid #d7dfe9;
    border-radius: 2px !important;
}

.form-control::placeholder {
    color: #b2b6bb !important;
}

.has-error {
    background-color: rgba(255, 11, 55, 0.05);
    border-color: #ff0b37;
}

.error-msg {
    display: none;
}

.has-error + .error-msg,
.has-error ~ small {
    display: block;
    color: #ff0b37 !important;
}

.field-icon {
    float: right;
    width: 28px;
    height: 28px;
    margin-right: 7px;
    margin-top: -32px;
    position: relative;
    z-index: 2;
}

.eye {
    background-image: url("/images/eye.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    cursor: pointer;
}

.eye.closed {
    background-image: url("/images/hide.svg");
}

.mobile-affix-bottom {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: white;
    z-index: 10;
    padding: 16px;
}

.mobile-affix-bottom::before {
    content: "";
    position: absolute;
    top: -40px;
    left: 0;
    height: 40px;
    width: 100%;
    background: linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
    pointer-events: none;
}

@media screen and (min-width: 768px) {
    .mobile-affix-bottom {
        border-radius: 8px;
        width: 400px;
        left: 50%;
        bottom: 10%;
        transform: translateX(-50%);
    }
}

.validation-summary-errors {
    margin: 24px 0 32px 0;
}

.validation-summary-errors ul {
    list-style-type: none;
    padding: 0;
    text-align: center;
}

.validation-summary-errors li {
    position: relative;
    display: inline-block;
}

.validation-summary-errors li::before {
    content: "";
    background: url("/images/error.svg");
    background-repeat: no-repeat;
    width: 16px;
    height: 16px;
    position: absolute;
    left: -24px;
    top: 3px;
}

.text-danger {
    color: #ff0b37 !important;
}

.btn-facebook,
.btn-google {
    border: 0;
    border-radius: 4px;
    display: block;
    margin: 0 auto;
    padding: 0;
    margin-bottom: 32px;
}

@media screen and (min-width: 768px) {
    .desktop-wrapper {
        display: flex;
        height: 100%;
        height: 100vh;
        width: 100%;
        justify-content: center;
        align-items: center;
        background: linear-gradient(#2d2d29, #000000);
    }
}

@media screen and (min-width: 768px) {
    .desktop-container {
        width: 400px;
        height: 80% !important;
        overflow: auto;
        height: auto;
        border-radius: 8px;
        background-color: white;
        position: relative;
        border-radius: 8px;
    }

    .desktop-container .container {
        margin-bottom: 90px;
    }
}
