html {

}

*
{
    font-family: 'Montserrat', sans-serif;
}


body {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    position: relative;
    background: url("../res/bg.png") no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    overflow-y: auto;

}

/* Normal page flow with room above the logo and below the footer, so the
   page scrolls with even space at both ends */
main {
    flex: 1 0 auto;
    width: 100%;
    margin: 0;
    padding: 48px 16px 32px;
}

#divLogo {
    /* Vector logo, so it stays sharp at any size */
    background: url("../res/logo-mapchat-white.svg") no-repeat center / contain;
    width: 290px;
    height: 89px;
    cursor: pointer;

}

white-text {
    color: white;
}


.input-field input[type=date]:focus + label,
.input-field input[type=text]:focus + label,
.input-field input[type=email]:focus + label,
.input-field input[type=password]:focus + label {
    color: #512da8;
}

.input-field input[type=date]:focus,
.input-field input[type=text]:focus,
.input-field input[type=email]:focus,
.input-field input[type=password]:focus {
    border-bottom: 2px solid #512da8;
    border-bottom: 2px solid #512da8;
    box-shadow: none;
}

#logo {
    cursor: pointer;
}

#logo:hover {
    transform: scale(1.1);
}

a {
    color: #ffc107;
}



.form-container {
    display: inline-block; padding: 32px 48px 0px 48px; border: 1px solid #EEE; border-top: 4px solid #ffc107;
}



/* Same content as the in-app footer, on one centred line under the card */
.footer-login
{
    width: 100%;
    margin-top: 30px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    text-align: center;
}

button #login
{
    font-weight: 900;
   
}

.form-container-custom
{
    width: 30%;
    min-width: 390px;
}

.inputPassword
{
    padding-right: 0px !important;
}

.hideShowPassword-toggle
{
    border: none !important;
    background: none !important;
}

.hideShowPassword-toggle-show
{

}

.hideShowPassword-toggle-hide
{

}

.hideShowPassword-toggle:hover
{
    color: red;
}

#error-msg-name, #error-msg-email, #error-msg-password
{
    float: left;
}

#error-msg-name > label, #error-msg-email > label, #error-msg-password > label
{
    color: red !important;
}

#heading
{
    letter-spacing: 5px;
}

#link-signup-login-bottom{
    font-weight: 900;
    text-transform: uppercase;
    margin-top: 20px;
}

/* Buttons line up with the inputs above them */
.form-actions
{
    padding: 0 0.75rem;
}

.form-actions .btn
{
    width: 100%;
    height: 40px;
    line-height: 40px;
    font-size: 13px;
    letter-spacing: 2px;
    box-shadow: none;
}

/* "Forgot password?" sits under the password field, on the right */
.forgot-link
{
    display: block;
    text-align: right;
    margin-top: -4px;
    font-size: 12px;
    text-decoration: none;
}

.form-options
{
    display: flex;
    align-items: center;
    padding: 0;
    margin-top: -4px;
    font-size: 13px;
}

.form-options span
{
    font-size: 13px;
}

.form-options > *
{
    white-space: nowrap;
}

.forgot-link,
.form-switch a
{
    color: #512da8;
    font-weight: 600;
}

.forgot-link:hover,
.form-switch a:hover
{
    text-decoration: underline;
}

#submitButton
{
    background-color: #512da8 !important;
}

/* Secondary action: same size as the main button, outlined */
.btn-outline,
.btn-outline:hover,
.btn-outline:focus
{
    background-color: transparent;
    color: #512da8;
    border: 1px solid #512da8;
    box-shadow: none;
}

.btn-outline:hover
{
    background-color: rgba(81, 45, 168, 0.06);
}

/* "or" with a line on each side */
.form-divider
{
    display: flex;
    align-items: center;
    margin: -10px 0 14px;
    padding: 0 10px !important;
    color: #9e9e9e;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.form-divider::before,
.form-divider::after
{
    content: "";
    flex: 1;
    border-bottom: 1px solid #ddd;
}

.form-divider span
{
    padding: 0 12px;
}

/* "New here?" on the left, the action on the right, at the bottom of the card */
.form-switch
{
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    text-align: left;
    border-top: 1px solid #e0e0e0;
    width: calc(100% - 1.5rem) !important;
    margin-left: 0.75rem !important;
        padding: 18px 0 20px !important;
    font-size: 13px;
    color: #616161;
}

/* Even vertical rhythm inside the login, sign-up and reset cards */
.form-container-custom form .row
{
    margin-bottom: 0;
}

.form-container-custom .input-field
{
    margin-top: 0.75rem;
    margin-bottom: 0.75rem;
}

.form-container-custom .forgot-link
{
    margin-top: 10px;
}

.form-container-custom form .row.form-options
{
    margin: 4px 0 20px;
}

.form-container-custom form .row.form-actions
{
    margin-top: 8px;
    margin-bottom: 20px;
}

.form-container-custom .form-divider
{
    margin: 0 0 20px;
}

/* Forms inside the card get their spacing from the rows, not their own margin */
.form-container-custom form
{
    margin-bottom: 0;
}

.form-container-custom .form-switch
{
    margin-top: 0 !important;
}
