.conv-datos,
.conv-fichas,
.conv-calc {
	margin: 1.5em 0;
	border: 1px solid #dfe3e8;
	border-radius: 8px;
	background: #f8fafc;
	padding: 1em 1.25em;
}

.conv-datos table,
.conv-fichas table {
	width: 100%;
	border-collapse: collapse;
	margin: 0;
	border: 0;
}

.conv-datos th,
.conv-datos td,
.conv-fichas th,
.conv-fichas td {
	text-align: left;
	padding: 0.45em 0.6em;
	border: 0;
	border-bottom: 1px solid #e6e9ee;
	vertical-align: top;
}

.conv-datos th {
	width: 38%;
	font-weight: 600;
}

.conv-datos tr:last-child th,
.conv-datos tr:last-child td,
.conv-fichas tr:last-child td {
	border-bottom: 0;
}

.conv-revision,
.conv-calc-aviso {
	font-size: 0.85em;
	color: #5b6573;
	margin: 0.75em 0 0;
}

.conv-calc-titulo {
	font-weight: 700;
	margin: 0 0 0.75em;
}

.conv-calc-campos {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 0.75em;
}

.conv-calc-campos label {
	display: flex;
	flex-direction: column;
	gap: 0.3em;
	font-size: 0.9em;
}

.conv-calc-campos input {
	width: 100%;
	padding: 0.5em;
}

.conv-calc-resultado {
	font-size: 1.15em;
	font-weight: 700;
	margin: 1em 0 0;
	min-height: 1.4em;
}

/* Formulario de contacto */

.conv-contacto {
	max-width: 40rem;
}

.conv-contacto label {
	display: block;
	font-weight: 600;
	margin-bottom: 0.3rem;
}

.conv-contacto input[type="text"],
.conv-contacto input[type="email"],
.conv-contacto textarea {
	width: 100%;
	padding: 0.7rem 0.8rem;
	border: 2px solid #18252b;
	border-radius: 6px;
	font: inherit;
	background: #fff;
}

.conv-contacto .conv-acepto label {
	font-weight: 400;
}

.conv-contacto .conv-acepto input {
	margin-right: 0.4rem;
}

.conv-contacto button {
	background: #2e6a4f;
	color: #fff;
	border: 0;
	border-radius: 6px;
	padding: 0.8rem 1.4rem;
	font-weight: 700;
	font-size: 1rem;
	cursor: pointer;
}

.conv-contacto button:hover {
	background: #24563f;
}

.conv-info-basica {
	font-size: 0.85rem;
	color: #56636a;
}

.conv-trampa {
	position: absolute;
	left: -9999px;
}

.conv-contacto-ok {
	border-left: 4px solid #2e6a4f;
	background: #e1eee6;
	padding: 1rem 1.25rem;
	border-radius: 4px;
}

.conv-contacto-error {
	border-left: 4px solid #b4432f;
	background: #fbecea;
	padding: 0.8rem 1rem;
	border-radius: 4px;
}

/* Avisos por correo */

.conv-avisos fieldset {
	border: 0;
	padding: 0;
	margin: 0 0 1rem;
}

.conv-avisos legend {
	font-weight: 700;
	margin-bottom: 0.5rem;
}

.conv-avisos-opcion {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	margin: 0 1rem 0.4rem 0;
}

.conv-avisos-fila {
	display: flex;
	gap: 0.5rem;
	flex-wrap: wrap;
	max-width: 34rem;
}

.conv-avisos-fila input[type="email"] {
	flex: 1 1 14rem;
	padding: 0.75rem 0.9rem;
	border: 2px solid #18252b;
	border-radius: 6px;
	font: inherit;
	background: #fff;
	color: #18252b;
}

.conv-avisos button {
	background: #2e6a4f;
	color: #fff;
	border: 0;
	border-radius: 6px;
	padding: 0.75rem 1.4rem;
	font-weight: 700;
	font-size: 1rem;
	cursor: pointer;
}

.conv-avisos button:hover {
	background: #24563f;
}

.conv-avisos .conv-acepto {
	font-size: 0.88rem;
}

.ci-avisos .conv-avisos legend,
.ci-avisos .conv-avisos label,
.ci-avisos .conv-avisos a {
	color: #eef3f0;
}

.ci-avisos .conv-avisos button {
	background: #e1eee6;
	color: #18252b;
}

.conv-avisos-caja {
	margin: 2.5rem 0 1rem;
	padding: 1.5rem 1.5rem 0.75rem;
	background: #e1eee6;
	border-radius: 6px;
}

.conv-avisos-caja h2 {
	margin-top: 0;
}

.conv-novedad {
	background: #e1eee6;
	border-left: 4px solid #2e6a4f;
	border-radius: 4px;
	padding: 0.7rem 0.9rem;
	margin: 2.9rem 0 1rem;
}

/* Calendario de exámenes */
.conv-calendario h2 { margin-top: 2rem; }
.conv-cal { list-style: none; margin: 0; padding: 0; }
.conv-cal li { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 0.2rem 1rem; padding: 0.8rem 0; border-bottom: 1px solid #d5ded9; margin: 0; }
.conv-cal time { font-weight: 700; color: #2e6a4f; }
.conv-cal a { font-weight: 700; grid-column: 2; }
.conv-cal li > a:first-child { grid-column: 1 / -1; }
.conv-cal span { grid-column: 2; color: #56636a; font-size: 0.92rem; }
.conv-cal li > a:first-child + span { grid-column: 1 / -1; }
.conv-cal-vacio { color: #56636a; }
@media (max-width: 600px) { .conv-cal li { grid-template-columns: minmax(0, 1fr); } .conv-cal a, .conv-cal span { grid-column: 1; } }
.conv-cal time { grid-row: span 2; }
@media (max-width: 600px) { .conv-cal time { grid-row: auto; } }

/* Listas por titulación */
.conv-titulacion h2 { margin-top: 2rem; }
.conv-tit-lista { list-style: none; margin: 0; padding: 0; }
.conv-tit-lista li { position: relative; padding: 0.9rem 9.5rem 0.9rem 0; border-bottom: 1px solid #d5ded9; margin: 0; }
.conv-tit-lista a { font-weight: 700; }
.conv-tit-lista p { margin: 0.25rem 0 0; color: #56636a; font-size: 0.92rem; }
.conv-tit-lista .ci-sello { position: absolute; right: 0; top: 0.9rem; font-size: 0.78rem; padding: 0.3rem 0.5rem; border: 2px solid currentColor; border-radius: 5px; font-weight: 700; transform: rotate(-3deg); max-width: 8.5rem; text-align: center; color: #6b767c; }
.conv-tit-lista .ci-sello--abierta, .conv-tit-lista .ci-sello--convocada { color: #2e6a4f; }
.conv-tit-lista .ci-sello--pendiente { color: #96650c; }
@media (max-width: 600px) { .conv-tit-lista li { padding-right: 0; } .conv-tit-lista .ci-sello { position: static; display: inline-block; margin-top: 0.4rem; } }

/* Test ¿Qué oposición me conviene? */
.conv-test fieldset { border: 1px solid #d5ded9; border-radius: 6px; padding: 1rem 1.2rem; margin: 0 0 1rem; }
.conv-test legend { font-weight: 700; padding: 0 0.4rem; }
.conv-test label { display: block; padding: 0.3rem 0; cursor: pointer; }
.conv-test input { margin-right: 0.5rem; accent-color: #2e6a4f; }
.conv-test-boton { background: #2e6a4f; color: #fff; border: 0; border-radius: 6px; padding: 0.8rem 1.4rem; font: inherit; font-weight: 700; cursor: pointer; }
.conv-test-boton:hover { background: #24563f; }
.conv-test-resultado { margin-top: 1.5rem; }

/* Convocatorias con plazo abierto */
.conv-abiertas { list-style: none; margin: 0; padding: 0; }
.conv-abiertas li { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 0.2rem 1rem; align-items: start; padding: 1rem 0; border-bottom: 1px solid #d5ded9; margin: 0; }
.conv-cuenta { grid-row: span 2; background: #2e6a4f; color: #fff; font-weight: 700; text-align: center; border-radius: 6px; padding: 0.5rem; font-size: 0.95rem; }
.conv-cuenta--urgente { background: #b3261e; }
.conv-abiertas a { font-weight: 700; font-size: 1.1rem; }
.conv-abiertas p { margin: 0; color: #56636a; font-size: 0.92rem; }
@media (max-width: 600px) { .conv-abiertas li { grid-template-columns: minmax(0, 1fr); } .conv-cuenta { grid-row: auto; justify-self: start; } }

/* Preguntas frecuentes */
.conv-faq { margin: 2.5rem 0 1rem; }
.conv-faq details { border-bottom: 1px solid #d5ded9; padding: 0.8rem 0; }
.conv-faq summary { font-weight: 700; cursor: pointer; list-style-position: outside; }
.conv-faq summary:hover { color: #2e6a4f; }
.conv-faq details p { margin: 0.5rem 0 0; color: #3a474d; }
