/* Geometria Ergonomia - Frontend Styles */

/* Ukryj elementy edycyjne na frontendzie */
.arrow-handle,
.control-point-handle,
.control-line,
.line-handle {
  display: none !important;
}

.geometria-ergonomia-display {
  margin: 40px 0;
  padding: 20px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.geometria-ergonomia-display h2 {
  margin: 0 0 20px 0;
  font-size: 24px;
  color: #1d2327;
  font-weight: 600;
}

.geometria-content {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  flex-wrap: wrap;
  gap: 30px;
}

.geometria-table-section,
.geometria-svg-section {
  flex: 1;
  min-width: 300px;
}

.geometria-table-section table {
  width: 100%;
  border-collapse: collapse;
}

.geometria-table-section table td,
.geometria-table-section table th {
  text-align: center;
}

.geometria-table-section table .value-cell {
  position: relative;
}

.geometria-table-section table .value-cell:hover {
  cursor: pointer;
  transition: background-color 0.2s;
}

.geometria-svg-section {
  display: flex;
  align-items: center;
  justify-content: center;
}

.geometria-svg-section svg {
  max-width: 100%;
  height: auto;
  display: block;
}

.geometria-svg-section .arrow-group {
  transition: opacity 0.2s;
}

.geometria-svg-section .arrow-group.active-arrow .arrow-line,
.geometria-svg-section .arrow-group.active-arrow .arc-path {
  transition: stroke-width 0.2s;
}

/* Responsywność */
@media (max-width: 768px) {
  .geometria-content {
    flex-direction: column;
  }

  .geometria-table-section,
  .geometria-svg-section {
    min-width: 100%;
  }

  .geometria-ergonomia-display h2 {
    font-size: 20px;
  }

  .geometria-table-section table {
    font-size: 12px;
  }
}
