/*
Theme Name: NuiDesk
Theme URI: https://www.nuidesk.com/
Description: NuiDesk is a custom WordPress theme developed specifically for the NuiDesk Accommodation Management System. Designed to integrate seamlessly with the NuiDesk web-based Property Management System (PMS), Channel Manager, and Booking Engine, it provides a professional, responsive website solution for accommodation providers.
Author: Craig Gard
Author URI: https://www.nuidesk.com/
Template: hello-elementor
Version: 1.1.0
*/

/* NuiDesk */
/* ===== Dynamic pricing calculator — toggle switches (shared styling) ===== */

.dpc-toggle {
	display: flex;
	align-items: center;
	gap: 12px;
	width: fit-content;
}

.dpc-toggle input {
	display: none;
}

.dpc-toggle .dpc-toggle-switch {
	position: relative;
	display: inline-block;
	width: 46px;
	height: 24px;
	cursor: pointer;
}

.dpc-toggle .dpc-toggle-slider {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: #ccc;
	border-radius: 999px;
	transition: background 0.2s;
}

.dpc-toggle .dpc-toggle-slider::before {
	content: "";
	position: absolute;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #fff;
	top: 3px;
	left: 3px;
	transition: left 0.2s;
}

.dpc-toggle input:checked + .dpc-toggle-slider {
	background: #263876;
}

.dpc-toggle input:checked + .dpc-toggle-slider::before {
	left: 25px;
}

.dpc-toggle .dpc-toggle-label {
	font-family: 'Inter', sans-serif;
	font-size: 20px;
	font-weight: 600;
	color: #aaa;
	transition: color 0.2s;
}

.dpc-toggle .dpc-toggle-label.active {
	color: #263876;
}

/* Dynamic pricing calculator — unit input */
#unit-input {
	font-size: 1.1rem;
	font-weight: 600;
	text-align: center;
	width: 90px;
	padding: 10px 14px;
	border-radius: 999px;
	border: 2px solid #ccc;
	background: #fff;
	color: #1a1a1a;
	transition: border-color 0.2s, box-shadow 0.2s;
}

#unit-input:focus {
	outline: none;
	border-color: #263876;
	box-shadow: 0 0 0 3px rgba(34, 85, 204, 0.15);
}

/* Force the up/down spinner arrows to stay visible at all times */
#unit-input::-webkit-inner-spin-button,
#unit-input::-webkit-outer-spin-button {
	opacity: 1;
}

/* Features matrix */
.elementor-element-d727c94 .e-con-inner {
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.2)!important;
  border-radius: 50px!important;
  padding: 50px!important;
}

@media (width <= 768px) {
	.elementor-element-d727c94 .e-con-inner {
  padding: 20px!important;
	}
}

/* GLOBAL */

/* Nav Menu – Bold Active Item */
.elementor-nav-menu a.elementor-item.elementor-item-active,
.elementor-nav-menu a.elementor-item.current-menu-item,
.elementor-nav-menu a.elementor-item.current_page_item {
    font-weight: 800 !important;
}

/* Remove top margin */
p, ul{
    margin-top: 0;
}

/* Homepage - Testimonials */
.my-testimonials .elementor-testimonial {
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.12);
    border-radius: 12px;
    background: #fff;
    padding: 30px;
    transition: all 0.3s ease;
}

.my-testimonials .swiper-slide.swiper-slide-next .elementor-testimonial {
    box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.18);
}

.my-testimonials .elementor-testimonial {
    height: 300px;
    overflow: auto;
    overflow-x: hidden;
}
/* Scrollbar */
.my-testimonials .elementor-testimonial::-webkit-scrollbar {
    width: 5px;
}

.my-testimonials .elementor-testimonial::-webkit-scrollbar-track {
    background: transparent;
}

.my-testimonials .elementor-testimonial::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.15);
    border-radius: 10px;
}
