#calendar {
  max-width: 100%;
  margin: 2rem auto;
  background-color: #fff;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.fc {
  font-family: sans-serif;
  font-size: 0.9rem;
}




.day-group h4 {
  margin-top: 1em;
  font-weight: bold;
}
.slot-btn {
  margin: 0.3em;
  padding: 0.4em 0.8em;
  border: none;
  background: #3bb54a;
  color: white;
  border-radius: 4px;
  cursor: pointer;
}
.slot-booked {
  background: #d9534f;
  cursor: not-allowed;
  opacity: 0.6;
}
.week-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1em;
}


#akira-booking-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
}

#akira-booking-app {
  flex: 1 1 600px;
  min-width: 0;
	background: #fdfdfd;
	border: 1px solid #ccc;
	padding: 1rem;
	border-radius: var(--borderRadius);
}

/*
#akira-booking-summary {
    width: 300px;
    background: #f9f9f9;
    border: 1px solid #ccc;
    padding: 1rem;
    border-radius: 8px;
    position: sticky;
    top: calc(70px + var(--headerHeight));
    font-size: 0.9rem;
}
.admin-bar #akira-booking-summary {
	 top: calc(70px + 32px + var(--headerHeight));
}

#akira-booking-summary ul {
  padding-left: 1rem;
  margin: 0;
	list-style: none;
	padding: 0;
}

#akira-booking-summary h4 {
  margin-top: 0;
  border-bottom: 1px solid #ccc;
  padding-bottom: 4px;
}

@media (max-width: 768px) {
  #akira-booking-wrapper {
    flex-direction: column;
  }

  #akira-booking-summary {
    width: 100%;
    position: static;
    margin-top: 1rem;
  }
}
*/
div#services {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    /*gap: 20px;*/
}
div#services .service-box {
    width: calc(33.33333% - 10px);
}


.slot-past {
	background: #e3e3e3;
	color: #2d2d2d;
	cursor: not-allowed;
	display: none;
}

.slot-booked {
	background: #d9534f;
	color: white;
	cursor: not-allowed;
	display: none;
}

.slot-pause {
	background: #f0ad4e;
	color: white;
	cursor: not-allowed;
	display: none;
}

.slot-partial {
	background: #f7b731;
	color: black;
	cursor: not-allowed;
	display: none;
}

.slot-available {
	background: var(--third);
	color: var(--secondary);
}

.slot-btn.active {
    background: var(--secondary);
    color: var(--third);
}

.service-grid {
    display: flex;
    gap: 26px;
    flex-wrap: wrap;
}
.service-grid article.service-card {
    width: calc((100% - 26px * 3) / 4);
    background: #ffffff;
    box-shadow: 5px 5px 30px rgb(0 0 0 / 20%);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
}
.service-grid .service-thumbnail {
    width: 160px;
    height: 160px;
}
.service-grid .service-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-archive-wrapper > div:not(:last-child) {
	margin-bottom: 60px;
}


.service-category-group {
	margin-bottom: 40px;
}
.service-category-group > h4 {
	text-align: center;
}
.services {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}
.services .service-box {
    width: calc((100% - 15px * 2) / 3);
	flex: 0 0 auto;
}
.services .service-box > div {
	background: var(--white);
	border-radius: var(--borderRadius);
	padding: 20px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	border: 1px solid #ccc;
	font-size: .8rem;
	height: 100%;
}
.services .service-box img {
	cursor: pointer;
}
.services .service-box h5 {
	font-size: 1rem;
	margin: 0;
	margin-bottom: 10px;
}
.services .service-box p {
	margin: 0;
}
.services .service-box p svg {
	width: 20px;
	height: 20px;
}

.service-qty {
	margin-top: auto;
    display: flex;
    width: 100%;
}
.service-qty button.add-service-btn {
    padding: 11px 15px;
    width: 100%;
}
.service-qty input {
    max-width: 60px;
    text-align: center;
    margin-left: 10px;
}


.akira-addon-modal {
	position: fixed;
	top: 0; left: 0;
	width: 100%;
	height: 100%;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
}
.akira-addon-backdrop {
	position: absolute;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
}
.akira-addon-content {
	position: relative;
	background: #fff;
	padding: 2em;
	max-width: 500px;
	width: 90%;
	border-radius: 8px;
	box-shadow: 0 0 20px rgba(0,0,0,0.2);
	z-index: 2;
}
.addon-option {
	display: block;
	margin-bottom: 10px;
}
.addon-footer {
	text-align: right;
	margin-top: 20px;
}







/* Floating label form */
.form-group {
	position: relative;
	margin-bottom: 1rem;
}

input[type="text"],
input[type="email"],
input[type="number"]:not(.service-quantity) {
	width: 100%;
	padding: 1.2rem 1rem 0.6rem;
	border: 1px solid #ccc;
	border-radius: 0.5rem;
	background-color: #fefefe;
	transition: border-color 0.3s, box-shadow 0.3s;
	font-size: 1rem;
}

input:focus {
	outline: none;
	border-color: #3bb54a;
	box-shadow: 0 0 0 3px rgba(59, 181, 74, 0.2);
}

.floating label {
	position: absolute;
	top: 1rem;
	left: 1rem;
	font-size: 0.95rem;
	color: #666;
	background: #fff;
	padding: 0 0.25rem;
	transition: 0.2s ease all;
	pointer-events: none;
}

.floating input:focus + label,
.floating input:not(:placeholder-shown) + label {
	top: -0.6rem;
	left: 0.75rem;
	font-size: 0.75rem;
	color: #3bb54a;
	background: white;
}

/* Status besked */
.status-msg {
	font-size: 0.9rem;
	color: #d9534f;
	margin-bottom: 1rem;
}

/* Knapper */
.button-group {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	margin-top: 1rem;
}



div#list-slots {
	margin-bottom: 40px;
}






#akira-booking-wrapper.step-confirm #akira-booking-app {
    background: unset;
    border: unset;
    padding: unset;
}

.order-receipt {
	background: #fdfdfd;
	border-radius: var(--borderRadius);
	padding: 3rem 2.5rem;
	max-width: 720px;
	border: 1px solid #ccc;
	position: relative;
	overflow: hidden;
}

.order-receipt::before {
	content: '';
	position: absolute;
	top: -40px;
	right: -40px;
	width: 120px;
	height: 120px;
	background: var(--third);
	border-radius: 50%;
	z-index: 0;
}

/*
.order-receipt h2 {
	font-size: 2rem;
	font-weight: 600;
	color: #111;
	position: relative;
	z-index: 1;
}
*/

.order-receipt ul {
	list-style: none;
	padding-left: 0;
	margin-bottom: 1.5rem;
	position: relative;
	z-index: 1;
}

.order-receipt li {
	padding: 0.75rem 0;
	border-bottom: 1px solid #eee;
	font-size: 1.05rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
}

.order-receipt li strong {
	width: 45%;
	font-weight: 500;
}

.order-receipt li ul {
	width: 100%;
	padding-left: 1rem;
	margin-top: 0.5rem;
}

.order-receipt li ul li {
	border: none;
	padding: 0.4rem 0;
	font-size: 0.95rem;
	color: #555;
}

.order-receipt .total,
.order-receipt .duration {
	font-weight: 600;
	font-size: 1.2rem;
	color: #000;
	border-top: 2px solid #ddd;
	margin-top: 1rem;
}

.order-receipt .section-title {
	margin-top: 2rem;
	margin-bottom: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	color: #666;
	font-size: 0.9rem;
	letter-spacing: 0.05em;
	border-bottom: 1px solid #ccc;
	padding-bottom: 0.5rem;
}



#akira-booking-summary {
	background: #fdfdfd;
	border: 1px solid #ccc;
	border-radius: var(--borderRadius);
	padding: 1.5rem;
	font-family: 'Segoe UI', sans-serif;
	font-size: 0.95rem;
	color: #333;
	max-width: 100%;
	width: 320px;
	position: sticky;
	top: calc(var(--headerHeight) + 80px);
}

/*
#akira-booking-summary h4 {
	font-size: 1.25rem;
	font-weight: 600;
	margin-bottom: 1rem;
	color: #222;
	text-align: center;
}
*/

#akira-booking-summary ul {
	list-style: none;
	padding-left: 0;
	margin-bottom: 1rem;
}

#akira-booking-summary li {
	padding: 0.2rem 0;
	white-space: break-spaces;
	border-bottom: 1px solid #eee;
	display: flex;
	/*justify-content: space-between;*/
	/*flex-direction: column;*/
}
#akira-booking-summary li.services-list {
    flex-direction: column;
}

#akira-booking-summary li strong {
	color: #111;
	font-weight: 500;
}

#akira-booking-summary li ul {
	padding-left: 0;
	margin-top: 0;
	margin: 0;
}

#akira-booking-summary li ul li {
	border: none;
	padding: 0.2rem 0;
	color: #555;
	font-size: 0.8rem;
	border-bottom: 1px solid #cccccc;
	align-items: center;
}

#akira-booking-summary .summary-navigation {
	margin-top: 1rem;
	text-align: center;
}
#akira-booking-summary .services-list input.service-qty-input {
    padding: 3px 2px;
    width: 40px !important;
    text-align: center;
    font-size: 13px;
}
#akira-booking-summary button.remove-service-btn.btn.btn-sm.btn-danger {
    padding: 3px 7px;
    font-size: 11px;
	margin-left: auto;
}
#akira-booking-summary .summary-navigation button#summary-go-next {
    margin-left: auto;
}

.mobile-summary {
	display: none;
}
div#akira-booking-wrapper.step-confirm .mobile-summary {
	display: none;
}


/*
#akira-booking-summary .summary-navigation button {
	background-color: #3bb54a;
	color: #fff;
	border: none;
	padding: 0.6rem 1.2rem;
	border-radius: 6px;
	font-size: 0.9rem;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

#akira-booking-summary .summary-navigation button:hover {
	background-color: #35a043;
}
*/


@media only screen and (max-width: 1200px) {
	.service-grid article.service-card {
		width: calc((100% - 26px * 2) / 3);
	}
	
	.services .service-box {
    	width: calc((100% - 15px * 1) / 2);
	}
}
@media only screen and (max-width: 1000px) {
	.services .service-box {
    	width: calc((100% - 15px * 2) / 3);
	}
	
	div#akira-booking-summary {
		position: fixed;
		bottom: 0;
		top: unset;
		left: 0;
		width: 100%;
		z-index: 9;
		padding: 1rem;
		border-radius: 0;
	}
	div#akira-booking-summary > ul {
		margin: 0;
	}
	div#akira-booking-summary h4,
	div#akira-booking-summary > ul > li {
		display: none;
	}
	#akira-booking-summary .summary-navigation {
		display: flex;
		justify-content: space-between;
		align-items: center;
		margin: 0;
	}
	#akira-booking-summary li.services-list {
		padding-bottom: 10px;
	}
	.mobile-summary {
		position: absolute;
		left: 50%;
		transform: translateX(-50%);
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 40px;
	}
	.mobile-summary > * {
		display: flex;
		align-items: center;
		justify-content: center;
		position: relative;
		/*white-space: break-spaces;*/
		width: max-content;
		flex-direction: column;
		min-width: 65px;
	}
	.mobile-summary > * svg {
		width: 20px;
		height: 20px;
	}
	.mobile-summary span#show-services svg {
		width: 40px;
		height: 40px;
	}
	.mobile-summary > *:not(:last-child):after {
		content: '';
		position: absolute;
		right: -20px;
		height: 50px;
		border-right: 1px solid #ccc;
	}
	
}
@media only screen and (max-width: 991px) {
	.service-grid article.service-card {
		width: calc((100% - 26px) / 2);
	}
}
@media only screen and (max-width: 850px) {
	.services .service-box {
    	width: calc((100% - 15px * 1) / 2);
	}
}
@media only screen and (max-width: 620px) {
	.services .service-box {
		font-size: .7rem;
	}
	.services .service-box h5 {
		font-size: .8rem;
	}
	.service-qty {
		flex-direction: column;
	}
	.service-qty input {
		width: 100%;
		max-width: 100%;
		margin: 0 0 10px;
	}
	.service-qty button {
		order: 1;
	}
	
	.mobile-summary {
		font-size: 12px;
		gap: 20px;
	}
	.mobile-summary > *:not(:last-child):after {
        right: -10px;
	}
	
	#akira-booking-summary .summary-navigation button#summary-go-next span,
	#akira-booking-summary .summary-navigation button#summary-go-back span {
		display: none;
	}
	
	#akira-booking-app {
		min-width: 0;
		background: unset;
		border: unset;
		padding: 0;
	}
}
@media only screen and (max-width: 512px) {
	.service-grid article.service-card {
		width: 100%;
	}
	
	.mobile-summary {
		font-size: 11px;
		gap: 10px;
	}
	.mobile-summary > *:not(:last-child):after {
        right: -5px;
    }
	.mobile-summary > * {
        min-width: 60px;
    }
	#akira-booking-summary .summary-navigation button#summary-go-next,
	#akira-booking-summary .summary-navigation button#summary-go-back {
		padding: 8px 13px;
	}
	
	.order-receipt::before {
		top: -30px;
		right: -30px;
		width: 80px;
		height: 80px;
	}
}