/* Admin Bar */
#wp-admin-bar-ats-logo img {
  height: 20px;
  width: auto;
  vertical-align: middle;
  margin-top: -3px;
}

body {
  background: #f5f6f8;
}

/* Links */
a {
  color: #7a2535;
}

a:hover,
a:active,
a:focus {
  color: #8e2d3d;
}

#post-body .misc-pub-post-status:before,
#post-body #visibility:before,
.curtime #timestamp:before,
#post-body .misc-pub-revisions:before,
span.wp-media-buttons-icon:before {
  color: currentColor;
}

/* Forms */
input[type=checkbox]:checked::before {
  content: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%237a0f0f%27%2F%3E%3C%2Fsvg%3E");
}

input[type=radio]:checked::before {
  background: #7a0f0f;
}

.wp-core-ui input[type="reset"]:hover,
.wp-core-ui input[type="reset"]:active {
  color: #ca1515;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="color"]:focus,
input[type="date"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="email"]:focus,
input[type="month"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="text"]:focus,
input[type="time"]:focus,
input[type="url"]:focus,
input[type="week"]:focus,
input[type="checkbox"]:focus,
input[type="radio"]:focus,
select:focus,
textarea:focus {
  border-color: #7a2535;
  box-shadow: 0 0 0 1px #7a2535;
}

/* Core UI */
.wp-core-ui .button,
.wp-core-ui .button-secondary {
  color: #374151;
  border-color: #9ca3af;
  background: #fff;
}

.wp-core-ui .button.hover,
.wp-core-ui .button:hover,
.wp-core-ui .button-secondary:hover,
.wp-core-ui .button.focus,
.wp-core-ui .button:focus,
.wp-core-ui .button-secondary:focus {
  color: #111827;
  border-color: #6b7280;
  background: #f3f4f6;
}

.wp-core-ui .button.focus,
.wp-core-ui .button:focus,
.wp-core-ui .button-secondary:focus {
  border-color: #6b7280;
  color: #111827;
  box-shadow: 0 0 0 1px #6b7280;
}

.wp-core-ui .button:active {
  background: #e5e7eb;
  border-color: #6b7280;
}

.wp-core-ui .button.active,
.wp-core-ui .button.active:focus,
.wp-core-ui .button.active:hover {
  border-color: #6b7280;
  color: #111827;
  box-shadow: inset 0 2px 5px -3px #6b7280;
}

.wp-core-ui .button-primary {
  background: #7a2535;
  border-color: #7a2535;
  color: #fff;
}

.wp-core-ui .button-primary:hover,
.wp-core-ui .button-primary:focus {
  background: #8e2d3d;
  border-color: #5c1820;
  color: #fff;
}

.wp-core-ui .button-primary:focus {
  box-shadow: 0 0 0 1px #fff, 0 0 0 3px #7a2535;
}

.wp-core-ui .button-primary:active {
  background: #5c1820;
  border-color: #5c1820;
  color: #fff;
}

.wp-core-ui .button-primary.active,
.wp-core-ui .button-primary.active:focus,
.wp-core-ui .button-primary.active:hover {
  background: #7a2535;
  color: #fff;
  border-color: #4a0e1a;
  box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.4);
}

.wp-core-ui .button-primary[disabled],
.wp-core-ui .button-primary:disabled,
.wp-core-ui .button-primary.button-primary-disabled,
.wp-core-ui .button-primary.disabled {
  color: #e5c6cb !important;
  background: #5a1520 !important;
  border-color: #5a1520 !important;
  text-shadow: none !important;
}

.wp-core-ui .button-group>.button.active {
  border-color: #6b7280;
}

.wp-core-ui .wp-ui-primary {
  color: #f2fcff;
  background-color: #3c3c3c;
}

.wp-core-ui .wp-ui-text-primary {
  color: #3c3c3c;
}

.wp-core-ui .wp-ui-highlight {
  color: #f2fcff;
  background-color: #7a2535;
}

.wp-core-ui .wp-ui-text-highlight {
  color: #7a2535;
}

.wp-core-ui .wp-ui-notification {
  color: #f2fcff;
  background-color: #797b4a;
}

.wp-core-ui .wp-ui-text-notification {
  color: #797b4a;
}

.wp-core-ui .wp-ui-text-icon {
  color: #f3f1f1;
}

/* List tables */
.wrap .add-new-h2:hover,
.wrap .page-title-action:hover {
  color: #f2fcff;
  background-color: #3c3c3c;
}

.view-switch a.current:before {
  color: #3c3c3c;
}

.view-switch a:hover:before {
  color: #797b4a;
}

/* Admin Menu */
#adminmenuback,
#adminmenuwrap,
#adminmenu {
  background: #3c3c3c;
}

#adminmenu div.separator {
  background-color: #484848;
}

#adminmenu a {
  color: #f2fcff;
}

#adminmenu div.wp-menu-image:before {
  color: #f3f1f1;
}

#adminmenu a:hover,
#adminmenu li.menu-top:hover,
#adminmenu li.opensub>a.menu-top,
#adminmenu li>a.menu-top:focus {
  color: #f2fcff;
  background-color: #7a2535;
}

#adminmenu li.menu-top:hover div.wp-menu-image:before,
#adminmenu li.opensub>a.menu-top div.wp-menu-image:before {
  color: #f2fcff;
}

/* Active tabs use a bottom border color that matches the page background color. */
.about-wrap .nav-tab-active,
.nav-tab-active,
.nav-tab-active:hover {
  background-color: #ffffff;
  border-bottom-color: #ffffff;
}

/* Admin Menu: submenu */
#adminmenu .wp-submenu,
#adminmenu .wp-has-current-submenu .wp-submenu,
#adminmenu .wp-has-current-submenu.opensub .wp-submenu,
.folded #adminmenu .wp-has-current-submenu .wp-submenu,
#adminmenu a.wp-has-current-submenu:focus+.wp-submenu {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18), 0 1px 4px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
  padding: 6px 0 !important;
  min-width: 180px;
}

#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after {
  display: none;
}

#adminmenu .wp-submenu .wp-submenu-head {
  color: #9ca3af;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 8px 14px 4px;
}

#adminmenu .wp-submenu a,
#adminmenu .wp-has-current-submenu .wp-submenu a,
.folded #adminmenu .wp-has-current-submenu .wp-submenu a,
#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a,
#adminmenu .wp-has-current-submenu.opensub .wp-submenu a {
  color: #374151;
  border-radius: 4px;
  margin: 1px 6px;
  padding: 6px 10px;
}

#adminmenu .wp-submenu a:focus,
#adminmenu .wp-submenu a:hover,
#adminmenu .wp-has-current-submenu .wp-submenu a:focus,
#adminmenu .wp-has-current-submenu .wp-submenu a:hover,
.folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus,
.folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover,
#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:focus,
#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:hover,
#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus,
#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover {
  color: #7a2535;
  background: rgba(122, 37, 53, 0.07);
}

/* Admin Menu: current */
#adminmenu .wp-submenu li.current a,
#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a,
#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a {
  color: #7a2535;
  font-weight: 600;
}

#adminmenu .wp-submenu li.current a:hover,
#adminmenu .wp-submenu li.current a:focus,
#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:hover,
#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:focus,
#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover,
#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus {
  color: #5a1a27;
}

ul#adminmenu a.wp-has-current-submenu:after,
ul#adminmenu>li.current>a.current:after {
  border-right-color: #ffffff;
}

#adminmenu li.current a.menu-top,
#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,
#adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head,
.folded #adminmenu li.current.menu-top {
  color: #fff;
  background: rgba(122, 37, 53, 0.35);
  border-left: 3px solid #7a2535;
  padding-left: 7px;
}

#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,
#adminmenu a.current:hover div.wp-menu-image:before,
#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,
#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,
#adminmenu li:hover div.wp-menu-image:before,
#adminmenu li a:focus div.wp-menu-image:before,
#adminmenu li.opensub div.wp-menu-image:before,
.ie8 #adminmenu li.opensub div.wp-menu-image:before {
  color: #f2fcff;
}

/* Admin Menu: bubble */
#adminmenu .awaiting-mod,
#adminmenu .update-plugins {
  color: #f2fcff;
  background: #797b4a;
}

#adminmenu li.current a .awaiting-mod,
#adminmenu li a.wp-has-current-submenu .update-plugins,
#adminmenu li:hover a .awaiting-mod,
#adminmenu li.menu-top:hover>a .update-plugins {
  color: #f2fcff;
  background: #2a2a2a;
}

/* Admin Menu: collapse button */
#collapse-button {
  color: #f3f1f1;
}

#collapse-button:hover,
#collapse-button:focus {
  color: #b98c91;
}

/* Admin Bar */
html.wp-toolbar {
  padding-top: 38px;
}

#wpadminbar {
  color: #e5e7eb;
  background: #1f2933;
  height: 38px;
}

#wpadminbar .ab-item,
#wpadminbar a.ab-item {
  height: 38px;
  line-height: 38px;
}

#wpadminbar>#wp-toolbar>ul>li>.ab-item {
  padding: 0 12px;
}

#wpadminbar .ab-item,
#wpadminbar a.ab-item,
#wpadminbar>#wp-toolbar span.ab-label,
#wpadminbar>#wp-toolbar span.noticon {
  color: #f2fcff;
}

#wpadminbar .ab-icon,
#wpadminbar .ab-icon:before,
#wpadminbar .ab-item:before,
#wpadminbar .ab-item:after {
  color: #f3f1f1;
}

#wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,
#wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus,
#wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,
#wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,
#wpadminbar .ab-top-menu>li.menupop.hover>.ab-item {
  color: #ffffff;
  background: #2d3d4f;
}

#wpadminbar:not(.mobile)>#wp-toolbar li:hover span.ab-label,
#wpadminbar:not(.mobile)>#wp-toolbar li.hover span.ab-label,
#wpadminbar:not(.mobile)>#wp-toolbar a:focus span.ab-label {
  color: #ffffff;
}

#wpadminbar:not(.mobile) li:hover .ab-icon:before,
#wpadminbar:not(.mobile) li:hover .ab-item:before,
#wpadminbar:not(.mobile) li:hover .ab-item:after,
#wpadminbar:not(.mobile) li:hover #adminbarsearch:before {
  color: #f2fcff;
}

/* Admin Bar: submenu */
#wpadminbar .menupop .ab-sub-wrapper {
  background: #2d3d4f;
}

#wpadminbar .quicklinks .menupop ul.ab-sub-secondary,
#wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu {
  background: #374a5e;
}

#wpadminbar .ab-submenu .ab-item,
#wpadminbar .quicklinks .menupop ul li a,
#wpadminbar .quicklinks .menupop.hover ul li a,
#wpadminbar.nojs .quicklinks .menupop:hover ul li a {
  color: #bbc2c5;
}

#wpadminbar .quicklinks li .blavatar,
#wpadminbar .menupop .menupop>.ab-item:before {
  color: #f3f1f1;
}

#wpadminbar .quicklinks .menupop ul li a:hover,
#wpadminbar .quicklinks .menupop ul li a:focus,
#wpadminbar .quicklinks .menupop ul li a:hover strong,
#wpadminbar .quicklinks .menupop ul li a:focus strong,
#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover>a,
#wpadminbar .quicklinks .menupop.hover ul li a:hover,
#wpadminbar .quicklinks .menupop.hover ul li a:focus,
#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover,
#wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus,
#wpadminbar li:hover .ab-icon:before,
#wpadminbar li:hover .ab-item:before,
#wpadminbar li a:focus .ab-icon:before,
#wpadminbar li .ab-item:focus:before,
#wpadminbar li .ab-item:focus .ab-icon:before,
#wpadminbar li.hover .ab-icon:before,
#wpadminbar li.hover .ab-item:before,
#wpadminbar li:hover #adminbarsearch:before,
#wpadminbar li #adminbarsearch.adminbar-focused:before {
  color: #ffffff;
}

#wpadminbar .quicklinks li a:hover .blavatar,
#wpadminbar .quicklinks li a:focus .blavatar,
#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover>a .blavatar,
#wpadminbar .menupop .menupop>.ab-item:hover:before,
#wpadminbar.mobile .quicklinks .ab-icon:before,
#wpadminbar.mobile .quicklinks .ab-item:before {
  color: #ffffff;
}

#wpadminbar.mobile .quicklinks .hover .ab-icon:before,
#wpadminbar.mobile .quicklinks .hover .ab-item:before {
  color: #f3f1f1;
}

/* Admin Bar: search */
#wpadminbar #adminbarsearch:before {
  color: #f3f1f1;
}

#wpadminbar>#wp-toolbar>#wp-admin-bar-top-secondary>#wp-admin-bar-search #adminbarsearch input.adminbar-input:focus {
  color: #f2fcff;
  background: #2d3d4f;
}

/* Admin Bar: recovery mode */
#wpadminbar #wp-admin-bar-recovery-mode {
  color: #f2fcff;
  background-color: #797b4a;
}

#wpadminbar #wp-admin-bar-recovery-mode .ab-item,
#wpadminbar #wp-admin-bar-recovery-mode a.ab-item {
  color: #f2fcff;
}

#wpadminbar .ab-top-menu>#wp-admin-bar-recovery-mode.hover>.ab-item,
#wpadminbar.nojq .quicklinks .ab-top-menu>#wp-admin-bar-recovery-mode>.ab-item:focus,
#wpadminbar:not(.mobile) .ab-top-menu>#wp-admin-bar-recovery-mode:hover>.ab-item,
#wpadminbar:not(.mobile) .ab-top-menu>#wp-admin-bar-recovery-mode>.ab-item:focus {
  color: #f2fcff;
  background-color: #6d6f43;
}

/* Admin Bar: my account */
#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar>a img {
  border-color: #6b0915;
  background-color: #6b0915;
}

#wpadminbar #wp-admin-bar-user-info .display-name {
  color: #f2fcff;
}

#wpadminbar #wp-admin-bar-user-info a:hover .display-name {
  color: #ffffff;
}

#wpadminbar #wp-admin-bar-user-info .username {
  color: #bbc2c5;
}

/* Pointers */
.wp-pointer .wp-pointer-content h3 {
  background-color: #7a2535;
  border-color: #6d0915;
}

.wp-pointer .wp-pointer-content h3:before {
  color: #7a2535;
}

.wp-pointer.wp-pointer-top .wp-pointer-arrow,
.wp-pointer.wp-pointer-top .wp-pointer-arrow-inner,
.wp-pointer.wp-pointer-undefined .wp-pointer-arrow,
.wp-pointer.wp-pointer-undefined .wp-pointer-arrow-inner {
  border-bottom-color: #7a2535;
}

/* Media */
.media-item .bar,
.media-progress-bar div {
  background-color: #7a2535;
}

.details.attachment {
  box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #7a2535;
}

.attachment.details .check {
  background-color: #7a2535;
  box-shadow: 0 0 0 1px #fff, 0 0 0 2px #7a2535;
}

.media-selection .attachment.selection.details .thumbnail {
  box-shadow: 0 0 0 1px #fff, 0 0 0 3px #7a2535;
}

/* Themes */
.theme-browser .theme.active .theme-name,
.theme-browser .theme.add-new-theme a:hover:after,
.theme-browser .theme.add-new-theme a:focus:after {
  background: #7a2535;
}

.theme-browser .theme.add-new-theme a:hover span:after,
.theme-browser .theme.add-new-theme a:focus span:after {
  color: #7a2535;
}

.theme-section.current,
.theme-filter.current {
  border-bottom-color: #3c3c3c;
}

body.more-filters-opened .more-filters {
  color: #f2fcff;
  background-color: #3c3c3c;
}

body.more-filters-opened .more-filters:before {
  color: #f2fcff;
}

body.more-filters-opened .more-filters:hover,
body.more-filters-opened .more-filters:focus {
  background-color: #7a2535;
  color: #f2fcff;
}

body.more-filters-opened .more-filters:hover:before,
body.more-filters-opened .more-filters:focus:before {
  color: #f2fcff;
}

/* Widgets */
.widgets-chooser li.widgets-chooser-selected {
  background-color: #7a2535;
  color: #f2fcff;
}

.widgets-chooser li.widgets-chooser-selected:before,
.widgets-chooser li.widgets-chooser-selected:focus:before {
  color: #f2fcff;
}

/* Responsive Component */
div#wp-responsive-toggle a:before {
  color: #f3f1f1;
}

.wp-responsive-open div#wp-responsive-toggle a {
  border-color: transparent;
  background: #7a2535;
}

.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a {
  background: #6b0915;
}

.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before {
  color: #f3f1f1;
}

/* TinyMCE */
.mce-container.mce-menu .mce-menu-item:hover,
.mce-container.mce-menu .mce-menu-item.mce-selected,
.mce-container.mce-menu .mce-menu-item:focus,
.mce-container.mce-menu .mce-menu-item-normal.mce-active,
.mce-container.mce-menu .mce-menu-item-preview.mce-active {
  background: #7a2535;
}




/* Set admin logos */
#wpadminbar #wp-admin-bar-wp-logo>.ab-item .ab-icon:before {
  background-image: url("https://cdn-r2.arcanetechct.com/favicon.png") !important;
  background-position: 0 0;
  color: rgba(0, 0, 0, 0);
  background-repeat: no-repeat;
  background-size: contain;
}

#wpadminbar #wp-admin-bar-wp-logo.hover>.ab-item .ab-icon {
  background-position: 0 0;
}

/* remove adminbar logo menu */
#wpadminbar .ab-top-menu>.menupop>.ab-sub-wrapper {
  display: none !important;
}



/* ============================================================
   Admin Menu Logo
   ============================================================ */

#adminmenu-logo {
  display: block;
  padding: 12px 16px;
  text-align: center;
  border-radius: 6px;
  margin: 12px 12px 8px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}

#adminmenu-logo.is-bg-light {
  background: #fff;
}

#adminmenu-logo.is-bg-dark {
  background: #1e1e1e;
}

#adminmenu-logo img {
  max-width: 100%;
  height: auto;
  max-height: 150px;
  object-fit: contain;
}

.folded #adminmenu-logo {
  display: none;
}

#adminmenu-view-site {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0 12px 10px;
  padding: 7px 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #d1d5db !important;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none !important;
  transition: background 0.15s, color 0.15s;
}

#adminmenu-view-site:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff !important;
}

#adminmenu-view-site .dashicons {
  font-size: 14px;
  width: 14px;
  height: 14px;
  line-height: 1;
}

.folded #adminmenu-view-site {
  display: none;
}

/* Rank Math — hide blog listing inside dashboard widget */
.rank-math-blog-title,
.rank-math-blog-list,
.rank-math-widget-footer {
  display: none !important;
}

/* Last Login */
.ats-never {
  color: #aaa;
}

/* ============================================================
   Admin menu width: 220px (default WP is 160px)
   ============================================================ */

#adminmenuback,
#adminmenuwrap,
#adminmenu {
  width: 220px;
}

#wpcontent,
#wpfooter {
  margin-left: 220px;
}

/* Folded (collapsed) state — keep at default 36px */
.folded #adminmenuback,
.folded #adminmenuwrap {
  width: 36px;
}

.folded #wpcontent,
.folded #wpfooter {
  margin-left: 36px;
}

.folded #adminmenu .wp-submenu {
  left: 36px;
}

/* Auto-fold responsive breakpoints */
@media screen and (max-width: 960px) {

  .auto-fold #adminmenuback,
  .auto-fold #adminmenuwrap {
    width: 36px;
  }

  .auto-fold #wpcontent,
  .auto-fold #wpfooter {
    margin-left: 36px;
  }

  .auto-fold #adminmenu .wp-submenu {
    left: 36px;
  }
}

@media screen and (min-width: 961px) {

  .auto-fold #adminmenuback,
  .auto-fold #adminmenuwrap,
  .auto-fold #adminmenu {
    width: 220px;
  }

  .auto-fold #wpcontent,
  .auto-fold #wpfooter {
    margin-left: 220px;
  }

  .auto-fold #adminmenu .wp-submenu {
    width: 220px;
  }

  /* folded overrides auto-fold — must come after to win cascade */
  .folded #adminmenuback,
  .folded #adminmenuwrap,
  .folded #adminmenu {
    width: 36px;
  }

  .folded #wpcontent,
  .folded #wpfooter {
    margin-left: 36px;
  }
}


/* ============================================================
   Email Provisioning Tab
   ============================================================ */

.ats-email-tab {
  max-width: 860px;
}

.ats-email-prereqs {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 10px 14px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ats-cf-details {
  margin-top: 6px;
}

.ats-cf-details summary {
  cursor: pointer;
  color: #7a2535;
  font-size: 12px;
  display: inline-block;
}

.ats-cf-details summary:hover {
  text-decoration: underline;
}

.ats-cf-details[open] summary {
  margin-bottom: 8px;
}

.ats-cf-snippet {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}

.ats-cf-snippet code {
  flex: 1;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  padding: 6px 10px;
  font-size: 12px;
  user-select: all;
  white-space: nowrap;
}

.ats-email-prereq-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.ats-status-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}

.ats-status-dot.is-green {
  background: #16a34a;
}

.ats-status-dot.is-yellow {
  background: #d97706;
}

.ats-status-dot.is-red {
  background: #dc2626;
}

.ats-muted {
  color: #9ca3af;
  font-size: 12px;
}

/* Status card */
.ats-email-status-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 20px 24px;
  margin-bottom: 16px;
}

.ats-email-status-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px 24px;
  margin-bottom: 20px;
}

.ats-email-status-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #9ca3af;
  margin-bottom: 4px;
}

.ats-email-status-value {
  font-size: 13px;
  color: #111827;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Delivery stats strip */
.ats-stats-strip {
  border-top: 1px solid #e5e7eb;
  padding: 14px 0 4px;
  margin-bottom: 4px;
}

.ats-stats-strip-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.ats-stats-strip-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6b7280;
}

.ats-stats-age {
  font-size: 11px;
}

.ats-stats-refresh-btn {
  background: none;
  border: none;
  padding: 0;
  color: #7a2535;
  font-size: 12px;
  cursor: pointer;
}

.ats-stats-refresh-btn:hover {
  text-decoration: underline;
}

.ats-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.ats-stat {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 12px 14px;
}

.ats-stat.is-warn {
  background: #fffbeb;
  border-color: #fcd34d;
}

.ats-stat-value {
  font-size: 22px;
  font-weight: 700;
  color: #111827;
  line-height: 1.1;
  display: flex;
  align-items: baseline;
  gap: 5px;
}

.ats-stat-rate {
  font-size: 12px;
  font-weight: 500;
  color: #6b7280;
}

.ats-stat.is-warn .ats-stat-value {
  color: #b45309;
}

.ats-stat-label {
  font-size: 11px;
  color: #6b7280;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* DNS records table */
.ats-email-dns-records {
  border-top: 1px solid #e5e7eb;
  padding-top: 16px;
  margin-bottom: 16px;
}

.ats-email-dns-records h4 {
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 10px;
  color: #374151;
}

.ats-dns-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.ats-dns-table th {
  text-align: left;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #9ca3af;
  padding: 4px 10px 6px 0;
}

.ats-dns-table td {
  padding: 5px 10px 5px 0;
  vertical-align: top;
  border-top: 1px solid #f3f4f6;
}

.ats-dns-value {
  word-break: break-all;
  font-size: 11px;
}

/* Re-verify form */
.ats-reverify-form {
  border-top: 1px solid #e5e7eb;
  padding-top: 16px;
}

.ats-reverify-form .ats-muted {
  display: block;
  margin-bottom: 10px;
}

.ats-reverify-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.ats-reverify-row .ats-config-text-input {
  flex: 1;
  max-width: 340px;
}

/* Manual DNS notice */
.ats-dns-manual-notice {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: #fffbeb;
  border: 1px solid #fcd34d;
  border-radius: 6px;
  padding: 10px 14px;
  margin-bottom: 12px;
  font-size: 13px;
  line-height: 1.5;
}

.ats-dns-manual-notice .ats-status-dot {
  flex-shrink: 0;
  margin-top: 3px;
}

/* Copy button */
.ats-copy-btn {
  white-space: nowrap;
  font-size: 11px !important;
  padding: 2px 8px !important;
  height: auto !important;
  line-height: 1.6 !important;
}

.ats-copy-btn.is-copied {
  color: #15803d !important;
  border-color: #86efac !important;
}

/* Message stream selector */
.ats-stream-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ats-stream-row select {
  min-width: 260px;
  height: 30px;
  font-size: 13px;
}

/* Collapsible section (looks like h4, collapses on click) */
.ats-collapsible-section>summary {
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 6px;
}

.ats-collapsible-section>summary::-webkit-details-marker {
  display: none;
}

.ats-collapsible-section>summary::before {
  content: '▶';
  font-size: 9px;
  color: #9ca3af;
  transition: transform 0.15s;
}

.ats-collapsible-section[open]>summary::before {
  transform: rotate(90deg);
}

/* Test email */
.ats-test-email-section {
  border-top: 1px solid #e5e7eb;
  padding-top: 16px;
  margin-top: 16px;
}

.ats-test-email-section h4 {
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 10px;
  color: #374151;
}

.ats-test-email-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.ats-test-email-row .ats-config-text-input {
  flex: 1;
  max-width: 320px;
}

.ats-test-last-sent {
  margin: 8px 0 0;
  font-size: 12px;
}

/* Verified / reset */
.ats-email-verified-msg {
  color: #15803d;
  font-weight: 600;
  margin: 12px 0 0;
}

.ats-reset-form {
  margin-top: 12px;
}


/* ============================================================
   Form Submissions Page
   ============================================================ */

.ats-submissions-wrap {
  max-width: 1100px;
}

.ats-submissions-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 14px;
}

.ats-submissions-header h1,
.ats-submissions-title {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  color: #1d2327;
}

.ats-back-link {
  font-size: 13px;
  color: #555;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.ats-back-link:hover {
  color: #7a2535;
}

.ats-unread-badge {
  display: inline-block;
  background: #7a2535;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 10px;
  line-height: 1.6;
}

.ats-submissions-toolbar {
  margin-bottom: 12px;
}

.ats-submissions-toolbar select {
  height: 30px;
  font-size: 13px;
}

.ats-sub-bulk-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.ats-sub-bulk-bar select {
  height: 30px;
  font-size: 13px;
}

/* Table */
.ats-submissions-table {
  margin-top: 0;
}

.ats-submissions-table th,
.ats-submissions-table td {
  vertical-align: middle;
  padding: 10px 12px;
}

.ats-submissions-table .check-column {
  width: 28px;
  padding-top: 11px;
}

.ats-col-date {
  width: 160px;
  white-space: nowrap;
  color: #666;
  font-size: 12px;
}

.ats-col-actions {
  width: 80px;
}

.ats-col-preview {
  color: #444;
  font-size: 13px;
}

.ats-col-preview a {
  color: inherit;
  text-decoration: none;
}

.ats-col-preview a:hover {
  color: #7a2535;
}

.ats-row-unread td {
  font-weight: 600;
  background: #fdf8f8 !important;
}

.ats-row-unread .ats-col-date,
.ats-row-unread .ats-col-preview {
  font-weight: 400;
}

.ats-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #7a2535;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
  margin-top: -2px;
}

.ats-submissions-empty {
  color: #777;
  font-style: italic;
  padding: 12px 0;
}

.ats-pagination {
  margin-top: 16px;
}

.ats-pagination .page-numbers {
  display: inline-block;
  padding: 4px 10px;
  border: 1px solid #ccc;
  border-radius: 3px;
  margin: 0 2px;
  text-decoration: none;
  font-size: 13px;
}

.ats-pagination .page-numbers.current {
  background: #7a2535;
  color: #fff;
  border-color: #7a2535;
}

.ats-sub-count {
  color: #888;
  font-size: 12px;
  margin-top: 8px;
}

/* Detail view */
.ats-submission-detail .ats-submissions-header h1,
.ats-submission-detail .ats-submissions-title {
  font-size: 20px;
}

.ats-detail-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 20px;
  align-items: start;
}

@media (max-width: 900px) {
  .ats-detail-grid {
    grid-template-columns: 1fr;
  }
}

.ats-card {
  background: #fff;
  border: 1px solid #ddd;
  border-top: 3px solid #7a2535;
  border-radius: 3px;
  padding: 20px 24px;
}

.ats-card h2 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #888;
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

.ats-field-table {
  width: 100%;
  border-collapse: collapse;
}

.ats-field-table th,
.ats-field-table td {
  padding: 9px 6px;
  font-size: 13px;
  border-bottom: 1px solid #f0f0f0;
  vertical-align: top;
  text-align: left;
}

.ats-field-table th {
  width: 130px;
  color: #666;
  font-weight: 600;
  white-space: nowrap;
}

.ats-field-table td {
  color: #222;
  word-break: break-word;
}

.ats-detail-actions {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #eee;
}

.ats-btn-delete {
  border-color: #c0392b !important;
  color: #c0392b !important;
}

.ats-btn-delete:hover {
  background: #c0392b !important;
  color: #fff !important;
}


/* ============================================================
   Modern Admin UI
   Rounded corners, spacing, brand-red sidebar, styled buttons
   ============================================================ */

/* ── Sidebar — Warm charcoal (brand red accents) ───────────── */

#adminmenuback,
#adminmenuwrap,
#adminmenu {
  background: #1f1f23;
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.25);
}

#adminmenu a {
  color: #f2fcff;
}

#adminmenu div.wp-menu-image:before {
  color: #f3f1f1;
}

#adminmenu a:hover,
#adminmenu li.menu-top:hover,
#adminmenu li.opensub>a.menu-top,
#adminmenu li>a.menu-top:focus {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.08);
}

#adminmenu li.menu-top:hover div.wp-menu-image:before,
#adminmenu li.opensub>a.menu-top div.wp-menu-image:before {
  color: #fff;
}

/* Inline submenu (current page — expanded within sidebar) */
#adminmenu .wp-has-current-submenu .wp-submenu,
#adminmenu .wp-has-current-submenu.opensub .wp-submenu,
#adminmenu a.wp-has-current-submenu:focus+.wp-submenu {
  background: #2b2b30;
  border-radius: 0;
  box-shadow: none;
  border: none;
  padding: 6px 0 !important;
}

#adminmenu .wp-has-current-submenu .wp-submenu a,
#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a,
#adminmenu .wp-has-current-submenu.opensub .wp-submenu a {
  color: #9ca3af;
  border-radius: 4px;
  margin: 1px 6px;
  padding: 5px 10px 5px 14px;
}

#adminmenu .wp-has-current-submenu .wp-submenu a:hover,
#adminmenu .wp-has-current-submenu .wp-submenu a:focus,
#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:hover,
#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
}

#adminmenu .wp-has-current-submenu .wp-submenu li.current a,
#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a,
#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a {
  color: #c2808d;
  font-weight: 600;
}

/* Flyout submenu (hover on non-current item — white card) */
#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub .wp-submenu {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18), 0 1px 4px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
  padding: 6px 0 !important;
  min-width: 180px;
}

#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub .wp-submenu .wp-submenu-head {
  color: #9ca3af;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 8px 14px 4px;
}

#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub .wp-submenu a {
  color: #374151;
  border-radius: 4px;
  margin: 1px 6px;
  padding: 6px 10px;
}

#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub .wp-submenu a:hover,
#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub .wp-submenu a:focus {
  color: #7a2535;
  background: rgba(122, 37, 53, 0.07);
}

#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub .wp-submenu li.current a {
  color: #7a2535;
  font-weight: 600;
}

#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after {
  display: none;
}

/* Elementor 3rd-level flyout */
.elementor-submenu-flyout {
  background: #ffffff !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18), 0 1px 4px rgba(0, 0, 0, 0.1) !important;
  border: 1px solid #e5e7eb !important;
  padding: 6px 0 !important;
  min-width: 160px;
}

.elementor-submenu-flyout li a {
  color: #374151 !important;
  border-radius: 4px;
  margin: 1px 6px;
  padding: 6px 10px;
  display: block;
}

.elementor-submenu-flyout li a:hover,
.elementor-submenu-flyout li a:focus {
  color: #7a2535 !important;
  background: rgba(122, 37, 53, 0.07) !important;
}

/* Hide the arrow indicator on items that have an Elementor nested flyout */
#adminmenu li.elementor-has-flyout:after {
  display: none !important;
}

/* Folded sidebar — all submenus become white card flyouts */
.folded #adminmenu .wp-has-current-submenu .wp-submenu,
.folded #adminmenu .wp-submenu {
  background: #ffffff !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18), 0 1px 4px rgba(0, 0, 0, 0.1) !important;
  border: 1px solid #e5e7eb !important;
  padding: 6px 0 !important;
  min-width: 180px;
}

.folded #adminmenu .wp-submenu a,
.folded #adminmenu .wp-has-current-submenu .wp-submenu a {
  color: #374151 !important;
  border-radius: 4px;
  margin: 1px 6px;
  padding: 6px 10px;
}

.folded #adminmenu .wp-submenu a:hover,
.folded #adminmenu .wp-submenu a:focus,
.folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover,
.folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus {
  color: #7a2535 !important;
  background: rgba(122, 37, 53, 0.07);
}

.folded #adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after {
  display: none;
}

.folded #adminmenu li.current:after {
  border-right-color: #ffffff;
}

ul#adminmenu a.wp-has-current-submenu:after,
ul#adminmenu>li.current>a.current:after {
  border-right-color: #ffffff;
}

#adminmenu li.current a.menu-top,
#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,
#adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head,
.folded #adminmenu li.current.menu-top {
  color: #fff;
  background: rgba(122, 37, 53, 0.35);
  border-left: 3px solid #7a2535;
  padding-left: 7px;
}

#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,
#adminmenu a.current:hover div.wp-menu-image:before,
#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,
#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,
#adminmenu li:hover div.wp-menu-image:before,
#adminmenu li a:focus div.wp-menu-image:before,
#adminmenu li.opensub div.wp-menu-image:before {
  color: #f2fcff;
}

#adminmenu .awaiting-mod,
#adminmenu .update-plugins {
  color: #fff;
  background: #7a2535;
}

#adminmenu li.current a .awaiting-mod,
#adminmenu li a.wp-has-current-submenu .update-plugins,
#adminmenu li:hover a .awaiting-mod,
#adminmenu li.menu-top:hover>a .update-plugins {
  color: #fff;
  background: #161618;
}

#collapse-button {
  color: #f3f1f1;
}

#collapse-button:hover,
#collapse-button:focus {
  color: #b98c91;
}

/* ── Sidebar spacing ───────────────────────────────────────── */

#adminmenu li.menu-top>a.menu-top {
  padding: 5px 10px 5px 12px;
}

#adminmenu .wp-submenu li>a {
  padding: 4px 10px 4px 16px;
}


/* ── Buttons — Modern + Brand ──────────────────────────────── */

.wp-core-ui .button,
.wp-core-ui .button-secondary {
  border-radius: 6px;
  text-shadow: none;
  font-weight: 500;
  padding: 0 14px;
  height: 34px;
  line-height: 32px;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.wp-core-ui .button-primary {
  border-radius: 6px;
  text-shadow: none;
  font-weight: 500;
  padding: 0 16px;
  height: 34px;
  line-height: 32px;
  box-shadow: 0 1px 3px rgba(139, 30, 45, 0.2);
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.wp-core-ui .button-primary:focus {
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px #7a2535;
}

.page-title-action,
.wrap .page-title-action {
  border-radius: 6px;
  text-shadow: none;
  font-weight: 500;
  color: #374151;
  border-color: #9ca3af;
  background: #fff;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.page-title-action:hover,
.wrap .page-title-action:hover {
  color: #111827;
  background: #f3f4f6;
  border-color: #6b7280;
}


/* ── Inputs — Modern ───────────────────────────────────────── */

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="number"],
input[type="search"],
input[type="tel"],
input[type="date"],
select,
textarea {
  border-radius: 6px;
  border: 1px solid #dcdcde;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}


/* ── Dashboard Widgets — Full treatment ────────────────────── */

#dashboard-widgets .postbox {
  border-radius: 10px !important;
  border: 1px solid #e5e7eb !important;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.08) !important;
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

#dashboard-widgets .postbox:hover {
  box-shadow: 0 4px 20px rgba(133, 11, 26, 0.12) !important;
}

#dashboard-widgets .postbox .postbox-header {
  background: #2e2e34 !important;
  border-bottom: none !important;
  padding: 13px 18px !important;
  border-radius: 10px 10px 0 0;
}

#dashboard-widgets .postbox .postbox-header h2,
#dashboard-widgets .postbox .postbox-header .hndle {
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
}

#dashboard-widgets .postbox .postbox-header .handlediv {
  color: rgba(255, 255, 255, 0.65) !important;
  transition: color 0.15s ease;
}

#dashboard-widgets .postbox .postbox-header .handlediv:hover {
  color: #fff !important;
}

#dashboard-widgets .postbox .postbox-header .handlediv .toggle-indicator:before {
  color: rgba(255, 255, 255, 0.65);
}

#dashboard-widgets .postbox .inside {
  padding: 18px 20px !important;
}

/* Closed state — keep radius on all sides */
#dashboard-widgets .postbox.closed .postbox-header {
  border-radius: 10px !important;
}

/* Activity feed links — exclude buttons so they keep their own colors */
#dashboard-widgets .postbox .inside a:not(.button) {
  color: #7a2535;
}

#dashboard-widgets .postbox .inside a:not(.button):hover {
  color: #6b0915;
}


/* ── Other Postboxes / Meta Boxes ──────────────────────────── */

.postbox {
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.postbox .postbox-header {
  background: #f9f9f9;
  border-bottom: 1px solid #e5e7eb;
  border-radius: 8px 8px 0 0;
}

.postbox .postbox-header h2,
.postbox .postbox-header .hndle {
  font-size: 13px;
  font-weight: 600;
  color: #1e1e1e;
}

.postbox.closed .postbox-header {
  border-radius: 8px;
}

.postbox .inside {
  padding: 16px 18px;
}


/* ── List Tables ───────────────────────────────────────────── */

.wp-list-table.widefat {
  border-radius: 8px !important;
  border: 1px solid #e5e7eb !important;
  overflow: hidden;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
}

.wp-list-table thead th,
.wp-list-table tfoot th {
  background: #f9f9f9;
}

.wp-list-table td,
.wp-list-table th {
  padding: 10px 16px !important;
}

.wp-list-table tbody tr:hover td {
  background: #fdf5f6;
}


/* ── Notices ───────────────────────────────────────────────── */

.notice,
div.error,
div.updated,
div.settings-error {
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}


/* ── Content Area Spacing ──────────────────────────────────── */

#wpcontent {
  padding-left: 28px;
}

.wrap h1 {
  font-size: 22px;
  font-weight: 700;
}


/* ── Screen Options panel ──────────────────────────────────── */

#screen-options-link-wrap a,
#contextual-help-link-wrap a {
  background: #ffffff;
  color: #374151;
  border: 1px solid #d1d5db;
  border-top: none;
  border-radius: 0 0 6px 6px;
  font-size: 12px;
  font-weight: 500;
  padding: 4px 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

#screen-options-link-wrap a:hover,
#contextual-help-link-wrap a:hover {
  background: #f3f4f6;
  color: #1e1e1e;
}

#screen-meta {
  border-radius: 0 0 8px 8px;
}


/* ── Nav tabs ──────────────────────────────────────────────── */

.nav-tab-wrapper .nav-tab {
  border-radius: 6px 6px 0 0;
}


/* ── Admin menu items — rounded active highlight ───────────── */

#adminmenu li.menu-top {
  border-radius: 0;
}

#adminmenu li.menu-top>a.menu-top {
  border-radius: 6px;
  margin: 1px 6px;
  padding-left: 10px;
  width: calc(100% - 12px);
  box-sizing: border-box;
}

#adminmenu .wp-submenu li>a {
  border-radius: 4px;
  margin: 1px 8px;
  padding: 4px 8px;
  width: calc(100% - 16px);
  box-sizing: border-box;
}

/* ── Folded (icon-only) state — reset item layout ──────────── */

.folded #adminmenu li.menu-top>a.menu-top,
body.auto-fold.folded #adminmenu li.menu-top>a.menu-top {
  border-radius: 0;
  margin: 0;
  padding-left: 0;
  width: 100%;
  border-left: none !important;
}

.folded #adminmenu li.current a.menu-top,
.folded #adminmenu li.wp-has-current-submenu a.wp-has-current-submenu {
  border-left: none !important;
  padding-left: 0 !important;
  background: rgba(122, 37, 53, 0.35);
}


/* ── Rounded inside corner (sidebar/admin bar → content) ───── */
/*
   Technique: apply border-top-left-radius directly to #wpcontent.
   The sidebar background shows through the clipped corner, creating
   a natural concave curve with no extra elements needed.
*/

#wpcontent {
  border-top-left-radius: 16px;
  overflow: hidden;
}