﻿body {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: linear-gradient(90deg, #2980b9, #2b1bbb);
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

section {
    background-color: #fff;
    width: 400px;
    border-radius: 10px;
}

figure {
    margin: 20px 0 0 0;
    width: 100%;
    border-bottom: 1px solid silver;
}

.img-logo {
    width: 150px;
    height: 50px;
    padding: 0 0 15px 125px;
}

form {
    padding: 0 40px 30px;
    box-sizing: border-box;
}
@media(max-width: 767px){
    section {
        width: 300px ;
    }
    form {
        padding: 0 25px 20px;
    }
}
.text-error {
    color: red;
    text-align: center;
    font-size: 15px;
}

.text-error ul {
    padding: 0;
    list-style: none;
}
.text {
    position: relative;
    border-bottom: 2px solid gray;
    margin: 30px 0;
}

.text input {
    width: 100%;
    border: none;
    outline: none;
    height: 40px;
    padding: 0 5px;
    font-size: 16px;
    background: none;
}
label {
    position: absolute;
    top: 50%;
    left: 5px;
    transform: translateY(-50%);
    color: gray;
    font-size: 16px;
    pointer-events: none;
    transition: .5s;
}

.span {
    position: absolute;
    top: 40px;
    left: 0;
    transition: .5s;
    width: 0;
    height: 2px;
    background-color: #2980b9;
}

.text input:focus ~ label,
.text input:valid ~ label {
    color: #2980b9;
    top: -10px;
}

.text input:focus ~ span,
.text input:valid ~ span {
    width: 100%;
}

.forget {
    margin-top: 20px !important;
}

.forget a {
    color: gray;
    text-decoration: none;
}

.forget a:hover {
    color: rgb(92, 92, 92);
}
.container-captcha p {
    margin-bottom: 5px;
    font-size: 14px;
}
.captchaText {
    color: #555;
    width: 100%;
    height: 40px;
    text-align: center;
    letter-spacing: 8px;
    line-height: 40px;
    border: 1px solid #888;
    font-family: monospace;
    margin-bottom: 10px;
}

.captchaText span {
    display: inline-block;
    user-select: none;
    font-size: 20px;
}
.container-input{
    position: relative;
}
.container-input #captchaInput {
    width: calc(100% - 45px);
    height: 25px;
    border-width: 0 0 2px 0;
    padding: 0px 5px;
    text-align: center;
}
.container-input #captchaInput:focus{
    outline: none;
}
.container-input #refresh-captcha {
    position: absolute;
    right: -1px;
    bottom: 0px;
    padding: 5px 10px;
    background-color: #767676;
    cursor: pointer;
}

.submit {
    width: 100%;
    height: 40px;
    border-radius: 25px;
    background-color: #2980b9;
    border: 1px solid;
    font-size: 16px;
    color: #e9f4fb;
    font-weight: 700;
    cursor: pointer;
    outline: none;
}

.submit:hover {
    border-color: #2980b9;
    transition: .5s;
}

footer {
    text-align: center;
    margin: 30px 0;
    color: rgb(83, 83, 83);
}

footer a {
    text-decoration: none;
    color: #2980b9;
}

footer a:hover {
    color: blue;
}
.check{
    text-align: center;
}

.check p {
    color: gray;
}

    .check input, p {
        display: inline-block;
    }

.check-box:checked + p {
    color: black;
}

ion-icon {
    position: absolute;
    right: 4px;
    top: 15px
}


/* login auth code */
.title {
    position: absolute;
    top: -61px;
    width: 100%;
    opacity: 0;
    animation: title 1s linear forwards;
}
@keyframes title{
    100%{
        opacity: 1;
        top: 0;
    }
}
    .title h2 {
        position: absolute;
        top: 0;
        background: rgb(36 35 45 / 62%);
        width: 100%;
        text-align: center;
        margin: 0;
        padding: 20px;
        color: #fff;
        font-size: 18px;
    }

.title #btn {
    position: absolute;
    top: 0;
    right: 0;
    color: #fff;
    font-size: 15px;
    cursor: pointer;
    margin: 10px 10px;
    background: transparent;
    border: none;
}
.refresh {
    margin-bottom: 30px;
    padding-left: 5px;
}
.refresh a {
    text-decoration: none;
    font-size: 16px;
    color: gray;
}

