:root {
	--primary-color: #2e7d32;
	--primary-light: #60ad5e;
	--primary-dark: #005005;
	--accent-color: #ff8f00;
	--alert-color: #cf0606;
	--text-color: #333;
	--bg-color: #fff;
	--light-bg: #f9f7f2;
	--font-main: 'Georgia', serif;
	--font-heading: 'Playfair Display', serif;
}

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');



.hide {
	display: none !important;
}

.rounded-circle {
	border-radius: 50%;
}



.mobile-only {
	display: none !important;
}

.desktop-only {}

/* 📌 Modo Móvil */
@media (max-width: 600px) {
	.mobile-only {
		display: inherit;
	}

	.desktop-only {
		display: none !important;
	}
}






/* Overlay oscuro que cubre toda la pantalla */
.loading-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.7);
	/* negro translúcido */
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 9999;
	flex-direction: column;
	color: white;
	font-family: 'Segoe UI', sans-serif;
}

/* Ícono de cocina */
.loading-icon {
	font-size: 3rem;
	margin-bottom: 1rem;
}

/* Spinner animado */
.loading-spinner {
	width: 40px;
	height: 40px;
	border: 4px solid #ffffff33;
	border-top: 4px solid #fff;
	border-radius: 50%;
	animation: spin 1s linear infinite;
}

@keyframes spin {
	to {
		transform: rotate(360deg);
	}
}

.loading-text {
	margin-top: 1rem;
	font-size: 1.2rem;
	opacity: 0.8;
}


.error-message
{
	color: darkred;
	font-weight: bold;
}

/******************************************************************/


/* === Estilo base === */
html, body {
	height: 100%;
	margin: 0;
	display: flex;
	flex-direction: column;
	background-color: #121212;
	color: white;
	font-family: 'Segoe UI', sans-serif;
}

main {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	width: -webkit-fill-available;
	max-width: 1200px;
	margin: 1rem auto; /* Espacio arriba y abajo */
}

a {
	color: #1DB954;
	text-decoration: none;
}

a:hover {
	color: #81F3A9;
	text-decoration: underline;
}

/* === Logo header === */
header {
	padding: 24px;
	background-color: #1E1E1E;
	border-bottom: 1px solid #2a2a2a;
	text-align: center;
}

.logo {
	width: 120px;
}

/* === Hero / login box === */
.hero {
	text-align: center;
	padding: 40px 20px;
	background-color: #1E1E1E;
	border-radius: 12px;
	box-shadow: 0 0 10px rgba(0,0,0,0.3);
	margin: 40px auto;
	max-width: 500px;
}

.hero h1 {
	color: #ffffff;
	font-family: 'Playfair Display', serif;
	font-size: 28px;
	margin-bottom: 10px;
}

.hero p {
	color: #828282;
	margin-bottom: 20px;
}

/* === Botón de login === */
.btn {
	display: inline-block;
	background-color: #1DB954;
	color: #fff;
	padding: 12px 24px;
	border-radius: 6px;
	font-weight: bold;
	transition: background-color 0.2s ease;
}

.btn:hover {
	background-color: #1aa34a;
}

/* === Mensajes === */
.success-message,
.error-message {
	max-width: 500px;
	margin: 20px auto;
	padding: 16px 24px;
	border-radius: 8px;
	font-weight: bold;
	text-align: center;
}

.success-message {
	background-color: #1e442a;
	color: #81F3A9;
	border: 1px solid #2c8e61;
}

.error-message {
	background-color: #3a1e1e;
	color: #FF4C4C;
	border: 1px solid #cc0000;
}
 

.cta-section {
	background-color: #1e1e1e;
	border: 1px solid #333;
	border-radius: 16px;
	padding: 3rem 2rem;
	margin: 3rem auto;
	text-align: center;
	max-width: 700px;
	box-shadow: 0 0 20px rgba(0, 255, 170, 0.08);
}

.cta-title {
	font-size: 2rem;
	color: #ffffff;
	font-family: var(--font-heading);
	margin-bottom: 0.75rem;
}

.cta-subtitle {
	color: #ccc;
	font-size: 1.1rem;
	margin-bottom: 2rem;
	line-height: 1.5;
}

.btn-cta-download {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	background-color: var(--primary-color);
	color: white;
	padding: 0.75rem 1.5rem;
	border-radius: 8px;
	font-weight: bold;
	font-size: 1rem;
	text-decoration: none;
	transition: background-color 0.2s ease-in-out, transform 0.2s ease;
}

.btn-cta-download i {
	font-size: 1.1rem;
}

.btn-cta-download:hover {
	background-color: var(--primary-light);
	transform: translateY(-2px);
}

.pill-button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 14px;
	background-color: #2a2a2a;
	color: #ffffff;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
	transition: background-color 0.2s ease;
	border: 1px solid #444;
}

.pill-button:hover {
	background-color: #3a3a3a;
	color: #81F3A9;
}

.pill-button i {
	font-size: 14px;
}

/* === Footer === */
footer {
	background-color: #1E1E1E;
	color: #828282;
	text-align: center;
	padding: 20px;
	font-size: 13px;
	border-top: 1px solid #2a2a2a;
	width: auto;
}

footer .container {
	max-width: 800px;
	margin: 0 auto;
}



main.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
  color: #ffffff;
}

h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
  color: #00ffcc;
}

h3 {
  font-size: 1.2rem;
  font-weight: 500;
  margin: 1rem 0 0.5rem;
  color: #a5f3fc;
}

ul {
  margin-left: 1.25rem;
  padding-left: 0;
  list-style-type: disc;
}

a {
  color: var(--primary-light);
  text-decoration: none;
}

a:hover {
  color: var(--primary-color);
}

p {
  margin-bottom: 1rem;
}

.text-yellow-300 {
  color: #fde68a;
}

.text-green-400 {
  color: #4ade80;
}

.text-blue-400 {
  color: #60a5fa;
}