/* === ESTILO BASE === */
body {
  font-family: 'Segoe UI', sans-serif;
  background: #f5f5f5;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 40px 20px;
  min-height: 100vh;
  margin: 0;
}

.container {
  background: #fff;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  max-width: 500px;
  width: 100%;
  box-sizing: border-box;
}

.logo {
  text-align: center;
  margin-bottom: 20px;
}

.logo img {
  max-width: 180px;
  height: auto;
}

/* === TITULOS === */
h1 {
  font-size: 24px;
  margin-bottom: 20px;
  text-align: center;
}

h2 {
  font-size: 18px;
  margin-top: 30px;
}

/* === FORMULARIO === */
form {
  display: flex;
  flex-direction: column;
}

input,
select,
button,
textarea {
  font-size: 16px;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 10px;
  outline: none;
  width: 100%;
  box-sizing: border-box;
}

button {
  background-color: #597cff;
  color: white;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
}

button:hover {
  background-color: #3b61dd;
}

label {
  margin-bottom: 5px;
  font-weight: 600;
}

.success-message {
  background-color: #e7f5e1;
  border: 1px solid #b2e3a5;
  color: #2e7d32;
  padding: 12px;
  margin-bottom: 20px;
  border-radius: 8px;
  text-align: center;
}

/* === EPAYCO === */
.pay-btn {
  background-color: #f9a825;
  color: white;
  font-weight: bold;
}

.pay-btn:hover {
  background-color: #f57f17;
}

/* === MEDIA QUERIES PARA MÓVILES === */
@media (max-width: 480px) {
  .container {
    padding: 20px;
    border-radius: 12px;
  }

  h1 {
    font-size: 20px;
  }

  input,
  select,
  button,
  textarea {
    font-size: 16px;
    padding: 10px;
  }

  .logo img {
    max-width: 140px;
  }

  .pay-btn {
    font-size: 15px;
    padding: 12px;
  }
}
