/*!
 * Theme: Argenox Theme v1.0.0
 * Tag: c61efa1
 * Commit: c61efa1
 * Branch: master
 * Built: 2026-01-11
 */

/**
 * BLE Advertising Packet Configurator Styles
 * 
 * Copyright (c) 2025 Argenox Technologies LLC
 * All rights reserved.
 * 
 * This software is proprietary and confidential. Unauthorized copying,
 * modification, distribution, or use of this software, via any medium is
 * strictly prohibited without the express written permission of Argenox Technologies LLC.
 */
.ble-configurator {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  padding: 0;
  margin-left: calc(-1 * var(--bs-gutter-x, 12px));
  margin-right: calc(-1 * var(--bs-gutter-x, 12px));
  width: calc(100% + 2 * var(--bs-gutter-x, 12px));
}
.ble-configurator * {
  box-sizing: border-box;
}
.ble-configurator .container {
  max-width: 100%;
  margin: 0;
  background: white;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
}
.ble-configurator .header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 30px;
  text-align: center;
}
.ble-configurator .header h1 {
  font-size: 2.5em;
  margin-bottom: 10px;
}
.ble-configurator .header p {
  opacity: 0.9;
  font-size: 1.1em;
}
.ble-configurator .main-content {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 0;
  min-height: 600px;
}
.ble-configurator .packet-builder {
  padding: 30px;
  background: #f8f9fa;
}
.ble-configurator .packet-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
  border-bottom: 2px solid #ddd;
}
.ble-configurator .tab-button {
  padding: 10px 20px;
  border: none;
  background: transparent;
  color: #555;
  font-size: 1em;
  font-weight: 500;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: all 0.2s ease;
}
.ble-configurator .tab-button:hover {
  color: #667eea;
}
.ble-configurator .tab-button.active {
  color: #667eea;
  border-bottom-color: #667eea;
}
.ble-configurator .discovery-mode {
  margin-bottom: 30px;
  padding: 20px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.ble-configurator .discovery-mode h3 {
  margin-bottom: 15px;
  color: #333;
}
.ble-configurator .radio-group {
  display: flex;
  gap: 20px;
}
.ble-configurator .radio-option {
  display: flex;
  align-items: center;
  gap: 8px;
}
.ble-configurator .radio-option input[type=radio] {
  width: 20px;
  height: 20px;
  cursor: pointer;
}
.ble-configurator .radio-option label {
  cursor: pointer;
  font-size: 1em;
  color: #555;
}
.ble-configurator .packet-fields {
  min-height: 400px;
  padding: 20px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.ble-configurator .packet-fields h3 {
  margin-bottom: 20px;
  color: #333;
}
.ble-configurator .drop-zone {
  min-height: 300px;
  border: 3px dashed #ddd;
  border-radius: 8px;
  padding: 20px;
  background: #fafafa;
  transition: all 0.3s ease;
}
.ble-configurator .drop-zone.drag-over {
  border-color: #667eea;
  background: #f0f4ff;
}
.ble-configurator .drop-zone.empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  font-size: 1.1em;
}
.ble-configurator .field-item {
  position: relative;
  background: white;
  border: 2px solid #e0e0e0;
  border-left: 4px solid transparent;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: move;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  --field-color: #667eea;
}
.ble-configurator .field-item:hover {
  border-color: var(--field-color);
  box-shadow: 0 4px 8px var(--field-color);
  transform: translateY(-2px);
}
.ble-configurator .field-item:hover .field-actions .btn-move-packet,
.ble-configurator .field-item:hover .field-actions .btn-remove-x {
  opacity: 1;
}
.ble-configurator .field-item.dragging {
  opacity: 0.5;
}
.ble-configurator .field-info {
  flex: 1;
}
.ble-configurator .field-name {
  font-weight: 600;
  color: #333;
  margin-bottom: 5px;
}
.ble-configurator .field-description {
  font-size: 0.9em;
  color: #666;
}
.ble-configurator .field-value {
  font-size: 0.85em;
  color: #888;
  margin-top: 5px;
  font-family: "Courier New", monospace;
}
.ble-configurator .field-value-editor {
  margin-top: 10px;
}
.ble-configurator .inline-input {
  padding: 6px 10px;
  border: 2px solid #ddd;
  border-radius: 6px;
  font-size: 0.9em;
  font-family: inherit;
  transition: all 0.2s ease;
  background: white;
}
.ble-configurator .inline-input:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}
.ble-configurator .inline-input.inline-input-small {
  width: 120px;
}
.ble-configurator .inline-input.inline-input-medium {
  width: 200px;
}
.ble-configurator .inline-input.inline-input-uuid {
  width: 400px;
  min-width: 400px;
  font-family: "Courier New", monospace;
}
.ble-configurator .inline-input.inline-input-appearance {
  width: 300px;
  min-width: 300px;
}
.ble-configurator .inline-input.inline-input-company {
  width: 280px;
  min-width: 280px;
}
.ble-configurator .inline-input.inline-input-data {
  width: 350px;
  min-width: 350px;
}
.ble-configurator select.inline-input {
  cursor: pointer;
}
.ble-configurator .data-byte-count {
  font-size: 0.85em;
  color: #666;
  margin-left: 8px;
  white-space: nowrap;
}
.ble-configurator .inline-field-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.ble-configurator .inline-field-group label {
  font-size: 0.85em;
  color: #555;
  font-weight: 500;
  margin: 0;
}
.ble-configurator .manufacturer-data-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ble-configurator .manufacturer-data-group .inline-field-group {
  margin: 0;
}
.ble-configurator .manufacturer-data-group .inline-field-group label {
  min-width: 80px;
  text-align: right;
}
.ble-configurator .beacon-field-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ble-configurator .beacon-field-group .inline-field-group {
  margin: 0;
}
.ble-configurator .beacon-field-group .inline-field-group label {
  min-width: 100px;
  text-align: right;
}
.ble-configurator .uuid-list-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ble-configurator .uuid-item {
  display: flex;
  align-items: center;
  gap: 8px;
}
.ble-configurator .inline-input-uuid-small {
  width: 80px;
  min-width: 80px;
  font-family: "Courier New", monospace;
  text-transform: uppercase;
}
.ble-configurator .btn-add-uuid {
  width: 28px;
  height: 28px;
  padding: 0;
  border: 2px solid #667eea;
  border-radius: 6px;
  background: white;
  color: #667eea;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  align-self: flex-start;
}
.ble-configurator .btn-add-uuid svg {
  width: 14px;
  height: 14px;
}
.ble-configurator .btn-add-uuid:hover {
  background: #667eea;
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(102, 126, 234, 0.3);
}
.ble-configurator .btn-add-uuid:active {
  transform: translateY(0);
}
.ble-configurator .btn-remove-uuid {
  width: 22px;
  height: 22px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 71, 87, 0.1);
  color: #ff4757;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.ble-configurator .btn-remove-uuid:hover {
  background: #ff4757;
  color: white;
  transform: scale(1.1);
}
.ble-configurator .btn-remove-uuid:active {
  transform: scale(0.95);
}
.ble-configurator .inline-label {
  font-size: 0.9em;
  color: #555;
  margin-left: 8px;
}
.ble-configurator .btn-generate-uuid-inline {
  padding: 6px 12px;
  background: #667eea;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 0.85em;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}
.ble-configurator .btn-generate-uuid-inline:hover {
  background: #5568d3;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(102, 126, 234, 0.3);
}
.ble-configurator .btn-generate-uuid-inline:active {
  transform: translateY(0);
}
.ble-configurator .field-actions {
  position: absolute;
  top: 8px;
  right: 8px;
  display: flex;
  gap: 6px;
  z-index: 10;
}
.ble-configurator .btn-move-packet {
  width: 24px;
  height: 24px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(102, 126, 234, 0.1);
  color: #667eea;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  opacity: 0.6;
  flex-shrink: 0;
}
.ble-configurator .btn-move-packet svg {
  width: 14px;
  height: 14px;
}
.ble-configurator .btn-move-packet:hover {
  background: #667eea;
  color: white;
  opacity: 1;
  transform: scale(1.1);
}
.ble-configurator .btn-move-packet:active {
  transform: scale(0.95);
}
.ble-configurator .btn-remove-x {
  width: 24px;
  height: 24px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 71, 87, 0.1);
  color: #ff4757;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  opacity: 0.6;
  flex-shrink: 0;
}
.ble-configurator .btn-remove-x svg {
  width: 14px;
  height: 14px;
}
.ble-configurator .btn-remove-x:hover {
  background: #ff4757;
  color: white;
  opacity: 1;
  transform: scale(1.1);
}
.ble-configurator .btn-remove-x:active {
  transform: scale(0.95);
}
.ble-configurator .field-library {
  background: #2c3e50;
  color: white;
  padding: 30px;
  overflow-y: auto;
  max-height: calc(100vh - 200px);
  scrollbar-width: thin;
  scrollbar-color: #667eea rgba(255, 255, 255, 0.05);
}
.ble-configurator .field-library h3 {
  margin-bottom: 20px;
  font-size: 1.3em;
  color: white;
}
.ble-configurator .field-library::-webkit-scrollbar {
  width: 8px;
}
.ble-configurator .field-library::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
}
.ble-configurator .field-library::-webkit-scrollbar-thumb {
  background: #667eea;
  border-radius: 4px;
  -webkit-transition: background 0.2s ease;
  transition: background 0.2s ease;
}
.ble-configurator .field-library::-webkit-scrollbar-thumb:hover {
  background: #5568d3;
}
.ble-configurator .library-item {
  position: relative;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 12px;
  cursor: -webkit-grab;
  cursor: grab;
  transition: all 0.2s ease;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ble-configurator .library-item:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateX(5px);
}
.ble-configurator .library-item:hover .library-item-add-btn {
  opacity: 1;
  transform: scale(0.8) scale(1);
}
.ble-configurator .library-item:active {
  cursor: -webkit-grabbing;
  cursor: grabbing;
}
.ble-configurator .library-item-content {
  flex: 1;
}
.ble-configurator .library-item-add-btn {
  position: absolute;
  right: 10px;
  top: 10px;
  transform: scale(0.8);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.2);
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.2s ease;
  padding: 0;
  z-index: 10;
}
.ble-configurator .library-item-add-btn svg {
  width: 14px;
  height: 14px;
}
.ble-configurator .library-item-add-btn:hover {
  background: rgba(255, 255, 255, 0.4);
  border-color: white;
  transform: scale(0.88);
}
.ble-configurator .library-item-add-btn:active {
  transform: scale(0.76);
}
.ble-configurator .library-item-name {
  font-weight: 600;
  margin-bottom: 5px;
}
.ble-configurator .library-item-desc {
  font-size: 0.85em;
  opacity: 0.8;
}
.ble-configurator .packet-preview {
  margin-top: 30px;
  padding: 20px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.ble-configurator .packet-preview h3 {
  margin-bottom: 15px;
  color: #333;
}
.ble-configurator .packet-preview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}
.ble-configurator .packet-preview-header h3 {
  margin: 0;
}
.ble-configurator .packet-preview-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ble-configurator .c-array-checkbox {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9em;
  color: #555;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}
.ble-configurator .c-array-checkbox input[type=checkbox] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #667eea;
}
.ble-configurator .c-array-checkbox span {
  font-weight: 500;
}
.ble-configurator .c-array-checkbox:hover {
  color: #333;
}
.ble-configurator .btn-copy-hex {
  width: 32px;
  height: 32px;
  padding: 0;
  border: 2px solid #ddd;
  border-radius: 6px;
  background: white;
  color: #555;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.ble-configurator .btn-copy-hex svg {
  width: 16px;
  height: 16px;
}
.ble-configurator .btn-copy-hex:hover {
  border-color: #667eea;
  background: #667eea;
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(102, 126, 234, 0.3);
}
.ble-configurator .btn-copy-hex:active {
  transform: translateY(0);
}
.ble-configurator .hex-import-section {
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}
.ble-configurator .hex-import-section label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.9em;
  font-weight: 500;
  color: #555;
}
.ble-configurator .hex-input-group {
  display: flex;
  gap: 8px;
  align-items: stretch;
}
.ble-configurator .hex-input {
  flex: 1;
  padding: 8px 12px;
  border: 2px solid #ddd;
  border-radius: 6px;
  font-family: "Courier New", monospace;
  font-size: 0.9em;
  transition: all 0.2s ease;
}
.ble-configurator .hex-input:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}
.ble-configurator .hex-input::-moz-placeholder {
  color: #999;
  font-size: 0.85em;
}
.ble-configurator .hex-input::placeholder {
  color: #999;
  font-size: 0.85em;
}
.ble-configurator .btn-parse-hex {
  padding: 8px 16px;
  background: #667eea;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 0.9em;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}
.ble-configurator .btn-parse-hex:hover {
  background: #5568d3;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(102, 126, 234, 0.3);
}
.ble-configurator .btn-parse-hex:active {
  transform: translateY(0);
}
.ble-configurator .hex-output {
  background: #1e1e1e;
  color: #d4d4d4;
  padding: 15px;
  border-radius: 8px;
  font-family: "Courier New", monospace;
  font-size: 0.9em;
  word-break: break-all;
  line-height: 1.6;
  max-height: 200px;
  overflow-y: auto;
}
.ble-configurator .hex-output .hex-byte {
  transition: font-weight 0.2s ease;
}
.ble-configurator .packet-stats {
  display: flex;
  justify-content: space-between;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #eee;
  font-size: 0.9em;
  color: #666;
}
.ble-configurator .modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}
.ble-configurator .modal.active {
  display: flex;
}
.ble-configurator .modal-content {
  background: white;
  padding: 30px;
  border-radius: 12px;
  max-width: 500px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
}
.ble-configurator .modal-content h3 {
  margin-bottom: 20px;
  color: #333;
}
.ble-configurator .form-group {
  margin-bottom: 20px;
}
.ble-configurator .form-group label {
  display: block;
  margin-bottom: 8px;
  color: #555;
  font-weight: 500;
}
.ble-configurator .form-group input,
.ble-configurator .form-group textarea {
  width: 100%;
  padding: 10px;
  border: 2px solid #ddd;
  border-radius: 6px;
  font-size: 1em;
  font-family: inherit;
}
.ble-configurator .form-group input:focus,
.ble-configurator .form-group textarea:focus {
  outline: none;
  border-color: #667eea;
}
.ble-configurator .input-with-button {
  display: flex;
  gap: 10px;
  align-items: stretch;
}
.ble-configurator .input-with-button input {
  flex: 1;
}
.ble-configurator .btn-generate-uuid {
  padding: 10px 15px;
  background: #667eea;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 0.9em;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}
.ble-configurator .btn-generate-uuid:hover {
  background: #5568d3;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(102, 126, 234, 0.3);
}
.ble-configurator .btn-generate-uuid:active {
  transform: translateY(0);
}
.ble-configurator .modal-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 20px;
}
.ble-configurator .btn {
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1em;
  transition: all 0.2s ease;
}
.ble-configurator .btn.btn-primary {
  background: #667eea;
  color: white;
}
.ble-configurator .btn.btn-primary:hover {
  background: #5568d3;
}
.ble-configurator .btn.btn-secondary {
  background: #95a5a6;
  color: white;
}
.ble-configurator .btn.btn-secondary:hover {
  background: #7f8c8d;
}
.ble-configurator .tool-version {
  margin-top: 30px;
  text-align: center;
  font-size: 0.85em;
  color: #999;
}
.ble-configurator .tool-version strong {
  font-weight: 600;
}
@media (max-width: 1024px) {
  .ble-configurator .main-content {
    grid-template-columns: 1fr;
  }
  .ble-configurator .field-library {
    max-height: 400px;
  }
}

/*# sourceMappingURL=ble-advertising-configurator.css.map */