/* Support Page Styles */
.prorank-support-page-shell {
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.prorank-page-header {
  margin-bottom: 32px;
}

.prorank-page-header h1 {
  font-size: 32px;
  font-weight: 600;
  margin: 0 0 8px;
  color: #1e1e1e;
}

.prorank-page-subtitle {
  font-size: 16px;
  color: #757575;
  margin: 0;
}

.prorank-support-tabs {
  margin-bottom: 24px;
}

.prorank-support-tabs .components-tab-panel__tabs {
  margin-bottom: 24px;
  border-bottom: 1px solid #e0e0e0;
}

.prorank-tab-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Documentation Tab */
.prorank-docs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 16px;
}

.prorank-doc-item {
  padding: 16px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  transition: box-shadow 0.2s;
}

.prorank-doc-item:hover {
  box-shadow: 0 2px 8px rgb(0 0 0 / 10%);
}

.prorank-doc-item h4 {
  margin: 0 0 8px;
  font-size: 16px;
}

.prorank-doc-item p {
  margin: 0 0 12px;
  color: #666;
  font-size: 14px;
}

.prorank-support-options {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

/* License Tab */
.prorank-license-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}

.prorank-license-field {
  display: flex;
  align-items: center;
  gap: 12px;
}

.prorank-license-field strong {
  min-width: 120px;
}

.prorank-license-field code {
  background-color: #f0f0f0;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 13px;
}

.prorank-status-active {
  color: #00a32a;
  font-weight: 500;
}

.prorank-license-actions {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

/* Feedback Tab */
.prorank-feedback-type {
  margin: 20px 0;
}

.prorank-feedback-type label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.prorank-feedback-options {
  display: flex;
  gap: 20px;
}

.prorank-feedback-options label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: normal;
  margin: 0;
}

/* Changelog Tab */
.prorank-changelog-item {
  margin-bottom: 24px;
}

.prorank-changelog-item h4 {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 600;
}

.prorank-changelog-date {
  color: #757575;
  font-size: 14px;
  margin-bottom: 12px;
  display: block;
}

.prorank-changelog-item ul {
  margin: 12px 0 0;
  padding-left: 20px;
}

.prorank-changelog-item li {
  margin-bottom: 6px;
}

/* Advanced Tab */
.prorank-debug-info {
  background-color: #f5f5f5;
  padding: 16px;
  border-radius: 4px;
  margin: 16px 0;
  font-family: monospace;
  font-size: 13px;
  line-height: 1.6;
}

/* Tier Badge */
.prorank-tier-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
}

.prorank-tier-badge--free {
  background-color: #e0e0e0;
  color: #666;
}

.prorank-tier-badge--core,
.prorank-tier-badge--pro {
  background-color: #f0e6ff;
  color: #7b3ff2;
}

.prorank-tier-badge--business {
  background-color: #fff3e0;
  color: #ff6900;
}

.prorank-tier-badge--agency {
  background-color: #ffebe6;
  color: #d63638;
}

/* Cards */
.prorank-tab-content .components-card {
  box-shadow: 0 1px 3px rgb(0 0 0 / 5%);
  border: 1px solid #e0e0e0;
}

.prorank-tab-content .components-card__header {
  border-bottom: 1px solid #e0e0e0;
  padding: 16px 24px;
}

.prorank-tab-content .components-card__body {
  padding: 24px;
}

/* Responsive Design */
@media (width <= 782px) {
  .prorank-support-page-shell {
    padding: 12px;
  }

  .prorank-page-header h1 {
    font-size: 24px;
  }

  .prorank-docs-grid {
    grid-template-columns: 1fr;
  }

  .prorank-support-options {
    flex-direction: column;
  }

  .prorank-feedback-options {
    flex-direction: column;
  }
}
