* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #f6f7fa;
}

.container {
  display: flex;
  flex-direction: row;
  height: 100vh;
}

/* Panel Izquierdo */
.left-panel {
  flex: 1;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px;
}

.logo img {
  max-width: 200px;
}

.slogan {
  font-size: 1.2em;
  color: #001f5d;
  margin: 20px 0;
}

.login-form {
  display: flex;
  flex-direction: column;
}

.login-form label {
  font-weight: bold;
  margin-bottom: 5px;
}

.login-form input,
.login-form select {
  margin-bottom: 20px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.login-form button {
  padding: 12px;
  background-color: #1d3c8b;
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  margin-top: 10px;
}

.login-form .forgot {
  margin-top: 15px;
  color: #1d3c8b;
  text-decoration: none;
}

.login-form .privacy {
  margin-top: 10px;
  font-size: 0.85em;
  color: #888;
}

/* Panel Derecho con imagen de fondo */

.right-panel {
  flex: 1;
  background-image: url('hex_login.jpg'); /* aquí se cambia el nombre */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}


/* RESPONSIVE */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
  }

  .right-panel {
    order: -1;
    height: 300px;
  }

  .left-panel {
    width: 100%;
    padding: 30px;
  }
}






.radio-select {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.radio-box {
  flex: 1;
  border: 2px solid #ccc;
  border-radius: 10px;
  padding: 10px 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  background-color: #f0f0f0;
  transition: all 0.3s ease;
}

.radio-box img {
  width: 28px;
  height: 18px;
  border-radius: 2px;
  object-fit: cover;
  border: 1px solid #999;
}

.radio-box input[type="radio"] {
  display: none;
}

.radio-box span {
  font-weight: bold;
  color: #333;
}

/* ESTADO SELECCIONADO */
.radio-box input[type="radio"]:checked + img + span {
  color: #fff;
}

/* Pintar el contenedor cuando está seleccionado */
.radio-box:has(input[type="radio"]:checked) {
  background-color: #2ecc71; /* verde */
  border-color: #27ae60;
}

.radio-box:not(:has(input[type="radio"]:checked)) {
  background-color: #e0e0e0; /* plomo */
  border-color: #ccc;
}

