/* Camerus Salons Agenda — minimal default styles (v0.1.0).
 *
 * Scope: only `camerus-agenda-*` classes. Design team replaces this file
 * entirely once the Figma design lands. Everything here is placeholder
 * styling to keep the homepage block + standalone page usable in the interim.
 */

.camerus-agenda-homepage {
	position: relative;
	overflow: hidden;
	padding-block: 96px;
}

.camerus-agenda-homepage::before {
	content: '';
	position: absolute;
	height: 100%;
	width: 30%;
	max-width: 420px;
	background-color: #fff;
	background-image: url(/modules/camerus_salons_agenda/views/img/home_gradient_left.svg);
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	overflow: hidden;
	pointer-events: none;
	top: 0;
}

.camerus-agenda-homepage::after {
	content: '';
	position: absolute;
	height: 100%;
	width: 30%;
	max-width: 420px;
	background-color: #fff;
	background-image: url(/modules/camerus_salons_agenda/views/img/home_gradient_right.svg);
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	overflow: hidden;
	pointer-events: none;
	right: 0;
	top: 0;
}

.camerus-agenda-homepage >.container {
	max-width: 700px;
	z-index: 1;
	position: relative;
}

.camerus-agenda-homepage-header {
	text-align: center;
	margin-bottom: 1.5em;
}

.camerus-agenda-homepage-title {
	margin: 0;
	font-family: Instrument Serif, "Times New Roman", Times, serif;
	font-size: 40px;
	font-style: italic;
	font-weight: 400;
	letter-spacing: 0.01em;
}

.camerus-agenda-homepage-subtitle {
	margin: 0;
	color: #FF5C00;
	font-size: 36px;
}

.camerus-agenda-fullpage {
	max-width: 1000px;
	margin: 2em auto;
	padding: 1em;
}

.camerus-agenda-items {
	list-style: none;
	padding: 0;
	margin: 0 0 1.5em 0;
}

.camerus-agenda-item {
	padding: 5px;
	margin-bottom: 16px;
	background: #fff;
	border: 1px solid #E7E7E7;
	border-radius: 4px;
	box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.1);
}

.camerus-agenda-item__header {
	display: grid;
	grid-template-columns: 96px auto 154px;
	gap: 16px;
	align-items: center;
	background: #FFF6EA;
	border-radius: 2px;
	padding: 8px;
}

.camerus-agenda-status-closed .camerus-agenda-item__header {
	background: #F2F2F2;
}

.camerus-agenda-item-address {
	font-size: 14px;
	color: var(--title-color);
	margin-bottom: 0px;
}

.camerus-agenda-item-poster {
	background-color: #fff;
	border-radius: 4px;
	height: 100%;
	align-content: center;
	max-height: 96px;
	text-align: center;
	padding: 8px;
}

.camerus-agenda-item-poster-img {
	max-width: 100%;
	height: auto;
	max-height: 100%;
}

.camerus-agenda-item-date {
	text-align: center;
	background-color: #fff;
	height: 100%;
	align-content: center;
	padding: 8px;
}

.camerus-agenda-item-date-day {
	font-weight: 500;
	font-size: 36px;
	color: var(--main-color);
	line-height: 110%;
}

.camerus-agenda-item-date-month {
	font-size: 14px;
	color: var(--title-dark-color);
}

.camerus-agenda-item-name {
	font-weight: 500;
	font-size: 24px;
	color: var(--title-dark-color);
}

.camerus-agenda-item-date-range {
	font-size: 14px;
	color: var(--paragraph-color);
}
.camerus-agenda-item-date-range-separator >.material-icons {
	font-size: 15px;
	margin-bottom: 3px;
}

.camerus-agenda-item-category,
.camerus-agenda-item-city,
.camerus-agenda-item-stand,
.camerus-agenda-item-intro {
	margin: 0.1em 0;
	font-size: 14px;
	color: var(--text-grey-color);
}

.camerus-agenda-item-intro {
	font-size: 10px;
	margin-block: 8px 16px;
}

.camerus-agenda-item-body {
	text-align: center;
	max-width: 400px;
	margin-inline: auto;
}

.camerus-agenda-item-status {
	margin: 8px 0;
	font-weight: 600;
	font-size: 12px;
}

.camerus-agenda-status-dot {
	display: inline-block;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	margin-right: 0.4em;
	vertical-align: middle;
}

.camerus-agenda-status-dot-open {
	background: #2FB85D;
}

.camerus-agenda-status-dot-closed {
	background: #CE1B10;
}

.camerus-agenda-item-cta {
	display: inline-block;
	padding: 4px 16px;
	text-decoration: none;
	border-radius: 4px;
	font-size: 0.9em;
	white-space: nowrap;
	background: #fff;
	color: var(--title-color);
	border: 1px solid #E7E7E7;
	font-weight: 500;
	font-size: 12px;
}

.camerus-agenda-item-cta:hover {
	opacity: 0.92;
}

.camerus-agenda-see-all-wrap {
	margin-top: 82px;
	text-align: center;
}

.camerus-agenda-see-all-btn {
	display: inline-block;
	padding: 0.7em 1.4em;
	background: #222;
	color: #fff;
	text-decoration: none;
	background: var(--title-color);
	border: 1px solid rgba(255, 255, 255, 0.5);
	border-radius: 4px;
}

.camerus-agenda-empty {
	text-align: center;
	color: #888;
	padding: 2em;
}

@media (max-width: 767px) {
	.camerus-agenda-homepage {
		padding-block: 48px;
	}

	.camerus-agenda-homepage::before {
		width: 100%;
	}

	.camerus-agenda-homepage::after {
		content: none;
	}

	.camerus-agenda-homepage-title {
		line-height: 100%;
	}

	.camerus-agenda-homepage-subtitle {
		line-height: 110%;
	}

	.camerus-agenda-item__header {
		grid-template-columns: 96px auto;
	}

	.camerus-agenda-item-name {
		font-size: 18px;
	}

	.camerus-agenda-item-address {
		font-size: 12px;
	}

	.camerus-agenda-item-date-range {
		font-size: 12px;
	}

	.camerus-agenda-item-poster {
		display: none;
	}

	.camerus-agenda-item-intro {
		margin-bottom: 0px;
	}
}
