:root {
	/* backgrounds */
	--primary: rgba(18, 22, 30, 0.92);
	--secondary: rgb(24, 30, 41);
	--third: #2f3747;
	--border: rgb(45, 54, 70);

	/* text */
	--font-color: #e6eaf0;
	--font-muted: #aab2c3;

	/* Links */
	--anchor: #ffcb05;
	--anchor-hover: #ffe066;

	/* alerts */
	--bg-danger: #3a1414;
	--color-danger: #ff8a8a;
	--border-danger: #5a1a1a;

	--bg-warning: #3d2e00;
	--color-warning: #ffd66b;
	--border-warning: #5c4500;

	--bg-info: #0b2a3f;
	--color-info: #7ecbff;
	--border-info: #123a55;

	--bg-success: #0f3a25;
	--color-success: #7dffb2;
	--border-success: #155c3a;

	--bg-default: rgb(20, 24, 33);
	--color-default: #cfd6e6;
	--border-default: #000;
}

/* RESET */
body, ul { margin: 0; padding: 0; }
li { list-style: none; }

/* GLOBAL */
body {
	font-family: 'Inter', 'Arial', sans-serif;
	color: var(--font-color);
	background-color: rgb(12, 16, 22);
	background: url("../img/capanatal.png") no-repeat center center fixed;
	background-size: cover;
}

a {
	text-decoration: none;
	color: var(--anchor);
	font-weight: 500;
}
a:hover { color: var(--anchor-hover); }

* {
	transition: 0.2s;
	box-sizing: border-box;
}


/* NAV MODERNO */
nav {
	background: rgba(18, 22, 30, 0.95);
	border-radius: 14px;
	margin: 20px auto;
	max-width: 1220px;
	box-shadow: 0 10px 35px rgba(0,0,0,0.45);
	position: relative;
	z-index: 1000;
}

nav .container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0 20px;
	background: transparent;
	border: none;
	overflow: visible !important;
}

/* REMOVE FLOATS ANTIGOS */
nav .pull-left,
nav .pull-right {
	float: none !important;
}

/* LISTAS */
nav ul {
	display: flex;
	gap: 8px;
}

/* LINKS */
nav ul li a {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 12px 18px;
	border-radius: 30px;
	color: var(--font-color);
	font-weight: 600;
	transition: 0.25s;
}

nav ul li a i {
	color: var(--anchor);
	font-size: 14px;
}

/* HOVER */
nav ul li a:hover {
	background: rgba(255, 203, 5, 0.15);
	color: var(--anchor);
}

/* DROPDOWN */
nav ul li {
	position: relative;
}

nav ul li ul {
	position: absolute;
	top: 100%;
	left: 0;
	background: rgb(24, 30, 41);
	border-radius: 12px;
	min-width: 180px;
	padding: 8px 0;
	box-shadow: 0 10px 25px rgba(0,0,0,0.4);
	display: none;
	flex-direction: column;
	z-index: 1001;
}

nav ul li:hover ul {
	display: flex;
}

nav ul li ul li a {
	padding: 10px 18px;
	border-radius: 0;
	font-weight: 500;
}

/* BOTÕES DE DESTAQUE */
.loginBtn,
#accountLink {
	background: linear-gradient(135deg, #ffcb05, #ff9800);
	color: #000 !important;
}

.loginBtn i,
#accountLink i {
	color: #000;
}

.loginBtn:hover,
#accountLink:hover {
	background: linear-gradient(135deg, #ff9800, #ffcb05);
	color: #000;
}


.topPane {
	margin-bottom: 10px;
	background: var(--secondary);
	border-bottom: 2px solid var(--border);
}

.leftPane {
	width: 70%;
	background: var(--secondary);
}

.rightPane {
	width: 29%;
	background: var(--secondary);
}

.main {
	width: 1220px;
	margin: 1rem auto;
	position: relative;
	z-index: 1;
}


/* TABLES */
table {
	width: 100%;
	background: var(--primary);
	border-radius: 10px;
}

td {
	padding: 10px 5px;
}

tr:nth-child(2n+1) {
	background: rgba(255,255,255,0.03);
}

/* FEED */
.feedContainer {
	margin: 2rem 0;
	background: var(--primary);
	border-radius: 12px;
	border-bottom: 2px solid var(--border);
	padding: 10px;
}

/* HEADER */
.header {
	color: #fff;
	background: var(--primary);
	padding: 10px;
}

/* FORMS */
input, select {
	background: rgb(20, 24, 33);
	color: var(--font-color);
	border: 1px solid var(--border);
	height: 40px;
	font-size: 1em;
	border-radius: 6px;
	padding: 0 10px;
}

.searchForm input {
	width: 100%;
	height: 30px;
}

.loginForm {
	display: flex;
	flex-wrap: wrap;
}

.loginForm button {
	width: 100%;
	margin-top: 10px;
	height: 40px;
	background: var(--secondary);
	color: var(--font-color);
	border: 1px solid var(--border);
	border-radius: 6px;
}

.loginForm button:hover {
	background: var(--anchor);
	color: #000;
}

/* ALERTS */
.alert-box {
	max-width: 500px;
	font-size: 14px;
	border-radius: 8px;
	margin: 0 auto 15px auto;
	text-align: center;
	padding: 10px;
}

.alert-default {
	background: var(--bg-default);
	color: var(--color-default);
}

.alert-info {
	background: var(--bg-info);
	color: var(--color-info);
}

.alert-success {
	background: var(--bg-success);
	color: var(--color-success);
}

.alert-warning {
	background: var(--bg-warning);
	color: var(--color-warning);
}

.alert-danger {
	background: var(--bg-danger);
	color: var(--color-danger);
}

/* FOOTER */
footer {
	background: var(--primary);
	border-radius: 12px;
	border-bottom: 2px solid var(--border);
	padding: 15px;
	margin-top: 20px;
}

/* BUTTON DOWNLOAD */
.topDownloadButton {
	display: block;
	width: 120px;
	margin: auto;
	padding: 8px 15px;
	text-align: center;
	border: 1px solid var(--anchor);
	border-radius: 20px;
	color: var(--anchor);
}

.topDownloadButton:hover {
	background: var(--anchor);
	color: #000;
}

