/* Botón guardar cambios en edición en línea */
.btn-guardar-cambios {
	background: #2c3e50;
	color: #fff;
	border: none;
	padding: 0.5em 1.2em;
	border-radius: 6px;
	font-size: 1em;
	cursor: pointer;
	margin-top: 0.7em;
	display: none;
}
.form-inline-edit .btn-guardar-cambios.show {
	display: inline-block;
}
/* Tabla de datos de equipo */
.tabla-datos-equipo {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0 0.2em;
	margin-bottom: 1.2em;
	background: #fafdff;
	border-radius: 8px;
	overflow: hidden;
	font-size: 1.04em;
}
.tabla-datos-equipo td {
	padding: 0.5em 0.7em;
	border: none;
	vertical-align: top;
}
.tabla-datos-equipo tr:not(:last-child) td {
	border-bottom: 1px solid #e3eaf2;
}
.tabla-datos-equipo b {
	color: #2c3e50;
}
@media (max-width: 700px) {
	.tabla-datos-equipo td {
		display: block;
		width: 100%;
		box-sizing: border-box;
		border-bottom: none !important;
	}
	.tabla-datos-equipo tr {
		display: block;
		margin-bottom: 0.7em;
		border-bottom: 1px solid #e3eaf2;
	}
}
/* Formato de datos de equipo en filas */
.equipo-datos {
	display: flex;
	flex-direction: column;
	gap: 0.5em;
	margin-bottom: 1.2em;
}
.equipo-row {
	display: flex;
	flex-wrap: wrap;
	gap: 2em;
	align-items: center;
	font-size: 1.04em;
}
.equipo-row span {
	min-width: 120px;
	margin-right: 1em;
}
@media (max-width: 700px) {
	.equipo-row {
		flex-direction: column;
		gap: 0.2em;
		align-items: flex-start;
	}
	.equipo-row span {
		min-width: unset;
		margin-right: 0;
	}
}
/* Fondo para los resultados de búsqueda */
.equipo {
	background: #f8fbff;
	margin: 2em 0;
	padding: 1.5em 1.2em;
	border-radius: 12px;
	box-shadow: 0 2px 12px #d0d8e0;
	border: 1.5px solid #e3eaf2;
	transition: box-shadow 0.2s;
}
.equipo:hover {
	box-shadow: 0 4px 24px #b0c4d6;
}
/* Contenedor para el index al 75% */
.container-75 {
	width: 75%;
	margin: 0 auto;
	min-width: 320px;
	max-width: 1200px;
}
@media (max-width: 900px) {
	.container-75 {
		width: 98%;
		padding: 0 0.5em;
	}
}
body {
	font-family: 'Segoe UI', Arial, sans-serif;
	background: #f4f6fa;
	margin: 0;
	padding: 0;
}
h1 {
	background: #2c3e50;
	color: #fff;
	padding: 1.2em 1em 1em 1em;
	margin: 0 0 2em 0;
	border-radius: 0 0 16px 16px;
	box-shadow: 0 2px 8px #b0b0b0;
	letter-spacing: 1px;
}
.container {
	max-width: 520px;
	margin: 2em auto;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 4px 24px #c0c0c0;
	padding: 2em 2.5em 2em 2.5em;
}
.alert-error {
	background: #ffeaea;
	color: #b30000;
	padding: 1em;
	margin-bottom: 1.5em;
	border-radius: 8px;
	border: 1px solid #ffb3b3;
	font-size: 1.05em;
}
.form-equipo {
	display: flex;
	flex-direction: column;
	gap: 1.1em;
}
.form-row {
	display: flex;
	flex-direction: column;
	gap: 0.3em;
}
.form-row label {
	font-weight: 500;
	color: #2c3e50;
	margin-bottom: 0.1em;
}
.form-row input[type="text"],
.form-row input[type="date"],
.form-row select,
.form-row textarea {
	padding: 0.5em 0.7em;
	border: 1px solid #bfc9d1;
	border-radius: 6px;
	font-size: 1em;
	background: #f8fafc;
	transition: border 0.2s;
}
.form-row input[type="text"]:focus,
.form-row input[type="date"]:focus,
.form-row select:focus,
.form-row textarea:focus {
	border: 1.5px solid #2c3e50;
	outline: none;
}
.form-row input[type="checkbox"] {
	width: 18px;
	height: 18px;
	accent-color: #2c3e50;
}
.form-actions {
	display: flex;
	gap: 1em;
	align-items: center;
	margin-top: 1em;
}
.form-actions button {
	background: #2c3e50;
	color: #fff;
	border: none;
	padding: 0.7em 1.5em;
	border-radius: 6px;
	font-size: 1em;
	cursor: pointer;
	transition: background 0.2s;
}
.form-actions button:hover {
	background: #1a232b;
}
.btn-link {
	color: #2c3e50;
	text-decoration: none;
	font-weight: 500;
	padding: 0.7em 1.2em;
	border-radius: 6px;
	background: #e9ecef;
	transition: background 0.2s;
}
.btn-link:hover {
	background: #d0d7de;
	text-decoration: underline;
}
@media (max-width: 600px) {
	.container {
		padding: 1em 0.5em;
	}
	h1 {
		font-size: 1.3em;
		padding: 1em 0.5em 0.7em 0.5em;
	}
}
