/**
 * Component Property Dialog Styles
 */

.component-property-dialog {
  position: absolute;
  background-color: #2d2d2d;
  border: 1px solid #555;
  border-radius: 8px;
  padding: 12px;
  min-width: 200px;
  max-width: 250px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  z-index: 1001;
  pointer-events: all;
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
}

.component-property-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid #444;
}

.component-property-title {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}

.property-close-button {
  background: transparent;
  border: none;
  color: #aaa;
  cursor: pointer;
  font-size: 20px;
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: background-color 0.2s, color 0.2s;
}

.property-close-button:hover {
  background-color: #444;
  color: #fff;
}

.pin-roles-section {
  margin-bottom: 12px;
}

.pin-roles-label {
  font-size: 12px;
  color: #aaa;
  margin-bottom: 6px;
  font-weight: 500;
}

.pin-role-item {
  font-size: 12px;
  color: #fff;
  padding: 4px 8px;
  margin: 2px 0;
  background-color: #3d3d3d;
  border-radius: 4px;
  display: flex;
  align-items: center;
}

.pin-name {
  color: #00d9ff;
  font-weight: 500;
}

.pin-description {
  color: #aaa;
  font-size: 11px;
  margin-left: 4px;
}

.pin-assignment-section {
  margin-bottom: 12px;
  padding: 6px 8px;
  background-color: #3d3d3d;
  border-radius: 4px;
}

.pin-assignment-label {
  font-size: 11px;
  color: #aaa;
  margin-bottom: 4px;
}

.pin-assignment-value {
  font-size: 13px;
  color: #00d9ff;
  font-weight: 600;
}

.property-actions {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.property-action-button {
  flex: 1;
  padding: 6px 12px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 500;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.rotate-button {
  background-color: #007acc;
  color: white;
}

.rotate-button:hover {
  background-color: #005a9e;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 122, 204, 0.3);
}

.delete-button {
  background-color: #dc3545;
  color: white;
}

.delete-button:hover {
  background-color: #c82333;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3);
}

.property-action-button:active {
  transform: translateY(0);
}
