/*
    /assets/app.css
*/
:root {
	--bg: #f7f8fb;
	--surface: #ffffff;
	--surface-soft: #f8fafc;
	--border: #e5e7eb;
	--border-strong: #d1d5db;

	--text: #111827;
	--muted: #64748b;
	--muted-2: #94a3b8;

	--primary: #2563eb;
	--primary-hover: #1d4ed8;
	--primary-soft: #eff6ff;

	--danger: #ef4444;
	--danger-hover: #dc2626;
	--danger-soft: #fef2f2;

	--success: #16a34a;
	--success-soft: #ecfdf5;

	--sidebar-bg: #ffffff;
	--sidebar-border: #e5e7eb;
	--sidebar-text: #475569;
	--sidebar-title: #0f172a;
	--sidebar-hover: #f1f5f9;
	--sidebar-active-bg: #eff6ff;
	--sidebar-active-text: #1d4ed8;

	--shadow: 0 18px 45px rgba(15, 23, 42, .08);
	--shadow-soft: 0 8px 24px rgba(15, 23, 42, .06);

	--radius: 18px;
	--radius-sm: 12px;

	--font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
	box-sizing: border-box;
}

html,
body {
	min-height: 100%;
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font);
	font-size: 15px;
	line-height: 1.45;
	-webkit-font-smoothing: antialiased;
}

a {
	color: inherit;
}

button,
input,
select,
textarea {
	font: inherit;
}

button {
	cursor: pointer;
}

/* =========================
   LAYOUT
========================= */

.hpLayout {
	min-height: 100vh;
	display: flex;
	background: var(--bg);
}

.hpSidebar {
	position: sticky;
	top: 0;
	width: 260px;
	height: 100vh;
	padding: 18px;
	background: var(--sidebar-bg);
	color: var(--sidebar-text);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	border-right: 1px solid var(--sidebar-border);
	z-index: 50;
}

.hpSidebar__brand {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 4px 4px 18px;
	margin-bottom: 8px;
	border-bottom: 1px solid var(--border);
}

.hpSidebar__logo {
	width: 38px;
	height: 38px;
	border-radius: 13px;
	display: grid;
	place-items: center;
	background: linear-gradient(135deg, #2563eb, #38bdf8);
	color: #fff;
	font-weight: 900;
	font-size: 13px;
	box-shadow: 0 10px 20px rgba(37, 99, 235, .18);
}

.hpSidebar__title {
	font-size: 15px;
	font-weight: 800;
	letter-spacing: -.02em;
	color: var(--sidebar-title);
}

.hpSidebar__subtitle {
	font-size: 12px;
	color: var(--muted);
	margin-top: 1px;
}

.hpSidebar__nav {
	display: grid;
	gap: 5px;
}

.hpSidebar__link {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	border-radius: 13px;
	color: var(--sidebar-text);
	text-decoration: none;
	font-size: 14px;
	font-weight: 650;
	transition: background .15s ease, color .15s ease, transform .15s ease;
}

.hpSidebar__link:hover {
	background: var(--sidebar-hover);
	color: var(--sidebar-title);
}

.hpSidebar__link.is-active {
	background: var(--sidebar-active-bg);
	color: var(--sidebar-active-text);
	box-shadow: inset 0 0 0 1px rgba(37, 99, 235, .12);
}

.hpSidebar__icon {
	width: 22px;
	height: 22px;
	border-radius: 8px;
	display: grid;
	place-items: center;
	background: #f1f5f9;
	color: #64748b;
	font-size: 13px;
}

.hpSidebar__link.is-active .hpSidebar__icon {
	background: #dbeafe;
	color: var(--primary);
}

.hpSidebar__logout {
	margin: 16px 0 0;
}

.hpLogoutButton {
	width: 100%;
	border: 1px solid #fecaca;
	border-radius: 14px;
	background: #fff;
	color: #dc2626;
	font-weight: 800;
	padding: 11px 14px;
	transition: background .15s ease, transform .15s ease, border-color .15s ease;
}

.hpLogoutButton:hover {
	background: var(--danger-soft);
	border-color: #fca5a5;
	transform: translateY(-1px);
}

.hpContent {
	flex: 1;
	min-width: 0;
	padding: 28px;
	background: var(--bg);
}

.hpMobileBar {
	display: none;
	position: sticky;
	top: 0;
	z-index: 60;
	align-items: center;
	gap: 12px;
	background: #ffffff;
	color: var(--text);
	padding: 12px 16px;
	border-bottom: 1px solid var(--border);
}

.hpIconButton {
	border: 1px solid var(--border);
	border-radius: 12px;
	width: 38px;
	height: 38px;
	background: #fff;
	color: var(--text);
	font-size: 18px;
}

/* =========================
   PAGE STRUCTURE
========================= */

.max-w-6xl,
.max-w-5xl,
.max-w-4xl,
.max-w-3xl {
	max-width: 1180px;
	margin-left: auto;
	margin-right: auto;
}

.mx-auto {
	margin-left: auto;
	margin-right: auto;
}

.p-4 { padding: 0; }
.p-5 { padding: 20px; }
.p-6 { padding: 24px; }
.p-8 { padding: 32px; }
.p-10 { padding: 40px; }

.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 18px; }
.mt-1 { margin-top: 4px; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }

.flex { display: flex; }
.grid { display: grid; }
.hidden { display: none !important; }
.block { display: block; }
.inline-block { display: inline-block; }
.inline-flex { display: inline-flex; }

.items-center { align-items: center; }
.items-end { align-items: flex-end; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.justify-end { justify-content: flex-end; }
.flex-col { flex-direction: column; }

.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }

.space-y-4 > * + * {
	margin-top: 16px;
}

.grid-cols-1 {
	grid-template-columns: repeat(1, minmax(0, 1fr));
}

/* =========================
   TYPOGRAPHY
========================= */

h1,
.text-2xl {
	font-size: 30px;
	line-height: 1.1;
	letter-spacing: -.04em;
	margin: 0;
	font-weight: 850;
	color: #020617;
}

h2,
.text-xl {
	font-size: 20px;
	line-height: 1.2;
	letter-spacing: -.02em;
	margin: 0;
	font-weight: 800;
}

.text-lg { font-size: 18px; }
.text-sm { font-size: 14px; }
.text-xs { font-size: 12px; }

.font-bold,
.font-extrabold {
	font-weight: 800;
}

.font-semibold { font-weight: 750; }
.font-medium { font-weight: 650; }

.text-center { text-align: center; }
.text-left { text-align: left; }

.text-white { color: #fff; }
.text-black\/60 { color: var(--muted); }
.text-black\/70 { color: #475569; }
.text-black\/50 { color: var(--muted-2); }

.text-red-600,
.text-red-700 {
	color: #dc2626;
}

.text-emerald-800 {
	color: #065f46;
}

.text-blue-600 {
	color: var(--primary);
}

.text-gray-700 {
	color: #334155;
}

.text-gray-900 {
	color: #0f172a;
}

.m-0 { margin: 0; }

/* =========================
   CARDS
========================= */

.rounded-2xl,
.hpCard {
	border-radius: var(--radius);
}

.rounded-xl { border-radius: 14px; }
.rounded-lg { border-radius: 11px; }
.rounded-md { border-radius: 9px; }

.border {
	border: 1px solid var(--border);
}

.border-t {
	border-top: 1px solid var(--border);
}

.border-b {
	border-bottom: 1px solid var(--border);
}

.border-red-200 { border-color: #fecaca; }
.border-emerald-200 { border-color: #a7f3d0; }
.border-gray-200 { border-color: var(--border); }

.bg-white { background: var(--surface); }
.bg-black\/\[0\.03\],
.bg-black\/5 { background: #f8fafc; }
.bg-black\/\[0\.06\] { background: #eef2f7; }
.bg-red-50 { background: #fef2f2; }
.bg-emerald-50 { background: #ecfdf5; }
.bg-sky-100 { background: #eff6ff; }

.shadow-lg,
.shadow-2xl {
	box-shadow: var(--shadow);
}

.overflow-hidden { overflow: hidden; }
.overflow-auto { overflow: auto; }

.rounded-2xl.border.bg-white.overflow-hidden {
	box-shadow: var(--shadow-soft);
	border-color: var(--border);
}

/* =========================
   TABLES
========================= */

table {
	width: 100%;
	border-collapse: collapse;
	background: #fff;
}

.min-w-full {
	min-width: 100%;
}

th {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: #64748b;
	background: #f8fafc;
	white-space: nowrap;
	text-align: left;
}

th,
td,
.px-4 {
	padding-left: 16px;
	padding-right: 16px;
}

.py-3 {
	padding-top: 14px;
	padding-bottom: 14px;
}

.py-2 {
	padding-top: 10px;
	padding-bottom: 10px;
}

.px-3 {
	padding-left: 12px;
	padding-right: 12px;
}

.px-4 {
	padding-left: 16px;
	padding-right: 16px;
}

tr {
	transition: background .15s ease;
}

.hover\:bg-black\/\[0\.02\]:hover,
.hover\:bg-black\/5:hover {
	background: #f8fafc;
}

.truncate {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.whitespace-nowrap {
	white-space: nowrap;
}

/* =========================
   FORMS
========================= */

input,
select,
textarea {
	border: 1px solid var(--border-strong);
	background: #fff;
	color: var(--text);
	outline: none;
	transition: border-color .15s ease, box-shadow .15s ease;
	border-radius: 10px;
}

input:focus,
select:focus,
textarea:focus {
	border-color: rgba(37, 99, 235, .55);
	box-shadow: 0 0 0 4px rgba(37, 99, 235, .12);
}

input[type="file"] {
	padding: 10px;
}

.w-full { width: 100%; }
.w-32 { width: 128px; }
.h-32 { height: 128px; }
.h-full { height: 100%; }
.max-w-\[92vw\] { max-width: 92vw; }
.w-\[460px\] { width: 460px; }

.p-2 { padding: 8px; }
.p-3 { padding: 12px; }

.object-contain { object-fit: contain; }
.object-cover { object-fit: cover; }
.max-h-56 { max-height: 224px; }

/* =========================
   BUTTONS - AJUSTADOS
========================= */

button,
a.rounded-lg,
a.rounded-xl,
button.rounded-lg,
button.rounded-xl {
	text-decoration: none;
}

button.rounded-lg,
button.rounded-xl,
a.rounded-lg,
a.rounded-xl,
.bg-blue-600,
.bg-blue-500,
.bg-red-600 {
	min-height: 36px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	border-radius: 10px;
	padding: 8px 13px;
	font-size: 14px;
	line-height: 1;
	font-weight: 750;
	transition: background .15s ease, color .15s ease, border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}

.bg-blue-600,
.bg-blue-500 {
	background: var(--primary);
	color: #fff;
	border: 1px solid var(--primary);
	box-shadow: 0 8px 18px rgba(37, 99, 235, .18);
}

.hover\:bg-blue-700:hover,
.hover\:bg-blue-600:hover,
.bg-blue-600:hover,
.bg-blue-500:hover {
	background: var(--primary-hover);
	border-color: var(--primary-hover);
	transform: translateY(-1px);
}

.bg-red-600 {
	background: #fff;
	color: #dc2626;
	border: 1px solid #fecaca;
	box-shadow: none;
}

.hover\:bg-red-700:hover,
.bg-red-600:hover {
	background: var(--danger-soft);
	color: #b91c1c;
	border-color: #fca5a5;
	transform: translateY(-1px);
}

.hover\:bg-red-50:hover {
	background: #fef2f2;
}

button.border,
a.border {
	background: #fff;
	color: #334155;
	border: 1px solid var(--border-strong);
	font-weight: 750;
	box-shadow: 0 2px 6px rgba(15, 23, 42, .04);
}

button.border:hover,
a.border:hover {
	background: #f8fafc;
	border-color: #cbd5e1;
	transform: translateY(-1px);
}

button[type="button"],
button[type="submit"] {
	border-radius: 10px;
}

.disabled\:opacity-50:disabled {
	opacity: .5;
	cursor: not-allowed;
}

/* Botões HTML antigos sem classe */
.hpContent button:not(.hpLogoutButton):not(.hpIconButton) {
	min-height: 34px;
	border-radius: 10px;
	border: 1px solid var(--border-strong);
	background: #fff;
	color: #334155;
	padding: 7px 12px;
	font-weight: 700;
	box-shadow: 0 2px 5px rgba(15, 23, 42, .04);
	transition: all .15s ease;
}

.hpContent button:not(.hpLogoutButton):not(.hpIconButton):hover {
	background: #f8fafc;
	border-color: #cbd5e1;
	transform: translateY(-1px);
}


/* =========================
   STATUS
========================= */

.inline-flex.items-center.rounded-full {
	border-radius: 999px;
	font-weight: 800;
	color: #475569;
}

/* =========================
   MODALS / DRAWERS
========================= */

.fixed { position: fixed; }
.absolute { position: absolute; }
.relative { position: relative; }

.inset-0 { inset: 0; }
.top-4 { top: 16px; }
.right-4 { right: 16px; }
.right-0 { right: 0; }
.top-0 { top: 0; }

.z-\[9999\] { z-index: 9999; }
.z-\[1000\] { z-index: 1000; }
.z-\[1100\] { z-index: 1100; }

.pointer-events-none { pointer-events: none; }

.bg-black\/40 {
	background: rgba(15, 23, 42, .42);
}

.opacity-0 { opacity: 0; }
.opacity-100 { opacity: 1; }

.scale-95 { transform: scale(.95); }
.scale-100 { transform: scale(1); }

.translate-x-full { transform: translateX(100%); }
.translate-x-0 { transform: translateX(0); }

.transition-opacity,
.transition-transform,
.transition-all {
	transition: all .18s ease;
}

.duration-150,
.duration-200 {
	transition-duration: .18s;
}

.w-full.sm\:w-\[520px\] {
	width: min(520px, 100vw);
}

/* =========================
   LOGIN
========================= */

body > div:not(.hpMobileBar):not(.hpLayout) {
	min-height: 100vh;
	display: grid;
	place-items: center;
	padding: 24px;
	background:
		radial-gradient(circle at top left, rgba(37, 99, 235, .14), transparent 30%),
		radial-gradient(circle at bottom right, rgba(14, 165, 233, .12), transparent 28%),
		#f7f8fb;
}

.backdrop-blur-md {
	backdrop-filter: blur(14px);
}

.mx-auto.mb-4 {
	margin-bottom: 18px;
}

.p-10.text-center {
	color: #64748b;
}

/* =========================
   RESPONSIVE
========================= */

@media (min-width: 640px) {
	.sm\:flex-row {
		flex-direction: row;
	}

	.sm\:items-end {
		align-items: flex-end;
	}

	.sm\:justify-between {
		justify-content: space-between;
	}

	.sm\:w-72 {
		width: 288px;
	}

	.sm\:grid-cols-2 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 820px) {
	.hpMobileBar {
		display: flex;
	}

	.hpSidebar {
		position: fixed;
		left: -280px;
		top: 0;
		transition: left .2s ease;
		box-shadow: 20px 0 40px rgba(15, 23, 42, .12);
	}

	.hpSidebar.is-open {
		left: 0;
	}

	.hpContent {
		padding: 18px;
	}

	h1,
	.text-2xl {
		font-size: 25px;
	}

	.flex.sm\:flex-row {
		flex-direction: column;
		align-items: stretch;
	}

	table {
		min-width: 760px;
	}
}
.hpPage {
	max-width: 1180px;
	margin: 0 auto;
}

.hpPageHeader {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	margin-bottom: 22px;
}

.hpPageHeader h1 {
	font-size: 30px;
	font-weight: 850;
	letter-spacing: -0.04em;
	margin: 0;
	color: #0f172a;
}

.hpPageHeader p {
	margin: 6px 0 0;
	color: #64748b;
	font-size: 14px;
}

.hpPanel {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 18px;
	box-shadow: 0 10px 28px rgba(15, 23, 42, .06);
	overflow: hidden;
}

.hpToolbar {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 16px;
	border-bottom: 1px solid #eef2f7;
	background: #fff;
}

.hpSearch {
	flex: 1;
	display: flex;
	align-items: center;
	gap: 10px;
	height: 42px;
	padding: 0 13px;
	border: 1px solid #dbe3ee;
	border-radius: 13px;
	background: #f8fafc;
	color: #94a3b8;
}

.hpSearch input {
	width: 100%;
	border: 0;
	background: transparent;
	outline: none;
	box-shadow: none;
	font-size: 14px;
}

.hpSearch input:focus {
	box-shadow: none;
}

.hpBtn {
	min-height: 38px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	padding: 9px 14px;
	border-radius: 12px;
	border: 1px solid transparent;
	font-size: 14px;
	font-weight: 800;
	text-decoration: none !important;
	white-space: nowrap;
	cursor: pointer;
	transition: all .16s ease;
}

.hpBtn:hover {
	transform: translateY(-1px);
	text-decoration: none !important;
}

.hpBtnSmall {
	min-height: 32px;
	padding: 7px 10px;
	font-size: 13px;
	border-radius: 10px;
}

.hpBtnPrimary {
	background: #2563eb;
	border-color: #2563eb;
	color: #fff !important;
	box-shadow: 0 8px 18px rgba(37, 99, 235, .18);
}

.hpBtnPrimary:hover {
	background: #1d4ed8;
	border-color: #1d4ed8;
}

.hpBtnGhost {
	background: #fff;
	border-color: #dbe3ee;
	color: #334155 !important;
}

.hpBtnGhost:hover {
	background: #f8fafc;
	border-color: #cbd5e1;
}

.hpBtnDanger {
	background: #dc2626;
	border-color: #dc2626;
	color: #fff !important;
}

.hpBtnDangerSoft {
	background: #fff;
	border-color: #fecaca;
	color: #dc2626 !important;
}

.hpBtnDangerSoft:hover {
	background: #fef2f2;
	border-color: #fca5a5;
}

.hpBtnSuccess {
	background: #ecfdf5;
	border-color: #bbf7d0;
	color: #047857 !important;
}

.hpBtnWarning {
	background: #fffbeb;
	border-color: #fde68a;
	color: #b45309 !important;
}

.hpTableWrap {
	width: 100%;
	overflow-x: auto;
}

.hpTable {
	width: 100%;
	border-collapse: collapse;
	background: #fff;
}

.hpTable th {
	padding: 14px 18px;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: #64748b;
	background: #f8fafc;
	text-align: left;
	border-bottom: 1px solid #eef2f7;
}

.hpTable td {
	padding: 16px 18px;
	border-bottom: 1px solid #eef2f7;
	vertical-align: middle;
}

.hpTable tbody tr:hover {
	background: #fafcff;
}

.hpTable tbody tr:last-child td {
	border-bottom: 0;
}

.hpTextRight {
	text-align: right !important;
}

.hpEventCell {
	display: flex;
	align-items: center;
	gap: 14px;
	min-width: 320px;
}

.hpEventThumb {
	width: 52px;
	height: 52px;
	border-radius: 14px;
	object-fit: cover;
	border: 1px solid #e5e7eb;
	background: #f8fafc;
}

.hpEventThumbEmpty {
	display: grid;
	place-items: center;
	font-size: 12px;
	font-weight: 900;
	color: #2563eb;
	background: #eff6ff;
}

.hpEventTitle {
	font-weight: 850;
	color: #0f172a;
	margin-bottom: 3px;
}

.hpEventMeta {
	font-size: 12px;
	color: #64748b;
}

.hpEventLink {
	display: block;
	max-width: 420px;
	margin-top: 4px;
	font-size: 12px;
	color: #2563eb !important;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	text-decoration: none !important;
}

.hpActions {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 8px;
}

.hpBadge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 64px;
	padding: 5px 10px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 850;
}

.hpBadgeSuccess {
	background: #ecfdf5;
	color: #047857;
	border: 1px solid #bbf7d0;
}

.hpBadgeMuted {
	background: #f1f5f9;
	color: #64748b;
	border: 1px solid #e2e8f0;
}

.hpAlert {
	margin-bottom: 16px;
	padding: 13px 15px;
	border-radius: 14px;
	font-weight: 700;
	font-size: 14px;
}

.hpAlertDanger {
	background: #fef2f2;
	color: #b91c1c;
	border: 1px solid #fecaca;
}

.hpEmpty {
	padding: 56px 24px;
	text-align: center;
}

.hpEmptyIcon {
	width: 54px;
	height: 54px;
	margin: 0 auto 14px;
	display: grid;
	place-items: center;
	border-radius: 18px;
	background: #eff6ff;
}

.hpEmpty h2 {
	margin: 0;
	font-size: 20px;
}

.hpEmpty p {
	margin: 6px 0 18px;
	color: #64748b;
}

.hpToastHost {
	position: fixed;
	right: 22px;
	top: 22px;
	z-index: 9999;
	pointer-events: none;
}

.hpToast {
	padding: 12px 15px;
	border-radius: 14px;
	background: #fff;
	border: 1px solid #e5e7eb;
	box-shadow: 0 12px 28px rgba(15, 23, 42, .14);
	font-size: 14px;
	font-weight: 750;
}

.hpHidden {
	display: none !important;
}

.hpDrawerRoot {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: none;
}

.hpDrawerRoot.is-open {
	display: block;
}

.hpDrawerBackdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, .38);
}

.hpDrawerPanel {
	position: absolute;
	right: 0;
	top: 0;
	width: min(520px, 100vw);
	height: 100%;
	background: #fff;
	box-shadow: -18px 0 50px rgba(15, 23, 42, .18);
	display: flex;
	flex-direction: column;
}

.hpDrawerHeader {
	padding: 22px;
	border-bottom: 1px solid #eef2f7;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 18px;
}

.hpDrawerHeader h2 {
	margin: 0;
	font-size: 22px;
}

.hpDrawerHeader p {
	margin: 5px 0 0;
	font-size: 13px;
	color: #64748b;
}

.hpIconClose {
	width: 36px;
	height: 36px;
	border-radius: 12px;
	border: 1px solid #dbe3ee;
	background: #fff;
	font-size: 22px;
	line-height: 1;
}

.hpDrawerBody {
	padding: 22px;
	overflow: auto;
	flex: 1;
}

.hpField {
	margin-bottom: 17px;
}

.hpField label {
	display: block;
	font-size: 13px;
	font-weight: 850;
	color: #334155;
	margin-bottom: 7px;
}

.hpField input,
.hpField select {
	width: 100%;
	min-height: 42px;
	border: 1px solid #dbe3ee;
	border-radius: 13px;
	padding: 9px 12px;
	outline: none;
}

.hpField input:focus,
.hpField select:focus {
	border-color: #93c5fd;
	box-shadow: 0 0 0 4px rgba(37, 99, 235, .12);
}

.hpField small {
	display: block;
	margin-top: 7px;
	color: #64748b;
	font-size: 12px;
}

.hpUploadBox {
	border: 1px dashed #cbd5e1;
	border-radius: 16px;
	padding: 14px;
	background: #f8fafc;
}

.hpPreviewBlock {
	margin-top: 14px;
}

.hpPreviewBlock span {
	display: block;
	font-size: 12px;
	font-weight: 850;
	color: #475569;
	margin-bottom: 8px;
}

.hpPreviewBlock img {
	width: 100%;
	max-height: 240px;
	object-fit: cover;
	border-radius: 14px;
	border: 1px solid #e5e7eb;
}

.hpDrawerFooter {
	display: flex;
	justify-content: flex-end;
	gap: 10px;
	padding-top: 10px;
}

.hpModalRoot {
	position: fixed;
	inset: 0;
	z-index: 1100;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.hpModalRoot.is-open {
	display: flex;
}

.hpModalBackdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, .42);
}

.hpModalBox {
	position: relative;
	width: min(420px, 100%);
	background: #fff;
	border-radius: 20px;
	border: 1px solid #e5e7eb;
	padding: 22px;
	box-shadow: 0 22px 60px rgba(15, 23, 42, .24);
}

.hpModalBox h2 {
	margin: 0 0 8px;
	font-size: 22px;
}

.hpModalBox p {
	margin: 0;
	color: #64748b;
}

.hpModalActions {
	display: flex;
	justify-content: flex-end;
	gap: 10px;
	margin-top: 22px;
}

@media (max-width: 860px) {
	.hpPageHeader {
		align-items: flex-start;
		flex-direction: column;
	}

	.hpToolbar {
		flex-direction: column;
		align-items: stretch;
	}

	.hpActions {
		justify-content: flex-start;
		flex-wrap: wrap;
	}

	.hpTable {
		min-width: 820px;
	}
}

/* ===== AJUSTES HOT PLANET ADMIN - LARGURA E DRAWER ===== */
.hpContent {
	width: 100%;
}

.max-w-6xl,
.max-w-5xl,
.max-w-4xl,
.max-w-3xl,
.hpPage {
	max-width: none;
	width: 100%;
}

.z-\[100\] { z-index: 100; }
.z-\[9998\] { z-index: 9998; }
.z-\[9999\] { z-index: 9999; }
