body {
	margin: 0;
	font-family: Arial, Helvetica, sans-serif;
}

button {
	cursor: pointer;
}

.logout {
	background-color: red !important;
	color: white !important;
	font-weight: 600 !important;
	font-size: 18px !important;
}

.container {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 100vh;
}

.container > form {
	width: 400px;
	padding: 20px;
	background-color: rgb(223, 223, 223);
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	gap: 20px;
	border-radius: 5px;
}

.container > form .titulo {
	width: 100%;
	font-size: 20px;
	font-weight: 500;
	text-align: center;
}

.container > form input {
	width: 80%;
	padding: 10px;
	margin: auto;
	border-radius: 5px;
	border: none;
}

.container > form button {
	width: 50%;
	padding: 10px;
	margin: auto;
	border-radius: 5px;
	border: none;
	background-color: black;
	color: white;
	font-weight: 900;
	font-size: 16px;
}

.container > form .mensaje {
	font-size: 12px;
	font-weight: 200;
}

.container > form .mensaje .err {
	color: red;
}

.container > form .mensaje .succ {
	color: green;
}

.container .side-list {
	width: calc(100% - 30px);
	max-width: 270px;
	min-width: 250px;
	height: calc(100% - 30px);
	padding: 15px;
	padding-top: 0px;
	background-color: rgb(221, 221, 221);
	box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
	display: flex;
	justify-content: flex-start;
	align-items: center;
	flex-direction: column;
	gap: 10px;
	z-index: 10;
	overflow: auto;
}

.container .side-list > .titulo {
	width: calc(100% - 20px);
	padding: 10px;
	font-size: 20px;
	font-weight: 600;
	text-align: center;
	position: sticky;
	top: 0;
	background-color: rgb(221, 221, 221);
}

.container .side-list .area {
	width: calc(100% - 10px);
	border-radius: 5px;
	padding: 5px;
	background-color: rgb(190, 190, 190);
	cursor: pointer;
}

.container .side-list .area.selected {
	background-color: rgb(0, 131, 207);
	color: white;
}
.container .side-list > .buttons {
	position: sticky;
	bottom: 0px;
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	gap: 5px;
}
.container .side-list button {
	width: 100%;
	padding: 10px;
	color: black;
	font-weight: 700;
	border-radius: 5px;
	background-color: rgb(214, 214, 214);
}

.container .tabla-dispositivos {
	width: calc(100% - 30px);
	height: calc(100% - 30px);
	padding: 15px;
	background-color: white;
	overflow: auto;
}

.container .tabla-dispositivos table {
	width: 100%;
}
.container .tabla-dispositivos > button {
	width: 200px;
	padding: 10px;
	color: black;
	font-weight: 700;
	border-radius: 5px;
	background-color: rgb(214, 214, 214);
	position: sticky;
	left: 0;
}

.container .tabla-dispositivos > .paginacion,
.container .tabla-dispositivos > .opciones {
	position: sticky;
	left: 0;
}
.container .tabla-dispositivos > .filtros {
	position: sticky;
	left: 0;
}
table {
	background-color: white;
}
tr:nth-child(even) {
	background-color: #f2f2f2;
}

tr:hover {
	background-color: #ddd;
}

th {
	padding-top: 12px;
	padding-bottom: 12px;
	text-align: left;
	background-color: #d4d4d4;
	color: white;
}

td,
th {
	text-align: center;
	padding: 5px;
}

td input,
td select,
.filtro input,
.filtro select {
	width: 120px;
	height: 30px;
	background-color: rgb(226, 226, 226);
	border-radius: 5px;
	border: none;
}
td input:hover,
td select:hover,
.filtro input:hover,
.filtro select:hover {
	background-color: white;
}
td input:focus,
td select:focus,
.filtro input:focus,
.filtro select:focus {
	background-color: rgb(138, 207, 138);
}
td button,
.filtro button {
	background-color: rgb(47, 111, 172);
	border: none;
	border-radius: 5px;
	color: white;
	font-weight: 900;
	font-size: 17px;
	padding: 5px;
}
td button:hover,
.filtro button:hover {
	background-color: rgb(40, 95, 146);
}
td button:active,
.filtro button:active {
	background-color: rgb(68, 107, 143);
}
.opciones {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	gap: 5px;
}
.opciones button {
	padding: 10px;
	font-size: 16px;
	border: none;
	background-color: rgb(60, 108, 211);
	color: white;
	font-weight: 600;
	border-radius: 5px;
}
.opciones button:disabled {
	background-color: rgb(97, 111, 141);
}
.modal {
	position: fixed;
	top: 0;
	z-index: 1000;
	width: 100%;
	height: 100vh;
	background-color: rgba(0, 0, 0, 0.3);
	display: flex;
	justify-content: center;
	align-items: flex-start;
}

.modal .cerrar {
	width: 24px;
	height: 24px;
	display: flex;
	justify-content: center;
	align-items: center;
	cursor: pointer;
	margin-left: auto;
}

.modal .cerrar::after {
	position: absolute;
	content: '';
	height: 30px;
	width: 3px;
	background-color: black;
	transform: rotate(45deg);
}

.modal .cerrar::before {
	position: absolute;
	content: '';
	height: 30px;
	width: 3px;
	background-color: black;
	transform: rotate(-45deg);
}

.modal form {
	width: calc(100% - 40px);
	max-width: 350px;
	padding: 20px;
	background-color: rgb(223, 223, 223);
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	gap: 20px;
	border-radius: 5px;
	margin-top: 15px;
}

.modal form .titulo {
	width: 100%;
	font-size: 20px;
	font-weight: 500;
	text-align: center;
}

.modal form input,
.modal form select,
.modal form textarea {
	width: 80%;
	padding: 10px;
	margin: auto;
	border-radius: 5px;
	border: none;
}
.modal form textarea {
	width: 100%;
	resize: none;
}

.modal form button {
	width: 50%;
	padding: 10px;
	margin: auto;
	border-radius: 5px;
	border: none;
	background-color: black;
	color: white;
	font-weight: 900;
	font-size: 16px;
}

.row {
	display: flex;
	justify-self: center;
	align-items: center;
	gap: 15px;
}

.column {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	gap: 15px;
}
.img-container {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	flex-direction: column;
	overflow: auto;
	height: 100%;
	width: 100%;
}
.img-container img {
	/* width: 1000px; */
	max-width: 90%;
	max-height: 50vh;
}
.img-container .cerrar {
	width: 25px;
	height: 25px;
	position: absolute;
	top: 15px;
	right: 25px;
}
@media (max-width: 1400px) {
	.container {
		flex-wrap: wrap;
		overflow-x: hidden;
		align-items: flex-start;
		width: 100vw;
		height: 100vh;
	}

	.container .side-list {
		position: absolute;
		height: auto;
		height: calc(100vh - 20px);
		transform: translateX(-300px);
		left: 0;
		overflow-x: hidden;
		transition: 0.3s all ease;
	}

	.container .side-list.active {
		transform: translateX(0);
	}

	.door {
		position: absolute;
		width: 10px;
		height: 10px;
		background-color: rgba(255, 255, 255, 0);
		border-top: 2px solid black;
		border-right: 2px solid black;
		transform: rotate(45deg);
		color: white;
		top: 10px;
		right: 10px;
		transition: 0.3s all ease;
		cursor: pointer;
	}

	.door.active {
		transform: rotate(-135deg);
	}

	.container .tabla-dispositivos {
		width: 100%;
		overflow: auto;
	}
}
