﻿/* ==========================================================
   ProcessVision WebHMI
   One Monokai Theme
   ========================================================== */

html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background: #282C34;
    color: #ABB2BF;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ============================
   Login Card
============================ */

.login-container {
    width: 420px;
    padding: 40px;
    background: #2F343F;
    border: 1px solid #3E4452;
    border-radius: 12px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
}

/* ============================
   Title
============================ */

.company-title {
    text-align: center;
    font-size: 30px;
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: 1px;
}

.system-title {
    text-align: center;
    margin-top: 8px;
    margin-bottom: 35px;
    font-size: 22px;
    color: #98C379;
}

/* ============================
   Form
============================ */

.form-group {
    margin-bottom: 22px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #ABB2BF;
}

input {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    background: #21252B;
    border: 1px solid #3E4452;
    border-radius: 6px;
    color: #FFFFFF;
    font-size: 15px;
    transition: .2s;
}

    input:focus {
        outline: none;
        border-color: #61AFEF;
        box-shadow: 0 0 0 3px rgba(97,175,239,.20);
    }

/* ============================
   Button
============================ */

button {
    width: 100%;
    padding: 13px;
    border: none;
    border-radius: 6px;
    background: #61AFEF;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: .2s;
}

    button:hover {
        background: #4FA3E3;
    }

    button:active {
        transform: scale(.99);
    }

/* ============================
   Footer
============================ */

.version {
    margin-top: 25px;
    text-align: center;
    font-size: 12px;
    color: #7F848E;
}

/* ============================
   Placeholder
============================ */

::placeholder {
    color: #6B7280;
}

/* ============================
   Responsive
============================ */

@media (max-width: 500px) {

    .login-container {
        width: calc(100% - 40px);
        padding: 30px;
    }

    .company-title {
        font-size: 26px;
    }
}

.login-error {
    margin-bottom: 20px;
    padding: 12px;
    background: #3B2227;
    border: 1px solid #E06C75;
    color: #E06C75;
    border-radius: 6px;
    font-size: 14px;
    text-align: center;
}
