.plyw-widget,
.plyw-widget * {
	box-sizing: border-box;
}

.plyw-widget h1,
.plyw-widget h2,
.plyw-widget h3,
.plyw-widget p {
	margin: 0;
	padding: 0;
}

.plyw-week {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 20px;
	margin: 28px 0;
	align-items: start;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.plyw-week-cols-1 { grid-template-columns: repeat(1, 1fr); }
.plyw-week-cols-2 { grid-template-columns: repeat(2, 1fr); }
.plyw-week-cols-3 { grid-template-columns: repeat(3, 1fr); }
.plyw-week-cols-4 { grid-template-columns: repeat(4, 1fr); }
.plyw-week-cols-5 { grid-template-columns: repeat(5, 1fr); }
.plyw-week-cols-6 { grid-template-columns: repeat(6, 1fr); }
.plyw-week-cols-7 { grid-template-columns: repeat(7, 1fr); }

.plyw-week-day {
	background: #f7f9fb;
	border-radius: 16px;
	overflow: hidden;
	border: 1px solid #e7ebef;
	display: flex;
	flex-direction: column;
	min-height: 140px;
}

.plyw-week-day-header {
	background: linear-gradient(135deg, #0f7ea3, #0b9dc4);
	color: #fff;
	text-align: center;
	font-weight: 700;
	font-size: 14px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	padding: 16px 10px;
}

.plyw-day-empty .plyw-week-day-header {
	background: linear-gradient(135deg, #b7c1c8, #9aa6ae);
}

.plyw-week-day-body {
	padding: 16px;
	display: flex;
	flex-direction: column;
	gap: 16px;
	flex: 1;
}

.plyw-day-empty-text {
	color: #98a2ab;
	font-size: 13px;
	text-align: center;
	margin: 24px 0;
}

.plyw-slot-card {
	background: #fff;
	border-radius: 12px;
	padding: 18px;
	box-shadow: 0 1px 3px rgba(15, 30, 40, 0.08);
	border-left: 4px solid #0b9dc4;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.plyw-slot-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(15, 30, 40, 0.12);
}

.plyw-slot-full {
	border-left-color: #d64545;
	opacity: 0.85;
}

.plyw-slot-time {
	font-weight: 700;
	font-size: 14px;
	color: #0b9dc4;
	margin-bottom: 4px;
}

.plyw-slot-full .plyw-slot-time {
	color: #d64545;
}

.plyw-slot-name {
	font-weight: 700;
	font-size: 16px;
	color: #1c2b33;
	margin-bottom: 10px;
	line-height: 1.3;
}

.plyw-slot-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 14px;
	font-size: 13px;
	color: #5a6a73;
	margin-bottom: 12px;
}

.plyw-slot-description {
	font-size: 13px;
	color: #6b7a82;
	margin-bottom: 12px;
	line-height: 1.5;
}

.plyw-slot-badge {
	display: inline-block;
	font-size: 12px;
	font-weight: 700;
	padding: 4px 11px;
	border-radius: 999px;
	background: #e5f6fa;
	color: #0b7f9c;
	margin-bottom: 8px;
}

.plyw-slot-badge-full {
	background: #fbe6e6;
	color: #b32d2e;
}

.plyw-enroll-details {
	margin-top: 4px;
}

.plyw-enroll-details > summary {
	display: block;
	width: 100%;
	background: #0b9dc4;
	color: #fff;
	border: none;
	padding: 9px 10px;
	border-radius: 7px;
	cursor: pointer;
	font-size: 13px;
	font-weight: 600;
	text-align: center;
	list-style: none;
	transition: background 0.15s ease;
}

.plyw-enroll-details > summary::-webkit-details-marker,
.plyw-enroll-details > summary::marker {
	display: none;
	content: '';
}

.plyw-enroll-details > summary:hover {
	background: #08829f;
}

.plyw-enroll-details[open] > summary {
	margin-bottom: 4px;
	border-radius: 7px 7px 0 0;
}

.plyw-open-form {
	display: block;
	width: 100%;
	background: #0b9dc4;
	color: #fff;
	border: none;
	padding: 9px 10px;
	border-radius: 7px;
	cursor: pointer;
	font-size: 13px;
	font-weight: 600;
	transition: background 0.15s ease;
}

.plyw-open-form:hover {
	background: #08829f;
}

.plyw-enroll-form {
	margin-top: 12px;
	border-top: 1px solid #eef1f3;
	padding-top: 12px;
}

.plyw-enroll-form label {
	display: block;
	font-size: 12px;
	font-weight: 600;
	color: #33424a;
	margin-bottom: 8px;
}

.plyw-enroll-form input,
.plyw-enroll-form textarea {
	width: 100%;
	padding: 7px 8px;
	margin-top: 4px;
	box-sizing: border-box;
	font-weight: normal;
	font-size: 13px;
	border: 1px solid #d7dee2;
	border-radius: 6px;
}

.plyw-enroll-form button {
	background: #1e9e5c;
	color: #fff;
	border: none;
	padding: 9px 16px;
	border-radius: 7px;
	cursor: pointer;
	font-weight: 600;
	width: 100%;
}

.plyw-enroll-form button:hover {
	background: #178048;
}

.plyw-notice {
	padding: 12px 16px;
	border-radius: 8px;
	margin-bottom: 20px;
	font-weight: 600;
}

.plyw-notice-success {
	background: #e6f4ea;
	color: #1e7e34;
	border: 1px solid #b7e0c2;
}

.plyw-notice-error {
	background: #fce4e4;
	color: #b32d2e;
	border: 1px solid #f3b7b7;
}

@media (max-width: 900px) {
	.plyw-week {
		grid-template-columns: 1fr;
	}
	.plyw-week-day-header {
		text-align: left;
		padding: 10px 14px;
	}
}
