﻿* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    background-color: white;
    color: #333;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.bg {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    width: 100%;
    background-image: url('../assets/image/eng-img.png');
    background-position: center;
    background-size: cover;
}

.form-login {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    background-color: white;
    border-radius: 5px;
    position: relative;
    z-index: 10;
    width: 40vw;
    overflow: hidden;
}

.form {
    max-width: 100vw;
    width: 100%;
    max-height: 90vh;
    height: auto;
    padding: 40px;
    border: 2px solid #cc7d1d;
    background-color: white;
    box-shadow: rgba(17, 12, 46, 0.15) 0px 48px 100px 0px;
    border-radius: 20px;
    backdrop-filter: blur(15px);
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

    .logo-container img {
        width: 120px;
        height: 120px;
    }

/* Responsive media queries */
@media screen and (max-width: 768px) {
    .form {
        padding: 20px;
    }

    .heading-2 {
        font-size: 16px;
    }

    .input {
        padding-left: 40px;
    }

    .icon {
        font-size: 30px;
        top: -35px;
    }

    .form-login {
        width: 50vw
    }
}

@media screen and (max-width: 480px) {
    .form {
        padding: 15px;
    }

    .heading-2 {
        font-size: 14px;
    }

    .btn {
        font-size: 12px;
    }

    .input {
        font-size: 14px;
        padding-left: 35px;
    }

    .label {
        width: 35px;
    }

    .form-login {
        width: 90vw
    }
}

.icon {
    font-size: 40px;
    color: #eee;
    position: absolute;
    top: -45px;
    left: 50%;
    transform: translateX(-50%);
}

.heading-2 {
    text-transform: uppercase;
    color: #cc7d1d;
    font-size: 20px;
    text-align: center;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.input-item {
    width: 100%;
    margin-bottom: 20px;
}

.input {
    height: 50px;
    width: 100%;
    padding: 15px 15px 15px 60px;
    border: 0.2px solid #cc7d1d;
    border-radius: 7px;
    box-shadow: 0px 2px 5px 2px rgba(#333, .1);
}

    .input:focus {
        outline: none;
    }

.label {
    position: absolute;
    height: 50px;
    color: white;
    display: block;
    width: 50px;
    text-align: center;
    line-height: 50px;
    border-radius: 7px 0 0 7px;
}

.form-login .label {
    background-color: #cc7d1d;
}

.btn {
    color: white;
    text-transform: uppercase;
    display: block;
    width: 100%;
    height: 45px;
    border: none;
    border-radius: 7px;
    letter-spacing: 2px;
    font-size: 12px;
    cursor: pointer;
    margin-top: -5px;
    margin-bottom: 20px;
    transition: all .2s;
    background-color: #cc7d1d;
    box-shadow: 0px 2px 10px 2px rgba(#333, .2);
    font-size: 14px
}

    .btn:hover {
        color: #cc7d1d;
        border: 1px solid #cc7d1d;
        background: white;
    }

    .btn:focus {
        outline: none;
    }

.checkbox {
    display: none;
}

    .checkbox:checked + .checkbox-label:before {
        display: inline-block;
        font-family: "Font Awesome 5 Free";
        content: '\f00c';
    }

.checkbox-label {
    color: #eee;
    font-size: 12px;
    font-weight: 100;
}

    .checkbox-label:before {
        display: inline-block;
        content: '';
        height: 20px;
        width: 20px;
        background: white;
        margin-right: 10px;
        box-shadow: 0px 2px 5px 2px rgba(#333, .1);
        line-height: 20px;
        font-size: 14px;
        font-weight: 900;
        text-align: center;
        color: #333;
    }

.alert-error {
    color: red;
    font-weight: bold;
    margin-bottom: 10px;
}

.background {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.animation-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.animated-line {
    position: absolute;
    height: 5px;
    width: 100%;
    left: -100%;
    animation: moveRight 8s infinite linear;
    opacity: 0.3;
}

.line1 {
    top: 10%;
    background-color: #ff7700;
    animation-delay: 0s;
    animation-duration: 12s;
}

.line2 {
    top: 20%;
    background-color: #404041;
    animation-delay: 1s;
    animation-duration: 10s;
}

.line3 {
    top: 30%;
    background-color: #ff7700;
    animation-delay: 0.5s;
    animation-duration: 15s;
}

.line4 {
    top: 45%;
    background-color: #404041;
    animation-delay: 2s;
    animation-duration: 11s;
}

.line5 {
    top: 60%;
    background-color: #ff7700;
    animation-delay: 1.5s;
    animation-duration: 14s;
}

.line6 {
    top: 75%;
    background-color: #404041;
    animation-delay: 3s;
    animation-duration: 12s;
}

.line7 {
    top: 90%;
    background-color: #ff7700;
    animation-delay: 2.5s;
    animation-duration: 13s;
}

.line8 {
    top: 15%;
    background-color: #ff7700;
    left: 100%;
    animation: moveLeft 14s infinite linear;
    animation-delay: 0.7s;
}

.line9 {
    top: 35%;
    background-color: #404041;
    left: 100%;
    animation: moveLeft 11s infinite linear;
    animation-delay: 1.2s;
}

.line10 {
    top: 55%;
    background-color: #ff7700;
    left: 100%;
    animation: moveLeft 13s infinite linear;
    animation-delay: 0.3s;
}

.line11 {
    top: 80%;
    background-color: #404041;
    left: 100%;
    animation: moveLeft 10s infinite linear;
    animation-delay: 2.2s;
}

@keyframes moveRight {
    0% {
        left: -100%;
        opacity: 0.3;
    }

    100% {
        left: 100%;
        opacity: 0.7;
    }
}

@keyframes moveLeft {
    0% {
        left: 100%;
        opacity: 0.3;
    }

    100% {
        left: -100%;
        opacity: 0.7;
    }
}

#login-content {
    display: none;
}