@import url('../../../css_all/colors.css');

@media (min-width: 1080px) {
    body {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        height: 100vh;
        width: 100vw;
        background-image: url("../media/fondo_login.png");
        background-size: cover;        
        background-position: center;        
        background-repeat: no-repeat;     
               
        margin: 0;
        font-family: Arial, sans-serif;
    }

    .container {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100vh;
        width: 50vw;
    }

    .form {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        width: 100%;
    }

    .login-container {
        background: hsla(210, 94%, 93%, 0.7);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        padding: 2rem;
        border-radius: 15px 100px;
        box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
        width: 40%;
    }

    .login-text {
        text-align: center;
        margin-bottom: 1rem;
        color: var(--azul);
        font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
        font-style: italic;
        font-size: 26px;
    }

    .form-group {
        margin-bottom: 1rem;
        width: 90%;
    }

    .form-control{
        width: 90%;
        padding: 0.7rem;
        border-radius: 10px;
        border: none;
        font-size: 1rem;
        text-align: center;
        outline: none;
        color: var(--azul);
    }


    button {
        width: 60%;
        padding: 0.7rem;
        background-color: var(--azul);
        color: white;
        border: none;
        border-radius: 10px;
        font-size: 1rem;
        font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
        cursor: pointer;
    }

    button:hover {
        background-color: var(--verde-forest-tech);
    }

    .error {
        color: var(--color-error);
        font-size: 0.9rem;
        text-align: center;
        margin-bottom: 1rem;
    }

    .byhcconex {
        text-align: right;
        font-size: 14px;
        color: var(--azul);
        margin-top: 20px;
        font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
        font-style: italic;
        width: 100%;
    }

    .p-registrarse {
        text-align: center;
        font-size: 16px;
        color: var(--azul);
        margin-top: 30px;
        font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
        width: 100%;
    }

    .a-registrarse {
        color: var(--verde-forest-tech);
        text-decoration: none;
        font-weight: 500;
        margin: 0 5px;
    }

    .a-registrarse:hover {
        text-decoration: underline;
    }
  

}

@media (min-width: 600px) and (max-width: 1079px) {

    body {
        background-color: #f0f2f5;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        height: 100vh;
        
        background-image: url("..plugins/auth_plugin/media/fondo_login_movil.png");
        background-size: cover;
        background-repeat: no-repeat;
        background-position: right;
        margin: 0;
        font-family: Arial, sans-serif;
    }

    .container {
        display: flex;
        justify-content: center;
        align-items: center;
        
        width: 100vw;
    }

    .form {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        width: 100%;
    }

    .login-container {
        background: hsla(210, 94%, 93%, 0.7);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        padding: 2rem;
        border-radius: 15px 100px;
        box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
        width: 70%;
    }

    .login-text {
        text-align: center;
        margin-bottom: 1rem;
        color: var(--azul);
        font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
        font-style: italic;
        font-size: 26px;
    }

    .form-group {
        margin-bottom: 1rem;
        width: 90%;
    }

    .form-control{
        width: 90%;
        padding: 0.7rem;
        border-radius: 10px;
        border: none;
        font-size: 1rem;
        text-align: center;
        outline: none;
        color: var(--azul);
    }


    button {
        width: 60%;
        padding: 0.7rem;
        background-color: var(--verde-forest-tech);
        color: white;
        border: none;
        border-radius: 10px;
        font-size: 1rem;
        font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
        cursor: pointer;
    }

    button:hover {
        background-color: var(--verde-forest-tech);
    }

    .error {
        color: var(--color-error);
        font-size: 0.9rem;
        text-align: center;
        margin-bottom: 1rem;
    }

    .byhcconex {
        text-align: right;
        font-size: 14px;
        color: var(--azul);
        margin-top: 20px;
        font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
        font-style: italic;
        width: 100%;
    }

    .p-registrarse {
        text-align: center;
        font-size: 14px;
        color: var(--azul);
        margin-top: 30px;
        font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
        width: 100%;
    }

    .a-registrarse {
        color: var(--verde-forest-tech);
        text-decoration: none;
        font-weight: 500;
        margin: 0 5px;
    }

    .a-registrarse:hover {
        text-decoration: underline;
    }

}

@media (max-width: 599px) {

    body {
        background-color: #f0f2f5;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        height: 100vh;
        
        background-image: url("../media/fondo_login_movil.png");
        background-size: cover;
        background-repeat: no-repeat;
        background-position: right;
        margin: 0;
        font-family: Arial, sans-serif;
    }

    .container {
        display: flex;
        justify-content: center;
        align-items: center;     
        width: 100vw;
    }

    .form {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        width: 100%;
    }

    .login-container {
        background: hsla(210, 94%, 93%, 0.7);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        padding: 2rem;
        border-radius: 15px 100px;
        box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
        width:70%;
    }

    .login-text {
        text-align: center;
        margin-bottom: 1rem;
        color: var(--azul);
        font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
        font-style: italic;
        font-size: 26px;
    }

    .form-group {
        margin-bottom: 1rem;
        width: 90%;
    }

    .form-control{
        width: 90%;
        padding: 0.7rem;
        border-radius: 10px;
        border: none;
        font-size: 1rem;
        text-align: center;
        outline: none;
        color: var(--azul);
    }

    button {
        width: 60%;
        padding: 0.7rem;
        background-color: var(--verde-forest-tech);
        color: white;
        border: none;
        border-radius: 10px;
        font-size: 1rem;
        font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
        cursor: pointer;
    }

    button:hover {
        background-color: var(--verde-forest-tech);
    }

    .error {
        color: var(--color-error);
        font-size: 0.9rem;
        text-align: center;
        margin-bottom: 1rem;
    }

    .byhcconex {
        text-align: right;
        font-size: 14px;
        color: var(--azul);
        margin-top: 20px;
        font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
        font-style: italic;
        width: 100%;
    }

    .p-registrarse {
        text-align: center;
        font-size: 14px;
        color: var(--azul);
        margin-top: 30px;
        font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
        width: 100%;
    }

    .a-registrarse {
        color: var(--verde-forest-tech);
        text-decoration: none;
        font-weight: 500;
        margin: 0 5px;
    }

    .a-registrarse:hover {
        text-decoration: underline;
    }
}
@media (min-width: 600px) and (max-width:1079px) and (orientation: landscape) {
      body {
        background-color: #f0f2f5;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        height: 100vh;
        
        background-image: url("../media/fondo_login_movil.png");
        background-size: cover;
        background-repeat: no-repeat;
        background-position: right;
        margin: 0;
        font-family: Arial, sans-serif;
    }

    .container {
        display: flex;
        justify-content: center;
        align-items: center;     
        width: 100vw;
    }

    .form {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        width: 100%;
    }

    .login-container {
        background: hsla(210, 94%, 93%, 0.7);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        padding: 1rem;
        border-radius: 15px 100px;
        box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
        width: 40%;
    }

    .login-text {
        text-align: center;
        margin: 5px;
        color: var(--azul);
        font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
        font-style: italic;
        font-size: 26px;
    }

    .form-group {
        margin-bottom: 1rem;
        width: 90%;
    }

    .form-control{
        width: 90%;
        padding: 0.7rem;
        border-radius: 10px;
        border: none;
        font-size: 1rem;
        text-align: center;
        outline: none;
        color: var(--azul);
    }

    button {
        width: 60%;
        padding: 0.7rem;
        background-color: var(--verde-forest-tech);
        color: white;
        border: none;
        border-radius: 10px;
        font-size: 1rem;
        font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
        cursor: pointer;
    }

    button:hover {
        background-color: var(--verde-forest-tech);
    }

    .error {
        color: var(--color-error);
        font-size: 0.9rem;
        text-align: center;
        margin-bottom: 1rem;
    }

    .byhcconex {
        text-align: right;
        font-size: 14px;
        color: var(--azul);
        margin-top: 20px;
        font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
        font-style: italic;
        width: 100%;
    }

    .p-registrarse {
        text-align: center;
        font-size: 14px;
        color: var(--azul);
        margin-top: 30px;
        font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
        width: 100%;
    }

    .a-registrarse {
        color: var(--verde-forest-tech);
        text-decoration: none;
        font-weight: 500;
        margin: 0 5px;
    }

    .a-registrarse:hover {
        text-decoration: underline;
    }
}