:root {
    --controls-width: 400px;
    --mobile-breakpoint: 768px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    height: 100vh;
    font-family: Arial, sans-serif;
    overflow: hidden;
}

.flex_item{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flex_item span{
    font-weight: 500;
}

.table_container {
    display: flex;
    height: 100vh;
    width: 100vw;
    flex-direction: row;
}

.leftSideTableContainer {
    flex: 1;
    height: 100%;
    position: relative;
}

.leftSideTableContainer canvas {
    width: 100%;
    height: 100%;
    display: block;
}

.rightSideControls {
    width: var(--controls-width);
    background: #f0f0f0;
    padding: 20px;
    overflow-y: auto;
    border-left: 1px solid #ddd;
}

.controls-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.control-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.control-group label {
    font-weight: bold;
    color: #333;
}

button {
    padding: 10px 15px;
    background: #2c3034;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
}

button:hover {
    background: #3d4247;
}

input[type="range"] {
    width: 100%;
}

input[type="color"] {
	padding: 0;
	border: 0px solid #ddd;
	border-radius: 0px;
	outline: 0;
	width: 100%;
    cursor: pointer;
}




.price-section {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #ccc;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price-display {
    font-size: 20px;
    color: #2c3034;
}

.enquire-button {
    padding: 10px 20px;
    background-color: #007bff;
    border: none;
    border-radius: 6px;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

.enquire-button:hover {
    background-color: #0056b3;
}



  
  .switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
  }
  
  .switch input {
    opacity: 0;
    width: 0;
    height: 0;
  }
  
  .slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background-color: #ccc;
    border-radius: 34px;
    transition: 0.4s;
  }
  
  .slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    border-radius: 50%;
    transition: 0.4s;
  }
  
  input:checked + .slider {
    background-color: #007bff;
  }
  
  input:checked + .slider:before {
    transform: translateX(24px);
  }
  

/* Mobile responsiveness */
@media (max-width: 768px) {
    .table_container {
        flex-direction: column;
    }
    
    .rightSideControls {
        width: 100%;
        height: 250px;
        order: -1;
        border-left: none;
        border-bottom: 1px solid #ddd;
    }
    
    .leftSideTableContainer {
        width: 100%;
        flex: 1;
    }
}