:root {
	--rosa-base: #fde8e8ca;
	--rosa-fuerte: #de6868;
	--rosa-acento: #fbbcbc;
	--texto-oscuro: #4b1d1d;
}

body {
	background-color: var(--rosa-base);
	color: var(--texto-oscuro);
	font-family: "Didact Gothic", sans-serif;
}

html {
	scroll-behavior: smooth;
}

h1,
h2,
h3 {
	font-family: "Didact Gothic", sans-serif;
}

@keyframes float {
	0% {
		transform: translateY(0px);
	}
	50% {
		transform: translateY(-20px);
	}
	100% {
		transform: translateY(0px);
	}
}

.logo-float {
	animation: float 5s ease-in-out infinite;
	box-shadow: rgba(0, 0, 0, 0.2) 0px 25px 15px 0px;
	background-color: #e0e0e0;
	border-radius: 9999px;
}

input,
select,
textarea {
	background-color: #fff;
	border: 1px solid var(--rosa-fuerte);
	border-radius: 8px;
	padding: 8px 12px;
	color: var(--texto-oscuro);
	transition: border-color 0.3s ease;
	width: 100%;
}

input:focus,
select:focus,
textarea:focus {
	outline: none;
	border-color: var(--rosa-acento);
	box-shadow: 0 0 0 2px var(--rosa-acento);
}

label {
	font-weight: 600;
	color: var(--texto-oscuro);
	margin-bottom: 4px;
	display: block;
}

button {
	background-color: var(--rosa-fuerte);
	color: #fff;
	padding: 10px 20px;
	border: none;
	border-radius: 25px;
	cursor: pointer;
	font-weight: bold;
	transition: background-color 0.3s ease;
}

button:hover {
	background-color: #c94f4f;
}

fieldset {
	border: none;
	margin-bottom: 1rem;
}

legend {
	font-weight: bold;
	color: var(--rosa-fuerte);
	margin-bottom: 0.5rem;
}

.error-message {
	color: #b91c1c; /* rojo fuerte */
	font-size: 0.875rem;
	margin-top: 4px;
}

/* Dropzone PDFs */
#pdf-preview {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 8px;
}

.pdf-file {
	position: relative;
	width: 110px;
	height: 130px;
	border: 1px solid var(--rosa-acento);
	border-radius: 8px;
	background: #fff;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 10px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
	transition: box-shadow 0.3s ease;
}

.pdf-file:hover {
	box-shadow: 0 4px 12px rgba(222, 104, 104, 0.6); /* rosa-fuerte */
}

.pdf-file svg {
	width: 44px;
	height: 44px;
	color: var(--rosa-fuerte);
	margin-bottom: 10px;
}

.pdf-filename {
	font-size: 0.75rem;
	text-align: center;
	word-break: break-word;
	flex-grow: 1;
}

.pdf-remove-btn {
	position: absolute;
	top: 6px;
	right: 8px;
	background: transparent;
	border: none;
	color: var(--rosa-fuerte);
	font-size: 20px;
	cursor: pointer;
	transition: color 0.2s ease;
}

.pdf-remove-btn:hover {
	color: #7f1d1d;
}

/* Dropzone imagen */
.dropzone img {
	max-height: 9rem;
	margin-top: 0.5rem;
	border-radius: 0.375rem;
	box-shadow: 0 2px 8px rgb(0 0 0 / 0.1);
	object-fit: contain;
}

/* Selfie preview */
#selfie-preview {
	width: 100%;
	max-width: 320px;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: 50%;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
	margin: 0 auto;
	display: block;
}

/* Fade effect */
.fade-in {
	opacity: 0;
	transition: opacity 0.5s ease-in;
}

.fade-in.show {
	opacity: 1;
}
@keyframes march {
	0% {
		transform: translateX(0);
	}
	25% {
		transform: translateX(5px);
	}
	50% {
		transform: translateX(10px);
	}
	75% {
		transform: translateX(5px);
	}
	100% {
		transform: translateX(0);
	}
}

@keyframes float {
	0%,
	100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-8px);
	}
}

@keyframes glowPulse {
	0%,
	100% {
		box-shadow: 0 0 12px var(--rosa-acento), 0 0 24px transparent;
	}
	50% {
		box-shadow: 0 0 24px var(--rosa-acento), 0 0 40px var(--rosa-fuerte);
	}
}

/* base Among Us */
.amongus {
	width: 40px;
	height: 50px;
	border-radius: 12px 12px 10px 10px;
	position: relative;
	animation: march 1.2s linear infinite, float 3s linear infinite,
		glowPulse 2.5s ease-in-out infinite;
}

/* visor */
.amongus::before {
	content: "";
	position: absolute;
	top: 12px;
	left: 6px;
	width: 26px;
	height: 14px;
	border-radius: 8px;
	background: #9bdaf1;
	box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.2);
}

/* sombra */
.amongus::after {
	content: "";
	position: absolute;
	bottom: -8px;
	left: 6px;
	width: 28px;
	height: 6px;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.3);
	filter: blur(2px);
}

/* Colores + delays escalonados */
.amongus-rosa {
	background: var(--rosa-fuerte);
	animation-delay: 0s;
}
.amongus-acento {
	background: var(--rosa-acento);
	animation-delay: 0.4s;
}
.amongus-dark {
	background: var(--texto-oscuro);
	animation-delay: 0.8s;
}
