/* Shared schedule card styles (used across templates/widgets) */

.ja-schedule-card {
	background: #f5f5f5;
	border-radius: 0.75rem;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
	overflow: hidden;
}

.ja-schedule-card__header {
	position: relative;
	color: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 0.75rem;
	padding: 0.875rem 1rem;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

.ja-schedule-card__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding-bottom: 0.875rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.ja-schedule-card__time {
	flex: 1;
	text-align: center;
	font-size: 1.25rem;
	font-weight: 600;
	line-height: 2rem;
}

.ja-schedule-card__title {
	text-align: center;
	padding: 0.5rem 0;
	font-size: 1rem;
	font-weight: 500;
}

.ja-schedule-card__bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 0.75rem;
	flex-wrap: wrap;
}

.ja-schedule-card__room {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-size: 0.95rem;
}

.ja-schedule-card__max {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	white-space: nowrap;
	font-size: 0.95rem;
}

.ja-schedule-card__badges {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
}

.ja-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.25rem 0.5rem;
	border-radius: 0.5rem;
	font-size: 0.85rem;
	font-weight: 600;
}

.ja-badge--type {
	background: #87cefa;
	color: #000;
}

.ja-badge--level {
	background: #ee3127;
	color: #fff;
}

/* Mask-based icons (used in templates) */
.ja-icon {
	display: block;
	background-color: white;
	-webkit-mask: var(--icon-url) no-repeat center / contain;
	mask: var(--icon-url) no-repeat center / contain;
	flex-shrink: 0;
}

.ja-icon--clock {
	width: 2rem;
	height: 2rem;
}

.ja-icon--group {
	width: 1.25rem;
	height: 1.25rem;
}

.ja-icon--location {
	width: 1.5rem;
	height: 1.5rem;
}

/* Attachments count badge */
a.ja-attachment-badge {
	--clickable-scale: 1.07;
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.4rem 0.7rem;
	background: rgba(255, 255, 255, 0.95);
	border: 2px solid #2271b1;
	border-radius: 20px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
	cursor: pointer;
	text-decoration: none;
	color: #2271b1;
	flex-shrink: 0;
}

a.ja-attachment-badge:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

a.ja-attachment-badge i {
	font-size: 1.2rem;
	color: #2271b1;
}

a.ja-attachment-badge span {
	display: inline-block;
	font-size: 1rem;
	font-weight: 700;
	color: #2271b1;
	line-height: 1;
}
