.section {
	margin-bottom: 40px;
}

.section-header {
	padding: 10px;
	background-color: #f8f8f8;
	border-bottom: 2px solid #eaeaea;
	font-weight: var(--bold);
	color: #555;
}

.section-content {
	display: flex;
	flex-direction: column;
}


.service {
	display: flex;
	flex-direction: column;
	padding: 10px;
	/* border: 1px solid #f4c2c2; */
	/* border-radius: 6px; */
	border-bottom: 1px solid #eee;
	transition: transform 0.3s, box-shadow 0.3s;
	cursor: pointer;
}

.service-main {
	display: flex;
	flex-direction: row;
	gap: 10px;
	justify-content: space-between;
}

.service-details {
	display: flex;
	flex-direction: column;
}

.selected-service {
	display: flex;
	flex-direction: column;
	gap: 12px;
	border: 1px solid #ccc;
	padding: 20px;
	border-radius: 6px;
	margin-bottom: 40px;
}

.service-buttons {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 10px;
	margin-top: -16px;
}

.service-table {
	width: 100px;
}

.service-table tr td {
	padding: 6px 10px 0;
	white-space: nowrap;
}


.slots {
	display: flex;
	gap: 0.8rem;
	flex-wrap: wrap;

}

.slot {
	padding: 8px 18px;
	min-width: 120px;
	color: var(--accent-dark);
	background-color: var(--accent-light);;
	font-weight: 500;
	border-width: 3px;
}
.slot.disabled {
	border-width: 1px;
	background-color: white;
}

.slot:hover {
	transform: translateY(-2px);
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	color: #111;
	background-color: var(--accent-light);;
	opacity: 0.8;
}

.slotprice {
	display: block;
	font-size: 0.8rem;
	font-weight: 300;
	color: #333;
}


.date {
	font-weight: var(--bold);
	margin-bottom: 0.5rem;
}

.date-group {
	margin-bottom: 1rem;
	margin-top: 0.5rem;
}


.duration::before {
	content: ', ';
}

/* Mobilanpassningar */
@media (max-width: 575px) {
	.selected-service {
		margin-left: -20px;
		margin-right: -20px;
		border-left: none;
		border-right: none;
		border-radius: 0;
	}
	.duration {
		display: block;
	}
	.duration::before {
		content: none;
	}
	.slot {
		min-width: auto;
	}
	.slots {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
	}
	.service-buttons {
		margin-top: 0;
	}
}

