.afb-booking-runtime-scope .table-builder-component {
  width: 100%;
  font-family: Arial, sans-serif;
}

.afb-booking-runtime-scope .table-container {
  overflow-x: auto;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.afb-booking-runtime-scope .table-builder-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 500px;
}

.afb-booking-runtime-scope .table-builder-table th,
.afb-booking-runtime-scope .table-builder-table td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: left;
}

.afb-booking-runtime-scope .table-builder-table th {
  background-color: #f5f5f5;
  font-weight: bold;
}

.afb-booking-runtime-scope .row-header,
.afb-booking-runtime-scope .column-header {
  position: relative;
  min-width: 120px;
}

.afb-booking-runtime-scope .header-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.afb-booking-runtime-scope .header-buttons,
.afb-booking-runtime-scope .row-buttons {
  display: flex;
  gap: 4px;
}

.afb-booking-runtime-scope .btn-add,
.afb-booking-runtime-scope .btn-edit,
.afb-booking-runtime-scope .btn-delete,
.afb-booking-runtime-scope .btn-close,
.afb-booking-runtime-scope .btn-cancel,
.afb-booking-runtime-scope .btn-save {
  background: none;
  border: 1px solid #ddd;
  border-radius: 3px;
  padding: 4px 8px;
  cursor: pointer;
  font-size: 12px;
}

.afb-booking-runtime-scope .btn-add:hover,
.afb-booking-runtime-scope .btn-edit:hover,
.afb-booking-runtime-scope .btn-save:hover {
  background-color: #e3f2fd;
}

.afb-booking-runtime-scope .btn-delete:hover,
.afb-booking-runtime-scope .btn-close:hover,
.afb-booking-runtime-scope .btn-cancel:hover {
  background-color: #ffebee;
}

.afb-booking-runtime-scope .row-name-cell {
  background-color: #f9f9f9;
  font-weight: bold;
}

.afb-booking-runtime-scope .row-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.afb-booking-runtime-scope .data-cell {
  padding: 0;
}

.afb-booking-runtime-scope .cell-input {
  width: 100%;
  border: none;
  padding: 8px;
  background: transparent;
  text-align: center;
}

.afb-booking-runtime-scope .cell-input:focus {
  outline: 2px solid #2196f3;
  background-color: #fff;
}

.afb-booking-runtime-scope .add-column-header {
  background-color: #f0f0f0;
  text-align: center;
}

.afb-booking-runtime-scope .empty-cell {
  background-color: #f9f9f9;
}

.afb-booking-runtime-scope .dialog-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.afb-booking-runtime-scope .dialog {
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  min-width: 600px;
  max-width: 90vw;
  min-height: 400px;
  max-height: 90vh;
}

.afb-booking-runtime-scope .dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #eee;
}

.afb-booking-runtime-scope .dialog-header h3 {
  margin: 0;
  font-size: 18px;
}

.afb-booking-runtime-scope .dialog-content {
  padding: 20px;
}

.afb-booking-runtime-scope .dialog-input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
}

.afb-booking-runtime-scope .dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 16px 20px;
  border-top: 1px solid #eee;
}
