
body.toplevel_page_moseo_seo-main,
body[class*="miniorange-seo_page_moseo"] {
  background: #f7f8fa;
}

body.toplevel_page_moseo_seo-main #wpcontent,
body[class*="miniorange-seo_page_moseo"] #wpcontent {
  background: #f7f8fa;
  padding-left: 0;
}

body.toplevel_page_moseo_seo-main #wpbody-content,
body[class*="miniorange-seo_page_moseo"] #wpbody-content {
  background: #f7f8fa;
}

/* Main Page Wrapper */


.moseo_main-page {
  min-height: 100vh;
  background: #f7f8fa;
}

.moseo_breadcrumb_left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.moseo_breadcrumb_logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.moseo_breadcrumb_logo svg {
  width: 34px;
  height: 34px;
  display: block;
}

.moseo_breadcrumb_separator {
  color: #949494;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
}

.moseo_breadcrumb_item {
  color: #949494;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  font-family: "SF Pro Display";
}

.moseo_breadcrumb_right {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.moseo_support_button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 16px;
  background: #000000;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: "SF Pro Display";
}

.moseo_support_button:hover {
  background: #333333;
}

.moseo_support_button:active {
  background: #1a1a1a;
}

.moseo_support_icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  display: block;
}

.moseo_support_text {
  color: #ffffff;
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
}

/* Header */
.moseo_header h1 {
  font-size: 32px;
  color: #111827;
  margin-bottom: 8px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
}

.moseo_header p {
  color: #6b7280;
  font-size: 16px;
  letter-spacing: 0.6px;
  margin: 0 0 32px 0;
  font-weight: 400;
  width: 64%;
}

/* Performance Section */

.moseo_metrics_wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}
.moseo_seo-modal-content h2 {
  font-size: 20px;
  margin: 0;
  letter-spacing: 0.5px;
}
#moseo_progress-bar-wrapper {
  width: 100%;
  background-color: #eee;
  height: 7px;
  border-radius: 53px;
  overflow: hidden;
  margin: 10px 0;
}
/* Performance Section */
.moseo_performance_section {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  width: 50%;
  box-sizing: border-box;
}

.moseo_performance_section_disabled {
  background: #ececec !important;
}
.moseo_seo_section {
  width: 50%;
}
.moseo_performance_header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
}
.moseo-section-wrapper {
  display: flex;
  flex-direction: row;
  gap: 16px;
  width: 198%;
}

.moseo_performance_header_text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.moseo_performance_title {
  font-weight: 510;
  font-size: 20px;
  color: #1e1e1e;
  margin: 0;
}

.moseo_performance_title_disabled,
.moseo_performance_section_disabled .moseo_performance_title {
  color: #757575;
}

.moseo_performance_subtitle {
  font-weight: 400;
  font-size: 14px;
  line-height: 24px;
  color: #949494;
  margin: 0;
  letter-spacing: var(--moseo-letter-spacing);
}

.moseo_content_type_tabs {
  border: 1px solid #cccccc;
  border-radius: 12px;
  padding: 6px 10px;
  display: flex;
  gap: 0;
  background: transparent;
  width: 155px;
  box-sizing: border-box;
  justify-content: space-between;
  align-items: center;
}

.moseo_content_type_tab {
  padding: 6px 12px;
  font-weight: 550;
  font-size: 14px;
  line-height: 16px;
  color: #303030;
  background: transparent;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.moseo_content_type_tab_active {
  background: #f0f0f0;
}

.moseo_performance_divider {
  width: 100%;
  border-bottom: 1px solid #cccccc;
  margin: -1px 0 0 0;
}

.moseo_performance_cards_wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-top: 10px;
}

.moseo_performance_card {
  background: #ffffff;
  border: 1px solid #ccc;
  border-radius: 18px !important;
  padding: 12px 24px;
  text-decoration: none;
  display: block;
  width: 266px;
  box-sizing: border-box;
  transition: all 0.2s ease;
  position: relative;
}

.moseo_performance_card:hover {
  opacity: 0.9;
  background-color: #E6F0FF;
}

.moseo_performance_card_icon {
  position: absolute;
  top: 18px;
  right: 24px;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.moseo_performance_card:hover .moseo_performance_card_icon {
  opacity: 1;
}

.moseo_performance_card_disabled .moseo_performance_card_icon {
  display: none;
}

.moseo_performance_card_content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

.moseo_performance_card_label {
  font-weight: 510;
  font-size: 14px;
  line-height: 24px;
  color: #757575;
  margin: 0;
  white-space: nowrap;
  letter-spacing: var(--moseo-letter-spacing);
}

.moseo_issue_count {
  font-weight: 590;
  font-size: 40px !important;
  line-height: 40px;
  margin: 0;
}

.moseo_performance_card[data-filter="needs_improvement"] .moseo_issue_count {
  color: #ef4444;
}

.moseo_performance_card[data-filter="ok"] .moseo_issue_count {
  color: #e2ac2e;
}

.moseo_performance_card[data-filter="good"] .moseo_issue_count {
  color: #16a34a;
}

.moseo_performance_card[data-filter="not_analyzed"] .moseo_issue_count,
.moseo_issue_count_not_analyzed {
  color: #80B3FF;
}

/* Disabled state for performance cards when scan is not done */
.moseo_performance_card_disabled {
  background: #e0e0e0 !important;
  border-color: #e0e0e0 !important;
  cursor: default;
  pointer-events: none;
}

.moseo_performance_card_disabled:hover {
  opacity: 1;
  background: #e0e0e0 !important;
}

.moseo_performance_card_disabled .moseo_issue_count {
  color: #757575 !important;
  font-size: 25px !important;
}

.moseo_performance_card_disabled .moseo_performance_card_label {
  color: #757575;
}

/* Hide pages count by default - will be shown via JavaScript when selected */
.moseo_count_pages {
  display: none;
}

/* SEO Wrapper */
.moseo_seo_wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 600px;
  width: 100%;
}

.moseo_seo_header {
  border-bottom: 1px dashed #ccc;
}

.moseo_seo_card h2 {
  font-size: 20px;
  font-weight: 510;
  color: #111827;
  margin: 0;
}

.moseo_seo_subtitle {
  color: #6b7280;
  font-size: 13px;
  margin: 4px 0;
}
.moseo_seo_chart_container {
  display: flex;
  justify-content: center;
  gap: 48px;
  align-items: center;
  width: 100%;
}

.moseo_seo_progress_circle {
  position: relative;
  margin: 12px;
  width: 150px;
  height: 150px;
}

.moseo_seo_circle {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  position: relative;
  margin: 0 auto;
}

.moseo_seo_circle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 75px;
  height: 75px;
  background: white;
  border-radius: 50%;
  border: 2px solid #e5e7eb;
}

.moseo_seo_circle_inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 18px;
  font-weight: 600;
  color: #111827;
  z-index: 2;
  text-align: center;
}

/* Broken Links Section */
.moseo_broken_section {
  background: #fff;
  border-radius: 12px;
  padding: 8px 16px;
  border: 1px solid #e0e0e0;
}

/* Disabled state for broken links section when scan is not done */
.moseo_broken_section_disabled {
  background: #ececec !important;
  border-color: #e0e0e0 !important;
}

.moseo_broken {
  display: flex;
  align-items: center;
  gap: 16px;
}

.moseo_brokenlinks_count {
  background-color: #e6f0ff;
  width: 57px;
  height: 57px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  font-weight: 600;
  color: #111827;
}

.moseo_broken_section_disabled .moseo_brokenlinks_count {
  background-color: #ffffff;
  color: #000000;
}

.moseo_broken_line {
  font-size: 20px;
  font-weight: 500;
  color: #2a2a2a;
  margin: 0;
  flex-grow: 1;
  letter-spacing: var(--moseo-letter-spacing);
}

.moseo_broken_section_disabled .moseo_broken_line {
  color: #2a2a2a;
}

.moseo_buttonn {
  display: inline-block;
  padding: 5px 12px;
  color: #0052cc;
  border: 1px solid #0052cc;
  border-radius: 8px;
  text-decoration: none;
}

.moseo_buttonn:hover {
  background: #d8e4ff;
  color: rgb(45, 59, 255);
}

/* Quick Links Section */
.moseo_quick_links_section {
  width: 198%;
  display: flex;
  flex-direction: column;
}

.moseo_quick_links_section_container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 26px;
}

.moseo_section_header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.moseo_section_header h2 {
  font-size: 24px;
  font-weight: 510;
  line-height: 30px;
  color: #1e1e1e;
  margin: 0;
  font-family: "SF Pro Display";
}

.moseo_view_more {
  color: #0052cc;
  font-size: 14px;
  border: none;
  background-color: transparent;
  cursor: pointer;
}

.moseo_view_more:hover {
  background: transparent;
  opacity: 0.8;
}

.moseo_links_grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 22px;
}

.moseo_link_card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px 18px;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 18px;
  width: 28.8%;
  gap: 2rem;
}

.moseo_link_card_wrapper {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 100%;
  align-items: flex-start;
}

.moseo_link_card_top {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  align-items: flex-start;
}

.moseo_link_card_icon {
  display: flex;
  align-items: center;
  padding: 2px 4px;
  box-sizing: border-box;
  overflow: hidden;
  width: auto;
}

.moseo_icon_img {
  width: 29.296px;
  height: 29.296px;
  object-fit: contain;
  display: block;
}

/* Sitemap icon - second card */
.moseo_links_grid > .moseo_link_card:nth-child(2) .moseo_icon_img {
  width: 33.787px;
  height: 32.652px;
}

/* Redirect icon - third card */
.moseo_links_grid > .moseo_link_card:nth-child(3) .moseo_icon_img {
  width: 25.787px;
  height: 25.787px;
}

.moseo_icon {
  color: #757575;
  height: auto;
  flex-shrink: 0;
}

.moseo_link_card_content {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
}

.moseo_link_card h3 {
  font-size: 20px;
  font-weight: 510;
  line-height: 28px;
  color: #1e1e1e;
  margin: 0;
  font-family: "SF Pro Display";
  white-space: pre-wrap;
  letter-spacing: var(--moseo-letter-spacing);
}

.moseo_link_card p {
  color: #757575;
  font-size: 14px;
  font-weight: 400;
  line-height: 24px;
  margin: 0;
  font-family: "SF Pro Display";
  letter-spacing: var(--moseo-letter-spacing);
}

.moseo_check_now_btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 8px;
  text-align: center;
  border: 1px solid #0052cc;
  border-radius: 8px;
  text-decoration: none;
  background: transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  box-sizing: border-box;
  min-height: 24px;
}

.moseo_check_now_text {
  font-size: 14px;
  line-height: 24px;
  color: #3858e9;
  font-family: "SF Pro Display";
  padding: 0 4px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.moseo_check_now_btn:hover {
  background: #f0f4ff;
  text-decoration: none;
}

.moseo_check_now_btn:hover .moseo_check_now_text {
  color: #3858e9;
}

.moseo_visit_btn {
  display: block;
  width: 100%;
  padding: 8px 0;

  text-align: center;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  margin-top: auto;
  color: inherit; /* keep current color */
  text-decoration: none;
  transition: color 0.3s ease;
  background-color: #6366f1;
  color: white;
}
.moseo_visit_btn:hover {
  color: #ffffff; /* white on hover */
}
.moseo_seo_zero_score_svg {
  display: none;
  text-align: center;
}

.moseo_seo_zero_score_svg svg {
  display: block;
  margin: 0 auto;
}

.moseo_seo_zero_score_svg p {
  margin-top: -1px;
  font-size: 12px;
  font-weight: 500;
}

.moseo_extra_cards {
  transition: all 0.2s ease;
}

.moseo_extra_cards[style*="display: contents"] {
  display: contents !important;
}

/* Responsive Design */
@media (max-width: 768px) {
  .moseo_links_grid {
    flex-direction: column;
  }

  .moseo_link_card {
    width: 100%;
    max-width: 352px;
  }
}

/* SEO Pause Card - Figma Design */
.moseo_seo_pause_card {
  background: #f3f8ff;
  border: 1px solid #1a75ff;
  border-radius: 24px;
  padding: 19px 27px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  height: 22.9rem;
  box-sizing: border-box;
}
#scoreRingContainer {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 7rem;
}
.moseo_seo_score_ring_container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 1.5rem;
  gap: 1.5rem;
}
.moseo_seo_pause_header {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.moseo_seo_pause_title {
  font-weight: 510;
  font-size: 20px;
  line-height: 28px;
  color: #757575;
  margin: 0;
  letter-spacing: var(--moseo-letter-spacing);
}

.moseo_seo_pause_subtitle {
  font-weight: 400;
  font-size: 14px;
  line-height: 24px;
  color: #949494;
  margin: 0;
  white-space: nowrap;
  letter-spacing: var(--moseo-letter-spacing);
}

.moseo_seo_pause_divider {
  width: 100%;
  border-bottom: 1px dashed #ccc;
  margin-top: 6px;
}
.moseo_seo_pause_subtitle_container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.moseo_seo_pause_subtitle_container a {
  text-decoration: none;
  color: #0052cc;
  font-size: 14px;
  border: none;
  outline: none;
}

/* SEO Pause Card styles when showing score (after scan) */
.moseo_seo_pause_card:has(#scoreRingContainer) {
  background: #fff;
  border-radius: 12px;
  border-color: #e0e0e0;
}

.moseo_seo_pause_card:has(#scoreRingContainer) .moseo_seo_pause_divider {
  border-bottom: 1px solid #ccc;
}

.moseo_seo_pause_card:has(#scoreRingContainer) .moseo_seo_pause_title {
  color: #1e1e1e;
}

.moseo_seo_pause_content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding-top: 10px;
}

/* Center content when score ring is displayed */
.moseo_seo_pause_card:has(#scoreRingContainer) .moseo_seo_pause_content {
  justify-content: center;
  gap: 16px;
}
div#moseo_seo-scan-modal {
  width: 90%;
  text-align: center;
}

.moseo_seo_pause_icon {
  width: 116px;
  height: 116px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.moseo_seo_pause_icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.moseo_seo_pause_text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  text-align: center;
  width: 100%;
  flex-shrink: 0;
}

.moseo_seo_scan_title {
  font-weight: 600;
  font-size: 20px;
  line-height: 28px;
  color: #000000;
  margin: 0;
  letter-spacing: 1px;
}

.moseo_seo_scan_description {
  font-weight: 400;
  font-size: 14px;
  line-height: 24px;
  color: #2f2f2f;
  margin: 0;
  letter-spacing: 0.5px;
}
#moseo_scan_mode_immediate,
#moseo_scan_mode_background{
  background: #0052cc !important;
  border: 1px solid #0052cc !important;
  border-radius: 8px !important;
  padding: 1px 12px !important;
  color: #ffffff !important;
  cursor: pointer !important;
}
#moseo_scan_mode_immediate:hover,
#moseo_scan_mode_background:hover{
  background: #0246bc !important;
  border: 1px solid #0246bc !important;
}
.moseo_button_scan_now {
  background: #0052cc;
  border: 1px solid #0052cc;
  border-radius: 8px;
  font-size: 14px;
  color: #ffffff;
  cursor: pointer;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  height: 30px;
  width: 5rem;
}
.moseo_link_card_icon svg {
  height: 25px !important;
  width: 25px !important;
}

.moseo_button_scan_now:active {
  background: #003080;
  border-color: #003080;
}

.moseo_button_scan_now.scanning {
  background: #CCCCCC;
  border-color: #CCCCCC;
  color: #1E1E1E;
  cursor: not-allowed;
}

.moseo_button_scan_now.scanning:hover {
  background: #CCCCCC;
  border-color: #CCCCCC;
}

/* SEO Score Footer */
.moseo_seo_score_footer {
  text-align: start;
}

.moseo_seo_score_message {
  font-size: 20px;
  font-weight: 500;
  color: #000000;
  margin: 0;
  text-align: center;
  letter-spacing: var(--moseo-letter-spacing);
}

.moseo_seo_score_submessage {
  font-size: 16px;
  font-weight: 400;
  color: #949494;
  margin: 0;
  text-align: center;
  letter-spacing: var(--moseo-letter-spacing);
}

div#moseo_scan_mode_selector p {
  font-size: 14px;
  letter-spacing: 0.5px;
}
p#moseo_background_progress {
  font-size: 16px;
  font-weight: 500;
  font-family: 'SF Pro Display';
  letter-spacing: 0.5px;
  text-align: center;
  margin: 0;
}
p#moseo_scanning_in_progress {
    margin: 0;
    text-align: center;
    font-size: 20px;
    letter-spacing: 0.5px;
    font-family: 'SF Pro Display';
    font-weight: 600
}
.moseo_scan_mode_buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

/* Scanning Complete Notification */
.moseo_scan_complete_notification {
  position: fixed;
  top: 82px;
  right: 37%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 16px;
  background: #E8F5E9;
  border: 1px solid #4CAF50;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 100000;
  min-width: 250px;
  box-sizing: border-box;
  animation: slideDownPopup 0.3s ease-out;
}

@keyframes slideDownPopup {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.moseo_scan_complete_icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.moseo_scan_complete_icon svg {
  display: block;
}

.moseo_scan_complete_separator {
  width: 1px;
  height: 20px;
  background: #E0E0E0;
  flex-shrink: 0;
}

.moseo_scan_complete_text {
  flex: 1;
  font-size: 14px;
  font-weight: 400;
  color: #333333;
  font-family: 'SF Pro Display';
  letter-spacing: 0.3px;
}

.moseo_scan_complete_close {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
  transition: opacity 0.2s ease;
  width: 20px;
  height: 20px;
}

.moseo_scan_complete_close:hover {
  opacity: 0.7;
}

.moseo_scan_complete_close:active {
  opacity: 0.5;
}

.moseo_scan_complete_close svg {
  display: block;
}
