/* RESET GENERAL */
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  margin: 0;
  padding: 0;
  background: linear-gradient(135deg, #f3f4f7, #e7e9ee);
  color: #111;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* LAYOUT PRINCIPAL */
.layout {
  display: flex;
  width: 90%;
  max-width: 900px;
  height: 500px;
  background: white;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  overflow: hidden;
}

/* COLUMNA IZQUIERDA (LOGO) */
.left {
  background: #007aff10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40%;
}

.logo {
  width: 70%;
  max-width: 240px;
  object-fit: contain;
  filter: drop-shadow(0 3px 5px rgba(0,0,0,0.1));
}

/* COLUMNA DERECHA */
.right {
  flex: 1;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.right h2 {
  font-size: 1.4rem;
  font-weight: 600;
  text-align: left;
  margin-bottom: 20px;
}

/* FORMULARIO */
form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

input[type="text"] {
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid #ccc;
  font-size: 16px;
  outline: none;
  transition: border 0.2s, box-shadow 0.2s;
}

input[type="text"]:focus {
  border-color: #007aff;
  box-shadow: 0 0 0 3px rgba(0,122,255,0.2);
}

button {
  background-color: #007aff;
  color: #fff;
  padding: 12px;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.1s;
}

button:hover {
  background-color: #0064d6;
}

button:active {
  transform: scale(0.98);
}

/* FOOTER */
footer {
  text-align: center;
  font-size: 14px;
  color: #666;
}

footer a {
  color: #007aff;
  text-decoration: none;
  font-weight: 500;
}

footer a:hover {
  text-decoration: underline;
}

/* RESPONSIVE */
@media (max-width: 700px) {
  .layout {
    flex-direction: column;
    height: auto;
  }

  .left {
    width: 100%;
    padding: 30px 0;
  }

  .right {
    padding: 25px;
  }
}
