/* Resetear márgenes y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #f0f2f5;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-image: url(https://granviacapacitacion.cl/assets/images/hero-new-login-LQ.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-blend-mode: overlay;
}

.container {
    display: flex;
    width: 100%;
    max-width: 1200px;
    height: 600px;
    background-color: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-radius: 30px;
    overflow: hidden;
    margin: 0 1rem;
}

/* Sección izquierda con el degradado y la imagen */
.left-side {
    flex: 1;
    background: linear-gradient(135deg, #0d6efd, #6f86d6); /* Degradado azul */
    background-image: url(https://granviacapacitacion.cl/assets/images/hero-new-login-LQ.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    position: relative;
    margin: 15px;
    border-radius: 28px;
}

/* Contenedor del texto y el logo */
.content {
    z-index: 2; /* Asegura que el contenido esté por encima de la imagen de fondo */
    margin: 2rem;
}

.logo {
    max-width: 150px; /* Tamaño del logo */
    margin-bottom: 8px;
}

h1 {
    font-size: 4rem;
    color: #fff;
    font-weight: bold;
}

h1.h11{
    font-style: italic;
    background-color: #ffffff;
    font-size: 3.3rem;
    width: fit-content;
    color: #0d6efd;
}

/* Sección derecha con el formulario */
.right-side {
    flex: 1;
    padding: 60px 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-form {
    width: 100%;
    max-width: 400px;
}

.login-form h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #333;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    margin-bottom: 8px;
    color: #666;
}

.form-group input {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border: 2px solid #ddd;
    border-radius: 5px;
    transition: border 0.3s ease;
}

.form-group input:focus {
    border-color: #0d6efd;
}

.form-group button {
    width: 100%;
    padding: 12px;
    background-color: #0d6efd;
    color: white;
    font-size: 18px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.form-group button:hover {
    background-color: #0b5ed7;
}

.sign-in-link {
    text-align: center;
    margin-top: 15px;
    font-size: 14px;
}

.sign-in-link a {
    color: #0d6efd;
    text-decoration: none;
}

.sign-in-link a:hover {
    text-decoration: underline;
}

/* Estilo básico del campo de entrada */
input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border: 2px solid #ddd;
    border-radius: 5px;
    transition: all 0.3s ease; /* Transición suave */
}

/* Efecto en hover: cambia el color del borde */
input[type="text"]:hover,
input[type="password"]:hover {
    border-color: #0d6efd; /* Cambia el color del borde en hover */
}

/* Efecto en focus: resalta el cuadro cuando está activo */
input[type="text"]:focus,
input[type="password"]:focus {
    outline: none; /* Elimina el borde azul predeterminado */
    border-color: #0d6efd; /* Cambia el color del borde al verde */
    box-shadow: 0 0 8px rgba(76, 102, 175, 0.5); /* Añade una sombra suave */
}

/* Efecto adicional en active (cuando se presiona el cuadro) */
input[type="text"]:active,
input[type="password"]:active {
    background-color: #f0f0f0; /* Cambia el fondo cuando está activo */
}
.logoform {
    max-width: 150px; /* Tamaño del logo */
    margin-bottom: 44px;
}
.logoformdiv {
    display: none;
}

@media (max-width: 996px) {
    h1.h11 {
        font-size: 2.8rem;
    }
    h1 {
        font-size: 3.4rem;
    }
  }

  @media (max-width: 882px) {
    .left-side {
        display: none;
    }
    .logoformdiv {
        display: flex;
        justify-content: center;
    }
  }
  