/* Variables de colores y estilos globales */
:root {
    --primary: #2b805a;
    --primary-light: #6ee7b7;
    --primary-disabled: #90bca9;
    --primary-lighter: #a4c8b9;
    --secondary: #1d1d1d;
    --text: #11181c;
    --text-gray: #687076;
    --text-placeholder: #8890a7;
    --border: #dfe3e6;
    --btn-bg: #ededed;
    --input-bg: #f1f2f3;
    --main-side-background: #f8f9fa;
    --error: #e5484d;
    --toast-background: #292B2D;
    --toast-success: #9CE6A8;
  }
  
  /* Estilos generales del body */
  body {
    font-size: 16px;
    /*font-family: Circular, Helvetica Neue, Helvetica, Arial, sans-serif;*/
    font-family: "Source Sans Pro", Sans-serif;
    font-feature-settings: normal;
    font-variation-settings: normal;
    height: 100vh;
  }  
  
  /* Reinicio de estilos para todos los elementos */
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  /* Estilo para el texto seleccionado */
  *::selection {
    background-color: var(--primary-light);
  }
  
  /* Estilos para la fila de iconos sociales */
  .socials-row {
    display: flex;
    justify-content: center;
  }
  
  .socials-row img {
    width: 1.5rem;
    height: 1.5rem;
  }
  
  .socials-row > a {
    padding: 0.5rem;
    border-radius: 0.5rem;
    width: 100%;
    max-width: 300px;
    min-height: 2.75rem;
    display: flex;
    gap: 0.75rem;
    color: var(--text);
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-size: 1.1rem;
    color: var(--text);
    padding: 0.5rem;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 1px 4px 0px;
  }
  
  .socials-row > a svg {
    color: var(--text);
  }
  
  .socials-row > a:hover {
    background-color: var(--btn-bg);
  }
  
  /* Estilos para la fila de bienvenida */
  .form-welcome-row {
    margin-bottom: 1rem;
    text-align: center;
  }
  
  .form-welcome-row h1 {
    color: var(--text);
    font-size: 2rem;
    line-height: 2rem;
    font-weight: normal;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
  }
  
  .form-welcome-row h2 {
    color: var(--text-gray);
    font-size: 1.1rem;
    font-weight: normal;
  }
  
  /* Estilos para el divisor */
  .divider {
    display: flex;
    flex-direction: row;
    color: var(--secondary);
    gap: 1rem;
    align-items: center;
    margin: 1rem 0;
  }
  
  .divider-line {
    width: 100%;
    height: 1px;
    background-color: var(--secondary);
    opacity: 0.2;
  }
  
  /* Estilos para el contenedor principal del formulario */
  .form-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 100%;
  }
  
  /* Estilos para el lado del formulario */
  .form-side {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    background-color: var(--main-side-background);
    height: 100%;
  }
  
  .info-side {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 3rem;
    height: 100%;
  }
  
  /* Estilos para el logo */
  .logo {
    width: 230px;
    height: auto;
    margin-bottom: 2rem;
  }
  
  /* Estilos para el formulario */
  .my-form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    gap: 1.25rem;
    width: 100%;
    max-width: 400px;
    margin-bottom: 2rem;
  }
  
  /* Estilos para el botón del formulario */
  .my-form__button {
    background-color: var(--primary);
    border: 1px solid var(--primary-light);
    color: white;
    white-space: nowrap;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1.5rem;
    line-height: 2.75rem;
    outline: none;
    font-size: 1.125rem;
    text-decoration: none;
    cursor: pointer;
    width: 100%;
    border-radius: 0.5rem;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
  }
  
  /* Estilos para el botón del formulario cuando está desactivado */
  .my-form:invalid .my-form__button {
    pointer-events: none;
    background-color: var(--primary-disabled);
    border: 1px solid var(--primary-light);
  }
  
  /* Estilos para las acciones del formulario */
  .my-form__actions {
    display: flex;
    flex-direction: column;
    color: var(--secondary);
    gap: 1rem;
    margin-top: 0.5rem;
  }
  
  .my-form__actions a {
    color: var(--text);
  }
  
  .my-form__actions a:hover {
    color: var(--text-gray);
    text-decoration: underline;
  }
  
  /* Estilos para las filas del formulario */
  .my-form__row {
    display: flex;
    justify-content: center;
    gap: 1rem;
  }
  
  /* Estilos para los campos de texto del formulario */
  .text-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
  }
  
  .text-field input {
    color: var(--secondary);
    width: 100%;
    border: 1px solid var(--border);
    min-height: 2.75rem;
    letter-spacing: 0.03rem;
    outline: none;
    background-color: var(--input-bg);
    transition: 0.25s;
    border-radius: 0.5rem;
    text-indent: 1.25rem;
  }
  
  .text-field label {
    color: var(--text-gray);
  }
  
  /* Estilos para los campos de texto inválidos */
  .text-field input:user-invalid {
    background-color: var(--white);
    color: var(--error);
    border: 1px solid var(--error);
  }
  
  /* Estilos para los mensajes de error */
  .error-message {
    display: none;
  }
  
  .text-field input:user-invalid ~ .error-message {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.8rem;
    color: var(--error);
  }
  
  /* Estilos para los campos de texto enfocados */
  .text-field input:focus {
    border: 1px solid var(--text);
    box-shadow: rgba(99, 99, 99, 0.2) 0px 1px 4px 0px;
  }
  
  /* Estilos para el lado de información */
  .info-side {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 3rem;
  }
  
  /* Estilos para el contenedor de la cita */
  .info-side .blockquote-wrapper {
    gap: 1rem;
    position: relative;
  }
  
  .info-side .blockquote-wrapper blockquote {
    margin-bottom: 1rem;
    max-width: 30rem;
    width: 100%;
    font-size: 1.25rem;
    line-height: 2.25rem;
  }
  
  .info-side .blockquote-wrapper blockquote::before {
    content: open-quote;
    font-size: 4rem;
    line-height: 0;
    margin-right: 0.5rem;
    position: absolute;
    left: -1.5rem;
  }
  
  /* Estilos para el autor de la cita */
  .info-side .author {
    display: flex;
    flex-direction: row;
    gap: 0.75rem;
    align-items: center;
  }
  
  .info-side .author img {
    border-radius: 50%;
    width: 3rem;
    height: 3rem;
  }
  
  .info-side .author-name {
    font-size: 1.125rem;
    line-height: 1.75rem;
    font-weight: 600;
    color: var(--text-gray);
  }
  
  /* Estilos para enlaces deshabilitados */
  .disabled-link {
    pointer-events: none;
    cursor: not-allowed;
    opacity: 0.5;
  }
  
  /* Media queries para diferentes tamaños de pantalla */
  @media (max-width: 768px) {
    .form-wrapper {
      grid-template-columns: 1fr;
      height: auto;
    }
  
    .form-side {
      height: 100vh;
      padding: 4rem 2rem;
    }
  
    .info-side {
      display: none;
    }
  }