#gotoshop-form.gotoshop-wrapper {
  margin: 20px 0;
  padding: 16px;
  border-radius: 10px;
  background: #f7f9fc;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
  font-size: 14px;
}
#gotoshop-form .gotoshop-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-end;
  margin-bottom: 10px;
}
#gotoshop-form .gotoshop-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-weight: 600;
}
#gotoshop-form select,
#gotoshop-form input[type="date"],
#gotoshop-form input[type="text"] {
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid #cfd7e3;
  min-width: 160px;
  font-size: 14px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15,23,42,0.03) inset;
}
#gotoshop-form select:focus,
#gotoshop-form input[type="date"]:focus,
#gotoshop-form input[type="text"]:focus {
  outline: none;
  border-color: #ff6714;
  box-shadow: 0 0 0 1px rgba(37,99,235,0.2);
}
#gotoshop-form .gotoshop-btn {
  padding: 8px 18px;
  border-radius: 6px;
  border: none;
  background: #ff6714;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(37,99,235,0.25);
  transition: background 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease;
}
#gotoshop-form .gotoshop-btn:hover {
  background: #ff6714;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(37,99,235,0.3);
}
#gotoshop-form .gotoshop-btn:active {
  transform: translateY(0);
  box-shadow: 0 3px 8px rgba(37,99,235,0.25);
}

/* Кнопка для Make */
#gotoshop-form .gotoshop-btn-secondary {
  padding: 8px 18px;
  border-radius: 6px;
  border: 1px solid #ff6714;
  background: #ffffff;
  color: #ff6714;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(15,23,42,0.08);
  transition: background 0.15s ease, color 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease;
}
#gotoshop-form .gotoshop-btn-secondary:hover:not(:disabled) {
  background: #fff3eb;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(15,23,42,0.15);
}
#gotoshop-form .gotoshop-btn-secondary:disabled {
  opacity: 0.6;
  cursor: default;
  box-shadow: none;
}

#gotoshop-form .gotoshop-results {
  margin-top: 12px;
}
#gotoshop-filter-block {
  margin: 10px 0 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
#gotoshop-filter-block label {
  font-weight: 600;
}
#gotoshop-filter-block input {
  max-width: 280px;
}

.gotoshop-actions {
  margin: 6px 0 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}
.gotoshop-selected-counter {
  font-size: 13px;
  color: #4b5563;
}

.gotoshop-table-wrapper {
  margin-top: 4px;
  overflow-x: auto;
}
table.gotoshop-table {
  border-collapse: collapse;
  width: 100%;
  min-width: 640px;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
}
table.gotoshop-table th,
table.gotoshop-table td {
  padding: 8px 10px;
  border: 1px solid #e2e8f0;
  font-size: 14px;
  text-align: left;
}
table.gotoshop-table thead th {
  background: #e5edf9;
  font-weight: 600;
  white-space: nowrap;
  position: sticky;
  top: 0;
  z-index: 1;
}
table.gotoshop-table tbody tr:nth-child(even) {
  background: #f9fafb;
}
table.gotoshop-table tbody tr:hover {
  background: #eef4ff;
}
table.gotoshop-table th.sortable {
  cursor: pointer;
  user-select: none;
}
table.gotoshop-table th.sortable .sort-indicator {
  font-size: 11px;
  margin-left: 4px;
  opacity: 0.7;
}

.gotoshop-col-select {
  width: 42px;
  text-align: center;
}
table.gotoshop-table input[type="checkbox"] {
  width: 16px;
  height: 16px;
  cursor: pointer;
}

/* Блок для відповіді від Make */
.gotoshop-webhook-response {
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #bbf7d0;
  background: #ecfdf5;
  font-size: 13px;
  color: #166534;
  white-space: pre-wrap;
}

@media (max-width:600px) {
  #gotoshop-form .gotoshop-controls {
    flex-direction: column;
    align-items: stretch;
  }
  #gotoshop-form .gotoshop-btn {
    width: 100%;
  }
  #gotoshop-form .gotoshop-actions {
    flex-direction: column;
    align-items: flex-start;
  }
  #gotoshop-form .gotoshop-btn-secondary {
    width: 100%;
  }
}
