.main-wrapper {
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4rem 1rem;
  background-color: rgb(27, 27, 27);
  min-height: 100dvh;
}
.main-wrapper .logo-wrapper {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  top: 1.5rem;
  left: 1.5rem;
}
.main-wrapper .logo-acceso-614 {
  width: 80px;
}
.link-text {
  padding: 0.5rem 1rem;
  background-color: var(--text-color-white);
  font-size: 1rem;
  text-decoration: none;
  color: var(--primary-color);
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}
.link-text:hover {
  background-color: var(--primary-color);
  color: var(--text-color-white);
}
.main-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url(../assets/images/fondo.png);
  background-size: cover;
  background-position: center;
  opacity: 0.3;
  z-index: 0;
}

.form-container {
  width: 100%;
  max-width: 600px;
}

.form-inputs {
  display: flex;
  gap: 1rem;
  flex-direction: row;
  margin-bottom: 1rem;
}

.form-inputs label {
  color: var(--text-color-white);
}
.form-recaptcha {
  width: 100%;
  display: flex;
  justify-content: center;
}

.card {
  background: none;
  margin-top: 3rem;
  border: none;
}

.card h2 {
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 3rem;
  color: var(--text-color-white);
  text-align: center;
}

/* Inputs */
input[type="text"],
input[type="password"] {
  width: 100%;
  padding: 0.75rem;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  border: none;
  border-radius: 0.5rem;
  font-size: 1rem;
}

/* Botones */
button {
  width: 100%;
  padding: 0.75rem;
  border: none;
  border-radius: 0.5rem;
  font-size: 1rem;
  background-color: #00c897;
  color: #fff;
  cursor: pointer;
  transition: background 0.3s ease;
  margin-top: 1.5rem;
}

button:disabled {
  background-color: #aaa;
  cursor: not-allowed;
}

button:hover:not(:disabled) {
  background-color: #009e74;
}

/* ESTILOS PARA PASO 2*/
.confirmacion-direccion {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.info-direccion {
  display: flex;
  flex-direction: column;
  color: var(--text-color-white);
}
.botones-confirmacion {
  display: flex;
  justify-content: center;
  gap: 1rem;
}
.botones-confirmacion .btn-no {
  background-color: #ff0000;
}

/* Tablas */
.table-wrapper {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

th,
td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid #ddd;
  color: #fff;
}

th {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Otros */
.alert {
  padding: 1rem;
  background-color: #e74c3c;
  color: white;
  border-radius: 0.5rem;
}

.error-text {
  color: #f8d7da;
  font-size: 0.9rem;
}

.d-none {
  display: none !important;
}

.sugerencia-fraccionamiento {
  color: var(--text-color-white);
}

#mensajeErrorCredenciales {
  margin-top: 1rem;
}

@media (max-width: 768px) {
  .form-inputs {
    flex-direction: column;
  }
}
