/*
 * CSS fiel ao layout real de webmail.websrvcs.com/wmidentity/Account/Login
 * Fonte: Roboto (Google Fonts)
 * Paleta: background #EAEAEA | header #424242 | botão/link #0C7C84 | card #FFFFFF
 */

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700&display=swap');

/* ─── RESET ─── */
* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

/* ─── BODY ─── */
body {
    font-family: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.42857;
    color: #333333;
    background-color: #FAFAFA;
    margin: 0;
}

/* ─── WRAPPER CENTRALIZADO (tela cheia) ─── */
#content {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: #EAEAEA;
}

/* ─── CABEÇALHO (cinza escuro com título) ─── */
#content-header {
    height: 53px;
    padding: 16px;
    font-size: 24px;
    font-weight: 300;
    line-height: 18px;
    background: #424242;
    color: #FCFCFC;
}

#content-header-logo {
    float: right;
}

#logo {
    width: 130px;
    height: 26px;
}

#content-header-label {
    float: left;
}

/* ─── CARD BRANCO (formulário) ─── */
#content-body {
    display: flex;
    justify-content: flex-start;
    background: #FFFFFF;
    min-width: 500px;
}

/* ─── FORMULÁRIO ─── */
#form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
    min-height: 268px;
    width: 100%;
}

#form-body {
    height: 205px;
    width: 100%;
    margin: 40px 0px 0px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-right: 20px;
}

#form-container {
    width: 100%;
    margin: 0px auto;
    padding: 0px 10px;
}

/* ─── GRID ROWS/COLS ─── */
.row {
    margin: 0px -10px;
}

.row:before,
.row:after {
    content: " ";
    display: table;
}

.row:after {
    clear: both;
}

.col {
    width: 100%;
    float: left;
    position: relative;
    min-height: 1px;
    padding: 0px 10px;
}

/* ─── GRUPOS DE CAMPO ─── */
.form-group {
    width: inherit;
    padding-right: 30px;
    margin-bottom: 20px;
}

/* ─── LABELS ─── */
.form-label {
    position: relative;
    font-family: Roboto;
    font-size: 16px;
    margin-bottom: 8px;
    line-height: 1;
    color: #616161;
    display: inline-block;
    max-width: 100%;
}

/* ─── INPUTS ─── */
.form-field {
    border: 1px solid #BDBDBD;
    border-radius: 2px;
    background: #FFFFFF;
    font-family: Roboto;
    font-size: 16px;
    color: #616161;
    height: 32px;
    display: block;
    width: 100%;
    padding: 4px 8px;
    line-height: 1.42857;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -webkit-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
    transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
    outline: none;
}

.form-field:focus {
    border-color: #0C7C84;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 4px rgba(12, 124, 132, 0.4);
}

/* ─── LINK "ESQUECEU A SENHA?" ─── */
#forgot-password {
    position: absolute;
    top: 0px;
    right: 40px;
    color: #0C7C84;
    text-decoration: none;
    background-color: transparent;
    box-sizing: border-box;
    font-size: 14px;
}

#forgot-password:hover {
    text-decoration: underline;
}

/* ─── ÁREA DE ERRO ─── */
#login-error {
    margin: 0 10px 10px 10px;
    padding: 8px 12px;
    background-color: #f2dede;
    border: 1px solid #ebccd1;
    border-radius: 2px;
    color: #a94442;
    font-size: 14px;
    display: block;
}

/* ─── TOOLBAR DO BOTÃO ─── */
#login-btn-toolbar {
    float: right;
    margin: auto 30px 15px -20px;
}

/* ─── BOTÃO "ENTRAR" ─── */
#login-btn {
    float: right;
    display: inline-flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 0 12px;
    height: 32px;
    line-height: 1px;
    font-size: 14px;
    font-weight: 400;
    text-transform: capitalize;
    color: #fff;
    background-color: #0C7C84;
    border-color: #0C7C84;
    margin-bottom: 0;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    background-image: none;
    border: 1px solid transparent;
    white-space: nowrap;
    border-radius: 2px;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    font-family: "Roboto", sans-serif;
    transition: background-color 0.2s;
}

#login-btn:hover {
    background-color: #095f66;
}

/* ─── RESPONSIVO ─── */
@media only screen and (max-device-width: 480px) {
    body {
        font-size: 19pt;
        line-height: 1.42857em;
    }

    #content {
        align-items: inherit;
        display: inherit;
        justify-content: inherit;
    }

    #content-header {
        font-size: 171%;
        height: 3em;
        line-height: 1em;
        padding: 1em;
    }

    #content-body {
        min-width: 0;
    }

    .form-label {
        font-size: 114%;
    }

    .form-field {
        font-size: 114%;
        height: 2em;
    }

    #forgot-password {
        right: 2em;
        top: 0;
    }

    #login-btn-toolbar {
        margin: 1.5em 2em 1em -1.5em;
    }

    #login-btn {
        font-size: 150%;
        height: 3em;
        padding: 1.25em;
    }
}