/**
 * Campo de formulario compartido (gestión + componentes reutilizables).
 */

.depol-mr-field {
	min-width: 0;
	margin-bottom: var(--space-4);
}

.depol-mr-field > label,
.depol-mr-field__label {
	display: block;
	margin-bottom: 0.35rem;
	font-size: 0.82rem;
	font-weight: 700;
	color: var(--navy2);
}

.depol-mr-field input[type="text"],
.depol-mr-field input[type="email"],
.depol-mr-field input[type="number"],
.depol-mr-field input[type="password"],
.depol-mr-field input[type="search"],
.depol-mr-field input[type="date"],
.depol-mr-field input[type="time"],
.depol-mr-field input[type="datetime-local"],
.depol-mr-field select,
.depol-mr-field textarea,
.depol-mr-gestion-field input[type="text"],
.depol-mr-gestion-field input[type="email"],
.depol-mr-gestion-field input[type="number"],
.depol-mr-gestion-field input[type="password"],
.depol-mr-gestion-field input[type="search"],
.depol-mr-gestion-field input[type="date"],
.depol-mr-gestion-field input[type="time"],
.depol-mr-gestion-field input[type="datetime-local"],
.depol-mr-gestion-field select,
.depol-mr-gestion-field textarea {
	box-sizing: border-box;
	padding: 0.55rem 0.7rem;
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	background: #fff;
	color: var(--text);
	font-family: inherit;
	font-size: 0.92rem;
	line-height: 1.4;
}

.depol-mr-field > input[type="text"],
.depol-mr-field > input[type="email"],
.depol-mr-field > input[type="number"],
.depol-mr-field > input[type="password"],
.depol-mr-field > input[type="search"],
.depol-mr-field > input[type="date"],
.depol-mr-field > input[type="time"],
.depol-mr-field > input[type="datetime-local"],
.depol-mr-field > select,
.depol-mr-field > textarea,
.depol-mr-gestion-field > input[type="text"],
.depol-mr-gestion-field > input[type="email"],
.depol-mr-gestion-field > input[type="number"],
.depol-mr-gestion-field > input[type="password"],
.depol-mr-gestion-field > input[type="search"],
.depol-mr-gestion-field > input[type="date"],
.depol-mr-gestion-field > input[type="time"],
.depol-mr-gestion-field > input[type="datetime-local"],
.depol-mr-gestion-field > select,
.depol-mr-gestion-field > textarea {
	width: 100%;
}

.depol-mr-field input:focus,
.depol-mr-field select:focus,
.depol-mr-field textarea:focus,
.depol-mr-gestion-field input:focus,
.depol-mr-gestion-field select:focus,
.depol-mr-gestion-field textarea:focus {
	outline: none;
	border-color: var(--navy);
	box-shadow: var(--focus-ring);
}

.depol-mr-field input:focus-visible,
.depol-mr-field select:focus-visible,
.depol-mr-field textarea:focus-visible,
.depol-mr-gestion-field input:focus-visible,
.depol-mr-gestion-field select:focus-visible,
.depol-mr-gestion-field textarea:focus-visible {
	outline: none;
	border-color: var(--navy);
	box-shadow: var(--focus-ring);
}
