/* CSS styly pro autentifikaci a autorizaci */
.background {
    background-color: #F9F9F9;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
}

.sign-page {
    position: relative;
    width: 100vw;
    height: 100vh;
}

.form-wrapper {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
}

.form-wrapper h1 {
    text-align: center;
    margin-bottom: 40px;
    font-weight: 400;
    letter-spacing: 1px;
    color: black;
}

.sign-form {
    background-color: white;
    border: 1px solid #DADEE1;
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 25px;
}

.sign-form label {
    display: block;
    margin-top: 10px;
    width: 100%;
}

.sign-form label:first-of-type {
    margin-top: 0;
}

.sign-form label span a {
    float: right;
    color: #346A65;
    font-size: .9em;
}

.sign-form input {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;

    margin-top: 10px;
    width: 100%;
    height: 35px;
    border-radius: 4px;
    border: 1px solid #ddd;
    padding: 5px;
    font-size: 1em;
    padding-left: 10px;
    padding-right: 10px;
}

.sign-form input:focus {
    outline: none;
    border-color: #346A65;
}

.sign-form .el-button {
    margin-top: 25px;
    width: 100%;
}

.info-box {
    text-align: center;
    border: 1px solid #DADEE1;
    margin-top: 25px;
    border-radius: 5px;
    padding: 20px;
}

.info-box a {
    color: #346A65;
}

.info-credit {
    margin-top: 50px;
    width: 100%;
    text-align: center;
    color: #A3A3A3;
    position: absolute;
}

.sign-error {
    margin-bottom: 25px !important;
    border-radius: 5px !important;
    border: 1px solid #F56C6C;
}

.sign-success {
    margin-bottom: 25px !important;
    border-radius: 5px !important;
    border: 1px solid #67C23A;
}

@media only screen and (max-width: 768px) {
    .sign-page {
        position: relative;
        width: auto;
        height: auto;
    }

    .form-wrapper {
        position: static;
        width: 100vw;
        padding: 15px;
        transform: none;
    }

    .form-wrapper h1 {
        margin-top: 25px;
    }
}
