/**
 * DearDocs Admin Styles
 */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.is-active {
  display: block;
}

.is-current {
  color: #395DFC;
  font-weight: 500;
}

.is-hidden {
  display: none;
}

.has-children {
  position: relative;
}

.is-empty {
  color: #666;
  font-style: italic;
  margin: 0;
}

.is-loading {
  opacity: 0.7;
  pointer-events: none;
}

.progress-text {
  display: block;
  margin-top: 0.25rem;
  text-align: center;
  color: #666;
}

.deardocs-settings-help {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.9rem;
  color: #666;
}

.deardocs-settings-warning {
  color: #dc2626;
  background-color: #fee2e2;
  padding: 1rem;
  border-radius: 4px;
  border-left: 4px solid #dc2626;
}

.depth-1 {
  padding-left: 1rem;
}

.depth-2 {
  padding-left: 2rem;
}

.mb-0 {
  margin-bottom: 0;
}

.mt-0 {
  margin-top: 0;
}

.ml-0 {
  margin-left: 0;
}

.mr-0 {
  margin-right: 0;
}

.p-0 {
  padding: 0 !important;
}

.text-center {
  text-align: center;
}

.text-light {
  color: #666;
}

.border-0 {
  border: 0 !important;
}

@media (max-width: 768px) {
  .hide-mobile {
    display: none !important;
  }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .hide-tablet {
    display: none !important;
  }
}
@media (min-width: 1025px) {
  .hide-desktop {
    display: none !important;
  }
}
.fade-enter {
  opacity: 0;
}

.fade-enter-active {
  opacity: 1;
  transition: opacity 0.3s ease;
}

.fade-exit {
  opacity: 1;
}

.fade-exit-active {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.deardocs-doc-placeholder,
.deardocs-doc-card-placeholder {
  border: 2px dashed #e2e8f0;
  background-color: #f8f9fa;
  border-radius: 4px;
  margin: 0.5rem 0;
  height: 40px;
}

.deardocs-nav-item-icon {
  margin-right: 0.5rem;
  vertical-align: middle;
  color: currentColor;
}

.deardocs-status-success {
  color: #059669;
}
.deardocs-status-error {
  color: #dc2626;
}
.deardocs-status-warning {
  color: #d97706;
}
.deardocs-status-info {
  color: #395DFC;
}

.deardocs-admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  padding: 16px 24px;
  margin: 0 0 20px 0;
  border-bottom: 1px solid #dcdcde;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
.deardocs-admin-header .header-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #395DFC;
}
.deardocs-admin-header .header-logo svg {
  width: 28px;
  height: 28px;
}
.deardocs-admin-header .header-logo .logo-text {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1d2327;
  letter-spacing: -0.02em;
}
.deardocs-admin-header .header-links {
  display: flex;
  gap: 12px;
  align-items: center;
}
.deardocs-admin-header .header-links .plugin-version {
  font-size: 0.85rem;
  color: #646970;
  padding: 4px 10px;
  border-radius: 6px;
  font-weight: 500;
}
.deardocs-admin-header .header-links .separator {
  width: 1px;
  height: 24px;
  background: #dcdcde;
  margin: 0 4px;
}
.deardocs-admin-header .header-links .button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 16px;
  font-weight: 500;
}
.deardocs-admin-header .header-links .button .dashicons {
  font-size: 16px;
  width: 16px;
  height: 16px;
  line-height: 1;
}
.deardocs-admin-header .header-links .button.secondary {
  background: #f6f7f7;
  border-color: #dcdcde;
  color: #3c434a;
}
.deardocs-admin-header .header-links .button.secondary:hover {
  background: #f0f0f1;
  border-color: #c3c4c7;
  color: #2271b1;
}

.deardocs-manager {
  margin: 0px 0px 20px -20px;
}
.deardocs-manager .deardocs-container {
  padding: 0 2rem;
}

.deardocs-header-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.deardocs-header-actions .page-title-action {
  margin-left: 0;
  padding: 6px 14px;
  height: auto;
  line-height: 1.4;
}

.deardocs-root-docs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.deardocs-doc-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 24px -10px rgba(0, 0, 0, 0.12);
}
.deardocs-doc-card-header {
  padding: 15px;
  background: linear-gradient(145deg, #f8fcff, transparent);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.deardocs-doc-card-header h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}
.deardocs-doc-card-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}
.deardocs-doc-card-footer .deardocs-add-doc-btn {
  background-color: #2271b1;
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
}
.deardocs-doc-card-footer .deardocs-add-doc-btn:hover {
  background-color: #1a538a;
  color: #fff;
}
.deardocs-doc-card-footer .deardocs-add-doc-btn svg {
  width: 20px;
  height: 20px;
}
.deardocs-doc-card-placeholder {
  min-height: 250px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.deardocs-doc-actions {
  display: flex;
  gap: 4px;
}
.deardocs-doc-actions .button {
  background-color: transparent;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  min-width: 0;
  height: auto;
  box-shadow: none;
}
.deardocs-doc-actions .button:hover {
  color: #2271b1;
}

.deardocs-doc-children {
  min-height: 50px;
  padding: 10px;
  flex: 1;
}
.deardocs-doc-children .deardocs-doc-children {
  margin-left: 2rem;
  padding-left: 1rem;
  border-left: 1px solid #e2e8f0;
}

.deardocs-doc-item {
  background-color: #fff;
  display: flex;
  align-items: center;
  padding: 6px 12px;
  border: 1px solid #ffffff;
  border-radius: 6px;
  margin-bottom: 8px;
  cursor: move;
  position: relative;
  transition: margin 0.15s ease-in-out, border-color 0.15s ease-in-out;
}
.deardocs-doc-item:hover {
  border-color: #395DFC;
  background-color: rgba(57, 93, 252, 0.06);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
.deardocs-doc-item:hover .dashicons svg {
  color: #395DFC;
}
.deardocs-doc-item:hover .doc-actions {
  opacity: 1;
}
.deardocs-doc-item.is-draft {
  opacity: 0.7;
  background: #f8f9fa;
}
.deardocs-doc-item .dashicons {
  margin-right: 12px;
  color: #94a3b8;
  display: flex;
  align-items: center;
}
.deardocs-doc-item .dashicons svg {
  width: 18px;
  height: 18px;
}
.deardocs-doc-item .doc-title {
  flex-grow: 1;
  font-size: 0.9rem;
  color: #1d2327;
}
.deardocs-doc-item .doc-actions {
  display: flex;
  gap: 8px;
  opacity: 0;
  transition: opacity 0.2s;
}
.deardocs-doc-item .doc-actions .button-link {
  padding: 0;
  color: #646970;
  text-decoration: none;
  display: flex;
  align-items: center;
}
.deardocs-doc-item .doc-actions .button-link:hover {
  color: #2271b1;
}
.deardocs-doc-item .doc-actions .button-link.delete-doc:hover {
  color: #d63638;
}
.deardocs-doc-item .doc-actions .button-link svg {
  width: 16px;
  height: 16px;
}

.deardocs-doc-placeholder {
  border: 1px dashed #cbd5e1;
  background: #f8fafc;
  height: 36px;
  margin-bottom: 5px;
}

.is-dragging {
  background: #f8f9fa;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  opacity: 0.9;
}

.ui-sortable-helper {
  backdrop-filter: blur(5px);
  border-color: #2271b1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.deardocs-settings {
  margin: 20px 0;
}

.deardocs-settings-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  margin-top: 2rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  background: #fff;
  border: 1px solid #c3c4c7;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.deardocs-settings-content {
  grid-column: 4/13;
  padding: 2.5rem;
  min-height: 500px;
}

.deardocs-settings-nav {
  grid-column: 1/4;
  display: flex;
  flex-direction: column;
  background: #f8fcff;
  border-right: 1px solid #e2e8f0;
  padding: 1.5rem 0;
}
.deardocs-settings-nav-header {
  padding: 0 1.5rem 1.5rem;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 1rem;
}
.deardocs-settings-nav-header h1 {
  font-size: 1.25rem;
  margin: 0;
  color: #1d2327;
  font-weight: 600;
}
.deardocs-settings-nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.5rem;
  color: #50575e;
  text-decoration: none;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
}
.deardocs-settings-nav-item:hover {
  background: rgba(34, 113, 177, 0.05);
  color: #2271b1;
}
.deardocs-settings-nav-item.is-active {
  background: #fff;
  color: #2271b1;
  border-left-color: #2271b1;
  font-weight: 500;
}
.deardocs-settings-nav-item.is-active svg {
  color: #2271b1;
}
.deardocs-settings-nav-item svg {
  width: 20px;
  height: 20px;
  color: #646970;
  transition: color 0.2s ease;
}

.deardocs-settings-section-content h2 {
  margin-top: 0;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #f0f0f1;
  font-size: 1.5rem;
  color: #1d2327;
}

.deardocs-section-body {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
}

.deardocs-section-fields {
  flex: 1;
  min-width: 0;
}

.deardocs-section-preview {
  width: 320px;
  flex-shrink: 0;
  position: sticky;
  top: 32px;
}

.deardocs-preview-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #646970;
  margin-bottom: 1rem;
  font-weight: 600;
  text-align: center;
}

/* Help Assistant Preview */
.deardocs-help-assistant-preview {
  perspective: 1000px;
}
.deardocs-help-assistant-preview[data-position=bottom-right] .deardocs-help-assistant {
  align-items: flex-end;
}
.deardocs-help-assistant-preview[data-position=bottom-left] .deardocs-help-assistant {
  align-items: flex-start;
}

.preview-window {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}
.preview-window .preview-header {
  background: #f8fafc;
  padding: 10px;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  gap: 6px;
}
.preview-window .preview-header .preview-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cbd5e1;
}
.preview-window .preview-header .preview-dot.red {
  background: #ff5f56;
}
.preview-window .preview-header .preview-dot.yellow {
  background: #ffbd2e;
}
.preview-window .preview-header .preview-dot.green {
  background: #27c93f;
}
.preview-window .preview-content {
  padding: 1.5rem;
  background: #f1f5f9;
  min-height: 350px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  transition: all 0.3s ease;
}

.deardocs-help-assistant {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.deardocs-help-assistant .deardocs-ha-launcher {
  width: 48px;
  height: 48px;
  background: #2271b1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 12px rgba(34, 113, 177, 0.3);
  margin-top: 1rem;
  border: none;
}
.deardocs-help-assistant .deardocs-ha-launcher svg {
  width: 24px;
  height: 24px;
}
.deardocs-help-assistant .deardocs-ha-modal {
  width: 240px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  animation: widgetAppear 0.5s ease-out;
}
.deardocs-help-assistant .deardocs-ha-modal .deardocs-ha-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  color: #000000;
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid #f1f1f1;
}
.deardocs-help-assistant .deardocs-ha-modal .deardocs-ha-header .deardocs-ha-title {
  font-weight: 600;
  font-size: 0.9rem;
  margin: 0;
  padding: 0;
  border-bottom: 0;
}
.deardocs-help-assistant .deardocs-ha-modal .deardocs-ha-header .deardocs-ha-close {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  cursor: pointer;
  background: transparent;
  border: none;
}
.deardocs-help-assistant .deardocs-ha-modal .deardocs-ha-search-wrapper {
  padding: 1rem;
  background: #fff;
}
.deardocs-help-assistant .deardocs-ha-modal .deardocs-ha-search-wrapper .deardocs-ha-search-input-container {
  background: #f1f5f9;
  height: 32px;
  border-radius: 6px;
  position: relative;
}
.deardocs-help-assistant .deardocs-ha-modal .deardocs-ha-search-wrapper .deardocs-ha-search-input-container svg {
  width: 16px;
  margin: 4px 8px;
}
.deardocs-help-assistant .deardocs-ha-modal .deardocs-ha-content {
  padding: 0 1rem 1rem 1rem;
}
.deardocs-help-assistant .deardocs-ha-modal .deardocs-ha-content .deardocs-ha-results-container {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.deardocs-help-assistant .deardocs-ha-modal .deardocs-ha-content .deardocs-ha-results-container .deardocs-ha-loading-shim-item,
.deardocs-help-assistant .deardocs-ha-modal .deardocs-ha-content .deardocs-ha-results-container .list-item {
  height: 8px;
  background: #f1f5f9;
  border-radius: 4px;
  width: 100%;
}
.deardocs-help-assistant .deardocs-ha-modal .deardocs-ha-content .deardocs-ha-results-container .deardocs-ha-loading-shim-item:nth-child(2),
.deardocs-help-assistant .deardocs-ha-modal .deardocs-ha-content .deardocs-ha-results-container .list-item:nth-child(2) {
  width: 85%;
}
.deardocs-help-assistant .deardocs-ha-modal .deardocs-ha-content .deardocs-ha-results-container .deardocs-ha-loading-shim-item:nth-child(3),
.deardocs-help-assistant .deardocs-ha-modal .deardocs-ha-content .deardocs-ha-results-container .list-item:nth-child(3) {
  width: 70%;
}
.deardocs-help-assistant .deardocs-ha-modal .deardocs-ha-footer {
  padding: 0.75rem;
  text-align: center;
  border-top: 1px solid #f1f1f1;
  font-size: 0.7rem;
  color: #646970;
}
.deardocs-help-assistant .deardocs-ha-modal .deardocs-ha-footer p {
  margin: 0;
}

.deardocs-settings-footer {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #f0f0f1;
}

.deardocs-settings-field {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 1.5rem 0;
  border-bottom: 1px solid #f0f0f1;
  gap: 1rem;
}
.deardocs-settings-field:last-child {
  border-bottom: none;
}
@media (max-width: 782px) {
  .deardocs-settings-field {
    flex-direction: column;
    gap: 0.5rem;
    align-items: stretch;
  }
}
.deardocs-settings-field .deardocs-field-info .deardocs-field-label {
  display: block;
  font-weight: 600;
  color: #1d2327;
  margin-bottom: 0.25rem;
}
.deardocs-settings-field .deardocs-field-info .deardocs-field-help {
  display: block;
  color: #646970;
  font-size: 0.85em;
  line-height: 1.4;
}
.deardocs-settings-field .deardocs-field-control {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.deardocs-settings-field .deardocs-field-control input[type=text],
.deardocs-settings-field .deardocs-field-control input[type=number],
.deardocs-settings-field .deardocs-field-control input[type=email],
.deardocs-settings-field .deardocs-field-control input[type=url],
.deardocs-settings-field .deardocs-field-control input[type=password],
.deardocs-settings-field .deardocs-field-control select,
.deardocs-settings-field .deardocs-field-control textarea {
  width: 100%;
  max-width: 400px;
}
.deardocs-settings-field .deardocs-field-control select {
  min-width: 200px;
}
.deardocs-settings-field .deardocs-field-control .deardocs-unit {
  margin-left: 0.5rem;
  color: #646970;
}
.deardocs-settings-field.deardocs-settings-field-toggle .deardocs-field-control {
  justify-content: flex-end;
}

/* Toggle Switch */
.deardocs-switch-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.deardocs-toggle {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  position: relative;
}
.deardocs-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}
.deardocs-toggle input:checked + .deardocs-toggle-slider {
  background: #2271b1;
}
.deardocs-toggle input:checked + .deardocs-toggle-slider:before {
  transform: translateX(16px);
}

.deardocs-toggle-slider {
  position: relative;
  display: inline-block;
  width: 36px;
  height: 20px;
  background: #cbd5e1;
  border-radius: 20px;
  transition: 0.3s;
}
.deardocs-toggle-slider:before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  left: 2px;
  bottom: 2px;
  background: white;
  transition: 0.3s;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.2);
}

.deardocs-switch-text {
  font-weight: 500;
  color: #1d2327;
  font-size: 0.9rem;
}

.deardocs-media-field {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.deardocs-media-preview {
  width: 100px;
  height: 100px;
  background: #f0f0f1;
  border: 1px solid #c3c4c7;
  border-radius: 4px;
  overflow: hidden;
}
.deardocs-media-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Toast Container */
.deardocs-toast-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999999;
}

/* Individual Toast */
.deardocs-toast {
  display: flex;
  align-items: center;
  min-width: 250px;
  margin-top: 10px;
  padding: 12px 16px;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: translateX(120%);
  transition: transform 0.3s ease-in-out;
  background: #fff;
  border-left: 4px solid;
  /* Toast Types */
}
.deardocs-toast.is-visible {
  transform: translateX(0);
}
.deardocs-toast.success {
  border-left-color: #46b450;
}
.deardocs-toast.success .deardocs-toast-icon {
  color: #46b450;
}
.deardocs-toast.error {
  border-left-color: #dc3232;
}
.deardocs-toast.error .deardocs-toast-icon {
  color: #dc3232;
}
.deardocs-toast.info {
  border-left-color: #00a0d2;
}
.deardocs-toast.info .deardocs-toast-icon {
  color: #00a0d2;
}
.deardocs-toast .deardocs-toast-icon {
  margin-right: 12px;
  width: 20px;
  height: 20px;
}
.deardocs-toast .deardocs-toast-message {
  flex-grow: 1;
  font-size: 14px;
  line-height: 1.4;
  color: #1d2327;
}
.deardocs-toast .deardocs-toast-close {
  padding: 0;
  margin-left: 12px;
  background: none;
  border: none;
  cursor: pointer;
  color: #72777c;
  line-height: 1;
}
.deardocs-toast .deardocs-toast-close:hover {
  color: #23282d;
}

.deardocs-empty-state {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  background: #f8f9fa;
  border: 1px dashed #dcdcde;
  border-radius: 4px;
  margin-top: 20px;
  text-align: center;
  padding: 40px 20px;
}
.deardocs-empty-state-content {
  max-width: 480px;
  margin: 0 auto;
}
.deardocs-empty-state svg {
  color: #c3c4c7;
  margin-bottom: 20px;
  opacity: 0.8;
}
.deardocs-empty-state h3 {
  font-size: 20px;
  color: #1d2327;
  margin: 0 0 10px;
  font-weight: 500;
}
.deardocs-empty-state p {
  color: #646970;
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.5;
}
.deardocs-empty-state-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.deardocs-empty-state .button {
  padding: 0 20px;
  height: 36px;
  line-height: 34px;
}
.deardocs-empty-state .button-primary {
  background: #2271b1;
  border-color: #2271b1;
  color: #fff;
}
.deardocs-empty-state .button-primary:hover {
  background: #135e96;
  border-color: #135e96;
}
.deardocs-empty-state .deardocs-or-divider {
  color: #9e9e9e;
  font-size: 14px;
}

/* FAQs */
.deardocs-faq-item {
  margin-bottom: 20px;
  border: 1px solid #ccd0d4;
  background: #fff;
  border-radius: 4px;
}
.deardocs-faq-item .postbox-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px;
  border-bottom: 1px solid #f0f0f1;
  background: #f8f9fa;
  cursor: move;
}
.deardocs-faq-item .postbox-header .hndle {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: #1d2327;
}
.deardocs-faq-item .postbox-header .handle-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}
.deardocs-faq-item .postbox-header .handle-actions button {
  padding: 4px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: #646970;
}
.deardocs-faq-item .postbox-header .handle-actions button:hover {
  color: #2271b1;
}
.deardocs-faq-item .postbox-header .handle-actions button.text-error:hover {
  color: #d63638;
}
.deardocs-faq-item .inside {
  padding: 15px;
}
.deardocs-faq-item .inside .form-table {
  margin-top: 0;
}
.deardocs-faq-item .inside .form-table th {
  width: 150px;
  padding-left: 0;
}

.text-error {
  color: #d63638;
}
.text-error:hover {
  color: #b32d2e;
  text-decoration: underline;
}

.deardocs-migration-section {
  background: #fff;
  padding: 20px;
  margin-top: 20px;
  border: 1px solid #ccd0d4;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
  border-radius: 4px;
}

.migration-stats {
  margin: 20px 0;
  padding: 15px;
  background: #f8f9fa;
  border-left: 4px solid #2271b1;
}
.migration-stats ul {
  margin: 10px 0;
  list-style-type: none;
  padding-left: 0;
}
.migration-stats ul li {
  margin-bottom: 5px;
  font-size: 14px;
  color: #3c434a;
}

.migration-progress {
  margin-top: 20px;
}
.migration-progress progress {
  width: 100%;
  height: 12px;
  border-radius: 6px;
  background: #f0f0f1;
  border: none;
}
.migration-progress progress::-webkit-progress-bar {
  background-color: #f0f0f1;
  border-radius: 6px;
}
.migration-progress progress::-webkit-progress-value {
  background-color: #2271b1;
  border-radius: 6px;
}
.migration-progress progress::-moz-progress-bar {
  background-color: #2271b1;
  border-radius: 6px;
}

.progress-text {
  display: block;
  margin-top: 10px;
  text-align: center;
  font-weight: 500;
  color: #1d2327;
}