body,
html {
    height: 100vh;
    margin: 0;
}

main {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
}

.Login-Form,
.Register-Form {
    background-color: #dbd7d7;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 30px;
    width: 100%;
    max-width: 400px;
    opacity: 0.8;
}

form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group a {
    text-decoration: none;
    padding-left: 5px;
    padding-top: 2px;
    color: #333;
}

label {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 5px;
}

.input-container {
    position: relative;
    display: flex;
    align-items: center;
}

input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 10px 40px 10px 10px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    background-color: #f9f9f9;
    outline: none;
    transition: border-color 0.3s;
}

input:focus {
    border-color: #4a90e2;
}

.icon {
    position: absolute;
    right: 10px;
    font-size: 18px;
    color: #b0b0b0;
    pointer-events: none;
}

.btn-submit {
    padding: 12px;
    font-size: 16px;
    color: white;
    background-color: #4a90e2;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-submit:hover {
    background-color: #357ab8;
}


.checkbox-label {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #333;
}

.checkbox-label input {
    margin-right: 10px;
}

.checkbox-label a {
    color: #007bff;
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}


.loader {
    display: none;
    width: 100px;
    height: 16px;
    margin: 20px auto;
    background: linear-gradient(#474bff 50%, #0000 0),
        linear-gradient(#0000 50%, #474bff 0),
        linear-gradient(#474bff 50%, #0000 0),
        linear-gradient(#0000 50%, #474bff 0),
        linear-gradient(#474bff 50%, #0000 0),
        linear-gradient(#0000 50%, #474bff 0) #dbdcef;
    background-size: calc(100%/6 + 1px) 200%;
    background-repeat: no-repeat;
    animation: loader-animation 2s infinite;
}

@keyframes loader-animation {
    0% {
        background-position: 0% 100%, 20% 0%, 40% 100%, 60% 0%, 80% 100%, 100% 0%;
    }

    16.67% {
        background-position: 0% 0%, 20% 0%, 40% 100%, 60% 0%, 80% 100%, 100% 0%;
    }

    33.33% {
        background-position: 0% 0%, 20% 100%, 40% 100%, 60% 0%, 80% 100%, 100% 0%;
    }

    50% {
        background-position: 0% 0%, 20% 100%, 40% 0%, 60% 0%, 80% 100%, 100% 0%;
    }

    66.67% {
        background-position: 0% 0%, 20% 100%, 40% 0%, 60% 100%, 80% 100%, 100% 0%;
    }

    83.33% {
        background-position: 0% 0%, 20% 100%, 40% 0%, 60% 100%, 80% 0%, 100% 0%;
    }

    100% {
        background-position: 0% 0%, 20% 100%, 40% 0%, 60% 100%, 80% 0%, 100% 100%;
    }
}


/*Responsive Design*/

@media (max-width:952px) {

    .Login-Form {
        background-color: #dbd7d7;
        border-radius: 8px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        padding: 30px;
        max-width: 70vh;
        max-height: 70vh;
        opacity: 0.8;
    }



}