:root {
	/* PALETA FINAL */
	--primary: #1C3A63;        /* Azul de destaque */
	--primary-dark: #122037;   /* Azul escuro */
	--primary-soft: #264C7A;   /* Azul intermediário */

	--bg-main: #0A0E1C;        /* Azul ultra escuro (da imagem) */
	--bg-card: #101B2D;        /* Card levemente mais claro */

	--accent: #FF9F1C;         /* Laranja */
	--accent-dark: #E08600;    /* Laranja queimado */

	--text-light: #ffffff;
	--text-muted: #9bb3d8;
}

/* Reset básico */
* { box-sizing: border-box; }
html, body { height: 100%; }

body {
	margin: 0;
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	background: var(--bg-main);
	color: var(--text-light);
}

/* ===== Topbar ===== */
.topbar {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: 56px;
	padding: 0 18px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: linear-gradient(90deg, var(--bg-main), var(--primary));
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
	z-index: 20;
}

.topbar-left,
.topbar-right {
	display: flex;
	align-items: center;
	gap: 10px;
}

.logo-text {
	font-weight: 800;
	letter-spacing: 0.16em;
	font-size: 0.85rem;
	text-transform: uppercase;
	color: #e7f6ff;
	display:flex;
	align-items:center;
	gap:10px;
}
.logo-dot {
	width:10px;
	height:10px;
	border-radius:999px;
	background: var(--accent);
	box-shadow: 0 0 0 6px rgba(255,159,28,.20);
}

/* ===== Botões ===== */
.btn {
	border-radius: 14px !important;
	font-weight: 800 !important;
}

.btn-accent {
	background: var(--accent) !important;
	border: 1px solid var(--accent-dark) !important;
	color: #2a1a00 !important;
}
.btn-accent:hover { background: var(--accent-dark) !important; }

.btn-outline-top {
	border: 1px solid rgba(255,255,255,.25) !important;
	background: transparent !important;
	color: #dfeaff !important;
}
.btn-outline-top:hover {
	background: rgba(255,255,255,.12) !important;
	color:#fff !important;
}

.btn-primary {
	background: linear-gradient(135deg, #ffb347, #ff9f1c) !important;
	border: 1px solid var(--accent-dark) !important;
	color: #2d1c00 !important;
}
.btn-primary:hover { filter: brightness(1.05); }

.btn-secondary {
	background: var(--primary-dark) !important;
	border: 1px solid var(--primary) !important;
	color: #d7e2ff !important;
}
.btn-secondary:hover { background: var(--primary) !important; }

/* ===== Layout ===== */
.main-wrapper {
	min-height: calc(100vh - 50px);
	padding-top: 80px;
	padding-bottom: 32px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

/* ===== Card Hero ===== */
.card-hero {
	background: radial-gradient(circle at top left, var(--primary) 0%, var(--primary-dark) 60%, var(--bg-main) 100%);
	border-radius: 26px;
	padding: 36px 26px;
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
	border: 1px solid rgba(255,159,28,.18);
}

.card-hero-body {
	padding:0.8rem;
	margin: 0 auto;
}

.hero-title {
	font-weight: 900;
	font-size: clamp(1.6rem, 3.0vw, 2.2rem);
	text-transform: uppercase;
	line-height: 1.15;
	letter-spacing: .02em;
}
.hero-sub {
	color: var(--text-muted);
	font-size: 1.05rem;
	margin-top: 8px;
}

/* ===== Inputs (Bootstrap theme) ===== */
.text-muted { color: var(--text-muted) !important; }

.form-control, .form-select {
	background: rgba(16,27,45,.85) !important;
	color: #eaf7ff !important;
	border: 1px solid rgba(255,159,28,.28) !important;
	border-radius: 14px !important;
}
.form-control::placeholder {
	color: rgba(155,179,216,.55) !important;
}

.form-control:focus, .form-select:focus {
	border-color: var(--accent) !important;
	box-shadow: 0 0 0 0.22rem rgba(255,159,28,.30) !important;
}

.input-group-text {
	background: rgba(16,27,45,.85) !important;
	border: 1px solid rgba(255,159,28,.28) !important;
	color: #dbe9ff!important;
	border-radius: 14px !important;
}

/* ===== Tabelas ===== */
.table {
	--bs-table-bg: rgba(0,0,0,.30);
	--bs-table-color: #eaf7ff;
	--bs-table-border-color: rgba(255,255,255,.10);
	--bs-table-striped-bg: rgba(0,0,0,.45);
	--bs-table-striped-color: #eaf7ff;
	--bs-table-hover-bg: rgba(255,255,255,.08);
	--bs-table-hover-color: #ffffff;
	background: rgba(0,0,0,.35) !important;
	border-radius: 16px;
	overflow: hidden;
}
.table thead th {
	background: rgba(0,0,0,.55) !important;
	color: rgba(234,247,255,.90) !important;
	border-bottom-color: rgba(255,255,255,.12) !important;
}
.table td, .table th {
	border-top-color: rgba(255,255,255,.08) !important;
}
.table a {
	color: #ffcf7d;
	text-decoration: none;
}
.table a:hover { text-decoration: underline; }

/* ===== Footer ===== */
.footer {
	background: linear-gradient(90deg, var(--bg-main), var(--primary));
	padding: 10px 16px 16px;
	font-size: 0.75rem;
	color: var(--text-muted);
	margin-top: auto;
}

/* ===== Mobile ===== */
@media (max-width: 576px) {
	.card-hero { padding: 26px 18px; border-radius: 22px; }
	.hero-title { font-size: 1.5rem; }
}
