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

html, body {
	height: 100%;
	min-height: 100vh;
	font-family: "Libertinus Serif Display", system-ui;
	background-color: #FEF5F5;
	background-attachment: fixed;
	background-size: cover;
	color: #3b2f3b;
	font-weight: normal;
}

body {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	background-color: #FEF5F5 !important;
}

main {
	flex: 1;
	background-color: transparent !important;
}

/* ============================
   HEADER
============================ */
.header {
	flex-wrap: nowrap;
	background-color: #DC3B82;
	color: white;
	padding: 4px 10px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.home-link, .home-link:visited, .home-link:hover, .home-link:active {
	text-decoration: none;
}

.logo-text {
	display: flex;
	align-items: center;
	gap: 5px;
}

/* Logo */
.logo-header {
	width: 60px;
	height: auto;
	display: block;
}

/* Texto "Chá de Vida" */
.header-title {
	font-family: 'Cookie', cursive;
	font-size: 50px;
	color: white;
	line-height: 1;
	position: relative;
	top: 2px;
	user-select: none;
}

/* Navegação */
.nav-links ul {
	display: flex;
	align-items: center;
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.nav-links a {
	text-decoration: none;
	color: white;
	font-weight: bold;
	font-size: 23px;
	padding: 6px 10px;
	border-radius: 6px;
	transition: background 0.2s, color 0.2s;
	font-family: "Libertinus Serif Display", system-ui;
}

.nav-links a:hover {
	opacity: 0.8;
}

/* Ícones de login e menu */
.login-header {
	width: 30px;
	height: 30px;
	filter: brightness(0) invert(1);
	transition: transform 0.3s ease;
}

.menu-icon {
	width: 46px;
	cursor: pointer;
	display: none;
}

.nav-links a:hover {
	color: #FFD6EB;
	background: #e082b5;
}

.text-muted {
	font-size: 1.2rem;
	color: rgb(60, 60, 60);
	font-weight: bold;
	margin-top: -18px;
}

/* ============================
   LAYOUT PRINCIPAL
============================ */
.container {
	max-width: 1000px;
	margin: 0 auto;
	padding: 40px 60px;
	text-align: center;
	font-weight: normal;
	background-color: #FEF5F5
}

/* ============================
   MENU LATERAL (HAMBÚRGUER)
============================ */
.side-menu {
	position: fixed;
	top: 0;
	right: -260px;
	width: 260px;
	height: 100%;
	background: linear-gradient(180deg, #E45694, #A30F50);
	color: white;
	padding: 20px;
	box-shadow: -2px 0 8px rgba(0, 0, 0, 0.2);
	border-radius: 20px 0 0 20px;
	transition: right 0.3s ease-in-out;
	z-index: 1000;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.side-menu.open {
	right: 0;
}

.side-menu .menu-header {
	text-align: center;
	margin-bottom: 30px;
	font-size: 18px;
}

.side-menu ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.side-menu li {
	margin: 0;
}

.side-menu a {
	text-decoration: none;
	color: white;
	font-size: 22px;
	font-weight: bold;
	display: block;
	padding: 12px 16px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.3);
	transition: background 0.2s;
}

.side-menu a:hover {
	background: rgba(255, 255, 255, 0.2);
}

/* Botão de fechar */
.btn-close {
	background: #BD1278;
	border: none;
	padding: 12px;
	border-radius: 10px;
	font-size: 16px;
	font-weight: bold;
	cursor: pointer;
	color: white;
	transition: background 0.2s;
	margin-top: 20px;
}

.btn-close:hover {
	background: #a01065;
}

.titulo-galeria-container {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-bottom: 20px;
}

.section-title-galeria {
	margin: 0;
	text-align: center;
	margin-top: 90px;
	margin-bottom: -40px;
}

.btn-editar-galeria {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 6px 10px;
	border-radius: 50%;
	background-color: #DC3B82;
	border: none;
	cursor: pointer;
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-editar-galeria img {
	width: 40px;
	height: 40px;
}

.btn-editar-galeria:hover img {
	transform: scale(1.1);
}

.description-galeria {
	margin-bottom: -90px;
	font-size: 28px;
	line-height: 1.6;
	margin-bottom: 90px;
	text-align: center;
	font-weight: bold;
	color: black;
}

.form-padrao-edicao {
	background-color: #FFF7DF;
	border-radius: 15px;
	padding: 30px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
	border: 1px solid #FFF7DF;
	margin: 20px auto;
	max-width: 800px;
}

/* Estilo da Textarea (Padrão de input-exame-custom) */
.textarea-padrao-custom {
	width: 100%;
	min-height: 200px;
	padding: 10px 15px;
	margin-bottom: 15px;
	background-color: #FFF3D0 !important;
	border: 1px solid #FFF3D0 !important;
	border-radius: 8px !important;
	font-family: 'Quicksand', sans-serif;
	font-size: 16px;
	line-height: 1.5;
	resize: vertical;
	box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
	transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.contador-caracteres {
	display: block;
	/* garante que fique em linha própria */
	text-align: right;
	/* alinha à direita */
	font-size: 1.2rem;
	color: rgb(60, 60, 60);
	font-weight: bold;
	margin-top: 4px;
	/* espaço entre textarea e contador */
}

.textarea-padrao-custom:focus {
	border-color: #DC3B82 !important;
	box-shadow: 0 0 0 0.25rem rgba(220, 59, 130, 0.25) !important;
}

.botoes-edicao {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 10px;
	margin-top: 20px;
}

/* ============================
   MODAL CONFIRMAR EXCLUSÃO: POSICIONAMENTO E BASE
============================ */

/* Base do Modal (Controla Fixação e Tela Cheia) */
.modal {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 1050;
	width: 100vw;
	height: 100vh;
	overflow-x: hidden;
	overflow-y: auto;
	outline: 0;
	display: none;
	/* Inicia oculto */
}

.modal.show {
	display: block;
	/* Ativado pelo JS */
}

/* Fundo do Modal (Backdrop) */
.modal-backdrop {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 1040;
	width: 150vw;
	height: 180vh;
	background-color: #000;
	opacity: 0.5;
}

.modal-dialog {
	position: relative;
	width: 90% !important;
	/* Ou outro valor que prefira, mas 100% é problemático com margin: auto */
	max-width: 1200px !important;
	margin: 1.75rem auto;
	pointer-events: none;
}

/* Centralização Vertical (Usado com a classe modal-dialog-centered) */
.modal-dialog-centered {
	display: flex;
	align-items: center;
	/* Centraliza verticalmente */
	justify-content: center;
	/* Centraliza horizontalmente */
	min-height: calc(100% - 3.5rem);
	width: 100% !important;
	/* Garante que o flexbox use a largura total */
	height: 100% !important;
	/* Garante que o flexbox use a altura total */
}

/* Estilo Customizado do Conteúdo */
.modal-confirm-custom {
	background: #FFF7DF;
	border-radius: 22px;
	padding-top: 15px;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
	animation: fadeInUp 0.35s ease;
}

/* Ícone de alerta */
.icon-warning {
	width: 70px;
	height: 70px;
	background: #FFD6EB;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 40px;
	color: #DC3B82;
	margin: 0 auto;
	box-shadow: 0 3px 8px rgba(220, 59, 130, 0.25);
	margin-top: 70px;
}

/* Título */
.modal-confirm-custom .modal-title {
	font-family: 'Cookie', cursive;
	font-size: 46px;
	color: #B93F88;
}

/* Mensagem */
.modal-msg {
	font-size: 20px;
	font-family: "Quicksand", sans-serif;
	color: #3b2f3b;
	margin-top: 50px;
	margin-left: 50px;
	margin-right: 50px;
	align-items: center;
	justify-content: center;
}

/* Botão cancelar */
.btn-cancelar {
	background: #c74c83;
	color: white;
	border: none;
	font-size: 20px;
	/* Ajustado para 20px */
	padding: 10px 26px;
	border-radius: 25px !important;
	font-family: "Libertinus Serif Display", system-ui;
	transition: background 0.2s;
	margin-top: 20px;
	margin-bottom: 40px;
}

.btn-cancelar:hover {
	background: #a53a69;
}

/* Botão excluir */
.btn-excluir-modal {
	background: #26A69A;
	color: white;
	border: none;
	font-size: 20px;
	/* Ajustado para 20px */
	padding: 10px 26px;
	border-radius: 25px !important;
	font-family: "Libertinus Serif Display", system-ui;
	transition: background 0.2s;
	margin-top: 20px;
	margin-bottom: 40px;
}

.btn-excluir-modal:hover {
	background: rgb(32, 138, 128);
}

.btn-container {
	display: flex;
	justify-content: center;
	gap: 15px;
	/* espaço entre os botões */
}

/* Animação suave ao aparecer */
@keyframes fadeInUp {from { transform:translateY(20px);
	opacity: 0;
}

to {
	transform: translateY(0);
	opacity: 1;
}

}

/* ============================
   GALERIA
============================ */
.section-title {
	font-family: 'Cookie', cursive;
	font-size: 80px;
	color: #d7479e;
	margin: 30px 0 10px;
}

.section-title-galeria {
	font-family: 'Cookie', cursive;
	font-size: 90px;
	color: #d7479e;
	text-align: center;
	margin-bottom: 24px;
	font-weight: normal;
}

.gallery {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
	gap: 16px;
	margin: 20px 0 40px;
}

.icone-galeria {
	width: 100px;
	height: 100px;
	margin-right: 8px;
	vertical-align: middle;
	margin-top: -60px;
	margin-bottom: -90px;
}

.botoes-edicao {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 20px;
	margin-top: 20px;
}

.btn-salvar, .btn-cancelar-edicao {
	padding: 10px 20px;
	border: none;
	border-radius: 12px;
	font-weight: bold;
	cursor: pointer;
	margin-left: 10px;
	transition: background-color 0.3s ease;
	text-decoration: none;
	display: inline-block;
}

.btn-publicar-custom {
	width: 200px;
	background: #26A69A;
	color: white;
	border: none;
	padding: 12px 20px;
	border-radius: 25px;
	font-size: 20px;
	font-weight: normal;
	cursor: pointer;
	font-family: "Libertinus Serif Display", system-ui;
	transition: background 0.3s, box-shadow 0.3s;
	box-shadow: 0 4px 8px rgba(220, 59, 130, 0.4);
}

.btn-publicar-custom:hover {
	background: rgb(32, 138, 128);
}

.btn-voltar-custom {
	width: 200px;
	background: #c74c83;
	color: white;
	border: none;
	padding: 12px 20px;
	border-radius: 25px;
	font-size: 20px;
	font-weight: normal;
	cursor: pointer;
	font-family: "Libertinus Serif Display", system-ui;
	transition: background 0.3s, box-shadow 0.3s;
	box-shadow: 0 4px 8px rgba(220, 59, 130, 0.4);
}

.btn-voltar-custom:hover {
	background: #a53a69;
}

.textarea-padrao-custom {
	width: 100%;
	min-height: 200px;
	padding: 10px 15px;
	margin-bottom: 15px;
	background-color: #FFF3D0 !important;
	border: 1px solid #FFF3D0 !important;
	border-radius: 8px !important;
	font-family: 'Quicksand', sans-serif;
	font-size: 16px;
	line-height: 1.5;
	resize: vertical;
	box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
	transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.textarea-padrao-custom:focus {
	border-color: #DC3B82 !important;
	box-shadow: 0 0 0 0.25rem rgba(220, 59, 130, 0.25) !important;
}

.titulo-edicao {
	font-family: 'Cookie', cursive;
	color: #d7479e;
	font-size: 60px;
	margin-bottom: 5px;
}

/* ========================================= */
/* ESTILOS PARA O TOAST DE NOTIFICAÇÃO */
/* ========================================= */
.toast-container {
	position: fixed;
	bottom: 20px;
	right: 20px;
	z-index: 1060;
	pointer-events: none;
}

.toast-notification {
	background-color: #28a745;
	color: #fff;
	padding: 15px 20px;
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
	display: flex;
	align-items: center;
	gap: 15px;
	opacity: 0;
	transform: translateY(100%);
	transition: opacity 0.5s ease-out, transform 0.5s ease-out;
	pointer-events: auto;
	font-family: 'Quicksand', sans-serif;
	font-weight: bold;
	max-width: 380px;
}

.toast-notification.show {
	opacity: 1;
	transform: translateY(0);
}

.toast-success {
	background-color: #28a745;
}

.toast-error {
	background-color: #dc3545;
}

.toast-warning {
	background-color: #fd7e14;
}

.toast-icon {
	font-size: 20px;
	font-weight: 700;
	line-height: 1;
	color: #fff;
}

/* ============================
	DUVIDAS
============================= */
/* Botão de dúvidas fixo */
.duvidas-btn {
	position: fixed;
	bottom: 100px;
	right: 30px;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background-color: #26A69A;
	color: white;
	border: none;
	cursor: pointer;
	font-size: 28px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
	z-index: 999;
	display: flex;
	align-items: center;
	justify-content: center;
	content: '?';
	font-weight: bold;
	line-height: 1;
}

.duvidas-btn::before {
	content: '?';
	color: white;
	font-size: 28px;
	font-weight: bold;
	line-height: 1;
	display: block;
}

.duvidas-btn img {
	display: none;
}

/* Modal de dúvidas */
.duvidas-modal {
	display: none;
	position: fixed;
	bottom: 120px;
	right: 30px;
	width: 300px;
	background-color: #FFF7DF;
	border-radius: 20px;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
	padding: 20px;
	z-index: 1000;
	font-family: "Quicksand", sans-serif;
}

.duvidas-modal h3 {
	font-size: 40px;
	color: #DC3B82;
	margin-bottom: 10px;
	font-family: 'Cookie', cursive;
	font-weight: normal;
}

.duvidas-modal p {
	font-size: 19px;
	line-height: 1.4;
	margin-bottom: 15px;
	color: rgb(0, 0, 0);
}

.duvidas-modal .btn-login-modal {
	display: flex;
	flex-direction: column;
	align-items: center;
	background-color: #26A69A;
	color: white;
	text-decoration: none;
	padding: 10px 20px;
	border-radius: 25px;
	font-weight: normal;
	text-align: center;
	align-items: center;
	font-family: "Libertinus Serif Display", system-ui;
}

.duvidas-modal .close-modal {
	position: absolute;
	top: 8px;
	right: 10px;
	font-size: 30px;
	cursor: pointer;
	color: rgb(0, 0, 0);
}

.btn-editar-galeria {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 6px 10px;
	border-radius: 50%;
	background-color: #DC3B82;
	border: none;
	cursor: pointer;
	transition: background-color 0.2s ease, transform 0.2s ease;
	margin-top: 70px;
}

.btn-editar-galeria img {
	width: 40px;
	height: 40px;
}

.btn-editar-galeria:hover img {
	transform: scale(1.1);
}

/* ========================================= */
/* ESTILOS PARA O TOAST DE NOTIFICAÇÃO */
/* ========================================= */
.toast-container {
	position: fixed;
	bottom: 20px;
	right: 20px;
	z-index: 1060;
	pointer-events: none;
}

.toast-notification {
	background-color: #28a745;
	color: #fff;
	padding: 15px 20px;
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
	display: flex;
	align-items: center;
	gap: 15px;
	opacity: 0;
	transform: translateY(100%);
	transition: opacity 0.5s ease-out, transform 0.5s ease-out;
	pointer-events: auto;
	font-family: 'Quicksand', sans-serif;
	font-weight: bold;
	max-width: 380px;
}

.toast-notification.show {
	opacity: 1;
	transform: translateY(0);
}

.toast-success {
	background-color: #28a745;
}

.toast-error {
	background-color: #dc3545;
}

.toast-warning {
	background-color: #fd7e14;
}

.toast-icon {
	font-size: 20px;
	font-weight: 700;
	line-height: 1;
	color: #fff;
}

/* ============================
   MODAL CONFIRMAR EXCLUSÃO
============================ */
.modal-confirm-custom {
	background: #FFF7DF;
	border-radius: 22px;
	padding-top: 15px;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
	animation: fadeInUp 0.35s ease;
}

/* Ícone de alerta */
.icon-warning {
	width: 70px;
	height: 70px;
	background: #FFD6EB;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 40px;
	color: #DC3B82;
	margin: 0 auto;
	box-shadow: 0 3px 8px rgba(220, 59, 130, 0.25);
}

/* Título */
.modal-confirm-custom .modal-title {
	font-family: 'Cookie', cursive;
	font-size: 46px;
	color: #B93F88;
}

/* Mensagem */
.modal-msg {
	font-size: 20px;
	font-family: "Quicksand", sans-serif;
	color: #3b2f3b;
}

/* Botão cancelar */
.btn-cancelar {
	background: #c74c83;
	color: white;
	border: none;
	font-size: 18px;
	padding: 10px 26px;
	border-radius: 10px;
	font-family: "Libertinus Serif Display", system-ui;
	transition: background 0.2s;
}

.btn-cancelar:hover {
	background: #a53a69;
}

/* Botão excluir */
.btn-excluir-modal {
	background: #26A69A;
	color: white;
	border: none;
	font-size: 18px;
	padding: 10px 26px;
	border-radius: 10px;
	font-family: "Libertinus Serif Display", system-ui;
	transition: background 0.2s;
}

.btn-excluir-modal:hover {
	background: rgb(32, 138, 128);
}

/* Animação suave ao aparecer */
@keyframes fadeInUp {from { transform:translateY(20px);
	opacity: 0;
}

to {
	transform: translateY(0);
	opacity: 1;
}

}

/* ============================
   FORMULÁRIO DE UPLOAD DE IMAGEM
============================ */
.form-upload-imagem {
	background-color: #FFF7DF;
	/* Fundo azul claro suave */
	border-radius: 15px;
	padding: 30px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
	border: 1px solid #FFF7DF;
	margin: 40px auto;
	max-width: 600px;
	display: flex;
	flex-direction: column;
	gap: 15px;
	font-family: 'Quicksand', sans-serif;
	margin-top: 50px;
}

.form-upload-imagem h3 {
	font-family: 'Cookie', cursive;
	font-size: 45px;
	color: #DC3B82;
	margin-bottom: 20px;
	text-align: center;
	font-weight: normal;
}

.form-upload-imagem label {
	font-weight: normal;
	font-size: 20px;
	color: rgb(0, 0, 0);
	margin-bottom: 5px;
	font-family: 'Quicksand', sans-serif;
}

.form-upload-imagem select, .form-upload-imagem input[type="file"] {
	width: 100%;
	padding: 10px 15px;
	border-radius: 10px;
	border: 1px solid #FFF3D0;
	background-color: #FFF3D0;
	font-size: 20px;
	transition: border-color 0.3s, box-shadow 0.3s;
	font-family: 'Quicksand', sans-serif;
}

.form-upload-imagem select:focus, .form-upload-imagem input[type="file"]:focus
	{
	outline: none;
	border-color: #c74c83;
	box-shadow: 0 0 0 0.25rem #c74c83;
	font-family: 'Quicksand', sans-serif;
}

.form-upload-imagem button[type="submit"] {
	background: #c74c83;
	color: white;
	border: none;
	padding: 12px 25px;
	font-size: 20px;
	border-radius: 25px;
	width: 30%;
	cursor: pointer;
	transition: all 0.3s;
	box-shadow: 0 4px 10px #c74c83;
	font-family: "Libertinus Serif Display", system-ui;
	display: block;
	margin: 0 auto;
	margin-top: 20px;
}

.form-upload-imagem button[type="submit"]:hover {
	background: #a53a69;
	transform: translateY(-2px);
	box-shadow: 0 6px 14px #a53a69;
}

/*===========================
 BOTÃO EXCLUIR imagem
 =================*/
.gallery-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 24px;
}

.gallery-item {
	background: rgb(255, 236, 245);
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	color: #3b2f3b;
	text-align: center;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	cursor: pointer;
	overflow: hidden;
	transition: transform 0.15s ease, box-shadow 0.2s ease;
	position: relative;
	z-index: 1; /* fica abaixo do botão */
	pointer-events: auto;
}

.gallery-item:hover {
	transform: translateY(-4px);
	box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
}

.gallery-item img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	border-radius: 12px;
}

.gallery-item form {
	width: 100%;
	display: flex;
	justify-content: center;
}

.btn-delete-img {
	background-color: #dc3545;
	color: white;
	border: none;
	padding: 8px 15px;
	border-radius: 25px;
	cursor: pointer;
	font-size: 18px;
	transition: background 0.3s, transform 0.2s;
	font-family: "Libertinus Serif Display", system-ui;
	margin-top: 15px;
	width: 40%;
}

.btn-delete-img:hover {
	background-color: #a71d2a;
	transform: translateY(-2px);
}
/* ============================
   MODAL CONFIRMAR EXCLUSÃO
============================ */

/* Overlay */
.modal-overlay-custom {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.55);
	backdrop-filter: blur(2px);
	justify-content: center;
	align-items: center;
	z-index: 9999;
}

/* Caixa principal */
.modal-confirm-custom {
	background: #FFF7DF;
	border-radius: 22px;
	padding: 35px 35px 40px 35px;   
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
	width: 420px;                 
	text-align: center;
	animation: fadeInUp 0.35s ease;
}


/* Ícone de alerta */
.icon-warning {
	width: 70px;
	height: 70px;
	background: #FFD6EB;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 40px;
	color: #DC3B82;
	margin: 0 auto 10px auto;
	box-shadow: 0 3px 8px rgba(220, 59, 130, 0.25);
}

/* Título */
.modal-title {
	font-family: 'Cookie', cursive;
	font-size: 46px;
	color: #B93F88;
	margin: 10px 0 5px 0;
}

/* Texto */
.modal-msg {
	font-size: 20px;
	font-family: "Quicksand", sans-serif;
	color: #3b2f3b;
	margin-bottom: 25px;
}

/* Botões */
.modal-buttons {
	display: flex;
	justify-content: space-between;
	padding: 0 10px;
}

/* Botão cancelar */
.btn-cancelar {
	background: #c74c83;
	color: white;
	border: none;
	font-size: 20px;
	padding: 10px 26px;
	border-radius: 25px;
	font-family: "Libertinus Serif Display", system-ui;
	transition: background 0.2s;
	cursor: pointer;
}

.btn-cancelar:hover {
	background: #a53a69;
}

/* Botão excluir */
.btn-excluir-modal {
	background: #26A69A;
	color: white;
	border: none;
	font-size: 20px;
	padding: 10px 26px;
	border-radius: 25px;
	font-family: "Libertinus Serif Display", system-ui;
	transition: background 0.2s;
	cursor: pointer;
}

.btn-excluir-modal:hover {
	background: rgb(32, 138, 128);
}

/* Animação suave */
@keyframes fadeInUp {
	from {
		transform: translateY(20px);
		opacity: 0;
	}
	to {
		transform: translateY(0);
		opacity: 1;
	}
}

/* ============================
   FOOTER
============================ */
.footer {
	background: #FF9DC9;
	color: white;
	text-align: center;
	padding: 12px 20px;
	font-size: 20px;
	border-top: 4px solid #FF9DC9;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 20px;
	flex-wrap: wrap;
	margin-top: auto;
}

.footer .footer-logo {
	font-family: 'Cookie', cursive;
	font-size: 40px;
	margin: 0;
}

.footer p {
	margin: 0;
	font-size: 30px;
}

.footer .social-icons {
	display: flex;
	gap: 10px;
	align-items: center;
}

.footer a {
	color: white;
	font-size: 18px;
	display: inline-block;
	transition: transform 0.2s ease;
}

.footer a:hover {
	transform: scale(1.2);
	color: #FFD6EB;
}

/* =============================================
   🔥 MOBILE — ATÉ 768px
=============================================*/
@media screen and (max-width: 768px) {
	/* ----------- GERAL ----------- */
	.container {
		padding: 20px 15px;
		max-width: 100%;
	}
	body {
		font-size: 14px;
	}

	/* ----------- HEADER ----------- */
	.nav-links {
		display: none;
	}
	.menu-icon {
		display: block;
		width: 38px;
	}
	.logo-header {
		width: 42px;
	}
	.header-title {
		font-size: 36px;
	}

	/* Padding mais compacto */
	.header {
		padding: 6px 12px;
	}

	/* -------- MENU LATERAL -------- */
		.side-menu {
			width: 240px;
			padding: 16px;
		}

		/* === CORREÇÕES PARA O BLOCO DE LOGIN === */
		.login-container {
			display: flex;
			flex-direction: column;
			/* Icone em cima do texto */
			align-items: center;
			/* Centraliza horizontalmente ícone e texto */
			justify-content: center;
			padding: 10px 0 20px 0;
			/* Espaço inferior para separar dos links */
		}

		.login-logo {
			width: 180px;
			/* Tamanho ajustado */
			height: auto;
			margin-bottom: 5px;
			/* Separação do ícone para o texto */
		}

		.login-text {
			text-align: center;
			border: none;
			font-size: 22px;
			padding: 5px 0;
			font-weight: normal;
			margin-top: -35px;
			align-items: center;
			/* Centraliza horizontalmente ícone e texto */
			justify-content: center;
			margin-left: 40px;
		}

		/* === FIM DAS CORREÇÕES PARA O BLOCO DE LOGIN === */

		/* === CORREÇÕES PARA OS LINKS DO MENU LATERAL === */
		.side-menu ul {
			list-style: none;
			padding: 0;
			margin: 0;
			display: block;
			margin-top: 10px;
		}

		.side-menu li {
			width: 100%;
			text-align: left;
			padding: 10px 0;
		}

		.side-menu a {
			font-size: 22px;
			padding: 0 10px;
			border: none;
			display: flex;
			align-items: center;
			justify-content: flex-start;
			width: 100%;
			text-decoration: none;
			height: 100%;
			transition: background-color 0.3s ease;
		}

		.side-menu a:hover {
			background-color: rgba(255, 255, 255, 0.1);
		}

		.icones {
			width: 30px !important;
			height: 30px !important;
			margin-right: 8px;
			flex-shrink: 0;
			vertical-align: middle;
		}

		/* === FIM DAS CORREÇÕES PARA OS LINKS DO MENU LATERAL === */

		.btn-close {
			background-color: #d7479e;
			color: rgb(255, 255, 255) !important;
			font-weight: bold;
			padding: 10px 16px;
			font-size: 20px;
			border: 2px solid rgb(255, 255, 255) !important;
			border-radius: 25px;
			cursor: pointer;
			width: 70%;
			display: flex; /* Adicionado para ativar o Flexbox */
			justify-content: center; /* Centraliza horizontalmente o texto */
			align-items: center; /* Centraliza verticalmente o texto */
			margin: 20px auto 10px auto;
			transition: background-color 0.3s ease, transform 0.3s ease;
		}

		.btn-close:hover {
			background-color: #b83d85;
			border-color: rgb(255, 255, 255);
			transform: scale(0.98);
			color: rgb(255, 255, 255) !important;
		}


	.btn-editar-galeria {
		margin-left: -40px;
		margin-right: 40px;
	}

	/* ----------- TITULOS ----------- */
	.section-title-galeria {
		font-size: 90px;
		margin-top: 35px;
		margin-bottom: 10px;
	}
	.titulo-edicao {
		font-size: 42px;
		text-align: center;
	}

	/* ----------- TEXTO ----------- */
	.description-galeria {
		font-size: 18px;
		line-height: 1.5;
		margin-bottom: 24px !important;
	}

	/* ----------- ÍCONE NO TOPO ----------- */
	.icone-galeria {
		width: 70px;
		height: 70px;
		margin: 10px auto 25px auto;
		display: block;
	}

	/* ----------- GALERIA ----------- */
	.gallery {
		grid-template-columns: 1fr;
		gap: 12px;
	}
	.gallery img {
		width: 100%;
		height: auto;
		border-radius: 10px;
	}
	.gallery-item-container form {
		margin-top: 4px;
	}
	.gallery-item-container {
		position: relative; /* necessário para z-index funcionar localmente */
		overflow: visible; /* evita que o botão fique escondido */
	}
	.gallery-item-container form.delete-form, .gallery-item-container form {
		position: relative;
		z-index: 5;
		pointer-events: auto;
		margin-top: 12px;
	}
	.btn-delete-img {
		font-size: 25px;
		width: 50%;
		padding: 6px 10px;
		border-radius: 25px;
		position: relative;
		z-index: 10;
		pointer-events: auto;
	}

	/* ----------- FORM DE EDIÇÃO ----------- */
	.form-padrao-edicao {
		padding: 18px 12px;
		max-width: 100%;
	}
	.textarea-padrao-custom {
		width: 100%;
		min-height: 150px;
		font-size: 14px;
	}
	.contador-caracteres {
		font-size: 13px !important;
		margin-bottom: 6px;
	}
	.botoes-edicao {
		flex-direction: column;
		gap: 12px;
	}
	.btn-voltar-custom, .btn-publicar-custom {
		width: 100%;
		padding: 12px 10px;
		font-size: 18px;
	}

	/* ----------- UPLOAD ----------- */
	.form-upload-imagem {
		padding: 18px 10px;
		width: 100%;
	}
	.form-upload-imagem h3 {
		text-align: center;
		font-size: 42px;
	}
	select, input[type="file"] {
		font-size: 14px;
		padding: 8px;
	}
	.form-upload-imagem button {
		width: 50% !important;
		padding: 16px;
		font-size: 16px;
		border-radius: 10px;
	}

	/* ----------- MODAL EXCLUSÃO ----------- */
	.modal-dialog {
		width: 90% !important;
		margin: 0 auto;
	}
	.modal-confirm-custom {
		padding: 10px;
	}
	.icon-warning {
		margin-top: 40px;
		width: 60px;
		height: 60px;
		font-size: 32px;
	}
	.modal-msg {
		font-size: 16px;
		margin: 15px 10px;
	}
	.btn-container {
		flex-direction: column;
		gap: 10px;
	}
	.btn-cancelar, .btn-excluir-modal {
		width: 100% !important;
		font-size: 16px;
		padding: 10px;
		margin: 0;
	}
	

	/* ----------- BOTÃO AJUDA ----------- */
	.duvidas-btn {
		bottom: 20px;
		right: 16px;
		width: 55px;
		height: 55px;
	}

	
}

/* ============================
   FOOTER - MOBILE
============================ */
@media (max-width: 600px) {
    .footer {
        padding: 8px 6px;
        font-size: 14px;
    }

    .footer-logo {
        font-size: 18px !important;
    }

    .footer p {
        font-size: 10px;
        margin: 3px 0;
    }

    .footer span {
        font-size: 10px;
    }

    .social-icons img {
        width: 16px;
        height: 16px;
    }

    .social-icons {
        gap: 8px;
        margin-top: 6px;
    }
}