/* Google Agenda List & Subscribe - front-end styles (theme bleu & blanc) */

.gcal-agenda-wrap {
	--gcal-primary: #1447e6;
	--gcal-primary-dark: #0d2f9e;
	font-family: inherit;
}

.gcal-agenda-heading {
	margin: 0 0 16px;
	font-size: 1.3em;
	font-weight: 700;
	color: var(--gcal-primary-dark);
}

/* ---------- Subscribe buttons ---------- */

.gcal-agenda-subscribe {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 0 0 22px;
}

.gcal-agenda-subscribe-card {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 12px 14px;
	box-shadow: 0 1px 2px rgba(20, 71, 230, 0.06);
}

.gcal-agenda-subscribe-name {
	display: block;
	font-weight: 700;
	font-size: 0.85em;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	margin-bottom: 8px;
}

.gcal-agenda-subscribe-btns {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.gcal-agenda-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 14px;
	border-radius: 999px;
	font-size: 0.85em;
	font-weight: 600;
	text-decoration: none;
	border: 1px solid transparent;
	transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
	line-height: 1;
}

.gcal-agenda-btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 4px 10px rgba(20, 71, 230, 0.18);
	text-decoration: none;
	opacity: 0.95;
}

.gcal-agenda-btn svg {
	flex: 0 0 auto;
}

.gcal-agenda-btn-google {
	background: var(--gcal-primary);
	color: #fff;
}

.gcal-agenda-btn-apple {
	background: #0f172a;
	color: #fff;
}

.gcal-agenda-btn-ics {
	background: #fff;
	color: var(--gcal-primary-dark);
	border-color: #c7d7fb;
}

/* ---------- Match / event list ---------- */

.gcal-agenda-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.gcal-agenda-item {
	--gcal-accent: var(--gcal-primary);
	display: flex;
	align-items: center;
	gap: 16px;
	background: #fff;
	border: 1px solid #e8edfb;
	border-left: 4px solid var(--gcal-accent);
	border-radius: 12px;
	padding: 14px 18px;
	box-shadow: 0 1px 3px rgba(20, 71, 230, 0.06);
	transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.gcal-agenda-item:hover {
	box-shadow: 0 6px 16px rgba(20, 71, 230, 0.12);
	transform: translateY(-1px);
}

.gcal-agenda-date-badge {
	flex: 0 0 auto;
	width: 62px;
	height: 62px;
	border-radius: 10px;
	background: linear-gradient(160deg, var(--gcal-accent), var(--gcal-primary-dark));
	color: #fff;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	line-height: 1.05;
}

.gcal-agenda-weekday {
	font-size: 0.68em;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	opacity: 0.9;
}

.gcal-agenda-day {
	font-size: 1.35em;
	font-weight: 800;
}

.gcal-agenda-month {
	font-size: 0.68em;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	opacity: 0.9;
}

.gcal-agenda-details {
	flex: 1 1 auto;
	min-width: 0;
}

.gcal-agenda-top-row {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
}

.gcal-agenda-title {
	font-weight: 700;
	font-size: 1.05em;
	color: #0f172a;
}

.gcal-agenda-pill {
	color: #fff;
	font-size: 0.72em;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	padding: 3px 9px;
	border-radius: 999px;
}

.gcal-agenda-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 4px;
	font-size: 0.88em;
	color: #5b6b8c;
}

.gcal-agenda-time {
	font-weight: 600;
	color: var(--gcal-primary-dark);
}

.gcal-agenda-time::before {
	content: "🕒 ";
}

.gcal-agenda-location::before {
	content: "📍 ";
}

.gcal-agenda-description {
	margin: 6px 0 0;
	font-size: 0.88em;
	color: #64748b;
}

.gcal-agenda-empty {
	color: #64748b;
	font-style: italic;
	background: #f4f7ff;
	border: 1px dashed #c7d7fb;
	border-radius: 10px;
	padding: 16px;
	text-align: center;
}

@media (max-width: 480px) {
	.gcal-agenda-item {
		align-items: flex-start;
	}
	.gcal-agenda-date-badge {
		width: 52px;
		height: 52px;
	}
	.gcal-agenda-title {
		font-size: 1em;
	}
}
