/* =============================
   REGISTRO CLIENTE - ECOMMERCE
   ============================= */
.registro-cliente-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: calc(100vh - 200px);
  /*background: #f5f6fa;
  padding: 40px 15px;*/
  background: transparent; /* ✅ deja ver el gris del body */
  padding: 40px 15px 90px;
}

.registro-cliente-section form {
  background: #fff;
  padding: 35px 30px;
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 650px;
}

.registro-cliente-section .form-label {
  font-weight: 600;
  color: #444;
}

.registro-cliente-section .form-control,
.registro-cliente-section .form-select {
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 15px;
  border: 1px solid #ccc;
  transition: all 0.2s ease-in-out;
}

.registro-cliente-section .form-control:focus,
.registro-cliente-section .form-select:focus {
  border-color: var(--primary-color, #0d6efd);
  box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.1);
  outline: none;
}

.registro-cliente-section .btn-primary {
  background-color: var(--primary-color, #0d6efd);
  border: none;
  padding: 12px;
  font-size: 16px;
  border-radius: 10px;
  font-weight: 600;
  transition: background 0.2s ease-in-out;
}

.registro-cliente-section .btn-primary:hover {
  background-color: var(--secondary-color);
}

.registro-cliente-section .text-center a {
  color: var(--primary-color, #0d6efd);
  text-decoration: none;
  font-weight: 500;
}

.registro-cliente-section .text-center a:hover {
  text-decoration: underline;
}

/* =============================
   LEAFLET MAPA SALON COMERCIAL - ECOMMERCE
   ============================= */
/* Mapa Leaflet */
.map-registro {
  width: 100%;
  height: 350px;
  border-radius: 12px;
  border: 1px solid #ccc;
  margin-bottom: 10px;
}

/* Ocultar botones + / - de Leaflet solo en este mapa */
#map .leaflet-control-zoom {
  display: none !important;
}

/* Ocultar el texto "Leaflet | © OpenStreetMap contributors" solo en este mapa */
#map .leaflet-control-attribution {
  display: none !important;
}

/* =============================
   PASSWORD TOGGLE + VALIDACION
   ============================= */
.password-wrapper {
  position: relative;
}

.password-wrapper .form-control {
  padding-right: 80px;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 42px;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  cursor: pointer;
  color: #666;
  font-size: 16px;
  padding: 0;
  z-index: 3;
}

.password-toggle:hover {
  color: var(--primary-color, #0d6efd);
}

.password-match-icon {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  font-size: 16px;
  z-index: 3;
}

.password-match-icon.ok {
  color: #198754;
}

.password-match-icon.error {
  color: #dc3545;
}

.password-match-text {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  font-weight: 500;
}

.password-match-text.ok {
  color: #198754;
}

.password-match-text.error {
  color: #dc3545;
}

/* Oculta el ojo nativo de Edge */
#password::-ms-reveal,
#password::-ms-clear,
#confirmar::-ms-reveal,
#confirmar::-ms-clear {
  display: none !important;
}

.tipo-registro-box {
	background: #fff;
	border-radius: 12px;
	padding: 32px;
	box-shadow: 0 8px 24px rgba(0,0,0,.08);
}

.tipo-registro-grid {
	display: flex;
	justify-content: center;
	gap: 32px;
	flex-wrap: wrap;
}

.tipo-card {
	width: 240px;
	min-height: 280px;
	border: 2px solid #2b2b2b;
	border-radius: 8px;
	background: #fff;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 18px;
	cursor: pointer;
	transition: .2s ease;
}

.tipo-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 10px 20px rgba(0,0,0,.08);
}

.tipo-card-icon {
	font-size: 84px;
	color: var(--primary-color);
	line-height: 1;
}

.tipo-card-title {
	font-size: 22px;
	font-weight: 700;
	text-align: center;
	color: #111;
}

.map-registro {
	height: 320px;
	border-radius: 8px;
	overflow: hidden;
	border: 1px solid #ddd;
}

.password-wrapper {
	position: relative;
}

.password-toggle {
	position: absolute;
	top: 50%;
	right: 12px;
	transform: translateY(-50%);
	border: 0;
	background: transparent;
	cursor: pointer;
}

.password-match-icon {
	position: absolute;
	right: 42px;
	top: 50%;
	transform: translateY(-50%);
}

.password-match-text.ok {
	color: #198754;
}

.password-match-text.error {
	color: #dc3545;
}

@media (max-width: 768px) {
	.tipo-card {
		width: 100%;
		max-width: 280px;
		min-height: 220px;
	}

	.tipo-card-icon {
		font-size: 64px;
	}

	.tipo-card-title {
		font-size: 18px;
	}
}