:root {
    --scale-factor: 0.8; /* Default scale factor (100%) */
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

/* The container that holds the NAVBAR (we scale it with JS). */
nav.navbar.fixed-top {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    transform-origin: top left; /* Let JS scale from top-left */
    font-family: 'Inter', sans-serif;
}

#scalable-content {
    transform: scale(var(--scale-factor));
    transform-origin: top left;
    width: calc(100% / var(--scale-factor));
}

/* Wrapper for positioning the control */
.scale-control-wrapper {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    transform: scale(1);
    opacity: 0.2; /* Initially barely visible */
    transition: opacity 0.3s ease;
}

.scale-control-wrapper:hover {
    opacity: 1; /* Fully visible on hover */
}

/* The scale control itself */
.scale-control {
    background: rgba(0, 0, 0, 0.8); /* Dark background with transparency */
    color: #fff;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 14px;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    gap: 10px; /* Space between label, slider, and value */
}

.scale-control label {
    margin: 0;
}

.scale-control input[type="range"] {
    width: 120px;
    margin: 0;
}

.scale-control span {
    white-space: nowrap;
}

/* Orders.html*/
/* Increase cell width */
.table td, .table th {
    min-width: 150px; /* Increased from 130px */
    max-width: 300px; /* Increased max width */
    word-wrap: break-word;
    white-space: normal;
    vertical-align: middle;
}

.table th {
    background-color: #4a4a4a; /* Darker header background */
    color: #ffffff; /* White text */
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    padding: 4px 8px; /* Reduced padding to make the header less tall */
    line-height: 1.4; /* Adjusted line height for compact spacing */
}


/* Inputs inside table should take a reasonable width */
.table td .form-control {
    width: 100%;
    min-width: 100px;
    max-width: 300px;
    box-sizing: border-box;
    resize: none; /* Prevent horizontal resizing */
}

/* For textareas, allow vertical resizing */
.table td .form-control.textarea-input {
    resize: vertical; /* Allow vertical resizing */
    overflow-y: auto; /* Add scrollbar if content exceeds height */
    max-height: 200px; /* Set a maximum height */
}

/* Adjust input field styles */
.table td .form-control {
    padding: 5px;
    font-size: 13px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    background-color: #ffffff;
    box-sizing: border-box;
}

/* Ensure input fields expand in height as needed */
.table td .form-control:focus {
    outline: none;
    box-shadow: none;
}

/* Dropdown picker styling */
.table td select {
    width: 100%;
    font-size: 13px;
    margin: 0;
    padding: 5px;
    box-sizing: border-box;
    appearance: none;
}

/* Table styles */
.table {
    width: 100%;
    margin-bottom: 1rem;
    background-color: #fff;
    border-collapse: collapse;
}

.table thead {
    background-color: #343a40;
    color: white;
}

/* Make table headers sticky */
.table thead th {
    position: sticky;
    top: 60px; /* Stick to the top of the table container */
    z-index: 2; /* Ensure headers appear above table content */
    background-color: #343a40; /* Same background color as before */
    color: white; /* Text color */
    border-bottom: 1px solid #dee2e6; /* Optional: Add a bottom border */
}

.table td[data-key="description"], 
.table th[data-key="description"] {
    min-width: 200px; /* Wider than default */
    max-width: 400px; /* Prevent excessive width */
    word-wrap: break-word;
    white-space: normal;
}

.table td[data-key="description"] .description-content {
    display: -webkit-box;
    -webkit-line-clamp: 4; /* Limit to 4 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 5.4em; /* Approximate height for 4 lines */
    transition: max-height 0.3s ease;
}


.table td[data-key="description"] .read-more {
    color: blue;
    cursor: pointer;
    display: inline-block;
    margin-top: 5px;
    text-decoration: underline;
    font-size: 12px;
}

/* Default row style => 5.4em tall, truncated overflow */
.table tbody tr {
    height: 5.4em;
    overflow: hidden;
    transition: height 0.3s ease;
}

/* While editing => auto height, visible overflow */
.table tbody tr.editing {
    height: 5.4em !important;
    overflow: hidden;
}

.table tbody tr.editing-description {
    height: auto !important;
    overflow: visible !important;
}

.table tbody tr.editing-description td[data-key="description"] .description-content {
    max-height: none !important;
    overflow: visible !important;
}

/* Allow Description to expand when the row is in 'editing' state */
.table tbody tr.editing td[data-key="description"] .description-content {
    max-height: none !important; /* Expand to show all content */
    overflow: visible !important;
}

/* Optional: Hide the 'Read more' link during editing */
.table tbody tr.editing td[data-key="description"] .read-more {
    display: none;
}


.table-striped tbody tr:nth-of-type(odd) {
    background-color: #f9f9f9;
}

.table-striped tbody tr:nth-of-type(even) {
    background-color: #e9ecef;
}

.editable-row {
    background-color: #fff8dc;
}

.table td {
    border: 1px solid #dee2e6;
    padding: 8px;
    position: relative;
    transition: background-color 0.3s ease;
    overflow: hidden;
    max-height: 10em; /* Increased max height to allow for more content */
}

.table td:hover {
    background-color: #f1f1f1;
    cursor: pointer;
}

/* Adjust fonts and spacing */
.table td, .table th {
    font-family: 'Arial', sans-serif;
    font-size: 13px;
    text-align: left;
    vertical-align: middle;
}

.table td:first-child, .table th:first-child {
    min-width: 45px; /* Reduced width for the ID column */
    max-width: 50px; /* Ensure it doesn't grow too wide */
    text-align: center; /* Align the ID column content to the center */
    white-space: nowrap; /* Prevent text wrapping for better visual alignment */
}

.table td a {
    text-decoration: none;
}

.table td a:hover {
    text-decoration: underline;
}

.card {
    margin-bottom: 20px;
}

.alert {
    margin-top: 20px;
}

.container-fluid {
    padding-left: 15px;
    padding-right: 15px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .table-responsive {
        overflow-x: auto;
    }
    .filter-container {
        margin-left: 0;
        margin-right: 0;
        max-width: 100%; /* Take full width for smaller screens */
        text-align: center; /* Center-align on smaller screens */
    }

    #filterSection {
        max-width: 100%; /* Ensure it adapts to smaller screen sizes */
        margin: 0 auto; /* Center align the filter section */
    }
}

.wide-filters.collapse:not(.show) {
    visibility: hidden;
    display: block !important; /* Keeps the width consistent */
    height: 0 !important;
    overflow: hidden;
}

.centered-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-top: 30px; /* Adjust this for vertical spacing */
    margin-bottom: 30px; /* Add bottom spacing if needed */
}

.centered-container .btn {
    margin-bottom: 20px; /* Space between the button and the form */
}

.card.card-body {
    max-width: 600px; /* Limit the width of the form */
    width: 100%;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Add a subtle shadow for better visibility */
    border-radius: 8px; /* Rounded corners for the card */
    border: 1px solid #ddd; /* Add a soft border */
    padding: 20px; /* Space around the form fields */
}

.filter-container {
    padding: 20px;
    background-color: #f8f9fa; /* Light gray background */
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow for better visibility */
}

.filter-container .form-label {
    font-weight: bold;
    font-size: 14px;
}

.filter-container .btn {
    margin-top: 10px;
}

.filter-container .form-control {
    font-size: 14px;
}

.filter-container {
    margin-top: 0; /* Align with the create order button */
    max-width: calc(100% - 60px); /* Adjust to make it wider, but within page bounds */
    margin-left: auto; /* Aligns it to the right of the create order button */
    margin-right: 40px; /* Keeps it slightly spaced from the right edge */
    display: inline-block;
    vertical-align: top;
}

#filterSection {
    background-color: #f8f9fa; /* Light background for better visibility */
    padding: 20px; /* Add padding around the filter form */
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    max-width: 800px; /* Make the filter section wider */
    width: 100%; /* Ensure it stretches fully within the container */
}

.filter-container button {
    display: inline-block;
    margin-bottom: 10px;
}



/* config.html */

.config-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

h2 {
    text-align: center;
    margin-bottom: 20px;
}

.config-section {
    margin-bottom: 20px;
}

.collapsible-header {
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    margin: 10px 0;
    padding: 10px;
    background-color: #e9ecef;
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.collapsible-header.active {
    background-color: #ced4da;
}

.collapsible-content {
    display: none;
    padding: 10px;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    background-color: #fff;
    margin-top: 10px;
}

.collapsible-content.collapsed {
    display: block;
}

.editable-list {
    list-style-type: none;
    padding: 0;
}

.editable-list li {
    padding: 10px;
    margin: 5px 0;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.editable {
    flex: 1;
    margin-right: 10px;
    font-size: 14px;
}

.add-new {
    display: flex;
    margin-top: 10px;
}

.add-new .form-control {
    margin-right: 10px;
}

.gray-text {
    color: #6c757d;
    font-size: 14px;
}

@media (max-width: 1200px) {
    .chat-wrapper {
        flex-direction: column;
    }
    .sidebar-container {
        flex-direction: row;
    }
}

#main-container {
    padding-top: 80px;
    margin-top: 20px;
    /* height: calc(100vh - 60px); */  /* Remove or comment out */
    /* display: flex; */               /* If you don’t actually need the flex layout here */
    /* overflow: hidden; */            /* Remove or comment out to allow normal page scroll */
    box-sizing: border-box;
}

#chat-page-container {
    height: calc(100vh - 60px); /* Fill screen minus 60px navbar */
    display: flex;
    flex-direction: column;
    overflow: hidden;  /* Hide outside scrolling so the chat is pinned */
    margin-top: 20px;  /* optional spacing if you want a gap */
    box-sizing: border-box;
}

/* CHAT CONTAINER */
.chat-wrapper {
    display: flex;
    gap: 20px;
    flex: 1;               /* take up whatever #chat-page-container provides */
    overflow: hidden;      /* no extra scroll outside; let children scroll */
    box-sizing: border-box;
}

/* Left chat column: let content grow vertically with a pinned form at bottom */
.chat-container {
    flex: 3;
    background-color: #f7f7f7;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column; /* stack messages area + form */
    overflow: hidden;        /* only the messages area should scroll */
}

/* The messages area grows to fill leftover space in .chat-container.
   The form remains at the bottom. */
.chat-messages {
    flex: 1;            /* grow to fill all space above the form */
    overflow-y: auto;   /* scroll inside if there's lots of messages */
    margin-bottom: 0;   /* no forced margin so it lines up with sidebar */
}

/* The sidebar: corrections + logs stacked vertically, each can scroll if needed */
.sidebar-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow: hidden; /* let child sections scroll instead of the whole sidebar */
    height: 100%;
    box-sizing: border-box;
}

.bot-corrections,
.bot-logs {
    background-color: #f1f1f1;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0px 2px 5px rgba(0,0,0,0.05);
}

/* The logs area can flex to fill leftover vertical space 
   so its bottom lines up with chat bottom. */
.bot-logs {
    background-color: #f9f9f9;
    flex: 1;            /* stretch to fill rest of sidebar */
    overflow-y: auto;   /* scroll if needed */
    margin-bottom: 0;   /* align with chat bottom */
}

.bot-logs {
    /* keep existing styles (background, padding, flex:1, etc.) */
    display: flex;            /* So we can make the UL fill remaining space */
    flex-direction: column;   /* The header is at the top, the UL below */
}

.bot-logs ul.list-group {
    flex: 1;              /* expand in the .bot-logs container */
    overflow-y: auto;     /* scroll if logs get long */
    max-height: none;     /* remove or override the 400px limit */
    margin: 0;
    padding: 0;
}


.bot-logs ul.list-group li.list-group-item {
    background-color: #fff;
    border: 1px solid #ddd;
    margin-bottom: 5px;
    border-radius: 4px;
}

/* CHAT BUBBLES */
.chat-bubble {
    max-width: 70%;
    padding: 10px 14px;
    margin-bottom: 10px;
    border-radius: 15px;
    word-wrap: break-word;
    clear: both;
    font-size: 14px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    border-radius: 14px 14px 14px 0;
}

.chat-bubble.out.telegram,
.chat-bubble.out.whatsapp,
.chat-bubble.out.instagram {
  border-radius: 14px 14px 0 14px;
}

.chat-container h2 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
    color: #333;
  }

.file-preview:hover {
border-color: #007bff;
box-shadow: 0 0 6px rgba(0, 123, 255, 0.3);
}

/* WhatsApp Bubbles */
.chat-bubble.in.whatsapp {
    background-color: #e1ffc7; /* Light green for incoming WhatsApp */
    float: left;
    text-align: left;
}

.chat-bubble.out.whatsapp {
    background-color: #ffffff; /* White for outgoing */
    float: right;
    text-align: right;
}

/* Telegram Bubbles */
.chat-bubble.in.telegram {
    background-color: #d6e9ff; /* Light blue for incoming Telegram */
    color: #000000;
    float: left;
    text-align: left;
}

.chat-bubble.out.telegram {
    background-color: #ffffff; /* White for outgoing */
    float: right;
    text-align: right;
}

/* Instagram Bubbles */
.chat-bubble.in.instagram {
    background-color: #f3d1ff; /* Light purple for incoming Instagram */
    color: #000000;
    float: left;
    text-align: left;
}

.chat-bubble.out.instagram {
    background-color: #ffffff; /* White for outgoing */
    float: right;
    text-align: right;
}

/* Text Styling */
.chat-bubble .sender-name {
    font-weight: bold;
    display: block;
    margin-bottom: 4px;
}

.chat-bubble .chat-timestamp {
    font-size: 0.8em;
    color: #999;
    margin-top: 5px;
    display: block;
}

/* MEDIA CONTENT */
.chat-bubble .media-content {
    margin-top: 5px;
}

.chat-bubble .media-content img,
.chat-bubble .media-content video,
.chat-bubble .media-content audio {
    max-width: 100%;
    height: auto;
}

/* FORM */
textarea {
    resize: vertical;
}

button {
    margin-top: 10px;
}

.chat-bubble.in.instagram .chat-timestamp,
.chat-bubble.out.instagram .chat-timestamp {
    color: rgba(255, 255, 255, 0.85); /* Slightly brighter white */
}

.chat-bubble.in.whatsapp .chat-timestamp,
.chat-bubble.out.whatsapp .chat-timestamp {
    color: #666; /* Dark gray for WhatsApp */
}


.search-container {
    margin-bottom: 20px;
  }
  #chatSearch {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    margin-bottom: 10px;
  }
  
  /* Chat Items */
  .chat-item {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 10px;
    color: #333;
    text-decoration: none;
    transition: background 0.3s, box-shadow 0.3s;
    border: 1px solid transparent;
  }
  
  .chat-item:hover {
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  }
  
  /* Gradients by Messenger Type */
  .chat-item.whatsapp {
    background: linear-gradient(90deg, rgba(144, 238, 144, 0.3), rgba(0, 255, 127, 0.3));
  }
  
  .chat-item.telegram {
    background: linear-gradient(90deg, rgba(173, 216, 230, 0.3), rgba(30, 144, 255, 0.3));
  }
  
  .chat-item.instagram {
    background: linear-gradient(90deg, rgba(255, 182, 193, 0.3), rgba(208, 105, 255, 0.3));
  }
  
  /* Text Inside Chat Items */
  .chat-name {
    font-weight: bold;
    font-size: 18px;
  }
  
  .chat-type {
    font-style: italic;
    color: #555;
  }
  
  .chat-last-msg {
    color: #777;
    font-size: 14px;
  }
  
  .chat-time {
    color: #999;
    font-size: 12px;
  }


/* Media Content */
.media-content {
    margin-top: 10px;
}

.chat-image-container {
    max-width: 200px; /* Constrain image container to 200px */
}
.chat-media-image {
    width: 100%; /* Ensure the image respects the container width */
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.chat-media-image:hover {
    transform: scale(1.1); /* Slight zoom on hover */
}

/* Video and Audio Styles */
.chat-media-video,
.chat-media-audio {
    max-width: 80%;
    border-radius: 8px;
    margin-top: 10px;
}

/* Document Preview Styles */
.document-preview {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.document-iframe {
    width: 100%;
    max-width: 500px; /* Limit preview width */
    height: 350px; /* Limit preview height */
    border: 1px solid #ccc;
    border-radius: 8px;
}

.document-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.document-name {
    font-size: 14px;
    word-wrap: break-word;
}

/* Modal for Zoomed Image */
.image-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.image-modal img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
}

.image-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    color: #fff;
    cursor: pointer;
}

.orders-sidebar{
    width: 220px; 
    margin-right: 20px; 
    flex-shrink: 0; 
    background-color: #f7f7f7; 
    padding: 10px; 
    border-radius: 8px;
    box-shadow: 0px 2px 5px rgba(0,0,0,0.1);
}

/* Funnel Board */
.funnel-board {
    display: flex;
    gap: 5px;
    overflow: auto; /* enable both directions */
    margin-top: 20px;
    padding: 20px;
    position: relative;
    cursor: grab;
    user-select: none;
    height: auto; /* Let height grow with content */
    max-height: none;
}

/* Active Dragging Effect */
.funnel-board.dragging {
    cursor: grabbing;
}

/* Columns */
.funnel-column {
    flex: 1;
    background-color: #f8f9fa;
    border: 2px solid #dee2e6;
    border-radius: 10px;
    padding: 15px;
    min-width: 280px;
    min-height: 100px; /* allow growth */
    max-height: none; /* remove any height cap */
    overflow: visible; /* allow vertical overflow */
    position: relative;
    padding-top: 70px;
}

.funnel-column .column-spacer {
    height: 150px; /* height of one task card approx */
    pointer-events: none; /* prevent dragging on it */
    visibility: hidden; /* keep space without showing */
}

/* Sticky Column Titles */
.funnel-column h5 {
    position: absolute; /* Initially inside column */
    top: 0;
    left: 0;
    width: 100%;
    padding: 12px;
    text-align: center;
    font-weight: bold;
    background-color: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 10;
    transition: top 0.3s ease-in-out;
}

.funnel-column h5.sticky {
    position: fixed;
    top: 60px; /* Right below navbar */
    z-index: 100;
}

/* Highlight columns when dragging over */
.funnel-column.drag-over {
    background-color: #e3f2fd;  /* Light blue highlight */
    border-color: #2196f3;  /* Blue border */
}

/* Order Cards */
.order-card {
    background-color: #ffffff;
    border: 1px solid #ced4da;
    border-radius: 6px;
    padding: 12px;
    margin-bottom: 10px;
    cursor: grab;
    box-shadow: 1px 2px 5px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s, box-shadow 0.2s;
}

/* Drag effect */
.order-card:active {
    cursor: grabbing;
    transform: scale(1.05);
    box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.2);
}

/* Order Card Hover */
.order-card:hover {
    background-color: #f8f9fa;
    box-shadow: 2px 3px 8px rgba(0, 0, 0, 0.12);
}

/* Order Card Header */
.order-card .order-header {
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    color: #343a40;
}

/* Order Date */
.order-card .order-date {
    font-size: 0.85em;
    color: #6c757d;
}

/* Order Contact */
.order-card .order-contact {
    font-size: 0.9em;
    color: #495057;
}

/* Custom Scrollbar */
.funnel-board::-webkit-scrollbar {
    height: 8px;
}
.funnel-board::-webkit-scrollbar-thumb {
    background-color: #2196f3;
    border-radius: 10px;
}
.funnel-board::-webkit-scrollbar-track {
    background-color: #e0e0e0;
}

/* Highlighted client row */
.highlight-status {
    background-color: #d2f8d2 !important; /* Light green for the entire row */
    color: #333333; /* Dark text for readability */
}

/* Ensure text remains readable and overrides conflicting styles */
.highlight-status td {
    background-color: #d2f8d2 !important; /* Inherit light green background */
    color: #333333 !important; /* Override text color for readability */
}

/* Add hover effect to improve UX */
.highlight-status:hover {
    background-color: #c7eac7 !important; /* Slightly darker green on hover */
}

.modal-backdrop {
    background-color: rgba(0, 0, 0, 0.5) !important;
    z-index: 1040 !important;
}

.modal {
    z-index: 1050 !important;
}

.modal-content {
    position: relative;
    z-index: 1051 !important;
}

.modal-content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1); /* Adjust opacity as needed */
    z-index: -1; /* Place it behind modal content */
    pointer-events: none; /* Allow clicks to pass through */
}

.modal-dialog {
    margin-top: 80px;
  }  

/* Example styling for the time container */
.time-container {
    display: flex;
    gap: 20px;
    margin-bottom: 10px;
}

.project-item {
    margin-bottom: 10px;
    border-left: 3px solid #007bff;
    padding-left: 10px;
  }
  
  .project-header {
    cursor: pointer;
    padding: 8px;
    background-color: #f8f9fa;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .project-header:hover {
    background-color: #e9ecef;
  }
  
  .project-maps-list {
    list-style: none;
    padding-left: 20px;
    margin-top: 5px;
  }
  
  .toggle-icon {
    font-size: 0.8em;
    margin-left: 10px;
  }

  .project-group {
    margin-bottom: 15px;
    border-left: 3px solid #007bff;
    padding-left: 10px;
  }
  
  .project-header {
    cursor: pointer;
    padding: 8px;
    background-color: #f8f9fa;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
  }
  
  .project-header:hover {
    background-color: #e9ecef;
  }
  
  .maps-list {
    list-style: none;
    padding-left: 20px;
    margin: 0;
  }
  
  .toggle-icon {
    font-size: 0.8em;
    margin-left: 10px;
    transition: transform 0.2s;
  }
  
  .project-name {
    max-width: 80%;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .order-chat-header {
    position: sticky;
    top: 0;
    background: white;
    z-index: 10;
    padding-bottom: 0.5rem;
  }
  