﻿/* 
    Styling for the login page template that fits in with the look and feel of Riskproof Mobile App.
*/

html {
    height: -webkit-fill-available;
    margin: 0;
}

body {
    min-height: 100vh;
    min-height: -webkit-fill-available;
    margin: 0;
    padding: 0;
    background-color: #221551;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: "Helvetica Neue","Helvetica","Arial","sans-serif";
}

a:link {
    text-decoration: none;
}

.container {
    width: 100%;
    max-width: 480px;
    min-width: 300px;
}

.login-section {
    margin: 0 2em;
}

.login-section .field-container {
    margin: 1.4em 0;
}

.login-section input[type=email],
.login-section input[type=password] {
    font-family: inherit;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding: 1em;
    height: 56px;
    border: none;
    border-radius: 4px;
    width: 100%;
    box-sizing: border-box;
    box-shadow: 0 2px 2px 0px rgba(0,0,0,0.9);
    font-size: 16px;
}

.login-section input::placeholder {
    color: #aaa;
}

.login-section input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(44,204,211,0.3);
}

.login-section button:focus {
    outline: none;
}

.login-section button,
.login-section a.btn {
    box-sizing: border-box;
    display: flex;
    font-family: inherit;
    font-style: normal;
    font-weight: 500;
    color: #221551;
    background-color: #FFB600;
    border: none;
    border-radius: 4px;
    width: 100%;
    font-size: 18px;
    height: 56px;
    line-height: 57px;
    box-shadow: 0 2px 2px 0px rgba(0,0,0,0.3);
    justify-content: center;
    align-items: center;
}

.login-section button:active,
.login-section a.btn:active {
    transform: scale(0.98, 0.98);
}

.login-section button.btn-outline,
.login-section a.btn-outline {
    color: #FFB600;
    background-color: transparent;
    border: 2px solid #FFB600;
    box-shadow: none;
}

.login-section button.btn-secondary-outline,
.login-section a.btn-secondary-outline {
    color: #685BC7;
    background-color: transparent;
    border: 2px solid #685BC7;
    box-shadow: none;
}

.login-section .external-authentication-providers {
    margin-top: 32px;
}

.login-section .external-authentication-item {
    margin-top: 24px;
}

.login-section button:active {
    transform: scale(0.98, 0.98);
}

.login-section .btn-anchor {
    color: #FFB600;
    display: block;
    font-size: 18px;
    text-align: center;
    text-decoration: none;
    line-height: 44px;
    margin: 1em auto 0 auto;
    width: 200px;
}

.error-message {
    padding: 0.6em 1em;
    margin: 1em 1em 2em 1em;
    border-radius: 4px;
    color: #fff;
    background-color: #ef476f;
    line-height: 1.6rem;
    text-align: center;
    box-shadow: 0 0 4px 4px rgba(0,0,0,0.2);
    position: relative;
}

.error-message:after {
    content: '';
    width: 0;
    height: 0;
    border-left: 16px solid transparent;
    border-right: 16px solid transparent;
    border-top: 16px solid #ef476f;
    position: absolute;
    bottom: -16px;
    left: 50%;
    margin-left: -16px;
}

.error-message h3 {
    margin: 5px 0 15px 0;
    font-size: 18px;
}

.error-message p {
    font-size: 14px;
    line-height: 16px;
}

@charset "UTF-8";

[ng\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak],
.ng-cloak, .x-ng-cloak,
.ng-hide {
    display: none !important;
}

ng\:form {
    display: block;
}