
    /* === Estilos principales adaptados === */
    body {
      font-family: 'Georgia', serif;
      margin: 0;
      background: url(fondo.png);
      display: flex;
      justify-content: center;
      align-items: center;
      height: 120vh;
    }

    .contenedor {
      background: url(fondo2.png);
      padding: 30px;
      border-radius: 15px;
      width: 350px;
      box-shadow: 0 8px 20px rgba(0,0,0,0.3);
      text-align: center;
      position: relative;
    }

    .contenedor h2 {
      color: #3e2723;
      margin-bottom: 20px;
      font-size: 1.8rem;
    }

    .input-box {
      margin-bottom: 18px;
      text-align: left;
      position: relative;
    }

    .input-box label {
      display: block;
      font-weight: bold;
      color: #3e2723;
      margin-bottom: 5px;
    }

    .input-box input {
      width: 90%;
      padding: 10px 40px 10px 10px;
      border: 3px solid #0f0f0f;
      border-radius: 8px;
      font-size: 0.9rem;
      outline: none;
      background-color: rgba(255,255,255,0.9);
    }


    .btn {
      width: 100%;
      background: #6b3e26;
      color: #fff;
      border: none;
      padding: 12px;
      font-size: 1rem;
      border-radius: 8px;
      cursor: pointer;
      margin-top: 10px;
      transition: background 0.3s;
    }

    .btn:hover {
      background: #8d5a44;
    }

    .logo {
      margin-top: 20px;
    }

    .logo img {
      width: 150px;
      height: 150px;
      border-radius: 50%;
    }

    a {
      color: #111111;
      text-decoration: none; 
      font-weight: bold;
      font-family: 'Segoe UI', cursive, sans-serif;
      font-size: 1.1em;
    }

    .modal {
      position: fixed;
      z-index: 1000;
      left: 0; top: 0;
      width: 100%; height: 100%;
      overflow: auto;
      background: rgba(0,0,0,0.4);
    }

    @media (max-width: 600px) {
      .contenedor {
          width: 95vw;
          padding: 18px;
          border-radius: 10px;
      }
      .logo img {
          width: 90px;
          height: 90px;
      }
      .contenedor h2 {
          font-size: 1.2rem;
      }
      .btn {
          font-size: 0.95rem;
          padding: 10px;
      }
    }

    @media (min-width: 601px) and (max-width: 1024px) {
      .contenedor {
          width: 70vw;
          padding: 24px;
          border-radius: 12px;
      }
      .logo img {
          width: 120px;
          height: 120px;
      }
      .contenedor h2 {
          font-size: 1.5rem;
      }
    }

    @media (min-width: 1025px) {
      .contenedor {
          width: 350px;
      }
    }
