body {
  background: url("../img/logo/fondo.jpg") center / cover no-repeat fixed;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 15px;
}

body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 0;
}


label {
    color: #fff;
}





.register-card {
  background: black;
  border-radius: 16px;
  padding: 20px 20px 18px;
  /* Reducido el padding */
  width: 100%;
  max-width: 380px;
  /* Reducido de 480px a 380px */
  position: relative;
  z-index: 1;
  backdrop-filter: blur(2px);
}

.register-card h1 {
  text-align: center;
  margin-bottom: 16px;
  /* Reducido de 30px a 16px */
  color: #333;
  font-size: 18px;
  /* Reducido el tamaño */
}

/* =========================
   LOGO - CORREGIDO
========================= */
.logo {
    text-align: center;
}

.logo img {
    width: 220px;
    height: auto;
    display: block;
    margin: 15px auto;
}


/* =========================
           CAMPOS DEL FORMULARIO - Más compactos
        ========================= */
.mb-3 {
  margin-bottom: 10px !important;
  /* Reducido de 16px a 10px */
}

.form-label {
  font-size: 13px;
  /* Reducido */
  margin-bottom: 3px;
  font-weight: 500;
}

.form-control {
  font-size: 13px;
  /* Reducido */
  padding: 5px 10px;
  /* Reducido */
  height: 34px;
  /* Altura fija más pequeña */
}

.form-check {
  margin-bottom: 8px !important;
}

.form-check-input {
  width: 16px;
  height: 16px;
  margin-top: 2px;
}

.form-check-label {
  font-size: 12px;
  /* Reducido */
}

.input-group .btn {
  padding: 5px 10px;
  font-size: 13px;
}

.password-strength {
  height: 4px;
  /* Reducido de 6px a 4px */
  margin-top: 4px;
  border-radius: 3px;
  background: black;
}

.strength-1 {
  background: #dc3545;
  width: 20%;
}

.strength-2 {
  background: #dc3545;
  width: 40%;
}

.strength-3 {
  background: #ffc107;
  width: 60%;
}

.strength-4 {
  background: #ffc107;
  width: 80%;
}

.strength-5 {
  background: #198754;
  width: 100%;
}

.pistas-list {
  font-size: 11px;
  /* Reducido de 12px a 11px */
  margin-top: 4px;
  padding: 5px 8px;
  /* Reducido */
  background: #f8f9fa;
  border-radius: 4px;
}

.pista-correcta {
  color: #198754;
}

.pista-incorrecta {
  color: #dc3545;
}

/* =========================
           BOTONES - Más compactos
        ========================= */
.btn {
  font-size: 13px !important;
  /* Reducido */
  padding: 5px 10px !important;
  /* Reducido */
  border-radius: 6px !important;
}

.btn-primary {
  padding: 6px 10px !important;
}

.btn-volver {
  background: transparent;
  color: #666;
  border: 1px solid #ddd;
  width: 100%;
  padding: 6px 10px !important;
  /* Reducido */
  border-radius: 6px;
  text-decoration: none;
  display: block;
  text-align: center;
  transition: all 0.3s;
  margin-top: 10px;
  /* Reducido de 15px a 10px */
  font-size: 13px;
}

.btn-volver:hover {
  background: #f5f5f5;
  border-color: #ccc;
}

.btn-google {
  background: #fff;
  color: #333;
  border: 1px solid #ddd;
  width: 100%;
  padding: 6px 10px !important;
  /* Reducido */
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.3s;
  font-size: 13px;
}

.btn-google:hover {
  background: #f5f5f5;
  border-color: #ccc;
}

/* =========================
           DIVIDER - Más compacto
        ========================= */
.divider {
  display: flex;
  align-items: center;
  margin: 12px 0;
  /* Reducido de 20px a 12px */
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid #ddd;
}

.divider span {
  padding: 0 12px;
  color: #999;
  font-size: 12px;
  /* Reducido */
}

/* =========================
           ENLACES - Más compactos
        ========================= */
.text-center.mt-3 {
  margin-top: 10px !important;
  /* Reducido */
}

.text-center.mt-3 a {
  font-size: 13px;
  /* Reducido */
}

.small {
  font-size: 11px !important;
  /* Reducido */
}

.alert {
  font-size: 13px;
  padding: 8px 12px;
  margin-bottom: 10px;
}
