.categories-main .container {
  width: 100%;
  max-width: 1200px;
  margin: 0 0 2rem;
  padding: 0 0 2rem;
}

.gpanel {
  background: #ffffff;
  border-radius: 16px;
  padding: 1.5rem 1.75rem;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
  margin-bottom: 2rem;
}

.gp-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.gp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.gp-inline {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.gp-inline .unit {
  font-size: 0.9rem;
  color: #4b5563;
}

.gp-time {
  display: flex;
  gap: 1rem;
}

.gp-time label {
  display: flex;
  flex-direction: column;
}

.gp-submit {
  align-self: flex-start;
  padding: 0.55rem 1.4rem;
  border-radius: 999px;
  border: none;
  background: linear-gradient(90deg, #2563eb, #06b6d4);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.gp-submit:hover {
  filter: brightness(1.05);
}

.gp-status {
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

.gp-status.error {
  color: #b91c1c;
}

.gp-results {
  margin-bottom: 2rem;
}

.gp-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.gp-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 1rem 1.25rem;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}

.note-blue {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  background: #eff6ff;
  color: #1e40af;
  font-size: 0.9rem;
}

.gp-explain {
  background: #ffffff;
  border-radius: 16px;
  padding: 1.5rem 1.75rem;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
  margin-bottom: 2.5rem;
}

.gp-explain .note {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #4b5563;
}

@media (max-width: 640px) {
  .gp-time {
    flex-direction: column;
  }
}
