.order-notes-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 30px 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    width: 500px;
    max-width: 90%; /* Mobile responsive */
    border-radius: 8px;
}

.order-notes-popup textarea {
    width: 100%;
    min-height: 150px;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    resize: vertical;
    margin-bottom: 20px;
}

.order-notes-popup .update-notes {
    padding: 8px 16px;
    background-color: #0073aa;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-right: 10px;
}

.order-notes-popup .update-notes:hover {
    background-color: #005f8d;
}

.order-notes-popup .close-popup {
    padding: 8px 16px;
    background-color: #bbb;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.order-notes-popup .close-popup:hover {
    background-color: #999;
}

/* Set a fixed width for the preview column */
th.column-preview,
td.column-preview {
  text-align: center;
  vertical-align: middle;
  padding: 0;
}

/* Center the cell content using Flexbox */
td.column-preview {
  display: flex;
  align-items: center;
}

td.column-preview.hidden {
    display: none !important;
  }