@import url('https://fonts.googleapis.com/css2?family=Big+Shoulders+Stencil:opsz,wght@10..72,100..900&family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --controls-width: 400px;
    --mobile-breakpoint: 768px;
    --font-primary: "Roboto Condensed", sans-serif;
    --font-secondary: Roboto, Ubuntu, Arial, Helvetica, sans-serif;
    --font-redplant: Montserrat, Ubuntu, Arial, Helvetica, sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    height: 100vh;
    font-family: var(--font-primary);
    overflow: hidden;
    color: #444444;
}

.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-reverse;
}

.leftSideTableContainer {
    flex: 1;
    height: 100%;
    position: relative;
}

.leftSideTableContainer canvas {
    width: 100%;
    height: 100%;
    display: block;
}

.rightSideControls {
    width: var(--controls-width);
    background: #fff;
    border-right: 1px solid #ddd;
}

.controls-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: calc(100vh - 110px);
    overflow-y: auto;
    padding: 20px;
}




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);
}


.display-section {
    display: flex;
    align-items: center;
    width: min-content;
    border: 1px solid #000;
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    border-radius: 5px;
    overflow: hidden;
}

.display_option {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 5rem;
    height: 5rem;
    cursor: pointer;
    font-size: 1.25rem;
    font-weight: 600;
    background: #fff;
}

.active_display {
    background: #007bff;
    color: #fff;
}

.hidden {
    display: none !important;
}

.two_dimensional_design {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}



.two_dimensional_roof {
    width: 600px;
    height: 200px;
    position: relative;
}

.top_bar {
    height: 0.8rem;
    background: black;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.bottom_bar {
    height: 0.8rem;
    background: black;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}

.middle_stuffs {
    width: 100%;
    height: 100%;
    display: flex;
}

.divider_bar {
    width: 5px;
    height: 100%;
    background: black;
}

.glass_part {
    background: #a0c3d8;
    width: calc(600px / 10);
}



input[type="number"] {
    width: 50px;
    border: 1px solid #333;
    border-radius: 3px;
    padding: 3px 0px 3px 7px;
}


.gutter_label {
    font-size: 0.80rem;
    font-weight: 500;
    margin-top: 0px;
    margin-bottom: 5px;
}

.rain_gutter_stuffs {
    display: grid;
    grid-gap: 10px;
}


.gutter_side_by_side {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.rain_gutter {
    padding: 7px 15px;
    border-radius: 3px;
    font-size: 0.85rem;
    border: 1px solid #6bbc7a;
    transition: all 0.3s;
    cursor: pointer;
}



.active_gutter,
.rain_gutter:hover {
    background: #e9f7f1;
    color: #6bbc7a;
    font-weight: 600;
    ;
}


.sidebar-tabs {
    display: flex;
    width: 100%;
}

.sidebar-tab {
    width: 100%;
    padding: 0.5rem 1.5rem;
    cursor: pointer;
    border: none;
    background: #f0f0f0;
}

.sidebar-tab.active,
.sidebar-tab:hover {
    color: #ea630b;
    border-bottom: 2px solid #ea630b;
}


.section_plan_value {
    text-align: center;
    font-size: 1.05rem;
    font-weight: 400;
    color: #4d4b4b;
    box-shadow: 0 5px 10px 0px #3333332b;
    padding: 10px;
    text-transform: capitalize;
    background: #f0f0f0;
}

.panel_title {
    color: #ec6d1a;
    font-weight: 600;
    padding-bottom: 7px;
    margin-bottom: -14px;
}

.panel_title::after {
    content: '';
    margin-top: 2px;
    display: block;
    width: 35px;
    border-bottom: 2px solid #ec6d1a;
}




.panel_item {
    text-align: center;
    border: 1px solid #a8a8a8;
    font-size: 0.80rem;
    font-weight: 400;
    width: 100%;
    background: #f8f8f8;
    cursor: pointer;
}

.active_panel {
    color: #1eae72;
    border: 1px solid #1eae72;
}

.panel_choose {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    width: 100%;
}

.wall_bound {
    width: 120px;
    padding-top: 1rem;
}





.dimensional_title_flex {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    padding-bottom: 5px;
}

.dimensional_range {
    font-size: 0.75rem;
    color: #333;
}

.items_group {
    display: flex;
    border: 1px solid #aaa;
    border-radius: 3px;
}

.item_input {
    outline: none;
    border: none;
    padding: 10px 15px;
    background: transparent;
    width: calc(100% - 105px);
}

.incremental_div {
    border-left: 1px solid #aaa;
    width: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    border-right: 1px solid #aaa;
    font-family: aria;
    cursor: pointer;
}

.incremental_div:hover {
    background: #f0f0f0;
}

.items_group span {
    width: 35px;
    justify-content: center;
    align-items: center;
    display: flex;
    font-weight: 300;
}

.field_span{
    width: 60px!important;
}

.contents_section {
	display: flex;
	flex-direction: column;
	gap: 20px;
}


.choosed_panel_img {
    width: 200px;
    display: block;
    margin: 0px auto;
}


.plant_color_grid {
    display: grid;
    grid-gap: 0.5rem;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
}

.plant_choice {
    text-align: center;
    border: 1px solid #a8a8a8;
    font-size: 0.80rem;
    font-weight: 400;
    width: 100%;
    background: #f8f8f8;
    cursor: pointer;
    padding-bottom: 1rem;
    border-radius: 3px;
    position: relative;
}

.plant_sheild {
    width: 90px;
    display: block;
    margin: 0px auto;
}

.active_plant_choice {
    color: #1eae72;
    border-color: #1eae72;
}

.distribute_div {
    color: #fff;
    background: #ec6d1a;
    padding: 8px 15px;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 3px;
    display: inline-block;
    margin: 0px auto;
    cursor: pointer;
}

.roof_thickness {
	color: #444;
	background: #ddd;
	padding: 3px 8px;
	border-radius: 25px;
	font-size: 0.65rem;
	position: absolute;
	margin-top: 0.5rem;
}














/* Mobile responsiveness */
@media (max-width: 768px) {
    .table_container {
        flex-direction: column;
    }

    .rightSideControls {
        width: 100%;
        height: 300px;
        order: 1;
        border-left: none;
        border-bottom: 1px solid #ddd;
    }

    .leftSideTableContainer {
        width: 100%;
        flex: 1;
    }

    .display-section {
        position: relative;
        bottom: 0;
        left: 0;
        border: none;
    }

    .two_dimensional_roof {
        max-width: 355px !important;
        max-height: 500px !important;
    }
}