:root {
    --bg-color: #231000;
    --card-bg: #1e1e1e;
    --text-color: #e0e0e0;
    --primary-color: #2b4c59;
    --secondary-color: #7986cb;
    --success-color: #4caf50;
    --error-color: #f44336;
    --border-color: #333333;
  
      --background-color: var(--light-background);
      --background-color-secondary: var(--light-surface);
      --background-color-tertiary: #f6f8fa;
      --background-color-cookies: rgba(255, 255, 255, 0.6);
      --text-color: white;
      --text-color-secondary: var(--light-text);
      --text-color-tertiary: var(--light-text-secondary);
      --color1: var(--light-primary);
      --color1-hover: #3ca1cfd0;
      --color1-rgb: 9, 105, 218;
      --color2: var(--light-secondary);
      --color2-hover: #1a7f37;
      --color2-rgb: 26, 127, 55;
      --color3: #ff8c00;
      --color3-hover: #ffa500;
      --color4: #d73a49;
      --color4-hover: #cb2431;
      --logo-background: var(--light-logo-baclkground);
      --background-color-bar: var(--light-background-color-bar);
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    position: relative; /* Necesario para el posicionamiento del pseudo-elemento */
    background-color: black; /* Color de respaldo */
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-color);
    line-height: 1.6;
  }
  
  /* Pseudo-elemento para la imagen de fondo con filtro */
  body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('technology.jpg') no-repeat center center/cover;
    filter: brightness(0.25); /* Reducir brillo a 40% */
    z-index: -1; /* Colocar detrás del contenido */
  }
  
  .container {
    /* max-width: 800px; */
    margin: 0 auto;
    padding: 2rem 1rem;
  }
  
  header {
    text-align: center;
    margin-bottom: 2rem;
  }
  
  header h1 {
    font-size: 2rem;
    color: var(--primary-color);
  }
  
  header p {
    opacity: 0.7;
  }
  
  .card {
    background-color: var(--card-bg);
    border-radius: 8px;
    padding: 2rem;
    width: 50vw;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
  }
  
  .form-group {
    margin-bottom: 1.5rem;
  }
  
  label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
  }
  
  input {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    font-size: 1rem;
  }
  
  input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(92, 107, 192, 0.3);
  }
  
  .btn-primary {
    display: block;
    width: 100%;
    padding: 0.8rem;
    background-color: var(--primary-color);
    border: none;
    border-radius: 4px;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .btn-primary:hover {
    background-color: var(--secondary-color);
  }
  
  .btn-primary:disabled {
    background-color: #555;
    cursor: not-allowed;
  }
  
  .button-group {
    display: flex;
    gap: 10px;
    margin-bottom: 1.5rem;
  }
  
  .button-group button {
    flex: 1;
  }
  
  .btn-danger {
    display: block;
    width: 100%;
    padding: 0.8rem;
    background-color: var(--error-color);
    border: none;
    border-radius: 4px;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .btn-danger:hover {
    background-color: #d32f2f;
  }
  
  .btn-danger:disabled {
    background-color: #555;
    cursor: not-allowed;
  }
  
  .status-container {
    margin-top: 2rem;
  }
  
  .status-bar {
    height: 8px;
    background-color: var(--border-color);
    border-radius: 4px;
    overflow: hidden;
    margin: 1rem 0;
  }
  
  .status-progress {
    height: 100%;
    width: 0%;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
  }
  
  .status-log {
    max-height: 300px;
    overflow-y: auto;
    background-color: #252525;
    border-radius: 4px;
    padding: 1rem;
    font-family: monospace;
  }
  
  .status-log p {
    margin-bottom: 0.5rem;
    font-size: 0.8rem;
  }
  
  footer {
    text-align: center;
    margin-top: 2rem;
    color: #888;
    font-size: 0.9rem;
  }
  
  @keyframes pulse {
    0% {
      box-shadow: 0 0 0 0 rgba(92, 107, 192, 0.7);
    }
    70% {
      box-shadow: 0 0 0 10px rgba(92, 107, 192, 0);
    }
    100% {
      box-shadow: 0 0 0 0 rgba(92, 107, 192, 0);
    }
  }
  
  .btn-primary.calling {
    animation: pulse 2s infinite;
  }
  
  .error {
    color: var(--error-color);
  }
  
  .success {
    color: var(--success-color);
  }
  
  .logo-container div {
      display: flex;
      align-content: center;
      flex-wrap: wrap;
  }
  .logo_style {
      display: flex;
      width: 17vw;
      max-width: 150px;
      position: relative;
      align-content: center;
      justify-content: center;
  }
  
  div {
      display: block;
      unicode-bidi: isolate;
  }
  h1 {
      font-family: 'Roboto', sans-serif;
      text-align: center;
      font-weight: var(--width-font-bold);
      margin: 0;
      padding: 0;
  }
  
  .text_title {
      font-weight: var(--width-font);
      position: absolute;
      text-align: center;
      /* font-size: 24px; */
      top: 1rem;
  }
  
  .logo {
      font-size: 1.4rem !important;
      font-weight: 800;
      color: var(--text-color);
  }
  h1 {
      font-family: 'Roboto', sans-serif;
      text-align: center;
      font-weight: var(--width-font-bold);
      margin: 0;
      padding: 0;
  }
  .text_background {
      content: "AI";
      text-align: center;
      top: 0.5rem;
      margin-bottom: 0.2rem;
      font-size: 40px;
      color: var(--logo-background);
  }
  .text {
      color: var(--text-color);
  }
  .text_title {
      font-weight: var(--width-font);
      position: absolute;
      text-align: center;
      /* font-size: 24px; */
      top: 1rem;
  }
  .white {
      color: white;
  }
  .black {
      color: black;
  }
  .logo_fondo {
      font-size: 2.6rem !important;
  }
  
  /* Estilos para el banner de cookies */
  .cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 1rem;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
  }
  
  .cookie-banner.show {
    transform: translateY(0);
  }
  
  .cookie-content {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  
  .cookie-content p {
    margin: 0;
  }
  
  .cookie-buttons {
    display: flex;
    gap: 0.5rem;
  }
  
  .btn-cookie {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
  }
  
  .btn-cookie.accept {
    background-color: var(--success-color);
    color: white;
  }
  
  .btn-cookie.accept:hover {
    background-color: #3d8b40;
  }
  
  .btn-cookie.reject {
    background-color: #555;
    color: white;
  }
  
  .btn-cookie.reject:hover {
    background-color: #444;
  }
  
  /* Datos sugeridos */
  .suggestion {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
  }
  
  .suggestion:hover {
    opacity: 1;
  }
  
  .input-container {
    position: relative;
  }
  
  .center {
      display: flex;
      justify-content: space-around;
      align-items: center;
      flex-direction: row;
  }
  
  /* Estilos para el log de estado */
  #statusLog {
    max-height: 200px;
    overflow-y: auto;
    background-color: #1e1e1e;
    color: #f0f0f0;
    padding: 10px;
    border-radius: 5px;
    font-family: monospace;
    margin-top: 20px;
  }
  
  #statusLog p {
    margin: 5px 0;
    line-height: 1.4;
  }
  
  #statusLog .important-log {
    color: #ffcc00;
    font-weight: bold;
  }