* {
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

/* header */
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
a {
  text-decoration: none;
  color: inherit;
}

/* --- ESTILOS DEL HEADER Y MENÚ --- */
.header {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 20px;
  z-index: 100;
  height: 60px;
  width: 50%;
}

.menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1152px; /* Equivalente aproximado a w-xl */
  height: 60px;
  padding: 6px 20px;
  border-radius: 50px;

  /* Efecto de cristal (Glassmorphism) */
  backdrop-filter: blur(25px) saturate(100%);
  -webkit-backdrop-filter: blur(25px) saturate(100%);
  background-color: rgba(255, 255, 255, 0.177);
  box-shadow: 0 1px 3px 0 rgba(31, 38, 135, 0.37);
}

.menu-list {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

/* --- ESTILOS DE LOS ENLACES Y ELEMENTOS --- */
.menu-links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-weight: 600;
}

.logo-img {
  width: 52px;
}

.btn-contacto {
  background-color: #000c75;
  color: #ffffff;
  border-radius: 9999px;
  padding: 6px 10px;
  display: inline-block;
  transition: transform 0.2s ease;
}

.btn-contacto:hover {
  transform: scale(1.1);
}

/* --- RESPONSIVE (MÓVILES) --- */
@media (max-width: 720px) {
  .header {
    width: 100%;
  }
  .menu {
    width: 80%;
  }
}

.contenedor-principal {
    display: flex;
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0,12,117,0.6);
    overflow: hidden;
    width: 800px;
    max-width: 90%;
}

.panel-izquierdo {
    padding: 30px;
    width: 50%;
    border-right: 1px solid #dee2e6;
}

.panel-izquierdo h1 {
    margin-bottom: 20px;
    color: #000c75;
}

.panel-derecho {
    padding: 30px;
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.grupo-control {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

label {
    font-weight: bold;
    margin-bottom: 8px;
    color: #3e94e6;
}

input[type="text"] {
    padding: 10px;
    border: 1px solid #ced4da;
    border-radius: 4px;
}

input[type="color"] {
    width: 50px;
    height: 40px;
    cursor: pointer;
    border: none;
}

.contenedor-qr {
    min-height: 200px;
    min-width: 200px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px dashed #ced4da;
    padding: 10px;
}

.botones-accion {
    display: flex;
    gap: 10px;
}

button {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    color: white;
}

.btn-crear {
    background-color: #84d619;
}

.btn-descargar {
    background-color: #3e94e6;
}

@media (max-width: 640px) {
    .contenedor-principal {
        flex-direction: column;
        align-items: center;
        justify-content: center;

    }

    .panel-izquierdo,
    .panel-derecho {
        width:90%;
        padding: 20px;
    }

    .panel-izquierdo {
        border-right: none;
        border-bottom: 1px solid #dee2e6;
    }

    .botones-accion {
        flex-direction: column;
    }

    button {
        width: 100%;
    }
}
