/**
 * DXF Contact Form Integration Styles - Table Layout
 */

/* Main Container */
.dxf-parts-section {
  margin: 0 0 30px 0;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

/* Header Section */
.dxf-parts-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 15px;
  padding: 0 5px;
  gap: 20px;
}

.parts-header-left {
  flex: 1;
}

.parts-header-right {
  flex-shrink: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 15px;
  flex-wrap: nowrap;
}

.parts-title {
  margin: 0 0 10px 0;
  font-size: 18px;
  font-weight: 600;
  color: #212529;
}

/* Global Unit Selector */
.global-unit-selector {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 15px;
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  margin: 0;
}

.global-unit-selector label {
  font-weight: 600;
  color: #495057;
  margin: 0;
  font-size: 14px;
  white-space: nowrap;
}

.global-unit-select {
  padding: 6px 12px;
  border: 1px solid #ced4da;
  border-radius: 4px;
  font-size: 14px;
  background-color: #fff;
  min-width: 80px;
  cursor: pointer;
}

/* Add More Files Button */
.add-more-files-button {
  padding: 10px 20px;
  background-color: #548cff;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 2px 4px rgba(84, 140, 255, 0.2);
  margin-right: 10px;
}

.add-more-files-button:hover {
  background-color: #3d6fd9;
  box-shadow: 0 4px 8px rgba(84, 140, 255, 0.3);
  transform: translateY(-1px);
}

/* Supplementary Docs Button */
.add-supplementary-docs-button {
  padding: 10px 20px;
  background-color: #28a745;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 2px 4px rgba(40, 167, 69, 0.2);
}

.add-supplementary-docs-button:hover {
  background-color: #218838;
  box-shadow: 0 4px 8px rgba(40, 167, 69, 0.3);
  transform: translateY(-1px);
}

/* Bottom buttons container */
.bottom-buttons-container {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 20px 0;
}

/* Bulk Actions */
.bulk-actions-container {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 5px;
}

.bulk-actions-select {
  padding: 6px 12px;
  border: 1px solid #ced4da;
  border-radius: 4px;
  font-size: 13px;
  background-color: #fff;
  min-width: 140px;
}

.bulk-actions-apply {
  padding: 6px 16px;
  background-color: #dc3545;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.bulk-actions-apply:hover:not(:disabled) {
  background-color: #c82333;
  transform: translateY(-1px);
}

.bulk-actions-apply:disabled {
  background-color: #6c757d;
  cursor: not-allowed;
  opacity: 0.6;
}

.selected-count {
  font-size: 13px;
  color: #495057;
  font-weight: 500;
}

/* Select All Checkbox */
#select-all-parts {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #007cba;
}

.add-more-files-button {
  background-color: #007cba;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
  box-shadow: 0 2px 4px rgba(0, 124, 186, 0.2);
}

.add-more-files-button:hover {
  background-color: #005a87;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 124, 186, 0.3);
}

/* Table Wrapper */
.dxf-parts-table-wrapper {
  overflow-x: auto;
  border: 1px solid #dee2e6;
  border-radius: 6px;
}

/* Table Styles */
.dxf-parts-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-size: 14px;
}

.dxf-parts-table thead {
  background: #548cff;
  border-bottom: 2px solid #548cff;
}

.dxf-parts-table thead th {
  padding: 12px 10px;
  text-align: left;
  font-weight: 600;
  color: #ffffff;
  white-space: nowrap;
  border-bottom: 2px solid #548cff;
}

.dxf-parts-table tbody tr {
  border-bottom: 1px solid #dee2e6;
  transition: background-color 0.2s;
}

.dxf-parts-table tbody tr:hover {
  background-color: #f8f9fa;
}

.dxf-parts-table tbody tr.selected {
  background-color: #e7f3ff;
}

.dxf-parts-table tbody td {
  padding: 12px 10px;
  vertical-align: middle;
}

/* Column Specific Styles */
.col-select {
  width: 40px;
  text-align: center;
}

.col-select input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #007cba;
}

.col-name {
  min-width: 150px;
  max-width: 200px;
}

.part-filename {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #212529;
  font-weight: 500;
}

.col-preview {
  min-width: 250px;
  text-align: center;
}

.cad-preview-container {
  width: 150px;
  height: 150px;
  border: 2px solid #548cff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  overflow: hidden;
  position: relative;
  margin: 0 auto 5px;
  box-shadow: 0 2px 8px rgba(84, 140, 255, 0.15);
}

.cad-preview-container canvas {
  max-width: 100%;
  max-height: 100%;
}

.loading-indicator {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: none;
  background: rgba(255, 255, 255, 0.95);
  padding: 5px 10px;
  border-radius: 3px;
  font-size: 11px;
  color: #666;
}

.view-part-btn {
  background: transparent;
  border: none;
  padding: 4px;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
}

.view-part-btn:hover {
  background: rgba(0, 0, 0, 0.05);
  transform: scale(1.1);
}

.view-part-btn .view-icon {
  width: 20px;
  height: 20px;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.view-part-btn:hover .view-icon {
  opacity: 1;
}

/* Dimensions display below preview */
.dimensions-display {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid #dee2e6;
  text-align: center;
}

.dimensions-text {
  font-size: 16px;
  font-weight: 600;
  color: #212529;
  display: block;
  margin-bottom: 4px;
}

.auto-size-indicator {
  font-size: 10px;
  color: #28a745;
  margin-top: 2px;
  text-align: center;
  display: none;
}

.unit-select {
  width: 55px;
  padding: 4px 2px;
  border: 1px solid #ced4da;
  border-radius: 3px;
  font-size: 12px;
}

.auto-size-indicator {
  font-size: 9px;
  color: #28a745;
  margin-top: 3px;
  text-align: center;
  display: none;
}

/* Material group - stacked vertically */
.col-material-group {
  min-width: 180px;
  padding: 8px 10px !important;
}

.material-group-wrapper {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.material-row,
.grade-row,
.thickness-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.material-label,
.grade-label,
.thickness-label {
  font-size: 11px;
  font-weight: 600;
  color: #495057;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.material-select,
.thickness-select,
.grade-select {
  width: 100%;
  padding: 6px 8px;
  border: 1px solid #ced4da;
  border-radius: 3px;
  font-size: 13px;
  background-color: #fff;
}

.col-quantity {
  width: 80px;
}

.quantity-input {
  width: 100%;
  padding: 6px 8px;
  border: 1px solid #ced4da;
  border-radius: 3px;
  font-size: 13px;
  text-align: center;
}

/* Operations Column */
.col-operations {
  min-width: 140px;
  padding: 8px 10px !important;
}

.operations-wrapper {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.operation-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.operation-checkbox {
  width: 16px;
  height: 16px;
  cursor: pointer;
  accent-color: #007cba;
  flex-shrink: 0;
}

.operation-checkbox:disabled {
  cursor: not-allowed;
  opacity: 0.7;
}

.operation-label {
  font-size: 13px;
  color: #212529;
  cursor: pointer;
  user-select: none;
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
}

.operation-checkbox:disabled + .operation-label {
  cursor: not-allowed;
  color: #6c757d;
}

.operation-custom-input {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid #dee2e6;
}

.custom-operation-input {
  width: 100%;
  padding: 6px 8px;
  border: 1px solid #ced4da;
  border-radius: 3px;
  font-size: 12px;
  color: #212529;
}

.custom-operation-input:focus {
  outline: none;
  border-color: #007cba;
  box-shadow: 0 0 0 2px rgba(0, 124, 186, 0.1);
}

.custom-operation-input::placeholder {
  color: #6c757d;
  font-style: italic;
}

.col-notes {
  min-width: 150px;
}

.notes-textarea {
  width: 100%;
  min-height: 60px;
  padding: 6px 8px;
  border: 1px solid #ced4da;
  border-radius: 3px;
  font-size: 13px;
  resize: vertical;
  font-family: inherit;
}

.col-actions {
  width: 60px;
  text-align: center;
}

.trash-button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 3px;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.trash-button:hover {
  background-color: #f8d7da;
  transform: scale(1.1);
}

.trash-button .trash-icon {
  width: 20px;
  height: 20px;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.trash-button:hover .trash-icon {
  opacity: 1;
}

/* Input Focus States */
.dxf-parts-table input:focus,
.dxf-parts-table select:focus,
.dxf-parts-table textarea:focus {
  outline: none;
  border-color: #007cba;
  box-shadow: 0 0 0 2px rgba(0, 124, 186, 0.1);
}

/* Modal Styles */
#add-files-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.7);
}

#add-files-modal > div {
  background-color: #f8f8f8;
  margin: 10% auto;
  padding: 20px;
  border: 1px solid #ddd;
  width: 50%;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.close-modal {
  float: right;
  cursor: pointer;
  font-size: 24px;
  font-weight: bold;
  color: #999;
  transition: color 0.3s;
}

.close-modal:hover {
  color: #333;
}

.add-files-submit {
  background-color: #ff8c00;
  color: white;
  border: none;
  padding: 8px 15px;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 15px;
  transition: background-color 0.3s;
}

.add-files-submit:hover {
  background-color: #e67e00;
}

.add-files-submit:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

/* Upload status colors */
.upload-status-success {
  color: #4caf50;
}

.upload-status-warning {
  color: #ff8c00;
}

.upload-status-error {
  color: #d32f2f;
}

/* Error message styles */
.dxf-error-message {
  color: #d32f2f;
  font-size: 11px;
  text-align: center;
  padding: 5px;
  background: rgba(255, 235, 235, 0.9);
  border-radius: 3px;
  margin-top: 5px;
}

.dxf-fallback-notice {
  position: absolute;
  bottom: 2px;
  left: 2px;
  right: 2px;
  background: rgba(255, 255, 255, 0.9);
  font-size: 10px;
  text-align: center;
  padding: 1px;
  border-radius: 2px;
}

/* CAD Modal Styles */
.cad-modal {
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cad-modal-content {
  background-color: #fff;
  width: 90%;
  height: 90%;
  position: relative;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.cad-modal-header {
  padding: 10px 15px;
  border-bottom: 1px solid #ddd;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f8f8f8;
  border-radius: 5px 5px 0 0;
}

.cad-modal-header h3 {
  margin: 0;
  color: #333;
}

.cad-modal-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  font-weight: bold;
  color: #999;
  transition: color 0.3s;
}

.cad-modal-close:hover {
  color: #333;
}

.cad-modal-body {
  padding: 20px;
  height: calc(100% - 60px);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Form Grid Styles */
.part-item .grid-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.part-item label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  color: #333;
}

.part-item input,
.part-item select,
.part-item textarea {
  border: 1px solid #ddd;
  border-radius: 3px;
  padding: 5px;
  font-size: 14px;
}

.part-item input:focus,
.part-item select:focus,
.part-item textarea:focus {
  outline: none;
  border-color: #4caf50;
  box-shadow: 0 0 3px rgba(76, 175, 80, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
  .part-item > div:first-of-type {
    flex-direction: column;
  }

  .part-item .cad-preview-container {
    margin-right: 0;
    margin-bottom: 15px;
  }

  .part-item .grid-container {
    grid-template-columns: 1fr;
  }

  #add-files-modal > div {
    width: 90%;
    margin: 5% auto;
  }

  .cad-modal-content {
    width: 95%;
    height: 95%;
  }
}
/* Scrollbar Styling */
.dxf-parts-table-wrapper::-webkit-scrollbar {
  height: 8px;
}

.dxf-parts-table-wrapper::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.dxf-parts-table-wrapper::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 4px;
}

.dxf-parts-table-wrapper::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

/* Bulk Notifications */
.bulk-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 12px 20px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 14px;
  z-index: 10000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  animation: slideInRight 0.3s ease-out;
}

.bulk-notification.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.bulk-notification.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Indeterminate checkbox styling */
#select-all-parts:indeterminate {
  opacity: 0.8;
}

/* Processing state for bulk operations */
.dxf-parts-table tbody tr.processing {
  opacity: 0.5;
  pointer-events: none;
  background-color: #f8f9fa;
}

.dxf-parts-table tbody tr.processing::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(0, 0, 0, 0.05) 10px,
    rgba(0, 0, 0, 0.05) 20px
  );
  pointer-events: none;
}

/* Modal Styles */
#add-files-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.7);
}

#add-files-modal > div {
  background-color: #fff;
  margin: 5% auto;
  padding: 30px;
  border: none;
  width: 90%;
  max-width: 600px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.close-modal {
  float: right;
  cursor: pointer;
  font-size: 28px;
  font-weight: bold;
  color: #6c757d;
  transition: color 0.2s;
  line-height: 1;
}

.close-modal:hover {
  color: #212529;
}

.add-files-submit {
  background-color: #007cba;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 15px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
}

.add-files-submit:hover:not(:disabled) {
  background-color: #005a87;
}

.add-files-submit:disabled {
  background-color: #6c757d;
  cursor: not-allowed;
  opacity: 0.6;
}

/* Upload status colors */
.upload-status-success {
  color: #28a745;
}

.upload-status-warning {
  color: #ffc107;
}

.upload-status-error {
  color: #dc3545;
}

/* Error message styles */
.dxf-error-message {
  color: #dc3545;
  font-size: 10px;
  text-align: center;
  padding: 3px;
  background: rgba(220, 53, 69, 0.1);
  border-radius: 3px;
  margin-top: 3px;
}

.dxf-fallback-notice {
  position: absolute;
  bottom: 2px;
  left: 2px;
  right: 2px;
  background: rgba(255, 255, 255, 0.95);
  font-size: 9px;
  text-align: center;
  padding: 2px;
  border-radius: 2px;
  color: #6c757d;
}

/* CAD Modal Styles */
.cad-modal {
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cad-modal-content {
  background-color: #fff;
  width: 90%;
  height: 90%;
  max-width: 1200px;
  position: relative;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.cad-modal-header {
  padding: 15px 20px;
  border-bottom: 1px solid #dee2e6;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f8f9fa;
}

.cad-modal-header h3 {
  margin: 0;
  color: #212529;
  font-size: 18px;
  font-weight: 600;
}

.cad-modal-close {
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  font-weight: bold;
  color: #6c757d;
  transition: color 0.2s;
  line-height: 1;
  padding: 0;
}

.cad-modal-close:hover {
  color: #212529;
}

.cad-modal-body {
  padding: 20px;
  height: calc(100% - 70px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
}

/* Responsive Design */
@media (max-width: 768px) {
  .dxf-parts-section {
    margin: 0 -15px 30px -15px;
  }

  .dxf-parts-header {
    padding: 0 15px;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .parts-header-left {
    width: 100%;
  }

  .parts-header-right {
    width: 100%;
    flex-direction: column;
    gap: 10px;
  }

  .bulk-actions-container {
    flex-wrap: wrap;
    gap: 8px;
  }

  .bulk-actions-select {
    min-width: 120px;
  }

  .parts-header-right .add-more-files-button {
    width: 100%;
  }

  .bottom-buttons-container {
    flex-direction: column;
  }

  .bottom-buttons-container .add-more-files-button,
  .bottom-buttons-container .add-supplementary-docs-button {
    width: 100%;
  }

  .global-unit-selector {
    width: 100%;
    justify-content: space-between;
  }

  .dxf-parts-table {
    font-size: 12px;
  }

  .dxf-parts-table thead th,
  .dxf-parts-table tbody td {
    padding: 8px 6px;
  }

  .col-name {
    min-width: 120px;
  }

  .col-preview {
    min-width: 200px;
  }

  .cad-preview-container {
    width: 120px;
    height: 120px;
  }

  .dimensions-text {
    font-size: 14px;
  }

  .col-material-group {
    min-width: 150px;
  }

  .material-select,
  .thickness-select,
  .grade-select {
    padding: 4px 6px;
    font-size: 12px;
  }

  .material-label,
  .grade-label,
  .thickness-label {
    font-size: 10px;
  }

  .quantity-input {
    padding: 4px 6px;
    font-size: 12px;
  }

  .col-operations {
    min-width: 120px;
  }

  .operation-checkbox {
    width: 14px;
    height: 14px;
  }

  .operation-label {
    font-size: 12px;
  }

  .custom-operation-input {
    font-size: 11px;
    padding: 5px 6px;
  }

  .notes-textarea {
    min-height: 50px;
    padding: 4px 6px;
    font-size: 12px;
  }

  #add-files-modal > div {
    width: 95%;
    margin: 10% auto;
    padding: 20px;
  }

  .cad-modal-content {
    width: 95%;
    height: 95%;
  }
}

@media (max-width: 480px) {
  .parts-title {
    font-size: 16px;
  }

  .dxf-parts-table {
    font-size: 11px;
  }

  .col-preview {
    min-width: 140px;
  }

  .cad-preview-container {
    width: 100px;
    height: 100px;
  }

  .dimensions-text {
    font-size: 12px;
  }

  .col-material-group {
    min-width: 130px;
  }

  .view-part-btn {
    padding: 2px;
  }

  .view-part-btn .view-icon {
    width: 16px;
    height: 16px;
  }
}
/* Bulk Edit Notifications */
.bulk-edit-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 12px 20px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 14px;
  z-index: 10001;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  animation: slideInRight 0.3s ease-out;
}

.bulk-edit-notification.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.bulk-edit-notification.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Enhanced selected row styling */
.dxf-parts-table tbody tr.selected {
  background-color: #e7f3ff;
  border-left: 4px solid #007cba;
}

.dxf-parts-table tbody tr.selected:hover {
  background-color: #d1ecf1;
}

/* Bulk editing indicator */
.bulk-editing-active .dxf-parts-table tbody tr.selected {
  box-shadow: 0 0 0 2px rgba(0, 124, 186, 0.3);
}

/* Improved checkbox styling */
.part-select-checkbox {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #007cba;
  transform: scale(1.1);
}

.part-select-checkbox:checked {
  background-color: #007cba;
}

/* Visual feedback for bulk operations */
.bulk-operation-feedback {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 20px 30px;
  border-radius: 8px;
  z-index: 10002;
  font-size: 16px;
  font-weight: 500;
}

/* Highlight changed fields during bulk edit */
.bulk-edit-highlight {
  background-color: #fff3cd !important;
  border-color: #ffc107 !important;
  animation: bulkEditPulse 0.5s ease-in-out;
}

@keyframes bulkEditPulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
  100% {
    transform: scale(1);
  }
}

/* Contact Form 7 Submit Button */
.wpcf7-submit,
input[type="submit"].wpcf7-submit {
  padding: 12px 30px !important;
  background-color: #548cff !important;
  color: white !important;
  border: none !important;
  border-radius: 6px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.2s !important;
  box-shadow: 0 2px 4px rgba(84, 140, 255, 0.2) !important;
}

.wpcf7-submit:hover,
input[type="submit"].wpcf7-submit:hover {
  background-color: #3d6fd9 !important;
  box-shadow: 0 4px 8px rgba(84, 140, 255, 0.3) !important;
  transform: translateY(-1px) !important;
}

.wpcf7-submit:active,
input[type="submit"].wpcf7-submit:active {
  transform: translateY(0) !important;
}
