/* --- BOTONES SOCIALES EN VERSOS --- */
.verso-social {
	display: flex;
	gap: 10px;
	margin: 8px 0 4px 0;
	align-items: center;
}
.verso-whatsapp {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	background: #25d366;
	color: #fff;
	border-radius: 18px;
	padding: 3px 12px;
	font-weight: 500;
	text-decoration: none;
	font-size: 0.97em;
	transition: background 0.2s;
	border: none;
	cursor: pointer;
}
.verso-whatsapp:hover {
	background: #1ebe57;
}
.verso-facebook {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	background: #1877f2;
	color: #fff;
	border-radius: 18px;
	padding: 3px 12px;
	font-weight: 500;
	text-decoration: none;
	font-size: 0.97em;
	transition: background 0.2s;
	border: none;
	cursor: pointer;
}
.verso-facebook:hover {
	background: #145db2;
}
/* --- FOOTER --- */
.footer {
	width: 100vw;
	background: #f1f5f9;
	border-top: 2px solid #e0e7ff;
	margin-top: 40px;
	padding: 0;
	box-sizing: border-box;
}
.footer-content {
	max-width: 900px;
	margin: 0 auto;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: flex-start;
	gap: 32px;
	padding: 32px 18px 18px 18px;
	flex-wrap: wrap;
}
.footer-info {
	flex: 1 1 220px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	font-size: 1em;
	color: #3b3b5c;
	margin-bottom: 18px;
}
.footer-autor {
	font-weight: bold;
	color: #6366f1;
	font-size: 1.08em;
}
.footer-desc {
	color: #22223b;
	font-size: 0.98em;
}
.footer-whatsapp {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	background: #25d366;
	color: #fff;
	border-radius: 22px;
	padding: 6px 16px;
	font-weight: 500;
	text-decoration: none;
	font-size: 1em;
	margin-top: 8px;
	transition: background 0.2s;
}
.footer-whatsapp:hover {
	background: #1ebe57;
}
.footer-form {
	flex: 1 1 260px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 2px 8px rgba(60,60,120,0.07);
	padding: 18px 16px 16px 16px;
	min-width: 220px;
	max-width: 340px;
}
.footer-label {
	color: #6366f1;
	font-weight: 500;
	margin-bottom: 2px;
}
.footer-form input[type="email"],
.footer-form textarea {
	border-radius: 7px;
	border: 1px solid #bfc9e0;
	padding: 8px;
	font-size: 1em;
	resize: vertical;
	width: 100%;
	box-sizing: border-box;
}
.footer-form textarea {
	min-height: 60px;
	max-height: 120px;
}
.footer-form button {
	background: #6366f1;
	color: #fff;
	border: none;
	border-radius: 6px;
	padding: 8px 0;
	font-size: 1em;
	cursor: pointer;
	transition: background 0.2s;
	margin-top: 4px;
}
.footer-form button:hover {
	background: #4f46e5;
}
@media (max-width: 700px) {
	.footer-content {
		flex-direction: column;
		align-items: stretch;
		gap: 18px;
		padding: 18px 4vw 12px 4vw;
	}
	.footer-form {
		max-width: 100vw;
	}
}
/* --- LAYOUT PRINCIPAL Y LATERALES --- */
.main-layout {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: flex-start;
	gap: 24px;
	width: 100vw;
	max-width: 100vw;
	box-sizing: border-box;
}
.lateral {
	width: 220px;
	min-width: 180px;
	background: #f8fafc;
	border-radius: 16px;
	box-shadow: 0 2px 12px rgba(60,60,120,0.07);
	padding: 18px 12px 18px 12px;
	margin-top: 40px;
	display: flex;
	flex-direction: column;
	align-items: center;
	min-height: 180px;
	max-width: 240px;
}
.lateral h3 {
	color: #6366f1;
	font-size: 1.08em;
	margin-bottom: 12px;
	text-align: center;
}
.verso-lateral {
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 2px 8px rgba(60,60,120,0.08);
	padding: 14px 10px 10px 10px;
	width: 100%;
	min-height: 80px;
	font-size: 0.98em;
	color: #3b3b5c;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	text-align: center;
	word-break: break-word;
}
.verso-lateral .titulo {
	font-weight: bold;
	color: #4f46e5;
	font-size: 1.05em;
	margin-bottom: 2px;
}
.verso-lateral .autor {
	color: #6366f1;
	font-size: 0.97em;
	margin-bottom: 4px;
}
.verso-lateral .texto {
	color: #22223b;
	font-size: 1em;
	white-space: pre-line;
}

@media (max-width: 1100px) {
	.main-layout {
		gap: 8px;
	}
	.lateral {
		width: 150px;
		min-width: 120px;
		padding: 10px 4px 10px 4px;
		font-size: 0.93em;
	}
}
@media (max-width: 900px) {
	.main-layout {
		flex-direction: column;
		align-items: center;
		gap: 0;
	}
	.lateral {
		width: 98vw;
		max-width: 400px;
		margin: 18px auto 0 auto;
		min-height: 80px;
	}
	.container {
		margin: 18px auto 0 auto;
	}
}
.nav-search-inner {
	display: flex;
	align-items: center;
	width: 100%;
}
/* --- NAVBAR --- */
.navbar {
	width: 100vw;
	background: #fff;
	box-shadow: 0 2px 12px rgba(60,60,120,0.08);
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 24px;
	padding: 0 24px;
	min-height: 60px;
	position: sticky;
	top: 0;
	z-index: 100;
}
.nav-logo {
	display: flex;
	align-items: center;
	margin-right: 18px;
}
.nav-logo img {
	height: 38px;
	margin-right: 0;
}
.nav-links {
	display: flex;
	align-items: center;
	gap: 18px;
	list-style: none;
	margin: 0 0 0 0;
	padding: 0;
}
.nav-links li a {
	color: #6366f1;
	text-decoration: none;
	font-weight: 500;
	font-size: 1.05em;
	padding: 6px 12px;
	border-radius: 6px;
	transition: background 0.18s, color 0.18s;
}
.nav-links li a:hover {
	background: #e0e7ff;
	color: #3b3b5c;
}
.nav-search {
	display: flex;
	align-items: center;
	gap: 0;
	margin-left: 28px;
	background: #f1f5f9;
	border-radius: 8px;
	box-shadow: 0 1px 4px rgba(60,60,120,0.06);
	padding: 0 2px 0 8px;
	height: 38px;
}
.nav-search input {
	border-radius: 6px 0 0 6px;
	border: none;
	background: transparent;
	padding: 9px 12px 9px 12px;
	font-size: 1em;
	outline: none;
	width: 150px;
	transition: background 0.2s;
	height: 38px;
	box-sizing: border-box;
}
.nav-search input:focus {
	background: #fff;
}
.nav-search button {
	border-radius: 0 6px 6px 0;
	border: none;
	background: #e0e7ff;
	color: #6366f1;
	padding: 0 16px;
	font-size: 1.1em;
	cursor: pointer;
	transition: background 0.2s;
	margin-left: 0;
	height: 38px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.nav-search button:hover {
	background: #c7d2fe;
}
.nav-whatsapp {
	margin-left: 28px;
	display: flex;
	align-items: center;
	background: #25d366;
	border-radius: 50%;
	width: 38px;
	height: 38px;
	justify-content: center;
	transition: box-shadow 0.2s, background 0.2s;
	box-shadow: 0 2px 8px rgba(60,60,120,0.10);
}
.nav-whatsapp img {
	height: 24px;
	width: 24px;
}
.nav-whatsapp:hover {
	background: #1ebe57;
	box-shadow: 0 4px 16px rgba(37,211,102,0.18);
}

@media (max-width: 900px) {
	.navbar {
		flex-wrap: wrap;
		padding: 0 3vw;
		gap: 10px;
	}
	.nav-links {
		gap: 10px;
	}
	.nav-search {
		margin-left: 10px;
		height: 34px;
	}
	.nav-search input {
		width: 90px;
		font-size: 0.95em;
		height: 34px;
	}
	.nav-search button {
		height: 34px;
	}
	.nav-whatsapp {
		width: 32px;
		height: 32px;
		margin-left: 10px;
	}
	.nav-whatsapp img {
		height: 18px;
		width: 18px;
	}
}
@media (max-width: 600px) {
	.navbar {
		flex-direction: column;
		align-items: stretch;
		gap: 8px;
		padding: 0 2vw;
		min-height: unset;
	}
	.nav-logo {
		justify-content: center;
		margin: 8px 0 0 0;
	}
	.nav-links {
		justify-content: center;
		margin: 0 0 4px 0;
	}
	.nav-search {
		margin: 0 auto 8px auto;
		width: 98vw;
		max-width: 340px;
		height: 32px;
	}
	.nav-search input {
		width: 60vw;
		min-width: 60px;
		height: 32px;
	}
	.nav-search button {
		height: 32px;
	}
	.nav-whatsapp {
		margin: 0 auto 8px auto;
	}
}
.valoracion {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 8px 0 4px 0;
}
.like-btn, .dislike-btn {
	background: #e0e7ff;
	color: #6366f1;
	border: none;
	border-radius: 4px;
	padding: 3px 10px;
	font-size: 1em;
	cursor: pointer;
	transition: background 0.2s;
	display: flex;
	align-items: center;
	gap: 3px;
}
.like-btn:hover {
	background: #c7d2fe;
}
.dislike-btn:hover {
	background: #fee2e2;
	color: #dc2626;
}
.estrellas {
	display: flex;
	gap: 2px;
	margin-left: 8px;
}
.estrella {
	font-size: 1.2em;
	color: #bfc9e0;
	cursor: pointer;
	transition: color 0.2s;
}
.estrella.activa {
	color: #fbbf24;
	text-shadow: 0 1px 2px #f59e42;
}
#titulo-input, #autor-input {
	border-radius: 8px;
	border: 1px solid #bfc9e0;
	padding: 10px;
	font-size: 1em;
	margin-bottom: 2px;
	transition: border 0.2s;
}
#titulo-input:focus, #autor-input:focus {
	border: 1.5px solid #6366f1;
	outline: none;
}


body {
	margin: 0;
	padding: 0;
	font-family: 'Segoe UI', Arial, sans-serif;
	background: linear-gradient(120deg, #f8fafc 0%, #e0e7ff 100%);
	min-height: 100vh;

}

.container {
	max-width: 500px;
	margin: 40px auto;
	background: #fff;
	border-radius: 18px;
	box-shadow: 0 4px 24px rgba(60,60,120,0.08);
	padding: 32px 24px 24px 24px;
	animation: fadeIn 1s;
}

h1 {
	text-align: center;
	color: #3b3b5c;
	margin-bottom: 18px;
}

form {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

#verso-input {
	min-height: 80px;
	border-radius: 8px;
	border: 1px solid #bfc9e0;
	padding: 12px;
	font-size: 1.1em;
	resize: vertical;
	transition: border 0.2s;
}
#verso-input:focus {
	border: 1.5px solid #6366f1;
	outline: none;
}

.acciones {
	display: flex;
	gap: 10px;
	justify-content: flex-end;
}

button {
	background: #6366f1;
	color: #fff;
	border: none;
	border-radius: 6px;
	padding: 8px 18px;
	font-size: 1em;
	cursor: pointer;
	transition: background 0.2s, transform 0.2s;
}
button:hover {
	background: #4f46e5;
	transform: translateY(-2px) scale(1.04);
}

h2 {
	margin-top: 32px;
	color: #4f46e5;
	font-size: 1.2em;
}

#versos-lista {
	list-style: none;
	padding: 0;
	margin: 0;
}

#versos-lista li {
	background: #f1f5f9;
	margin-bottom: 28px;
	border-radius: 16px;
	padding: 22px 18px 18px 18px;
	position: relative;
	opacity: 0;
	transform: translateY(30px);
	animation: slideIn 0.7s forwards;
	box-shadow: 0 4px 18px rgba(60,60,120,0.10);
	border: 2px solid #e0e7ff;
	transition: box-shadow 0.2s, border 0.2s;
}
#versos-lista li:hover {
	box-shadow: 0 8px 32px rgba(99,102,241,0.13);
	border: 2px solid #6366f1;
}
.verso-titulo {
	font-weight: bold;
	font-size: 1.1em;
	color: #3b3b5c;
	margin-bottom: 2px;
	display: block;
}
.verso-autor {
	font-size: 0.98em;
	color: #6366f1;
	margin-bottom: 7px;
	display: block;
}
.verso-texto {
	font-size: 1.08em;
	color: #22223b;
	white-space: pre-line;
	margin-bottom: 0;
	display: block;
}
#versos-lista li .copiar {
	position: absolute;
	top: 10px;
	right: 10px;
	background: #e0e7ff;
	color: #6366f1;
	border: none;
	border-radius: 4px;
	padding: 3px 10px;
	font-size: 0.9em;
	cursor: pointer;
	transition: background 0.2s;
}
#versos-lista li .copiar:hover {
	background: #c7d2fe;
}

@keyframes fadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

@keyframes slideIn {
	from { opacity: 0; transform: translateY(30px); }
	to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
	.container {
		max-width: 98vw;
		padding: 16px 4vw 18px 4vw;
	}
	h1 {
		font-size: 1.3em;
	}
	#verso-input {
		font-size: 1em;
	}
}
