/* General */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f4f9;
}

h1, h2 {
  text-align: center;
  color: #333;
}

/* Franja superior */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background: linear-gradient(to right, #4caf50, #007bff);
  color: white;
}

.header h1 {
  font-size: 20px;
}

.header .logo img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid white;
}

/* Contenedor principal */
.main-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 20px auto;
  max-width: 900px;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  overflow: hidden;
}

/* Imagen cuadrada con borde difuminado */
.image-container {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f4f4f4;
  padding: 20px;
  position: relative;
}

.image-container img {
  max-width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.5);
}

/* Formulario de registro */
.register-container {
  flex: 1;
  padding: 20px;
}

.register-container h2 {
  margin-bottom: 20px;
  font-size: 22px;
  text-align: center;
  color: #4caf50;
}

form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

form input, form select, form button {
  width: 100%;
  max-width: 400px;
  padding: 10px;
  margin: 5px 0;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
}

form button {
  background-color: #007bff;
  color: white;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

form button:hover {
  background-color: #0056b3;
}
