.tdt-gestao-admin h1 {
	font-family: 'Montserrat', sans-serif;
	font-weight: 800;
	color: #0078a2;
}

.tdt-badge {
	display: inline-block;
	font-family: 'Montserrat', sans-serif;
	font-weight: 700;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	padding: 4px 12px;
	border-radius: 999px;
	color: #fcefeb;
	margin-bottom: 10px;
}

.tdt-badge-admin        { background-color: #0078a2; }
.tdt-badge-coordenacao  { background-color: #fd9a35; }
.tdt-badge-professor    { background-color: #fd9a35; }

.tdt-cards {
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
	margin-top: 16px;
}

.tdt-card {
	display: block;
	background: #fff;
	border: 1px solid #e0d8d2;
	border-left: 4px solid #0078a2;
	border-radius: 8px;
	padding: 16px 20px;
	min-width: 220px;
	text-decoration: none;
	color: #333;
	font-family: 'Montserrat', sans-serif;
}

.tdt-card:hover {
	border-left-color: #fd9a35;
}

.tdt-cartao-resumo {
	background: #fcefeb;
	border-radius: 8px;
	padding: 16px 24px;
	font-family: 'Montserrat', sans-serif;
	color: #0078a2;
}

.tdt-area-aluno, .tdt-area-professor {
	font-family: 'Montserrat', sans-serif;
	background-color: #fcefeb;
	border-radius: 12px;
	padding: 32px;
	max-width: 760px;
}

.tdt-area-aluno h2, .tdt-area-professor h2 {
	color: #0078a2;
	font-weight: 800;
}

.tdt-area-aluno h4, .tdt-area-professor h4 {
	color: #0078a2;
	margin-bottom: 4px;
}

.tdt-area-aluno ul, .tdt-area-professor ul {
	line-height: 1.8;
}

.tdt-bloco-matricula {
	background: #fff;
	border-radius: 10px;
	padding: 20px 24px;
	margin: 16px 0;
}

.tdt-links-rapidos {
	display: flex;
	gap: 12px;
	margin: 12px 0 20px;
	flex-wrap: wrap;
}

.tdt-gestao-botao {
	display: inline-block;
	font-family: 'Montserrat', sans-serif;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	font-size: 13px;
	color: #fcefeb;
	background-color: #fd9a35;
	border-radius: 6px;
	padding: 10px 20px;
	text-decoration: none;
	border: none;
	cursor: pointer;
}

.tdt-gestao-botao:hover,
.tdt-gestao-botao:focus {
	background-color: #0078a2;
	color: #fcefeb;
}

.tdt-botao-secundario {
	background-color: #0078a2;
}

.tdt-botao-secundario:hover {
	background-color: #fd9a35;
}

.tdt-tabela-simples {
	width: 100%;
	border-collapse: collapse;
	background: #fff;
	border-radius: 8px;
	overflow: hidden;
}

.tdt-tabela-simples th {
	background: #0078a2;
	color: #fff;
	text-align: left;
	padding: 10px 14px;
	font-family: 'Montserrat', sans-serif;
	font-size: 13px;
}

.tdt-tabela-simples td {
	padding: 10px 14px;
	border-bottom: 1px solid #eee;
	font-family: 'Montserrat', sans-serif;
	font-size: 13.5px;
}

.tdt-secao-titulo {
	font-family: 'Montserrat', sans-serif;
	font-weight: 700;
	color: #0078a2;
	margin-top: 32px;
	margin-bottom: 12px;
	font-size: 18px;
}

.tdt-stat-grid {
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
}

.tdt-stat-card {
	background: #fff;
	border-radius: 10px;
	padding: 18px 20px;
	min-width: 170px;
	flex: 1 1 170px;
	box-shadow: 0 1px 3px rgba(0,0,0,0.08);
	position: relative;
}

.tdt-stat-card .dashicons {
	color: #fd9a35;
	font-size: 22px;
	width: 22px;
	height: 22px;
}

.tdt-stat-card.tdt-stat-alerta .dashicons {
	color: #b3261e;
}

.tdt-stat-numero {
	font-family: 'Montserrat', sans-serif;
	font-weight: 800;
	font-size: 26px;
	color: #0078a2;
	margin-top: 6px;
}

.tdt-stat-label {
	font-family: 'Montserrat', sans-serif;
	font-size: 12.5px;
	color: #555;
	margin-top: 2px;
}

.tdt-tudo-certo {
	background: #e6f4ea;
	color: #0a7d2c;
	padding: 12px 18px;
	border-radius: 8px;
	display: inline-block;
	font-family: 'Montserrat', sans-serif;
}

.tdt-form-inline textarea {
	width: 100%;
	max-width: 480px;
	font-family: 'Montserrat', sans-serif;
}

/* ---------- Painel front-end ---------- */
.tdt-painel-frontend {
	font-family: 'Montserrat', sans-serif;
	max-width: 900px;
}

.tdt-painel-nav {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	border-bottom: 2px solid #eee;
	margin-bottom: 24px;
	padding-bottom: 10px;
}

.tdt-painel-nav a {
	padding: 8px 16px;
	border-radius: 6px;
	text-decoration: none;
	color: #0078a2;
	font-weight: 600;
	font-size: 14px;
}

.tdt-painel-nav a.tdt-aba-ativa {
	background: #0078a2;
	color: #fff;
}

.tdt-painel-conteudo h2 {
	color: #0078a2;
	font-weight: 800;
}

.tdt-painel-conteudo h3 {
	color: #0078a2;
	font-weight: 700;
	margin-top: 28px;
}

.tdt-caixa {
	background: #fcefeb;
	border-radius: 10px;
	padding: 16px 20px;
	margin: 16px 0;
}

.tdt-form-rapido {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	margin-top: 10px;
	align-items: center;
}

.tdt-form-rapido input {
	padding: 8px 12px;
	border-radius: 6px;
	border: 1px solid #ccc;
}

.tdt-form-matricula, .tdt-form-filtro {
	display: flex;
	flex-direction: column;
	gap: 6px;
	max-width: 480px;
	margin-bottom: 20px;
}

.tdt-form-filtro {
	flex-direction: row;
	align-items: end;
	flex-wrap: wrap;
	max-width: none;
}

.tdt-form-matricula label {
	font-weight: 600;
	font-size: 13px;
	color: #333;
	margin-top: 8px;
}

.tdt-form-matricula input,
.tdt-form-matricula select,
.tdt-form-matricula textarea {
	padding: 8px 12px;
	border-radius: 6px;
	border: 1px solid #ccc;
	font-family: 'Montserrat', sans-serif;
}

.tdt-descricao {
	font-size: 12px;
	color: #777;
	margin: 2px 0 0;
}

.tdt-botao-mini {
	font-size: 11px !important;
	padding: 6px 12px !important;
}

.tdt-msg-preview {
	background: #fff3cd;
	color: #7a5b00;
	padding: 10px 16px;
	border-radius: 6px;
	margin-bottom: 16px;
	font-weight: 600;
}

.tdt-pessoa-chip {
	display: inline-block;
	background: #fff;
	border-radius: 999px;
	padding: 4px 10px;
	margin: 3px 4px 3px 0;
	font-size: 12px;
}

.tdt-pessoa-chip a {
	color: #b3261e;
	text-decoration: none;
	font-weight: 700;
	margin-left: 6px;
}

/* ---------- Agenda estilo calendário ---------- */
.tdt-agenda-controles {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 8px;
}

.tdt-agenda-tabs {
	border-bottom: none;
	margin-bottom: 0;
	padding-bottom: 0;
}

.tdt-agenda-navegacao {
	display: flex;
	gap: 6px;
}

.tdt-agenda-periodo {
	font-weight: 700;
	color: #0078a2;
	text-transform: capitalize;
	margin: 4px 0 16px;
}

.tdt-agenda-vazio {
	color: #999;
	font-size: 13px;
	font-style: italic;
}

/* Chip de aula (details/summary) */
.tdt-aula-chip {
	background: #fcefeb;
	border-left: 3px solid #0078a2;
	border-radius: 4px;
	margin-bottom: 4px;
	font-size: 12px;
}

.tdt-aula-chip summary {
	padding: 4px 8px;
	cursor: pointer;
	list-style: none;
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
}

.tdt-aula-chip summary::-webkit-details-marker {
	display: none;
}

.tdt-chip-hora {
	font-weight: 700;
	color: #0078a2;
}

.tdt-chip-nomes {
	color: #333;
}

.tdt-chip-detalhe {
	padding: 8px 10px 10px;
	border-top: 1px solid rgba(0,0,0,0.08);
	font-size: 13px;
}

.tdt-aula-chip.tdt-chip-realizada { border-left-color: #0a7d2c; }
.tdt-aula-chip.tdt-chip-no_show { border-left-color: #b3261e; }
.tdt-aula-chip.tdt-chip-cancelada { border-left-color: #999; }
.tdt-aula-chip.tdt-chip-remarcada { border-left-color: #999; opacity: 0.7; }

/* Visão dia */
.tdt-agenda-dia {
	max-width: 480px;
}

/* Visão semana */
.tdt-agenda-semana {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 8px;
}

.tdt-agenda-coluna-dia {
	background: #fff;
	border-radius: 8px;
	padding: 8px;
	min-height: 120px;
}

.tdt-agenda-cabecalho-dia {
	font-weight: 700;
	font-size: 12px;
	color: #0078a2;
	text-transform: capitalize;
	margin-bottom: 6px;
	text-align: center;
}

.tdt-agenda-coluna-dia.tdt-agenda-hoje {
	box-shadow: 0 0 0 2px #fd9a35 inset;
}

/* Visão mês */
.tdt-agenda-mes-grade {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 6px;
}

.tdt-agenda-mes-cabecalho {
	font-weight: 700;
	font-size: 12px;
	color: #0078a2;
	text-align: center;
	padding-bottom: 4px;
}

.tdt-agenda-mes-dia {
	background: #fff;
	border-radius: 6px;
	padding: 6px;
	min-height: 90px;
}

.tdt-agenda-mes-dia.tdt-fora-do-mes {
	background: #f5f5f5;
	opacity: 0.6;
}

.tdt-agenda-mes-dia.tdt-agenda-hoje {
	box-shadow: 0 0 0 2px #fd9a35 inset;
}

.tdt-agenda-mes-numero {
	font-size: 11px;
	font-weight: 700;
	color: #999;
	margin-bottom: 4px;
}

.tdt-agenda-mais {
	font-size: 11px;
	color: #0078a2;
	font-weight: 600;
	margin-top: 2px;
}

@media (max-width: 700px) {
	.tdt-agenda-semana, .tdt-agenda-mes-grade {
		grid-template-columns: repeat(7, minmax(90px, 1fr));
		overflow-x: auto;
	}
}
