/* Left Panel - General Styling */
.left-panel {
    grid-area: left-panel;
    background-color: var(--panel-bg-color);
    color: white;
    padding: 15px;
    border-left: 1px solid #4a4a4a;
    border-right: 1px solid #4a4a4a;
    display: flex;
    flex-direction: column;
    gap: 10px; /* Space between sections */
    font-family: 'Poppins', sans-serif;
}

/* ========================= */
/* Measurements Section Styling */
/* ========================= */

/* Button Styling */
.left-panel-button {
    background-color: #444;
    color: white;
    border: 1px solid #666;
    padding: 8px 12px;
    font-size: 14px;
    border-radius: 1px;
    cursor: pointer;
    width: 100%;
    transition: background 0.3s ease-in-out;
    margin-bottom: 10px;
    font-family: 'Poppins', sans-serif
}
.left-panel div:nth-child(2) {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Measurements Heading */
.left-panel div:nth-child(2) > div:first-child {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

/* Search Input Container */
.search-container {
    display: flex;
    align-items: center;
    background: #222;
    border-radius: 1px;
    padding: 5px;
    border: 1px solid #4a4a4a;
    position: relative; /* Needed for icon positioning */
}

/* Search Input Field */
.search-container input {
    background: transparent;
    border: none;
    color: white;
    outline: none;
    padding: 8px 35px 8px 30px; /* Padding for icons */
    font-size: 14px;
    flex: 1;
    font-family: 'Poppins', sans-serif
}

/* Search Icon - Positioned Inside Input */
.search-icon {
    position: absolute;
    left: 10px; /* Align inside input */
    color: #888;
    font-size: 16px;
}

/* Clear Button Inside Input */
#clearSearchButton {
    position: absolute;
    right: 10px; /* Align inside input */
    background: transparent;
    border: none;
    cursor: pointer;
    color: white;
    font-size: 16px;
}

/* Hover Effect for Clear Button */
#clearSearchButton:hover {
    color: #ff5555;
}

/* Button Section Container */
.button-section {
    display: flex;
    flex-direction: column;
    gap: 5px; /* Space between rows */
    width: 100%;
    margin-top: 10px;
}

/* Row 1 - Full-width buttons */
.button-row {
    display: flex;
    justify-content: space-between; /* Keeps buttons side by side */
    gap: 10px; /* Space between Load Model and Export */
    width: 100%;
}

/* Ensure both buttons in Row 1 take equal width */
.button-row .left-panel-button {
    flex: 1; /* Make both buttons share full width */
    text-align: center;
}

/* Full-width button for Row 2 */
#id_loadAndMeasure {
    width: 100%;
}


