.acc-calculator-container {
	max-width: 100%;
	margin: 0 auto;
	background: #fdfdfd;
	padding: 30px;
	border: 1px solid #ddd;
	border-radius: 10px;
}
.acc-calculator-container h2 {
	color: #2d3748;
	text-align: center;
	margin-bottom: 2rem;
}
.acc-calculator-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2rem;
}
.acc-controls-column {
	padding-right: 1rem;
}
.acc-results-column {
	padding-left: 1rem;
}
.acc-section {
	margin-bottom: 2rem;
}
.acc-section h3 {
	margin-bottom: 0.5rem;
	font-size: 1rem;
}
.acc-select {
	width: 100%;
	padding: 0.75rem;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	background-color: #fff;
	font-size: 1rem;
	color: #4a5568;
	margin-bottom: 1rem;
}
/* Range Slider Styles */
.acc-service-range {
	margin-bottom: 2rem;
}
.acc-service-range label {
	display: block;
	margin-bottom: 0.75rem;
	color: #4a5568;
	font-weight: 500;
}
.acc-range-container {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}
.acc-range-slider {
	margin: 0.5rem 0;
}
.acc-range-values {
	display: flex;
	justify-content: space-between;
	font-size: 0.8rem;
	color: #718096;
	margin-top: 0.25rem;
}
.acc-range-input {
	display: flex;
	align-items: center;
	gap: 1rem;
}
.acc-quantity {
	width: 100px;
	padding: 0.2rem 0.3rem;
	border: 1px solid #dddddd;
	border-radius: 4px;
	text-align: center;
	margin-top: 7px;
	background: #fdfdfd;
}
.acc-service-price {
	font-weight: 500;
	min-width: 80px;
	font-size: 13px;
}
/* jQuery UI Slider Overrides */
.ui-slider {
	height: 6px;
	background: #e2e8f0;
	border-radius: 3px;
	border: none;
	margin-top: 0.5rem;
}
.ui-slider-handle {
	width: 20px;
	height: 20px;
	background: #4299e1;
	border-radius: 50%;
	border: none;
	cursor: pointer;
	top: -7px;
	margin-left: -10px;
	position: absolute;
	outline: none;
}
.ui-slider-range {
	background: #90cdf4;
	height: 100%;
	border-radius: 3px;
}
/* Results Section */
.acc-results-section {
	background: #f6f3fe;
	border-radius: 8px;
	padding: 1.5rem;
	height: 100%;
}
.acc-total-cost {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 1.5rem;
	font-weight: 600;
	color: #2d3748;
	margin-bottom: 1.5rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid #e2e8f0;
}
.acc-cost-breakdown {
	display: grid;
	gap: 0.75rem;
	margin-bottom: 1.5rem;
}
.acc-breakdown-item {
	display: flex;
	justify-content: space-between;
	color: #4a5568;
}
.acc-service-details h4 {
	color: #4a5568;
	margin-bottom: 1rem;
}
.acc-service-item {
	display: flex;
	justify-content: space-between;
	margin-bottom: 0.5rem;
	font-size: 0.9rem;
}
.acc-no-services {
	color: #a0aec0;
	font-style: italic;
}

@media (max-width: 768px) {
.acc-calculator-grid {
	grid-template-columns: 1fr;
}
.acc-controls-column, .acc-results-column {
	padding: 0;
}
.acc-range-input {
	flex-direction: column;
	align-items: flex-start;
	gap: 0.5rem;
}
}
.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default, .ui-button, html .ui-button.ui-state-disabled:hover, html .ui-button.ui-state-disabled:active {
	border: 1px solid #0064de !important;
	background: #0064de !important;
}
.acc-range-container {
	width: 100%;
	display: block;
	margin: 0;
	min-height: 50px;
	padding: 0 10px;
}
.acc-range-slider {
	width: 69%;
	float: left !important;
	margin-right: 5%;
}
.acc-range-input {
	width: 26%;
	float: left !important;
}
.acc-select {
	background-color: transparent !important;
	width: unset !important;
	outline: none !important;
	border: 1px solid #e5e5e5 !important;
	border-radius: 5px !important;
	padding-bottom: 0px !important;
	padding: 9px !important;
	height: 50px;
}
.wp-text {
	line-height: 1.5;
	font-size: 14px;
	color: #02376c;
}
.ui-slider.ui-corner-all.ui-slider-horizontal.ui-widget.ui-widget-content {
	border: 1px solid #f6f3fe !important;
	background: #ebebeb !important;
	border-radius: 50px !important;
	height: 10px !important;
	margin-top: 0px !important;
}
.nice-select .option:hover {
	background: #b7b7b7 !important;
	color: #fff !important;
}
.est-cost-heading {
	margin: 0px;
	padding: 0;
	text-transform: capitalize;
	transition: all 0.4s ease-in-out;
	margin-bottom: 1.5rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid #e2e8f0;
	color: #000 !important;
}
.est-cost-calc {
	font-weight: 800;
	font-size: 1.3rem;
	color: #000;
}
span#acc-total-cost {
	color: #0082fb;
	font-weight: 700;
	font-size: 1.3rem;
}
div#acc-service-details {
	padding-bottom: 30px;
}
.acc-section ul.list{    max-height: 358px;
    overflow-y: scroll;
    border: 1px solid #ccc;}
/* ========================================================================== */
/* Main calculator container - add these properties */
.acc-calculator-container {
    /* Layout containment */
    contain: content;
    display: flow-root; /* Creates a new block formatting context */
    
    /* Visual separation */
    margin-bottom: 40px;
    padding-bottom: 20px;
    
    /* Prevents affecting other elements */
    position: relative;
    z-index: auto;
    overflow: visible;
}

/* If using position: sticky in your results */
.acc-results-section {
    position: sticky;
    top: 20px;
    will-change: transform;
    margin-bottom: 0;
}

/* Clear any floats within your plugin */
.acc-calculator-container::after {
    content: "";
    display: table;
    clear: both;
}

/* Isolate your slider elements */
.acc-range-slider {
    contain: paint;
}

/* Isolate your input elements */
.acc-range-input {
    contain: style;
}
/* Nuclear option (only if absolutely necessary) */
body .acc-calculator-container {
    transform: translateZ(0); /* Creates new stacking context */
    backface-visibility: hidden; /* Prevents rendering artifacts */
}