.login-hero {
    width: 100%;
}

.login-hero img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.login-hero-v2 {
    display: none;
    width: 100%;
    height: 250px;
    object-fit: cover;
}


@media (max-width: 768px) {
    .login-hero img {
        width: 100%;
        height: 180px;
    }

    .login-hero-v1 {
        display: none;
    }

    .login-hero-v2 {
        display: block;
    }
}


@media (max-width: 480px) {
    .login-hero img {
        width: 100%;
        height: 150px;
    }

    .login-hero-v1 {
        display: none;
    }

    .login-hero-v2 {
        display: block;
    }
}


/* Start Login  */

.midl-form {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 70vh;
}

.register {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 25px;
    width: 100%;
    max-width: 600px;
    box-shadow: 10 10 10 rgba(0, 0, 0, 0.621);
}

.form {
    display: flex;
    flex-direction: column;
    gap: 22px;
    width: 100%;
    padding: 20px;
    border-radius: 20px;
    color: var(--title-color);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.title {
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: -1px;
    color: var(--title-color);
    margin-bottom: 10px;
}

.message,
.signin {
    font-size: 0.9rem;
    color: var(--paragraph-color);
}

.signin {
    text-align: center;
}

.signin a {
    color: var(--button-bg);
}

.signin a:hover {
    text-decoration: underline;
}



.form label {
    position: relative;
    flex: 1 1 calc(50% - 10px);
}

.form label .input {
    background-color: var(--secondary);
    color: var(--title-color);
    border: 2px solid var(--border-color);
    width: 100%;
    padding: 16px 10px 5px;
    border-radius: 10px;
    font-size: 1rem;
    margin-top: 10px;
}

.form label .input:placeholder-shown+span {
    top: 14px;
    font-size: 1rem;
}

.form label .input:focus+span,
.form label .input:valid+span {
    color: var(--button-bg);
    top: -5px;
    font-size: 0.8rem;
    font-weight: 600;
}

.submit {
    border: none;
    padding: 12px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: bold;
    color: var(--button-text);
    background: linear-gradient(-45deg, #2d1a0c 50%, rgba(56, 25, 14, .91) 90%, #2e140a);
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-align: center;
}

.submit:hover {
    background-color: var(--button-hover);
}

@media (max-width: 768px) {
    .midl-form {
        height: 50vh;
        margin-top: 16px;
    }

    .title {
        font-size: 1.2rem;
    }

    .form {
        gap: 10px;
    }

    .submit {
        margin-top: 10px;
        padding: 14px;
        font-size: 0.8rem;
    }
}

.login-options {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    gap: 5px;
}

.login-options .register-btn {
    color: var(--button-bg);
}

/* End Login  */


.rols {
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: var(--stroke);
    margin: 30px 20px;
}

.rols a {
    color: var(--button-bg);
    text-decoration: underline;
    color: var(--yellow);
}