/* ============================
   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;
}

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


/* ============================
   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;
}


/* Modal de erro de login */

.modal-erro-login {
	display: none;
	position: fixed;
	z-index: 9999;
	inset: 0;
	background-color: rgba(0, 0, 0, 0.55);
	justify-content: center;
	align-items: center;
	animation: fadeIn 0.3s ease-in-out;
}

.modal-erro-login-content {
	background-color: #FFF7DF;
	padding: 30px;
	border-radius: 20px;
	text-align: center;
	width: 90%;
	max-width: 400px;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
	font-family: 'Quicksand', sans-serif;
	animation: slideUp 0.3s ease-out;
}

.modal-erro-login-content h2 {
	font-size: 3.2rem;
	color: #d7479e;
	margin-bottom: 10px;
	font-family: 'Cookie', cursive;
}

.modal-erro-login-content p {
	font-size: 1.6rem;
	color: rgb(0, 0, 0);
	margin-bottom: 25px;
}

.btn-cadastrar,
.btn-fechar {
	border: none;
	padding: 10px 20px;
	margin: 0 8px;
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.2s ease-in-out;
	font-family: "Libertinus Serif Display", system-ui;
}

.btn-cadastrar {
	background-color: #26A69A;
	color: #fff;
	font-size: 20px;
	border-radius: 25px;
}

.btn-cadastrar:hover {
	background-color: rgb(32, 138, 128);

}

.btn-fechar {
	background-color: #c74c83;
	color: rgb(255, 255, 255);
	font-size: 20px;
	border-radius: 25px;
}

.btn-fechar:hover {
	background-color: #a53a69;
}

/* Animações */
@keyframes fadeIn {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

@keyframes slideUp {
	from {
		transform: translateY(20px);
		opacity: 0;
	}

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




/* ============================
   LOGIN CONTAINER 
============================ */

.login-container {
	max-width: 400px;
	margin: 60px auto;
	padding: 40px 30px;
	text-align: center;
}

.login-container input {
	width: 100%;
	padding: 14px 16px;
	margin: 12px 0;
	border: 2px solid #B84088;
	border-radius: 14px;
	font-size: 16px;
	outline: none;
	transition: 0.2s;
	background: transparent;
}

.login-container input:focus {
	border-color: #bd1278;
	box-shadow: 0 0 6px rgba(189, 18, 120, 0.4);
}

.login-container button,
.login-container .btn-missao {
	width: 95%;
	padding: 14px;
	margin-top: 20px;
	background: #dc3b82;
	color: white;
	font-size: 18px;
	font-weight: bold;
	border: none;
	border-radius: 14px;
	cursor: pointer;
	transition: background 0.3s;
	text-decoration: none;
}

.login-container button:hover,
.login-container .btn-missao:hover {
	background: #b3276b;
}

/* ============================
   INPUT COM ÍCONES
============================ */
.input-box {
	display: flex;
	align-items: center;
	border: 2px solid #DC3B82;
	border-radius: 14px;
	margin: 12px 0;
	background: #FFFAD6;
	height: 48px;
}

.input-box i {
	color: #DC3B82;
	font-size: 18px;
	width: 45px;
	text-align: center;
	border-right: 2px solid #DC3B82;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.input-box input {
	border: none;
	outline: none;
	background: transparent;
	font-size: 20px;
	padding: 12px 8px 12px 12px;
	flex: 1;
	color: rgb(0, 0, 0) !important;
}

.input-box .toggle-password {
	border-right: none !important;

}

.senha {
	margin-top: 15px;
	text-align: center;
}

.senha a {
	font-size: 30px;
	color: #d7479e;
	text-decoration: none;
}


.senha a:hover {
	text-decoration: underline;
	color: #b3276b;
}


.btn-login {
	width: 40% !important;
	padding: 10px;
	margin-top: 10px;
	margin-bottom: 10px;
	background: #dc3b82;
	color: white;
	font-size: 25px !important;
	font-weight: normal !important;
	border: none;
	border-radius: 25px !important;
	cursor: pointer;
	transition: background 0.3s;
	text-decoration: none;
	display: inline-block;
	font-family: "Libertinus Serif Display", system-ui;
}

.login-container .btn-login:hover {
	background: #b3276b;
}

.signup {
	margin-top: 0;
	margin-bottom: 50px;
}

.signup a {
	margin-bottom: 0;
	font-size: 30px;
	color: #d7479e;
	text-decoration: none;
}

.signup a:hover {
	text-decoration: underline;
	color: #b3276b;
}

/* ============================
   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;
}

/* ========================================= */
/* 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;
}

/* ===========================
    MOBILE — até 768px
=========================== */
@media (max-width: 768px) {

	/* ===========================
	   BODY / LAYOUT
	=========================== */
	html,
	body {
		overflow-x: hidden;
	}

	.container {
		padding: 30px 18px;
	}

	/* ===========================
	   HEADER
	=========================== */
	.header {
		padding: 8px 12px;
		justify-content: space-between;
	}

	.logo-header {
		width: 45px;
	}

	.header-title {
		font-size: 36px;
		top: 0;
	}

	/* Menu hamburguer no mobile */
	.menu-icon {
		display: none !important;
		/* esconde o hamburguer */
	}

	.nav-links {
		display: block !important;
	}

	.nav-links ul {
		gap: 0;
	}

	.nav-links a {
		font-size: 30px;
		padding: 6px 10px;
	}

	/* ===========================
	   LOGIN AREA
	=========================== */
	.login-container {
		margin: 30px auto;
		padding: 20px 10px;
		width: 100%;
	}

	.login {
		    max-width: 45vw;      /* relativo à tela */
		    max-height: 45vw;
		    width: 180px;         /* limite superior */
		    height: 180px;
		    object-fit: contain;
		    display: block;
		    margin: 36px auto 12px;
			margin-bottom: 40px;
		  }

	/* Inputs */
	.input-box {
		height: 52px;
	}

	.input-box i {
		width: 44px;
		font-size: 18px;
	}

	.input-box input {
		font-size: 18px;
		padding: 10px;
	}

	.toggle-password {
		margin-right: 8px;
		font-size: 18px;
	}

	/* Link - esqueci a senha */
	.senha a {
		font-size: 30px;
		font-weight: bold;
	}

	/* Botão login */
	.btn-login {
		width: 50% !important;
		padding: 12px;
		font-size: 25px !important;
		border-radius: 25px;
	}

	/* Cadastro */
	.signup a {
		font-size: 30px;
		font-weight: bold;
	}

	/* ===========================
	   MODAL ERRO LOGIN
	=========================== */
	.modal-erro-login-content {
		max-width: 90%;
		padding: 22px;
	}

	.modal-erro-login-content h2 {
		font-size: 2.2rem;
	}

	.modal-erro-login-content p {
		font-size: 1.4rem;
	}

	.btn-cadastrar,
	.btn-fechar {
		font-size: 16px;
		padding: 8px 14px;
	}



	/* ===========================
	   TOAST
	=========================== */
	.toast-container {
		bottom: 12px;
		right: 10px;
		max-width: 90%;
	}

	.toast-notification {
		font-size: 14px;
		padding: 12px 14px;
	}

}

/* ============================
   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;
    }
}