/* Intranet de socios — Sindicato de Artistas Circenses */
.sci-wrap {
	--gold: #c28a3c;
	--gold-soft: #f1c878;
	--red: #8d1412;
	--dark: #02080d;
	--paper: #fff8ed;
	color: #1f1411;
	font-family: "Arial Narrow", Arial, sans-serif;
	margin: 0 auto;
	max-width: 980px;
	padding: 10px 0 40px;
}

.sci-wrap h2,
.sci-wrap h3 {
	font-family: Georgia, "Times New Roman", serif;
}

/* En la intranet no hay slider: el header NO debe flotar sobre el contenido. */
body.home .site-header {
	position: relative;
	background: #02080d;
}
body.home .editorial-hero {
	padding-top: 48px;
}

/* Encabezado del portal con logo */
.sci-portal-header {
	align-items: center;
	background:
		radial-gradient(800px 200px at 20% 0%, rgba(141, 20, 18, 0.35), transparent 60%),
		linear-gradient(135deg, #02080d, #0a1822);
	border: 1px solid var(--gold);
	border-radius: 14px;
	box-shadow: 0 16px 44px rgba(0, 0, 0, 0.25);
	display: flex;
	gap: 22px;
	margin-bottom: 26px;
	padding: 24px 28px;
}
.sci-portal-logo {
	filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.5));
	height: auto;
	max-height: 86px;
	width: auto;
}
.sci-portal-titles h1 {
	color: var(--gold-soft);
	font-family: Georgia, serif;
	font-size: clamp(1.5rem, 3vw, 2.1rem);
	letter-spacing: 0.02em;
	margin: 0;
	text-transform: uppercase;
}
.sci-portal-titles p {
	color: #f4d9aa;
	font-family: Georgia, serif;
	margin: 4px 0 0;
	opacity: 0.85;
}

.sci-alert {
	border-radius: 8px;
	font-weight: 700;
	margin: 0 0 20px;
	padding: 14px 16px;
}
.sci-alert-ok    { background: #e6f4ea; border: 1px solid #9bd2ab; color: #1c6b34; }
.sci-alert-error { background: #fbe8e8; border: 1px solid #e2a3a3; color: #8d1412; }
.sci-alert-info  { background: #fff4e0; border: 1px solid var(--gold); color: #7a5310; }

.sci-grid {
	display: grid;
	gap: 22px;
	grid-template-columns: 1fr 1fr;
}

.sci-card {
	background: var(--paper);
	border: 1px solid var(--gold);
	border-radius: 12px;
	box-shadow: 0 14px 40px rgba(0, 0, 0, 0.12);
	padding: 26px;
}
.sci-card h3 {
	color: var(--red);
	margin: 0 0 16px;
	text-transform: uppercase;
}
.sci-card label {
	display: block;
	font-weight: 700;
	margin: 0 0 14px;
}
.sci-card input {
	border: 1px solid #d8c6a8;
	border-radius: 7px;
	display: block;
	font: inherit;
	margin-top: 5px;
	padding: 11px 13px;
	width: 100%;
}
.sci-card input:focus {
	border-color: var(--gold);
	box-shadow: 0 0 0 3px rgba(194, 138, 60, 0.18);
	outline: none;
}

.sci-btn {
	background: linear-gradient(180deg, #a31918, #760c0d);
	border: 1px solid #e2a365;
	border-radius: 8px;
	color: #fff;
	cursor: pointer;
	display: inline-block;
	font-weight: 900;
	letter-spacing: 0.04em;
	margin-top: 6px;
	padding: 12px 22px;
	text-decoration: none;
	text-transform: uppercase;
	transition: transform 160ms ease, box-shadow 160ms ease;
}
.sci-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2); }
.sci-btn-outline { background: transparent; color: var(--red); border-color: var(--red); }
.sci-btn-ghost { background: rgba(0,0,0,0.06); color: #333; border-color: #ccc; }

.sci-mini { color: #777; font-size: 0.85rem; margin-top: 10px; }
.sci-mini a { color: var(--red); }

.sci-head {
	align-items: center;
	border-bottom: 2px solid var(--gold);
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	justify-content: space-between;
	margin-bottom: 22px;
	padding-bottom: 16px;
}
.sci-head h2 { margin: 0; color: var(--red); }

.sci-estado {
	border-radius: 10px;
	font-size: 1.1rem;
	font-weight: 800;
	margin-bottom: 26px;
	padding: 18px 20px;
	text-align: center;
}
.sci-estado.is-aldia { background: #e6f4ea; border: 1px solid #9bd2ab; color: #1c6b34; }
.sci-estado.is-deuda { background: #fbe8e8; border: 1px solid #e2a3a3; color: #8d1412; }
.sci-estado.is-revision { background: #fff4e0; border: 1px solid var(--gold); color: #8a5a00; }

.sci-cuotas {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
.sci-cuota {
	background: #fff;
	border: 1px solid #e7d8bd;
	border-left: 5px solid var(--gold);
	border-radius: 10px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
	padding: 18px;
}
.sci-cuota.estado-pagado   { border-left-color: #1c6b34; }
.sci-cuota.estado-vencido  { border-left-color: #b32d2e; }
.sci-cuota.estado-en_revision { border-left-color: #c98a00; }

.sci-cuota-top {
	align-items: center;
	display: flex;
	gap: 10px;
	justify-content: space-between;
	margin-bottom: 10px;
}
.sci-cuota-top strong { font-family: Georgia, serif; font-size: 1.05rem; }

.sci-badge {
	border-radius: 999px;
	color: #fff;
	font-size: 0.72rem;
	font-weight: 900;
	letter-spacing: 0.04em;
	padding: 4px 10px;
	text-transform: uppercase;
	white-space: nowrap;
}
.badge-pendiente   { background: #8a6d3b; }
.badge-en_revision { background: #c98a00; }
.badge-pagado      { background: #1c6b34; }
.badge-vencido     { background: #b32d2e; }

.sci-cuota-info {
	color: #5a3b2c;
	display: flex;
	flex-wrap: wrap;
	font-size: 0.92rem;
	gap: 14px;
	margin-bottom: 12px;
}

.sci-comp-ok { color: #1c6b34; font-weight: 700; margin: 8px 0; }
.sci-comp-ok a { color: var(--red); }

.sci-upload {
	border-top: 1px dashed #e0cfb0;
	margin-top: 12px;
	padding-top: 12px;
}
.sci-file { display: block; margin-bottom: 10px; }
.sci-file span { display: block; font-size: 0.82rem; font-weight: 700; margin-bottom: 6px; }
.sci-file input { font: inherit; width: 100%; }

@media (max-width: 720px) {
	.sci-grid { grid-template-columns: 1fr; }
	.sci-portal-header { flex-direction: column; text-align: center; gap: 14px; }
	.sci-cuotas { grid-template-columns: 1fr; }
}
