/* FONTS */
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    src: local(''),
    url('../fonts/poppins-v20-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
    url('../fonts/poppins-v20-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 500;
    src: local(''),
    url('../fonts/poppins-v20-latin-500.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
    url('../fonts/poppins-v20-latin-500.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 600;
    src: local(''),
    url('../fonts/poppins-v20-latin-600.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
    url('../fonts/poppins-v20-latin-600.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 700;
    src: local(''),
    url('../fonts/poppins-v20-latin-700.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
    url('../fonts/poppins-v20-latin-700.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
@font-face {
    font-family: 'primeicons';
    font-display: block;
    src: url('../fonts/primeicons.eot');
    src: url('../fonts/primeicons.eot?#iefix') format('embedded-opentype'), url('../fonts/primeicons.ttf') format('truetype'), url('../fonts/primeicons.woff') format('woff'), url('../fonts/primeicons.svg?#primeicons') format('svg');
    font-weight: normal;
    font-style: normal;
}

.pi {
    font-family: 'primeicons';
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    display: inline-block;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.pi:before {
    --webkit-backface-visibility:hidden;
    backface-visibility: hidden;
}

.pi-check:before {
    content: "\e909";
}
.pi-envelope:before {
    content: "\e979";
}
.pi-lock:before {
    content: "\e95f";
}

* {
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html,
body {
    padding: 0;
    margin: 0;
    font-family: 'Poppins', sans-serif;
}

body {
    background: url("../images/background.svg");
}

a {
    text-decoration: none;
}

.app-logo {
    flex: 0 0 100%;
    max-width: 100%;
    margin: 0 0 60px;
}

.app-logo h1 {
    margin: 0;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    color: #fff;
}

.wrapper {
    margin: 0 auto;
    padding: 0 15px;
    min-height: 100vh;
    max-width: 100%;
    display: flex;
    flex-flow: column wrap;
    align-items: center;
    justify-content: center;
}

/* CARD */
.card {
    flex: 0 0 100%;
    max-width: 464px;
    width: 100%;
    padding: 45px;
    background-color: #fff;
    border-radius: 6px;
    box-shadow: 0 0 6px 3px rgba(255,255,255,.1)
}

.card-header {
    margin-bottom: 30px;
}

.card-title {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #212121;
}

.card-text {
    margin: 0;
    font-size: 14px;
    color: #757575;
}

.form-group {
    position: relative;
    margin-bottom: 20px;
}

.form-group-icon > .pi {
    position: absolute;
    top: 16px;
    left: 16px;
    color: #64748b;
}

.form-group-action {
    margin-bottom: 0;
}

.action-link {
    font-size: 14px;
    line-height: 1;
    font-weight: 400;
    color: #757575;
    cursor: pointer;
}

.form-group a:hover {
    color: #6366F1;
}

.form-group-row {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
}

@media(max-width: 460px) {
    .form-group-row {
        flex-flow: column;
    }
    .form-group-left {
        margin-bottom: 20px;
    }
}

.form-group-link-col {
    display: flex;
    align-items: center;
}

.form-group input {
    display: block;
    padding: 14px 18px;
    width: 100%;
    color: #1e293b;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.form-group-icon input {
    padding-left: 42px;
}

.form-group input:focus {
    outline: none;
    border-color: #6366F1;
    box-shadow: 0 0 0 0.2rem #c7d2fe;
}

.form-error-message:not(:empty) {
    display: inline-block;
    margin-top: 2px;
    font-size: 12px;
    color: #dc3545;
}
.form-error-list {
    font-size: 12px;
    color: #dc3545;
}

.form-error-list ul {
    margin: 0;
    padding: 0 0 0 20px;
}

.form-error-list ul li:first-child:not(:empty) {
    margin-top: 20px;
}

.form-group-row.form-group-action {
    margin: 0 -8px;
}

.form-group-row.form-group-action .form-group-left,
.form-group-row.form-group-action .form-group-right {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 8px;
}

.form-group-message {
    margin-top: 20px;
}

.form-group-message span {
    font-size: 14px;
    line-height: 1;
    font-weight: 400;
    color: #757575;
}
.form-group-message a {
    color: #212121;
    font-weight: 500;
}

/* BUTTONS */
.btn {
    display: inline-block;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.btn-primary {
    color: #fff;
    background-color: #6366F1;
    border: 1px solid #6366F1;
}

.btn-primary:hover,
.btn-primary:focus {
    color: #fff;
    background-color: #4F46E5;
    border-color: #4F46E5;
}

.btn-secondary {
    color: #6366F1;
    background-color: transparent;
    border: 1px solid #6366F1;
}

.btn-secondary:hover,
.btn-secondary:focus {
    color: #6366F1;
    background-color: rgba(99, 102, 241, 0.04);
    border-color: #6366F1;
}

.btn-full {
    width: 100%;
    text-align: center;
}

.text-right {
    text-align: right;
}

/* CHECKBOX */
.checkbox {
    display: block;
    position: relative;
    padding-left: 32px;
    cursor: pointer;
    font-size: 14px;
    user-select: none;
    color: #212121;
    font-weight: 500;
}

.checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 0;
    left: 0;
    height: 22px;
    width: 22px;
    border: 2px solid #cbd5e1;
    border-radius: 6px;
    background-color: #FFF;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.checkmark span {
    color: #FFF;
}

.checkbox:hover input ~ .checkmark {
    background-color: #FFF;
}

.checkbox input:checked ~ .checkmark {
    background-color: #6366F1;
    border-color: #6366F1;
    box-shadow: 0 0 0 0.2rem #c7d2fe;
}

/* Message Dialog */
.message-wrapper {
    display: flex;
    align-items: center;
    padding: .5rem;
    background: #ffe7e6;
    border: solid #ff5757;
    border-width: 0 0 0 6px;
    color: #ff5757;
}

.message-icon {
    font-size: 1.5rem;
    margin-right: 0.5rem;
}

.message-wrapper-error {
    color: #ff5757;
}