* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

:root {
	--bg: #f3f6fb;
	--surface: #ffffff;
	--surface-soft: #f8fafc;
	--surface-muted: #eef2f7;
	--border: #e2e8f0;
	--text: #1f2937;
	--muted: #64748b;
	--accent: #2563eb;
	--accent-dark: #1d4ed8;
	--accent-soft: #dbeafe;
	--success: #16a34a;
	--danger: #dc2626;
	--warning: #d97706;
	--sidebar: #0f172a;
	--sidebar-soft: #111c33;
	--sidebar-border: rgba(148, 163, 184, 0.18);
	--shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
	--shadow-md: 0 16px 35px rgba(15, 23, 42, 0.08);
	--radius: 12px;
}

html {
	min-height: 100%;
	background: var(--bg);
}

body {
	min-height: 100vh;
	background: var(--bg) !important;
	font-family: "Segoe UI", Arial, sans-serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.5;
	color: var(--text);
	text-decoration: none;
	-webkit-font-smoothing: antialiased;
}

a {
	color: var(--accent);
	text-decoration: none;
	transition: color 0.2s ease, background 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

a:hover {
	color: var(--accent-dark);
}

img {
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}

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

input[readonly],
input[disabled] {
	cursor: not-allowed;
	background: #f1f5f9 !important;
	color: #94a3b8 !important;
}

#center {
	width: min(1000px, calc(100% - 32px));
	margin: 0 auto;
	float: none;
}

/* LOGIN */
#logo {
	width: min(440px, calc(100% - 32px));
	height: auto;
	min-height: 128px;
	margin: 8vh auto 0;
	float: none;
	background: none !important;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
}

#logo::before {
	content: "";
	width: 76px;
	height: 76px;
	border-radius: 22px;
	background: #0f172a url("../img/logo1.png") center / contain no-repeat;
	box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
}

#logo::after {
	content: "Radio Habblive";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	text-align: center;
	font-size: 28px;
	font-weight: 800;
	color: #0f172a;
	letter-spacing: 0;
}

#box_login {
	width: min(420px, calc(100% - 32px));
	height: auto;
	position: relative;
	margin: 28px auto 0;
	background: rgba(255, 255, 255, 0.96);
	border: 1px solid rgba(226, 232, 240, 0.95);
	border-radius: 18px;
	box-shadow: var(--shadow-md);
	float: none;
	overflow: hidden;
	backdrop-filter: blur(10px);
}

#box_login .arrow {
	display: none;
}

#box_login #alerta {
	width: calc(100% - 48px);
	height: 0;
	position: absolute;
	top: 24px;
	left: 24px;
	border-radius: 12px;
	font-size: 13px;
	font-weight: 700;
	color: #ffffff;
	float: none;
	overflow: hidden;
	box-shadow: var(--shadow-sm);
}

#box_login #form_login {
	width: auto;
	height: auto;
	margin: 25px !important;
	float: none;
	display: grid;
	gap: 12px;
}

#box_login #form_login input[type="text"],
#box_login #form_login input[type="password"] {
	width: 100%;
	height: 48px;
	padding: 0 14px;
	margin: 0;
	border-radius: 12px;
	border: 1px solid var(--border);
	outline: none;
	background: var(--surface-soft);
	font-size: 14px;
	color: var(--text);
	float: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

#box_login #form_login input[type="text"]::placeholder,
#box_login #form_login input[type="password"]::placeholder {
	color: #94a3b8;
}

#box_login #form_login .text:focus {
	border-color: var(--accent);
	background: #ffffff;
	box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

#box_login #form_login .pin,
#box_login #form_login .limpar {
	width: auto;
	height: auto;
	padding: 11px 12px;
	margin: 0;
	background: var(--surface-muted);
	border-radius: 10px;
	text-align: center;
	font-size: 14px;
	color: var(--text);
	opacity: 1;
	transition: background 0.2s ease, transform 0.2s ease;
	cursor: pointer;
	float: none;
}

#box_login #form_login .pin:hover,
#box_login #form_login .limpar:hover {
	background: var(--accent-soft);
	transform: translateY(-1px);
}

#box_login #form_login input[type="submit"] {
	width: 100%;
	height: 48px;
	margin: 4px 0 0;
	border-radius: 12px;
	border: 0;
	outline: none;
	background: linear-gradient(135deg, var(--accent), #0891b2) !important;
	text-align: center;
	font-size: 15px;
	font-weight: 800;
	color: #ffffff !important;
	opacity: 1;
	transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
	cursor: pointer;
	float: none;
	box-shadow: 0 12px 24px rgba(37, 99, 235, 0.24);
}

#box_login #form_login input[type="submit"]:hover {
	filter: brightness(1.03);
	transform: translateY(-1px);
	box-shadow: 0 16px 28px rgba(37, 99, 235, 0.28);
}

#creditos {
	width: min(1000px, calc(100% - 32px));
	position: static;
	margin: 24px auto 18px;
	text-align: center;
	font-size: 13px;
	color: var(--muted) !important;
	float: none;
}

/* PAINEL */
#left {
	width: 280px !important;
	height: 100vh !important;
	position: fixed !important;
	inset: 0 auto 0 0;
	margin-top: 0 !important;
	background: linear-gradient(180deg, var(--sidebar), #111827) !important;
	float: none;
	overflow-x: hidden !important;
	overflow-y: auto !important;
	border-right: 1px solid var(--sidebar-border);
	box-shadow: 18px 0 45px rgba(15, 23, 42, 0.18);
	z-index: 50;
	scrollbar-width: thin;
	scrollbar-color: rgba(148, 163, 184, 0.35) transparent;
}

#left::-webkit-scrollbar {
	width: 8px;
}

#left::-webkit-scrollbar-thumb {
	background: rgba(148, 163, 184, 0.28);
	border-radius: 999px;
}

#left #avatar {
	width: 92px;
	height: 92px;
	margin: 26px auto 0;
	border-radius: 24px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28);
	float: none;
	overflow: hidden;
	background-color: #e2e8f0 !important;
	background-size: cover !important;
}

#left #avatar .avatar {
	width: 50px;
	height: 90px;
	margin: 38px 0 0 18px;
	float: none;
}

#left #data {
	width: auto;
	height: auto;
	margin: 14px 22px 0;
	padding-bottom: 18px;
	text-align: center;
	color: #ffffff;
	float: none;
	border-bottom: 1px solid var(--sidebar-border);
}

#left #data span:first-child {
	display: inline-block;
	max-width: 100%;
	font-size: 17px !important;
	font-weight: 800 !important;
	overflow-wrap: anywhere;
}

#left #data span:last-child {
	display: inline-block;
	margin-top: 6px;
	font-size: 12px !important;
	line-height: 1.55;
	color: #aebbd0;
}

#left #nav {
	width: auto;
	height: auto;
	margin: 18px 14px 96px;
	float: none;
}

#left #nav .menu,
#left #nav .submenu {
	list-style: none;
}

#left #nav .menu > li {
	width: 100%;
	margin: 4px 0;
	float: none;
}

#left #nav .menu > li > a {
	width: 100%;
	min-height: 44px;
	padding: 0 13px;
	border-radius: 12px;
	background: transparent !important;
	color: #dbe7ff !important;
	text-align: left;
	font-weight: 700;
	font-size: 14px;
	float: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 10px;
	position: relative;
	white-space: normal;
	overflow-wrap: anywhere;
}

#left #nav .menu > li > a:hover,
#left #nav .menu > li > a:focus {
	background: rgba(37, 99, 235, 0.16) !important;
	color: #ffffff !important;
}

#left #nav .menu > li > a[href="inicio"] {
	background: rgba(37, 99, 235, 0.2) !important;
	color: #ffffff !important;
	box-shadow: inset 3px 0 0 #60a5fa;
}

#left #nav .menu > li > a[href="deslogar"] {
	margin-top: 12px;
	color: #fecaca !important;
}

#left #nav .menu > li > a[href="deslogar"]:hover {
	background: rgba(220, 38, 38, 0.16) !important;
	color: #ffffff !important;
}

#left #nav .menu > li > a:not([href])::after {
	content: "\f107";
	font-family: FontAwesome;
	font-weight: normal;
	margin-left: auto;
	color: #94a3b8;
}

#left #nav .menu > li > a i,
#left #nav .menu .submenu > li > a i {
	width: 20px;
	min-width: 20px;
	text-align: center;
	font-size: 15px;
	color: inherit;
}

#left #nav .menu .submenu {
	width: 100%;
	height: auto;
	display: none;
	float: none;
	margin: 3px 0 8px;
	padding: 6px 0 6px 16px;
	border-left: 1px solid var(--sidebar-border);
}

#left #nav .menu .submenu > li {
	width: 100%;
	margin: 2px 0;
	float: none;
}

#left #nav .menu .submenu > li > a {
	width: 100%;
	min-height: 36px;
	padding: 8px 12px;
	border-radius: 10px;
	background: transparent !important;
	color: #aebbd0 !important;
	text-align: left;
	font-size: 13px;
	font-weight: 600;
	float: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 8px;
	overflow-wrap: anywhere;
}

#left #nav .menu .submenu > li > a:hover {
	background: rgba(148, 163, 184, 0.12) !important;
	color: #ffffff !important;
}

#left #creditoss {
	width: auto;
	position: fixed;
	left: 16px;
	bottom: 14px;
	right: calc(100% - 264px);
	margin: 0;
	padding: 12px;
	border-top: 1px solid var(--sidebar-border);
	background: linear-gradient(180deg, rgba(15, 23, 42, 0.86), rgba(15, 23, 42, 0.98));
	text-align: center;
	font-size: 11px;
	line-height: 1.45;
	color: #94a3b8;
	float: none;
	z-index: 60;
}

#right {
	width: calc(100% - 280px) !important;
	min-height: 100vh;
	height: auto;
	position: relative;
	margin-left: 280px;
	padding: 24px;
	background: var(--bg) !important;
	float: none;
}

#right::before {
	content: "";
	position: fixed;
	top: 0;
	left: 280px;
	right: 0;
	height: 180px;
	background: linear-gradient(180deg, rgba(37, 99, 235, 0.08), rgba(243, 246, 251, 0));
	pointer-events: none;
	z-index: 0;
}

#right .tema {
	width: calc(33.333% - 12px);
	min-width: 220px;
	height: 260px;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	margin: 0 12px 12px 0;
	position: relative;
	float: left;
	border-radius: var(--radius);
	border: 1px solid var(--border);
	box-shadow: var(--shadow-sm);
	overflow: hidden;
}

#right .tema input {
	position: absolute;
	top: 14px;
	left: 14px;
}

#right #notificacao {
	width: auto !important;
	min-height: 54px;
	position: relative;
	top: auto;
	left: auto;
	z-index: 10;
	margin: 0 0 18px;
	padding: 0 18px;
	background: rgba(255, 255, 255, 0.96);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: var(--shadow-sm);
	color: var(--text) !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	display: flex;
	align-items: center;
	justify-content: flex-end;
}

#right #notificacao a {
	color: var(--text) !important;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 11px;
	border-radius: 999px;
	background: var(--surface-soft);
	border: 1px solid var(--border);
}

#right #notificacao a:hover {
	background: var(--accent-soft);
	color: var(--accent-dark) !important;
}

#right #notificacao i {
	color: var(--warning);
}

#right #notificacao #botao {
	width: auto;
	height: auto;
	padding: 0 0 0 25px;
	position: relative;
	background: url("../img/notificacao.png") no-repeat;
	font-size: 13px;
	color: var(--text);
	cursor: pointer;
	float: none;
}

#right #notificacao #botao .new {
	width: 16px;
	height: 16px;
	padding: 1px 0 0;
	position: absolute;
	left: 12px;
	top: -9px;
	background: var(--danger);
	border-radius: 50%;
	text-align: center;
	font-size: 9px;
	color: #ffffff;
}

#right #notificacao #box {
	width: 220px;
	height: 180px;
	padding: 8px;
	position: absolute;
	top: 48px;
	right: 14px;
	left: auto;
	background: #0f172a;
	border-radius: 12px;
	display: none;
	box-shadow: var(--shadow-md);
}

#right #notificacao #box .arrow {
	position: absolute;
	top: -5px;
	right: 24px;
	left: auto;
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	border-bottom: 5px solid #0f172a;
}

#right #notificacao #box #over {
	width: 100%;
	height: 100%;
	overflow-x: hidden;
	float: none;
}

#right #notificacao #box #over::-webkit-scrollbar { width: 8px; }
#right #notificacao #box #over::-webkit-scrollbar-button { display: none; }
#right #notificacao #box #over::-webkit-scrollbar-track { display: none; }
#right #notificacao #box #over::-webkit-scrollbar-track-piece { display: none; }
#right #notificacao #box #over::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.16); min-height: 80px; border-radius: 5px; }
#right #notificacao #box #over::-webkit-scrollbar-corner { display: none; }
#right #notificacao #box #over::-webkit-resizer { display: none; }

#right #notificacao #box #over .notificacao {
	width: 100%;
	height: auto;
	padding: 8px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	font-size: 13px;
	color: #ffffff;
	word-wrap: break-word;
	float: none;
}

#right #conteudo {
	width: 100%;
	min-height: calc(100vh - 120px);
	height: auto;
	position: relative;
	z-index: 1;
	margin: 0;
	padding: 0;
	font-size: 14px;
	color: var(--text);
	float: none;
}

#right #conteudo::after {
	content: "";
	display: table;
	clear: both;
}

#right #diretorio {
	width: 100%;
	height: auto;
	position: relative;
	padding: 20px 22px;
	top: auto;
	left: auto;
	margin: 0 0 20px;
	text-align: left;
	font-weight: 800;
	font-size: 18px;
	color: #ffffff;
	float: none;
	background: linear-gradient(135deg, #1e293b, #2563eb) !important;
	border-radius: 16px;
	box-shadow: var(--shadow-md);
	overflow: hidden;
}

#right #diretorio::after {
	content: "";
	position: absolute;
	inset: auto 22px 0 auto;
	width: 180px;
	height: 80px;
	background: rgba(255, 255, 255, 0.1);
	border-radius: 80px 80px 0 0;
	transform: translateY(44px);
}

#right #diretorio i {
	margin-right: 8px;
}

#right #conteudo > br,
#right #conteudo form + br {
	display: none;
}

#right #conteudo form {
	width: min(100%, 760px) !important;
	height: auto;
	float: none;
	display: block;
	margin: 0 0 20px;
	padding: 20px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: var(--shadow-sm);
	color: var(--text);
}

#right #conteudo form[style*="width: 100%"] {
	width: 100% !important;
}

#right #conteudo label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 5px 16px 5px 0;
	color: var(--text);
	font-weight: 600;
}

#right #conteudo .text,
#right #conteudo .select,
#right .texto,
#right #conteudo input[type="text"],
#right #conteudo input[type="password"],
#right #conteudo input[type="number"],
#right #conteudo input[type="email"],
#right #conteudo input[type="url"],
#right #conteudo input[type="file"],
#right #conteudo select,
#right #conteudo textarea {
	width: 100% !important;
	max-width: 100%;
	min-height: 44px;
	height: auto;
	margin: 6px 0 14px;
	padding: 10px 12px;
	border-radius: 10px;
	border: 1px solid var(--border);
	outline: none;
	background: var(--surface-soft);
	font-size: 14px;
	color: var(--text);
	float: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

#right #conteudo input[type="file"] {
	padding: 9px;
	background: #ffffff;
}

#right #conteudo .text:focus,
#right #conteudo .select:focus,
#right .texto:focus,
#right #conteudo input:focus,
#right #conteudo select:focus,
#right #conteudo textarea:focus {
	border-color: var(--accent);
	background: #ffffff;
	box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

#right #conteudo input[type="checkbox"],
#right #conteudo input[type="radio"] {
	width: 16px !important;
	min-height: 16px;
	height: 16px;
	margin: 0;
	padding: 0;
	accent-color: var(--accent);
	float: none;
}

#right #conteudo .button,
#right #conteudo input[type="submit"],
#right #conteudo input[type="button"],
#right #conteudo button {
	width: auto !important;
	min-width: 120px;
	min-height: 42px;
	height: auto;
	padding: 10px 16px;
	margin: 6px 8px 8px 0;
	border-radius: 10px;
	border: 0;
	outline: none;
	background-image: linear-gradient(135deg, var(--accent), #0891b2) !important;
	background-color: var(--accent) !important;
	text-align: center;
	font-size: 14px;
	font-weight: 800;
	color: #ffffff !important;
	float: none;
	cursor: pointer;
	opacity: 1;
	transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
	box-shadow: 0 10px 22px rgba(37, 99, 235, 0.18);
}

#right #conteudo .button:hover,
#right #conteudo input[type="submit"]:hover,
#right #conteudo input[type="button"]:hover,
#right #conteudo button:hover {
	opacity: 1;
	filter: brightness(1.04);
	transform: translateY(-1px);
	box-shadow: 0 14px 28px rgba(37, 99, 235, 0.24);
}

#right #infos {
	width: 100%;
	height: auto;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 14px;
	margin: 0 0 18px;
	float: none;
}

#right #info {
	width: auto;
	min-height: 108px;
	height: auto;
	margin: 0;
	padding: 16px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: var(--shadow-sm);
	float: none;
}

#right #info .icon {
	width: 42px;
	height: 42px;
	border-radius: 12px;
	margin: 0 0 10px;
	float: none;
	display: flex;
	align-items: center;
	justify-content: center;
}

#right #info .info {
	width: 100%;
	margin: 0;
	text-align: left;
	color: var(--text);
	float: none;
}

#right #ckeditor {
	width: 100%;
	min-height: 1px;
	height: auto;
	position: relative;
	float: none;
}

#right .texto {
	min-height: 220px;
	resize: vertical;
}

#right #conteudo table {
	width: 100% !important;
	margin: 14px 0 20px !important;
	float: none !important;
	border-collapse: separate;
	border-spacing: 0;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: var(--shadow-sm);
	overflow: hidden;
	color: var(--text);
}

#right #conteudo table tr {
	height: auto !important;
}

#right #conteudo table th,
#right #conteudo table td {
	padding: 13px 14px;
	border-bottom: 1px solid var(--border);
	text-align: left;
	font-size: 13px;
	font-weight: 600;
	color: var(--text);
	vertical-align: middle;
}

#right #conteudo table tr:first-child > th,
#right #conteudo table tr:first-child > td {
	background: var(--surface-soft) !important;
	color: #475569;
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0;
}

#right #conteudo table tr:nth-child(even):not(:first-child) > th,
#right #conteudo table tr:nth-child(even):not(:first-child) > td {
	background: #fbfdff !important;
}

#right #conteudo table tr:nth-child(odd):not(:first-child) > th,
#right #conteudo table tr:nth-child(odd):not(:first-child) > td {
	background: #ffffff !important;
}

#right #conteudo table tr:last-child > th,
#right #conteudo table tr:last-child > td {
	border-bottom: 0;
}

#right #conteudo table a {
	font-weight: 800;
}

#right #conteudo table img {
	max-width: 24px;
	max-height: 24px;
}

#right #avisos {
	width: 100%;
	height: auto;
	margin: 0;
	float: none;
}

#right #avisos #title {
	width: 100%;
	height: auto;
	background: none;
	padding: 0;
	margin: 0 0 14px;
	font-size: 22px;
	font-weight: 850;
	color: var(--text);
	float: none;
	display: flex;
	align-items: center;
	gap: 10px;
}

#right #avisos #title::before {
	content: "\f0f3";
	font-family: FontAwesome;
	width: 40px;
	height: 40px;
	border-radius: 12px;
	background: var(--accent-soft);
	color: var(--accent);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
}

#right #avisos #aviso {
	width: 100%;
	height: auto;
	margin: 0 0 14px;
	padding: 18px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: var(--shadow-sm);
	float: none;
}

#right #avisos #aviso #topo {
	width: 100%;
	height: auto;
	padding: 0 0 14px;
	border-top: 0;
	border-bottom: 1px solid var(--border);
	float: none;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
}

#right #avisos #aviso #topo .titulo {
	width: auto;
	flex: 1 1 260px;
	font-size: 16px;
	font-weight: 800;
	color: var(--text);
	float: none;
}

#right #avisos #aviso #topo #visto {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	justify-content: flex-end;
}

#right #avisos #aviso #topo #visto .marcar,
#right #avisos #aviso #topo #visto .vesto {
	width: auto;
	height: auto;
	padding: 8px 11px;
	margin: 0;
	border-radius: 999px;
	border: 1px solid rgba(37, 99, 235, 0.18);
	background-image: none !important;
	background-color: var(--accent-soft) !important;
	text-align: center;
	font-size: 12px;
	font-weight: 800;
	color: var(--accent-dark);
	cursor: pointer;
	float: none;
	opacity: 1;
	transition: background 0.2s ease, color 0.2s ease;
}

#right #avisos #aviso #topo #visto .marcar:hover,
#right #avisos #aviso #topo #visto .vesto:hover {
	opacity: 1;
	background: var(--accent) !important;
	color: #ffffff;
}

#right #avisos #aviso #topo #visto #vistos {
	width: 100%;
	height: auto;
	margin: 6px 0 0;
	display: none;
	float: none;
}

#right #avisos #aviso #topo #visto #vistos .visto {
	width: auto;
	height: auto;
	padding: 6px 9px;
	margin: 4px 4px 0 0;
	border-radius: 999px;
	border: 1px solid var(--border);
	background-image: none !important;
	background-color: var(--surface-soft) !important;
	font-size: 12px;
	font-weight: 700;
	color: var(--muted);
	float: left;
	opacity: 1;
	transition: background 0.2s ease;
}

#right #avisos #aviso #topo #vistos .visto:hover {
	opacity: 1;
	background: var(--accent-soft) !important;
}

#right #avisos #aviso .texxto {
	width: 100%;
	padding-top: 14px;
	font-size: 14px;
	color: #475569;
	overflow: hidden;
	float: none;
}

#right #avisos #aviso .texxto span {
	color: var(--muted);
}

#right #paginacao {
	width: auto;
	height: auto;
	margin: 10px 0 0;
	float: right;
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
}

#right #paginacao .pag {
	width: auto;
	min-width: 38px;
	height: auto;
	padding: 9px 11px;
	margin: 0;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 10px;
	text-align: center;
	font-size: 13px;
	font-weight: 800;
	color: var(--text);
	float: none;
	box-shadow: var(--shadow-sm);
}

.sweet-alert {
	border-radius: 18px !important;
	font-family: "Segoe UI", Arial, sans-serif !important;
}

.sweet-alert button {
	border-radius: 10px !important;
	background: var(--accent) !important;
}

.cke_chrome {
	border-radius: 12px !important;
	border-color: var(--border) !important;
	overflow: hidden;
	box-shadow: var(--shadow-sm) !important;
}

@media (max-width: 1180px) {
	#left {
		width: 248px !important;
	}

	#left #creditoss {
		right: calc(100% - 232px);
	}

	#right {
		width: calc(100% - 248px) !important;
		margin-left: 248px;
		padding: 20px;
	}

	#right::before {
		left: 248px;
	}
}

@media (max-width: 860px) {
	body {
		background: var(--bg) !important;
	}

	#left {
		width: 100% !important;
		height: auto !important;
		max-height: none;
		position: relative !important;
		inset: auto;
		box-shadow: none;
		border-right: 0;
		border-bottom: 1px solid var(--sidebar-border);
	}

	#left #avatar {
		width: 72px;
		height: 72px;
		margin-top: 18px;
		border-radius: 20px;
	}

	#left #avatar .avatar {
		margin-top: 24px;
	}

	#left #data {
		margin: 10px 18px 0;
		padding-bottom: 14px;
	}

	#left #nav {
		margin: 14px 12px 16px;
	}

	#left #creditoss {
		position: relative;
		left: auto;
		right: auto;
		bottom: auto;
		margin: 0 14px 14px;
		border-radius: 12px;
	}

	#right {
		width: 100% !important;
		min-height: auto;
		margin-left: 0;
		padding: 16px;
	}

	#right::before {
		left: 0;
	}

	#right #notificacao {
		justify-content: flex-start;
		padding: 12px;
	}

	#right #notificacao a {
		width: 100%;
		justify-content: center;
		text-align: center;
	}

	#right #diretorio {
		padding: 18px;
		font-size: 16px;
		border-radius: 14px;
	}

	#right #conteudo form {
		padding: 16px;
	}

	#right #conteudo table {
		display: block;
		overflow-x: auto;
		white-space: nowrap;
	}

	#right #conteudo table th,
	#right #conteudo table td {
		padding: 11px 12px;
	}

	#right #avisos #aviso #topo {
		display: block;
	}

	#right #avisos #aviso #topo #visto {
		justify-content: flex-start;
		margin-top: 12px;
	}
}

@media (max-width: 520px) {
	#box_login {
		border-radius: 14px;
	}

	#logo::after {
		font-size: 24px;
	}

	#right {
		padding: 12px;
	}

	#right #diretorio {
		padding: 16px;
	}

	#right #conteudo .button,
	#right #conteudo input[type="submit"],
	#right #conteudo input[type="button"],
	#right #conteudo button {
		width: 100% !important;
		margin-right: 0;
	}

	#right #paginacao {
		float: none;
		width: 100%;
		justify-content: center;
	}
}
