/* pc-styles.css - Linear / Accordion Design for Programa Científico */

.pc-plugin-wrapper {
	font-family: 'Inter', 'Roboto', sans-serif;
	max-width: 1400px;
	margin: 0 auto;
	padding: 20px;
}

/* Day sections (linear, no tabs) */
.pc-day {
	margin-bottom: 40px;
}

.pc-day:last-child {
	margin-bottom: 0;
}

.pc-day-header {
	display: flex;
	align-items: baseline;
	gap: 12px;
	flex-wrap: wrap;
	margin-bottom: 18px;
	padding-bottom: 10px;
	border-bottom: 3px solid var(--pc-accent);
}

.pc-day-badge {
	background: var(--pc-accent);
	color: #fff;
	font-weight: 800;
	font-size: 0.8em;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	padding: 4px 12px;
	border-radius: 20px;
}

.pc-day-name {
	font-size: 1.4em;
	font-weight: 800;
	color: var(--pc-title-color, #1a1a1a);
	text-transform: uppercase;
	letter-spacing: 0.3px;
}

/* Schedule / Blocks */
.pc-schedule {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.pc-block {
	border: 1px solid rgba(0,0,0,0.08);
	border-radius: 14px;
	background: #fff;
	overflow: hidden;
	box-shadow: 0 4px 14px rgba(0,0,0,0.05);
}

.pc-block-header {
	list-style: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px 16px;
	padding: 16px 22px;
	background: var(--pc-color);
	color: #fff;
	user-select: none;
}

.pc-block-header::-webkit-details-marker {
	display: none;
}

.pc-block-name {
	font-weight: 800;
	font-size: 1.05em;
	letter-spacing: 0.5px;
	text-transform: uppercase;
}

.pc-block-presidentes-wrap {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.pc-block-presidentes-label {
	font-size: 0.8em;
	font-weight: 800;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	color: #ffd913;
}

.pc-block-presidentes-names {
	font-size: 0.85em;
	font-weight: 700;
	color: #fff;
}

.pc-block-chevron {
	margin-left: auto;
	flex-shrink: 0;
	transition: transform 0.25s ease;
}

.pc-block[open] > .pc-block-header .pc-block-chevron {
	transform: rotate(180deg);
}

.pc-block-body {
	display: flex;
	flex-direction: column;
}

/* Session Rows */
.pc-row {
	display: flex;
	align-items: flex-start;
	gap: 20px;
	padding: 16px 22px;
	border-top: 1px solid rgba(0,0,0,0.06);
}

.pc-block-body .pc-row:first-child {
	border-top: none;
}

.pc-row-time {
	flex: 0 0 150px;
	font-weight: 700;
	font-size: 0.8em;
	color: var(--pc-accent);
	padding-top: 2px;
	white-space: nowrap;
}

.pc-row-main {
	flex: 1 1 auto;
	min-width: 0;
}

.pc-row-title {
	font-size: 1.1em;
	font-weight: 700;
	color: var(--pc-title-color, #1a1a1a);
	margin: 0 0 6px 0;
	line-height: 1.35;
}

.pc-row-title-icon {
	width: 18px;
	height: 18px;
	margin-right: 6px;
	color: var(--pc-accent);
	opacity: 0.9;
	vertical-align: text-bottom;
}

.pc-row-desc {
	color: var(--pc-title-color, #1a1a1a);
	font-weight: 700;
	line-height: 1.6;
	margin: 0;
	font-size: 0.98em;
	text-align: justify;
}

.pc-row-meta {
	flex: 0 0 340px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
	font-size: 0.9em;
	color: #444;
	text-align: left;
	max-width: 340px;
}

.pc-row-speaker,
.pc-row-room {
	display: inline-flex;
	align-items: flex-start;
	gap: 6px;
	justify-content: flex-start;
}

.pc-row-speaker .pc-icon,
.pc-row-room .pc-icon {
	margin-top: 2px;
}

.pc-row-speaker-text {
	flex: 1 1 auto;
}

.pc-row-speaker {
	font-weight: 600;
}

.pc-row-flag {
	font-size: 1.1em;
	line-height: 1;
}

.pc-row-country {
	font-weight: 400;
	color: #777;
}

.pc-icon {
	width: 16px;
	height: 16px;
	color: var(--pc-color);
	flex-shrink: 0;
}

/* Special full-width rows (breaks, Q&A, plenary, etc.) */
.pc-row-special {
	background: var(--pc-row-special-bg, var(--pc-accent));
	color: #fff;
	justify-content: center;
	align-items: center;
	gap: 14px;
	text-align: center;
	flex-wrap: wrap;
}

.pc-row-special-time {
	font-weight: 700;
	font-size: 0.9em;
	opacity: 0.9;
}

.pc-row-special-title {
	font-weight: 800;
	letter-spacing: 0.5px;
	text-transform: uppercase;
}

/* Ungrouped rows (no Bloque assigned yet) rendered standalone, styled like block rows */
.pc-schedule > .pc-row {
	border: 1px solid rgba(0,0,0,0.08);
	border-radius: 14px;
	box-shadow: 0 4px 14px rgba(0,0,0,0.05);
}

.pc-schedule > .pc-row-special {
	border: none;
	box-shadow: none;
}

.pc-notice {
	text-align: center;
	padding: 50px;
	background: #f8f9fa;
	border-radius: 12px;
	color: #666;
	font-style: italic;
	font-size: 1.1em;
}

@media (max-width: 640px) {
	.pc-row {
		flex-direction: column;
		gap: 8px;
	}
	.pc-row-time {
		flex-basis: auto;
	}
	.pc-row-meta {
		flex-basis: auto;
		align-items: flex-start;
		text-align: left;
		max-width: none;
	}
	.pc-row-speaker,
	.pc-row-room {
		justify-content: flex-start;
	}
	.pc-block-header {
		padding: 14px 16px;
	}
	.pc-row {
		padding: 14px 16px;
	}
}
