﻿/* Reset default browser styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Style for the login container */
.login-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    background-color: #f2f2f2;
}

/* Style for the welcome message */
h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-align: center;
    z-index: 1;
}

/* Style for the background image */
img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(60%);
}

/* Style for the login form */
.form {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 600px;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

/* Style for the form labels */
label {
    width: 150px;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    float: left;
}

/* Style for the form inputs */
input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    border: none;
    border-radius: 5px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
}

/* Style for the forgot password link */
/* Style for the forgot password link */
a {
    text-decoration: none;
    color: #666;
    margin-bottom: 1rem;
}

/* Style for the login button */
button[type="submit"] {
    width: 100%;
    padding: 1rem;
    margin-top: 1rem;
    background-color: #2196f3;
    color: white;
    border: none;
    border-radius: 5px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 38px;
}

    /* Hover state for the login button */
    button[type="submit"]:hover {
        background-color: #0d6efd;
    }

/* Style for the bottom links container */
.bottom-links {
    display: flex;
    justify-content: end;
    align-items: center;
    width: 600px;
    margin-top: 1rem;
    color: #666;
    font-size: 0.8rem;
    z-index: 1;
}

    /* Style for the quick registration link */
    .bottom-links a {
        text-decoration: none;
        color: #2196f3;
    }

#code {
    width: 74%;
}
.for-line{
    position:relative;
}
.for-line img {
    width: 80px;
    height: 30px;
    margin-left: 10px;
    margin-top: 8px;
}
.tips {
    color: red;
    position: absolute;
    display: block;
    font-size: 12px;
    top: 80px;
    left: 14px;
    font-style: normal;
}
/* Media query for smaller screens */
@media screen and (max-width: 600px) {
    .login-container {
        height: auto;
    }

    .form {
        width: 90%;
    }
}
