﻿@charset "utf-8";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.message {
    min-height: 50px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    font-size: 1rem;
    background-color: #f4f4f4;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.container {
    background-color: #fff;
    border-radius: 5px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
    width: 350px;
}

form {
    max-width: 400px;
    margin: 10px auto;
    padding: 0.5rem 1rem;
}

    form h1 {
        padding: 5px 0;
        font-size: 1.4rem;
        font-weight: normal;
        text-align: center;
        color: #111;
    }

.field {
    margin-bottom: 0.75rem;
}

label {
    display: inline-block;
    margin-bottom: 5px;
    vertical-align: top;
    width: 100%;
}
/* input, textarea */
input, textarea, select {
    border: solid 1px #ccc;
    border-radius: 3px;
    display: inline-block;
    padding: 0.5rem 0.75rem;
    width: 100%;
    font-family: inherit;
    font-size: 1rem;
}

    input::placeholder {
        color: #c2c2c2;
    }

    input:focus, textarea:focus, select:focus {
        outline: none;
        box-shadow: 0 0 0 2pt rgb(49, 132, 253, 0.5);
    }
/* button */
button {
    background: #0d6efd;
    color: #fff;
    border-radius: 0.25rem;
    font-size: 1rem;
    font-weight: 400;
    border: 1px solid #0d6efd;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    text-align: center;
    padding: 0.375rem 0.75rem;
}

    button:hover {
        background: #0b5ed7;
        border-color: #0a58ca;
        cursor: pointer;
    }

    button:focus {
        outline: none;
        color: #fff;
        background-color: #0b5ed7;
        border-color: #0a58ca;
        box-shadow: 0 0 0 0.25rem rgb(49 132 253 / 50%);
    }
/* Utility classes*/
.full {
    width: 100%;
}

.error {
    color: #dc3545;
}

.success {
    color: #198754
}
/* See password */
i {
    margin-left: -45px;
}

    i::after {
        font-size: 20px;
        cursor: pointer;
    }

input[type='password'] + i::after {
    content: "😎"
}

input[type='text'] + i::after {
    content: "👀"
}
