/* ---- Admin: listado y botones planos ---- */
@media screen and (max-width: 782px) {
	.post-type-mlgs_ticket .wp-list-table td {
		overflow: visible;
	}
	.post-type-mlgs_ticket .wp-list-table td:not(.check-column):before {
		position: static !important;
		display: block;
		float: none;
		font-weight: 600;
		margin-bottom: 4px;
		white-space: normal;
		width: auto;
	}
	.post-type-mlgs_ticket .wp-list-table td:not(.check-column) {
		display: block;
		width: auto !important;
		padding: 8px 10px !important;
		text-align: left !important;
	}
}

.post-type-mlgs_ticket .wp-list-table {
	border: 1px solid #d0d7de;
	border-collapse: separate;
	border-spacing: 0;
}
.post-type-mlgs_ticket .wp-list-table thead th {
	background: #eef4f8;
	border-bottom: 2px solid #d0d7de;
	font-weight: 700;
	color: #1d2327;
}
.post-type-mlgs_ticket .wp-list-table tbody tr:hover {
	background: #f5f9fc;
}

a.mlgs-tk-boton-icono.dashicons {
	display: inline-block;
	width: 30px;
	height: 30px;
	line-height: 30px;
	font-size: 20px;
	text-align: center;
	text-decoration: none;
	background: none;
	border: none;
}
a.mlgs-tk-boton-icono.dashicons:before {
	font-family: dashicons !important;
	line-height: 30px;
}
a.mlgs-tk-boton-icono.dashicons:hover {
	opacity: 0.65;
}

/* ---- Público: formulario y conversación ---- */
.mlgs-tk-caja {
	max-width: 620px;
	margin: 0 auto 24px;
	padding: 24px;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 1px 3px rgba(0,0,0,0.06);
	font-family: inherit;
}
.mlgs-tk-caja h3 {
	margin-top: 0;
}
.mlgs-tk-form label {
	display: block;
	font-weight: 600;
	margin: 12px 0 4px;
}
.mlgs-tk-form input[type=text],
.mlgs-tk-form input[type=email],
.mlgs-tk-form textarea {
	width: 100%;
	padding: 8px 10px;
	border: 1px solid #cbd5e1;
	border-radius: 4px;
	box-sizing: border-box;
	font-size: 14px;
}
.mlgs-tk-btn {
	margin-top: 16px;
	padding: 10px 20px;
	background: #2563eb;
	color: #fff;
	border: none;
	border-radius: 5px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
}
.mlgs-tk-btn:hover {
	background: #1d4ed8;
}
.mlgs-tk-exito {
	border-color: #16a34a;
	background: #f0fdf4;
}
.mlgs-tk-error {
	border-color: #dc2626;
	background: #fef2f2;
	color: #991b1b;
}

.mlgs-tk-hilo-publico {
	max-height: 420px;
	overflow-y: auto;
	padding: 12px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 6px;
	margin: 16px 0;
}
.mlgs-tk-msg-pub {
	max-width: 80%;
	margin-bottom: 12px;
	padding: 10px 14px;
	border-radius: 8px;
	font-size: 14px;
	line-height: 1.5;
}
.mlgs-tk-msg-pub.cliente {
	background: #2563eb;
	color: #fff;
	margin-left: auto;
}
.mlgs-tk-msg-pub.staff {
	background: #fff;
	border: 1px solid #e2e8f0;
	margin-right: auto;
}
.mlgs-tk-msg-pub .autor {
	font-weight: 700;
	font-size: 11px;
	opacity: 0.8;
	margin-bottom: 4px;
}
.mlgs-tk-msg-pub .fecha {
	font-size: 10px;
	opacity: 0.7;
	margin-top: 4px;
}
