/* custom.css — overrides e utilitários que não cabem no Tailwind compilado */

/* ── Scrollbar visível ─────────────────────────────────────────────────────── */
html {
	overflow-y: scroll;
}

::-webkit-scrollbar {
	width: 8px;
	height: 8px;
}

::-webkit-scrollbar-track {
	background: #EDF1F0;
}

::-webkit-scrollbar-thumb {
	background: #009B77;
	border-radius: 4px;
	border: 2px solid #EDF1F0;
}

::-webkit-scrollbar-thumb:hover {
	background: #00796B;
}

/* Firefox */
* {
	scrollbar-width: thin;
	scrollbar-color: #009B77 #EDF1F0;
}

/* Home e secoes escuras mantem a trilha escura para nao brilhar sobre o fundo. */
body.home::-webkit-scrollbar-track {
	background: #11141C;
}

body.home::-webkit-scrollbar-thumb {
	border-color: #11141C;
}

body.home {
	scrollbar-color: #009B77 #11141C;
}

/* ── Comentários restritos — aviso de login ───────────────────────────────── */
.ts-comments-restrito {
	display: flex;
	align-items: flex-start;
	gap: 0.625rem;
	background: rgba(0, 155, 119, 0.1);
	border: 1px solid rgba(0, 155, 119, 0.3);
	border-radius: 0.75rem;
	padding: 0.875rem 1rem;
	font-size: 0.875rem;
	color: #009B77;
}

.ts-comments-restrito i {
	color: #009B77;
	margin-top: 2px;
}

/* ── Comentários — visual dark theme ──────────────────────────────────────── */
#comments {
	margin-top: 2rem;
	padding-top: 2rem;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

#comments .comment-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

#comments .comment-list li {
	margin-bottom: 1.5rem;
}

#comments .comment-body {
	background: #161A23;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 0.75rem;
	padding: 1rem 1.25rem;
}

#comments .comment-author .fn {
	font-weight: 600;
	font-size: 0.875rem;
	color: #ffffff;
}

#comments .comment-metadata {
	font-size: 0.75rem;
	color: rgba(255, 255, 255, 0.4);
	margin-top: 0.125rem;
}

#comments .comment-metadata a {
	color: inherit;
}

#comments .comment-content p {
	font-size: 0.875rem;
	color: rgba(255, 255, 255, 0.75);
	margin-top: 0.625rem;
	line-height: 1.6;
}

#comments .reply a {
	font-size: 0.75rem;
	color: #009B77;
	text-decoration: none;
}

#comments .reply a:hover {
	text-decoration: underline;
}

/* Formulário de comentário */
#respond {
	margin-top: 2rem;
}

#respond .comment-reply-title {
	font-size: 1.125rem;
	font-weight: 700;
	color: #ffffff;
	margin-bottom: 1rem;
}

#respond .comment-form label {
	display: block;
	font-size: 0.8125rem;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.5);
	margin-bottom: 0.25rem;
}

#respond .comment-form input[type="text"],
#respond .comment-form input[type="email"],
#respond .comment-form input[type="url"],
#respond .comment-form textarea {
	width: 100%;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 0.5rem;
	padding: 0.625rem 0.75rem;
	font-size: 0.875rem;
	color: #ffffff;
	background: #161A23;
	outline: none;
	transition: border-color 0.15s, box-shadow 0.15s;
}

#respond .comment-form input:focus,
#respond .comment-form textarea:focus {
	border-color: #009B77;
	box-shadow: 0 0 0 3px rgba(0, 155, 119, 0.12);
}

#respond .comment-form textarea {
	min-height: 120px;
	resize: vertical;
}

#respond .form-submit .submit {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	background: #009B77;
	color: #fff;
	font-size: 0.875rem;
	font-weight: 600;
	padding: 0.625rem 1.5rem;
	border: none;
	border-radius: 0.75rem;
	cursor: pointer;
	transition: background 0.2s;
}

#respond .form-submit .submit:hover {
	background: #007a5e;
}
