/* ---------- Fonts ---------- */
@font-face {
    font-family: 'Lato';
    src: url('../fonts/Lato.ttf') format('truetype');
    font-weight: 400;
    font-display: swap;
}

button, input { font-family: inherit; }

/* ---------- Html and Body ---------- */

html { height: 100%; }

body {
    display: flex;
    min-height: 100vh;
    margin: 0;
    justify-content: center; align-items: center;
    background: linear-gradient(to bottom right, #01af96, #2939ba) no-repeat fixed;
    font-family: 'Lato', sans-serif;
}

/* ---------- Main Container ---------- */
.container {
    width: 90%; max-width: 1024px;
    margin: 30px auto; padding: 25px;
    background: #fff url("/assets/images/bg-login.png") no-repeat right bottom;
    background-size: auto 100%;
    border-bottom: 7px solid #01af96; border-radius: 15px;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.5);
}

/* ---------- Logo and Headings ---------- */
.logo {
    width: 85%;
    max-width: 350px;
    height: auto;
}

h2 {
    margin: 0 0 15px;
    font-weight: 500;
}

/* ---------- Labels and Inputs ---------- */
.field {
    display: flex;
    width: 100%;
    max-width: 400px;
    margin-bottom: 10px;
    border: 1px solid #007bff;
    border-left: 5px solid #01af96;;
}

.field label {
    min-width: 70px;
    padding: 5px 10px;
    font-size: 16px;
    background-color: #007bff;
    color: #fff;
}

.field input {
    width: 100%;
    border: none;
    padding-left: 10px;
}

/* ---------- Login Button ---------- */
form button {
    width: 200px;
    margin-top: 10px;
    padding: 10px;
    font-size: 16px;
    background-color: #01af96;
    color: #fff;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.5s ease;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.5);
}

form button:hover { background-color: #007bff; }

/* ---------- MOBILE ---------- */
@media (orientation: portrait) and (max-width: 1023px) {
    body { align-items: unset; }
    .container { width: 80%; background-size: 122%; }
}