/**
 * URL Cleanup Settings Styles
 * Sidebar shell content styles
 */

/* Settings Container */
.prorank-url-cleanup-settings {
  padding: 20px 0;
}

/* Settings Tabs */
.prorank-url-cleanup-settings .prorank-settings-tabs {
  margin-bottom: 20px;
}

.prorank-url-cleanup-settings .components-tab-panel__tabs {
  border-bottom: 1px solid var(--pr-gray-200, #e4e4e7);
  margin-bottom: 20px;
}

.prorank-url-cleanup-settings .components-tab-panel__tabs-item {
  padding: 12px 20px;
  font-weight: 500;
  color: var(--pr-gray-600, #52525b);
  border-bottom: 2px solid transparent;
  transition: var(--pr-transition-fast, all 0.15s ease);
}

.prorank-url-cleanup-settings .components-tab-panel__tabs-item.is-active {
  color: var(--pr-primary, #2563eb);
  border-bottom-color: var(--pr-primary, #2563eb);
}

/* Settings Content */
.prorank-settings-content > * + * {
  margin-top: 20px;
}

/* Cards */
.prorank-url-cleanup-settings .components-card {
  border: 1px solid var(--pr-gray-200, #e4e4e7);
  border-radius: 8px;
  box-shadow: none;
}

.prorank-url-cleanup-settings .components-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 12px;
  color: var(--pr-gray-900, #18181b);
}

/* Toggle Controls */
.prorank-url-cleanup-settings .components-toggle-control {
  margin-bottom: 0;
}

.prorank-url-cleanup-settings .components-toggle-control__label {
  font-weight: 500;
}

.prorank-url-cleanup-settings .components-base-control__help {
  margin-top: 8px;
  font-size: 13px;
  color: var(--pr-gray-600, #52525b);
}

/* Radio Controls */
.prorank-url-cleanup-settings .components-radio-control__option {
  margin-bottom: 12px;
}

.prorank-url-cleanup-settings .components-radio-control__option:last-child {
  margin-bottom: 0;
}

/* Notices */
.prorank-url-cleanup-settings .components-notice {
  margin-bottom: 20px;
  border-radius: 8px;
}

.prorank-url-cleanup-settings .components-notice.is-warning {
  background: rgb(245 158 11 / 5%);
  border: 1px solid rgb(245 158 11 / 20%);
}

.prorank-url-cleanup-settings .components-notice ul {
  margin: 8px 0 0 20px;
  padding: 0;
}

.prorank-url-cleanup-settings .components-notice li {
  font-size: 13px;
  margin-bottom: 4px;
}

/* Onboarding Hint */
.prorank-onboarding-hint {
  padding: 16px;
  background: var(--pr-gray-50, #fafafa);
  border: 1px solid var(--pr-gray-200, #e4e4e7);
  border-radius: 8px;
  margin-top: 24px;
}

.prorank-onboarding-hint p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--pr-gray-700, #3f3f46);
}

/* Settings Footer */
.prorank-settings-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-top: 1px solid var(--pr-gray-200, #e4e4e7);
  margin: 20px -20px 0;
  background: var(--pr-gray-50, #fafafa);
}

.prorank-unsaved-notice {
  font-size: 13px;
  color: var(--pr-accent-orange, #f59e0b);
  font-style: italic;
}

/* Help Tab */
.prorank-settings-help .components-card {
  margin-bottom: 20px;
}

.prorank-settings-help h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 16px;
  color: var(--pr-gray-900, #18181b);
}

.prorank-settings-help h4 {
  font-size: 16px;
  font-weight: 600;
  margin: 24px 0 12px;
  color: var(--pr-gray-800, #27272a);
}

.prorank-settings-help ul {
  margin: 12px 0 16px 20px;
  padding: 0;
}

.prorank-settings-help li {
  margin-bottom: 8px;
  color: var(--pr-gray-700, #3f3f46);
}

.prorank-settings-help p {
  margin-bottom: 16px;
  line-height: 1.6;
  color: var(--pr-gray-700, #3f3f46);
}

.prorank-help-links {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--pr-gray-200, #e4e4e7);
}

/* Loading State */
.prorank-settings-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  color: var(--pr-gray-600, #52525b);
}

/* Responsive */
@media (width <= 600px) {
  .prorank-url-cleanup-settings {
    padding: 16px 0;
  }

  .prorank-settings-footer {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
  }

  .prorank-settings-footer .components-button {
    width: 100%;
    justify-content: center;
  }
}
