:root {
	/* backgrounds */
	--primary: #1a1a1a; /* Preto escuro para o fundo principal */
	--secondary: #0d0d0d; /* Preto mais escuro para áreas secundárias (corpo, painéis) */
	--third: #ffffff; /* Branco para elementos de destaque (como texto claro ou bordas) */
	--border: #333333; /* Cinza escuro para bordas */

	/* text */
	--font-color: #ffffff; /* Branco para o texto principal */

	/* Links / anchors */
	--anchor: #9933ff; /* Roxo vibrante para links */
	--anchor-hover: #cc99ff; /* Roxo mais claro para hover */

	/* buttons or alert boxes with different colors */
	--bg-danger: #4d0000;
	--color-danger: #ff9999;
	--border-danger: #660000;

	--bg-warning: #4d3300;
	--color-warning: #ffcc99;
	--border-warning: #664400;

	--bg-info: #003366;
	--color-info: #99ccff;
	--border-info: #004488;

	--bg-success: #004d00;
	--color-success: #99ff99;
	--border-success: #006600;

	--bg-default: #1a1a1a;
	--color-default: #9933ff; /* Roxo para destaque */
	--border-default: #333333;
}


body {
	font-family: 'arial', sans-serif;
	color:var(--font-color);
	/* Adicionar sombra para o efeito 'shadow' */
	background-color: var(--secondary);
}


body, ul { margin: 0; padding: 0; }
li { list-style: none; }
a { text-decoration: none;color:var(--anchor); }
a:hover {color:var(--anchor-hover);}
a:hover, button:hover, input[type="submit"]:hover { cursor: pointer; }
* {-webkit-transition-duration: 0.2s;-moz-transition-duration: 0.2s;-o-transition-duration: 0.2s;transition-duration: 0.2s;}
*:hover {-webkit-transition-duration: 0s;-moz-transition-duration: 0s;-o-transition-duration: 0s;transition-duration: 0s;}

nav .container > div > ul > li > ul {
	position: absolute;
	border: 2px solid;
	border-top:none !important;
	border-color: var(--border);
	width: 200px;
}

nav { border: 10px solid var(--primary); }
nav .container { padding-left: 10px; }
nav .container > div > ul > li,
.modIcon:hover > i:nth-child(2) { display: inline-block; }

nav .container > div > ul > li > a { padding: 20px; }
nav .container > div > ul > li:hover > ul,
nav .container > div > ul > li > a,
nav .container > div > ul > li > ul > li > a { display: block; z-index: 1; }
nav .container > div > ul > li > ul > li > a { padding: 10px 20px; }
nav .container, .preventCollapse, .ellipsis { overflow: hidden; }

.topPane { margin-bottom: 10px; }
.leftPane { width: 70%; }
.rightPane { width: 29%; }
.searchForm { width: 200px; }
.body { padding: 10px 0px; }
table { width: 100%; }
td { padding: 10px 5px; }
.header { color: var(--anchor); } /* Alterado para roxo */
.feedContainer { margin:2rem 0; }
.pull-left { float:left; }
.pull-right { float:right; }
.well, .header { width: auto; }
.centralizeContent { text-align: center; }
.smedia { font-size: 2em; }

.banner {
    background: url("../img/header.png");
    height: 240px;
    background-size: 100%;
    background-repeat: no-repeat;
    margin-top: 30px;
    border: 10px solid var(--primary);
}



.searchForm input {
    width: 100%;
    height: 25px;
    border: 1px solid var(--border);
    color: var(--font-color);
    font-size: 1em;
}

#countDownTimer {
	line-height: 2.3;
	padding: 0px 10px;
	color: var(--anchor-hover); /* Alterado para roxo claro */
}

.modIcon > i:nth-child(2),
.modIcon:hover > i:nth-child(1),
/*.loginContainer, */
nav .container > div > ul > li > ul {
	display: none;
}

.loginForm {
    display: flex;
    flex-wrap: wrap;
}
.loginForm button:hover {
	background: #0000004d;
}
.loginForm button {
    width: 100%;
    margin-top: 10px;
    background: var(--primary);
    color: var(--font-color);
    height: 40px;
    border: 1px solid var(--border);
    font-size: 1em;
}

.loginForm input {
	width: 100%;
	height: 30px;
	border: none;
	color: #fff;
	font-size: 1em;
	border-bottom: 1px solid var(--border);
}

.main {
	width: 1220px;
	margin: 2rem auto;
	position: relative;
	z-index: 1;
	/* Adicionar sombra ao redor do container principal */
	box-shadow: 0 0 20px rgba(153, 51, 255, 0.5); /* Sombra roxa */
	border: 1px solid var(--anchor); /* Borda roxa sutil */
}

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

.alert-box {
	max-width: 500px;
	font-size: 14px;
	border-radius: 5px;
	border: 1px solid var(--third);
	margin: 0 auto;
	margin-bottom: 15px;
	text-align: center;
	/* Adicionar sombra interna para efeito 'shadow' */
	box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
}

.alert-default {
	background: var(--bg-default);
	color: var(--color-default);
	border-color: var(--border-default);
}
.alert-info {
	background: var(--bg-info);
	color: var(--color-info);
	border-color: var(--border-info);
}
.alert-success {
    background: var(--bg-success);
    color: var(--color-success);
    border-color: var(--border-success);
}
.alert-warning {
	background: var(--bg-warning);
	color: var(--color-warning);
	border-color: var(--border-warning);
}
.alert-danger {
	background: var(--bg-danger);
	color: var(--color-danger);
	border-color: var(--border-danger);
}
.alert-collapse {display:inline-block;}
.alert-size1 { font-size: 12px; }
.alert-size2 { font-size: 15px; }
.alert-size3 { font-size: 18px; }
.alert-size4 { font-size: 20px; }


nav .container > div > ul > li > ul > li > a:hover,
.searchForm input, #countDownTimer, .loginForm input,
nav, footer, table, .header, .feedContainer {
	background: var(--primary);
	/* Adicionar sombra sutil aos elementos principais */
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}
.loginForm .well {
	width: 100%;
}

body, nav .container,
nav .container > div > ul > li > ul,
.leftPane, .rightPane, .topPane,
tr:nth-child(2n+1) {
	background: var(--secondary);
}

footer, .feedContainer,
nav .container, .topPane {
	border-bottom: 2px solid var(--border)
}

table, .header, .well, .smedia a {
	padding: 10px;
	/* Adicionar sombra interna para dar profundidade */
	box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.3);
}

.searchForm input,
.loginForm input,
.alert-box {
	padding: 5px;
}

/* Znote AAC */
.leftPane img {
	max-width: 100%;
}
/* adding button style to select */
select {
	background: var(--primary);
	color: var(--font-color);
	height: 40px;
	border: 1px solid var(--border);
	font-size: 1em;
}
input {
	background: var(--primary);
	color: var(--font-color);
	height: 40px;
	border: 1px solid var(--border);
	font-size: 1em;
}
#loginContainer li {
	text-align: right;
}

ul.linkbuttons {
	margin-top: 8px;
	padding: 0 8px;
}
ul.linkbuttons li {
	display: inline-block;
	border: 1px solid var(--anchor); /* Alterado para roxo */
	width: calc(50% - 10px);
	float: left;
	margin-bottom: 16px;
	text-align: center;
	/* Adicionar sombra sutil aos botões de link */
	box-shadow: 0 0 5px rgba(153, 51, 255, 0.3);
}
ul.linkbuttons li:nth-child(odd) {
	margin-right: 16px;
}
ul.linkbuttons li a {
	padding: 5px 0;
	display: inline-block;
	width: 100%;
	text-align: center;
}
ul.linkbuttons:after {
	content: '';
	display: block;
	clear: both;
}
.widget,
.widget .body,
.search_widget,
.search_widget .body {
	padding-bottom: 0;
	/* Adicionar sombra aos widgets */
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.7);
	border: 1px solid var(--border);
}
.widget center {
	margin: auto;
}
.widget h3 {
	margin-bottom: 0;
	color: var(--anchor); /* Títulos de widget em roxo */
}
.search_widget form {
	margin: auto;
}
.search_widget input {
	width: 50%;
	float: left;
}
.search_widget label {
	padding: 9px;
	float: left;
}
.search_widget form:after {
	display: block;
	content: '';
	clear: both;
}
div.relative {
	position: relative;
}
.search_widget #name_suggestion {
	position: absolute;
	width: 280px;
	left: -290px;
	display: none;
}
.search_widget #name_suggestion.show {
	display: block;
}
.search_widget .sname {
	text-align: right;
}
.search_widget .sname a {
	display: inline-block;
	background-color: var(--primary);
	padding: 10px 20px;
	border-bottom: 1px solid var(--border);
}
.page_credits .feedContainer .pull-left.leftPane {
	box-sizing: border-box;
	padding-left: 8px;
	padding-right: 8px;
}

.page_characterprofile #characterProfileTable thead th:first-of-type {
	position: relative;
	width: 28%;
}
.page_characterprofile #characterProfileTable thead th:last-of-type {
	text-align: left;
	padding-left: 16px;
}
.page_characterprofile .outfit {
	position: absolute;
	top: 0;
	left: 0;
}
.page_characterprofile .flag {
	position: absolute;
	top: 16px;
	right: 16px;
}
.postHolder iframe {
	display: block;
	margin: auto;
}

/* Adicionando estilo para tabelas para o efeito 'shadow' */
table {
	border-collapse: separate;
	border-spacing: 0;
	border-radius: 5px;
	overflow: hidden;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.7);
}

table th {
	background-color: #330066; /* Roxo escuro para cabeçalhos */
	color: var(--third);
	border-bottom: 1px solid var(--anchor);
}

table tr:nth-child(even) {
	background-color: #1a1a1a; /* Linhas pares em preto */
}

table tr:nth-child(odd) {
	background-color: #0d0d0d; /* Linhas ímpares em preto mais escuro */
}

table td {
	border-bottom: 1px solid var(--border);
}

table tr:last-child td {
	border-bottom: none;
}

nav {
  text-align: center;
}

nav .container {
  display: inline-block;
}

nav {
  background: #000; /* fundo preto em toda a área */
  text-align: center;
}

nav .container {
  display: flex;
  justify-content: center; /* centraliza o conteúdo */
  align-items: center;
  width: 100%; /* ocupa toda a largura */
}
nav ul li a {
  text-shadow: 
    0 0 4px rgba(255, 192, 203, 0.4),  /* brilho interno suave */
    0 0 8px rgba(255, 182, 193, 0.3);  /* brilho externo rosado */
}
