body {
    margin: 0;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #ececec; /* Light gray */
    font-family: 'Arial', sans-serif;
}

#container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ececec; 
}

#parameters {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #0b1639; /* Dark Blue */
    color: #f4f4f4;
    padding: 50px 20px 50px 20px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    box-sizing: border-box;
    width: 400px;
    scrollbar-width: thin;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
    
}

#parameters::-webkit-scrollbar {
    display: none;
}



.show-parameters, .show-walllist {
    color: #f4f4f4; 
}

.hide-parameters, .hide-walllist {
    color: #0b1639;
}


/* Modal Style */
.modal {
    display: none;  /* Hidden by default */
    position: fixed;
    z-index: 1;  /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;

    background-color: rgba(0, 0, 0, 0.5);  /* Semi-transparent background */
}

/* Modal Content Style */
.modal-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 50%;
    border-radius: 10px;
    max-width: 500px;
}

/* Close Button Style */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Input and Button Styling */
.modal-content input, .modal-content textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border-radius: 5px;
    border: 1px solid #ccc;
    box-sizing: border-box; /* Ensures padding is included in width calculation */
}

/* Style the message textarea to be full-width and fixed height */
textarea {
    height: 120px; /* Approx 6 lines of text */
    resize: none;  /* Prevent resizing */
}

/* Button Styling */
button {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background-color: #45a049;
}




.door-item, .window-item, .extra-column-item, .wall-cut-item {
    margin-bottom: 20px;
    position: relative; /* Allows absolute positioning of delete button */
    padding-left: 30px; /* Space for the delete button */
}

.delete-button {
    position: absolute;
    left: 0;
    top: 0;
    padding: 0;
    background-color: red;
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    text-align: center;
    line-height: 24px;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.delete-button:hover {
    background-color: darkred;
}

label {
    margin-bottom: 5px;
}

.door-item input[type="text"],
.door-item input[type="number"],
.door-item select,
.wall-item input[type="text"],
.wall-item input[type="number"],
.wall-item select,
.extra-column-item input[type="text"],
.extra-column-item input[type="number"],
.extra-column-item select,
textarea
{
    width: calc(100% - 20px);
    padding: 5px;
    margin-bottom: 10px;
    border: 1px solid #56607f; 
    border-radius: 5px;
    box-sizing: border-box;
    background-color: #0e1c49;
    color: #f4f4f4;
}

h2, .wall-item h2 {
    margin-top: 0;
    font-size: 24px;
    font-weight: bold;
}

h3 {
    margin-left: 30px; /* Adjust margin to make space for the delete button */
}

button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    font-family: 'Arial', sans-serif;
    color: #f4f4f4;
}

button:active {
    transform: translateY(1px);
}

.save {
    background-color: #4caf50;
}
.save:hover {
    background-color: #45a049;
}

.add {
    background-color: #3e9cee;
}
.add:hover {
    background-color: #2a6dbf;
}

.detailsbut, .bom {
    background-color: #323232;
}
.detailsbut:hover, .bom:hover {
    background-color: #4a4a4a;
}

.delete {
    background-color: #d16767;
}
.delete:hover {
    background-color: #b95555;
}

.copy {
    background-color: #5063a1;
}
.copy:hover {
    background-color: #44558b;
}

.quote {
    background-color: #ec8b3c;
}
.quote:hover {
    background-color: #ec8b3c;
}

input[type="text"],
input[type="number"],
input[type="email"],
select {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #56607f; 
    border-radius: 5px;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
    background-color: #0e1c49; 
    color: #f4f4f4;
}

/* Style for the checkbox and label */
.checkbox-container {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.checkbox-container input[type="checkbox"] {
    appearance: none; /* Removes default checkbox style */
    width: 20px;
    height: 20px;
    background-color: #0b1639; /* Dark Blue background */
    border: 2px solid #56607f; /* Border to match other elements */
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s;
    margin-right: 10px;
}

.checkbox-container input[type="checkbox"]:checked {
    background-color: #4caf50; /* Green when checked */
    border-color: #45a049;
}

.checkbox-container input[type="checkbox"]::before {
    content: '✓';
    font-size: 16px;
    color: white;
    display: none;
}

.checkbox-container input[type="checkbox"]:checked::before {
    display: block;
}

.checkbox-container label {
    color: #f4f4f4; /* Light text color to match theme */
    font-family: 'Arial', sans-serif;
    cursor: pointer;
    font-size: 12px;
}


strong {
    font-weight: bold;
}

/* Modal Style */
.modal {
    display: none;  /* Hidden by default */
    position: fixed;
    z-index: 1000;  /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);  /* Slightly darker semi-transparent background */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Modal Content Style */
.modal-content {
    background-color: #0b1639; /* Dark Blue */
    margin: 15% auto;
    padding: 30px;
    border-radius: 10px;
    width: 80%;
    max-width: 600px;
    color: #f4f4f4; /* Light text */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */
    box-sizing: border-box;
}

/* Passcode URL Style */
#passcode-url {
    color: #f4f4f4; /* Light text */
    text-decoration: none;
    font-weight: bold;
}

#passcode-url:hover {
    text-decoration: underline;
}

/* Close Button Style */
.close {
    color: #f4f4f4; /* Light color for the close button */
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close:hover,
.close:focus {
    color: #ff4747; /* Red color when hovered */
    text-decoration: none;
}


#language-selection img {
    cursor: pointer;
    width: 20px;
    margin: 0 5px;
}

#language-selection {
    padding-bottom: 20px;
}

#wallList {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #0b1639; /* Dark Blue */
    color: #f4f4f4;
    padding: 50px 20px 50px 20px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    max-height: calc(100vh - 40px);
    overflow-y: scroll;
    box-sizing: border-box;
    width: 400px;
    scrollbar-width: thin;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
    
}

#wallList::-webkit-scrollbar {
    display: none;
}




.wall-item {
    margin-bottom: 20px;
    padding: 20px;
    border: 1px solid #56607f; /* Light gray border for separation */
    border-radius: 8px; /* Rounded corners for a softer look */
    background-color: #0e1c49; 
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}



.wall-item .details {
    padding: 10px;
    margin-top: 10px; /* Space above the details */
    border-radius: 5px;
}

.wall-item button {
    margin-left: 10px;
    padding: 5px 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.toggle-parameters,
.toggle-walllist {
    position: absolute;
    top: 10px;
    padding: 10px;
    background-color: transparent;
    z-index: 1;
}

.toggle-parameters {
    left: 10px;
}

.toggle-walllist {
    right: 10px;
}


#totalPrice {
    font-weight: bold;
}

button[disabled] {
    pointer-events: all;
    background-color: gray;
    cursor: default;
}

button[disabled]:hover {
    pointer-events: none;
    cursor: default;
    background-color: lightgray;
}

@media only screen and (max-width: 1024px) {
    #parameters, #wallList {
        display: none;
       }
    

}

.ribbon-wrapper {
    width: 500px;
    height: 88px;
    overflow: hidden;
    position: absolute;
    bottom: 30px;
    left: 50%;
    margin-left: -250px;
    .ribbon {
      font: bold 15px sans-serif;
      color: #333;
      text-align: center;
      position: relative;
      padding: 7px 0;
      width: 100%;
      background-color: #ebb134;
      color: #fff;
    }
    z-index: 100000;
  }
  