/* Inter font */

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

.dashicons-before img{
  width: 20px;
}

#wpcontent{
  padding: 0;
}

#wpbody-content{
  padding: 60px;
  /* width: auto; */
  width:calc(100% - 220px);
}

#wpwrap{
  background-color: #E0E0EB;
}

.zillametrics-admin.zm-welcome-active.zm-lic {
  width: 100%;
  max-width: 100% !important;
}

.wrap.zillametrics-admin .zm-hero {
  width: 100%;
}

.zm-header{
  background-color: #101F30;
  border-top: 2px solid #6AB82B;
  padding: 25px 42px;
}

.zm-header-logo{
  padding-right: 21px;
  border-right: 1px solid rgba(217, 217, 217,0.1);
}

.zm-hero {
  text-align: center;
  padding: 54px 54px 129px 54px;
  background: #FFFFFF;
  border-radius: 20px;
  box-shadow: 0px 4px 14px 0px #00000014;
  border: 1px solid #34384433;
}
.zm-hero h1 {
font-family: "Inter", sans-serif;
font-weight: 800;
font-size: 41px;
line-height: 130%;
color: #6AB82B;
padding: 0;
margin-bottom: 49px;
text-align: center;
}
.zm-sub-heading{
font-family: Inter;
font-weight: 800;
font-size: 32px;
line-height: 130%;
color: #343844;
margin-bottom:20px;
text-align: center;
}
.zm-muted {
font-family: "Inter", sans-serif;
font-weight: 300;
font-size: 16px;
line-height: 140%;
text-align: center;
color: #000000B2;
margin-bottom: 50px;
}
.zm-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}
.zm-card {
  background: #fff;
  border-radius: 10px;
  padding: 36px 20px;
  border: 1px solid #000000;
}
.zm-card h2{
font-family: "Inter", sans-serif;
font-weight: 700;
font-size: 20px;
line-height: 120%;
color: #343844;
text-align: center;
margin-bottom: 30px;
margin-top: 0;
}
.zm-button {
  display: inline-block;
  padding: 15px;
  border-radius: 10px;
  background: #6AB82B;
  border: 1px solid transparent;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 18px;
  line-height: 120%;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}

.zm-button:hover{
  color: #6AB82B;
  border-color: #6AB82B;
  background-color: transparent;
}

/* Tab heading consistency */
.zm-page-title {
  margin-top: 16px;
}



/* New css */

.wrap{
  margin: 0;
}

/* License css */

.zm-lic{
  max-width: 863px !important;
}

.zm-lic .zm-hero{
  padding: 50px 52px;
}

.zm-lic .zm-page-title{
text-align: left;
font-size: 32px;
line-height: 130%;
color: #343844;
margin-bottom: 16px;
}

.zm-lic .zm-muted{
  margin: 0;
  margin-bottom: 32px;
  text-align: left;
}

.zm-lic .form-table th{
 
  padding:0 0 9px 0;
}

.zm-lic .form-table{
  margin: 0;
}

.zm-lic .form-table th label{
font-family: "Inter", sans-serif;
font-weight: 700;
font-size: 15.85px;
line-height: 140%;
color: #000000;
} 

.zm-lic .form-table td{
  padding: 0;
}

.zm-lic .description{
  text-align: left !important;
  margin: 0 !important;
  margin-top: 16px !important;
}

.zm-lic .description a{
  color: #6AB82B;
  font-size: 10px;
  font-weight: 700;
}


.zm-lic input[type=text]{
border: 1.13px solid #00000033;
border-radius: 5.66px;
padding: 10px 15px;
font-family: "Inter", sans-serif;
font-weight: 400;
font-size: 15.85px;
line-height: 140%;
color: #000000;
margin-bottom: 5px !important;
margin: 0;
height: 45px;
}

.zm-lic .form-table td p{
  margin: 0;
  text-align: left;
  margin-left: 14px;
}

.zm-lic .button-primary{
  border: 1px solid #00000033 !important;
  background-color: #6AB82B;
  border-radius: 3px;
  padding: 12px 20px;
  font-family: "Inter", sans-serif;
font-weight: 400;
font-size: 14px;
line-height: 140%;
color: #FFFFFF;
margin-bottom:0px;
height: 45px;
}

.zm-lic .button-primary:hover{
  background: transparent;
  color: #6AB82B;
  border-color: #6AB82B !important;
}



/* Focus state */
.zm-lic input[type="text"]:focus {
  border-color: #00000033; /* highlight color */
  outline: none;
  box-shadow: none;
}

/* Active state */
.zm-lic input[type="text"]:active {
  border-color: #00000033;
}

/* Autofill (WebKit: Chrome, Edge, Safari, Opera) */
.zm-lic input[type="text"]:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px #fff inset !important;
  -webkit-text-fill-color: #000 !important;
  transition: none; /* prevent yellow */
}

/* Autofill on focus */
.zm-lic input[type="text"]:-webkit-autofill:focus {
  border-color: #00000033;
  -webkit-box-shadow: none;
}

/* Firefox autofill */
.zm-lic input[type="text"]:-moz-autofill {
  box-shadow:none !important;
  color: #000 !important;
}

/* Remove default blue outline on focus for all browsers */
.zm-lic input[type="text"]::-moz-focus-inner {
  border: 0;
}

.zm-lic input[type=text]::placeholder{
  color:rgba(0, 0, 0, 0.5) ;
}

/* Active */

.zm-active{
  max-width: 863px !important;
}

.zm-active .zm-hero{
  padding:48px;
}

.zm-active .zm-page-title{
  text-align: left;
  font-size: 32px;
  line-height: 130%;
  color: #343844;
  margin-bottom: 16px;
  }

  .zm-active .zm-muted{
    margin: 0;
    margin-bottom: 32px;
    text-align: left;
  }

  /* Hide default checkbox */
  .zm-active input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 51px;
  height: 27px;
  border-radius: 50px;
  background: #343844;
  position: relative;
  cursor: pointer;
  outline: none;
  transition: background 0.3s ease;
  border: none;
}

/* Circle knob */
.zm-active input[type="checkbox"]::after {
  content: "";
  position: absolute;
  top: 0px;
  bottom: 0px;
  margin: auto 0;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.3s ease;
}

/* Checked state */

.zm-active input[type="checkbox"]:checked::after {
  transform: translateX(24px);
}

.zm-active input[type="checkbox"]:checked::before {
  display: none;
}

.zm-active input[type="checkbox"]:checked{
  background: #6AB82B;
}

.zm-active input[type=checkbox]:focus{
  outline: none;
  border: none;
  box-shadow: none;
}

.zm-active input[type=checkbox]:active{
  outline: none;
  border: none;
}

.zm-active .form-table{
  margin-top: 0;
}

.zm-active .form-table td{
  text-align: right;
  padding: 0;
}

.zm-active .form-table th{
  padding: 0;
  font-family: "Inter", sans-serif;
font-weight: 700;
font-size: 22px;
line-height: 120%;
color:#343844;
}

.zm-active form p{
  display: none;
}

.zm-active .button-primary{
  display: none;
}

.zm-how-box{
  border: 1px solid #000000;
  border-radius: 10px;
  padding: 20px;
  margin-top: 30px;
}

.zm-how-box h4{
  font-family: "Inter", sans-serif;
font-weight: 700;
font-size: 20px;
line-height: 120%;
color: #343844;
margin-bottom: 12px;
margin-top: 0;
text-align: left;
}

.zm-how-box p{
  font-family: "Inter", sans-serif;
font-weight: 300;
font-size: 16px;
line-height: 140%;
color: #000000B2;
margin: 0;
text-align: left;
}

.zm-preview{
  max-width: 969px !important;
}

.zm-preview-actions span {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.zm-preview-actions {
  display: flex;
  align-items: center;
}

.zm-preview .zm-hero{
  padding: 50px 48px;
}

.zm-preview .zm-hero h1 {
  text-align: left;
  font-size: 32px;
  line-height: 130%;
  color: #343844;
  margin-bottom: 16px;
}

.zm-preview .zm-muted{
  margin: 0;
  text-align: left;
}

/* Preview */

.zm-tab-btns{
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-bottom: 27px;
}

.zm-tab-btn{
  border: 1px solid #34384433 !important;
  background-color: #F5F5F5;
  padding: 11px 20px;
  font-family: "Inter", sans-serif;
font-weight: 400;
font-size: 14px;
line-height: 140%;
color: #000000;
cursor: pointer;
}

.zm-tab-content-inner{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.zm-tab-content-inner h4{
  margin: 0;
  font-family: "Inter", sans-serif;
font-weight: 700;
font-style: Bold;
font-size: 15.85px;
line-height: 140%;
color: #000;
}

/* Select box */

.dropdown {
  position: relative;
  width: 368px;
}

.dropdown-btn {
  width: 100%;
  padding: 11px 16px;
  text-align: left;
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  border: 1.13px solid #00000033;
  box-shadow: 0px 4px 14px 0px #00000014;
  font-family:"Inter", sans-serif;
font-weight: 400;
font-size: 15.85px;
line-height: 140%;
color: #000000;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 326px;
  background: #fff;
  margin-top: -12px;
  box-shadow: 0px 4px 25px 0px #00000024;
  display: none;
  z-index: 10;
  border: 1px solid #0000001A;
  border-bottom-right-radius: 6px;
  border-bottom-left-radius: 6px;
  padding: 0 20px;
}

.dropdown-item {
  padding: 8px 12px;
  border-bottom: 1px solid rgba(0, 0, 0,0.1);
  cursor: pointer;
  font-family:"Inter", sans-serif;
font-weight: 700;
font-size: 14px;
line-height: 17px;
color: #343844;
text-align: left;
}

.dropdown-item:last-child {
  border-bottom: none;
  padding-bottom: 16px;
}

.dropdown-item:first-child {
  padding-top: 14px;
}

/* Show dropdown when active */
.dropdown.open .dropdown-menu {
  display: block;
}

/* Tab */

/* Hide all tab contents */
.zm-tab-content-inner {
  display: none;
}

/* Show only the active one */
.zm-tab-content-inner.active {
  display: flex;
}

/* Active tab button */
.zm-tab-btn.active {
  background: #6AB82B;   /* highlight color */
  color: #fff;
}


/* Responsive */

@media(max-width:1024px){
  #wpbody-content{
    padding: 40px;
  }
  .zm-hero{
    padding: 40px;
  }
  .zm-lic .zm-hero{
    padding: 40px;
  }
  .zm-active .zm-hero{
    padding: 40px;
  }
  .zm-preview .zm-hero{
    padding: 40px;
  }
  .zm-card h2{
    margin-bottom: 20px;
  }
  .zm-hero h1{
    margin-bottom: 30px;
  }
  .zm-columns{
    gap: 30px;
  }
  .zm-lic .zm-muted{
    margin-bottom: 25px;
  }
  .zm-lic{
    max-width: 100% !important;
  }
  .zm-active{
    max-width: 100% !important;
  }
  .zm-preview{
    max-width: 100% !important;
  }
}

@media screen and (max-width: 782px) {
  .auto-fold #wpcontent{
    padding: 0;
  }
  .zm-lic .form-table td p{
    margin-top: 14px;
    margin-left: 0;
  }
  .zm-lic .button-primary{
    margin-bottom: 0;
  }
  .zm-active .form-table td{
    text-align: left;
    margin-top: 15px;
  }
}

@media(max-width:768px){
  #wpbody-content{
    padding: 30px;
  }
  .zm-hero{
    padding: 30px;
  }
  .zm-lic .zm-hero{
    padding: 30px;
  }
  .zm-active .zm-hero{
    padding: 30px;
  }
  .zm-preview .zm-hero{
    padding: 30px;
  }
  .zm-sub-heading{
    font-size: 25px;
  }
  .zm-hero h1{
    margin-bottom: 25px;
  }
  .zm-active .zm-page-title{
    margin-bottom: 16px;
  }
  .zm-active .zm-muted{
    margin-bottom: 20px;
  }
  .zm-muted{
    margin-bottom: 30px;
  }
  .zm-columns{
    gap: 20px;
  }
}

@media(max-width:576px){
  .zm-hero h1{
    font-size: 25px;
    margin-bottom: 15px;
  }
  .zm-sub-heading{
    font-size: 20px;
  }
  .zm-columns{
    grid-template-columns: 1fr;
  }
  .zm-card{
    padding: 20px;
  }
  .zm-card .zm-muted{
    margin-bottom: 25px;
  }
  .zm-preview .zm-muted{
    margin-bottom: 25px;
  }
  .zm-button{
    font-size: 16px;
  }
  .zm-header-logo{
    width: 200px;
    height: 50px;
    object-fit: contain;
  }
  .zm-header{
    padding: 20px;
  }
  .zm-lic .zm-page-title{
    font-size: 25px;
    margin-bottom: 10px;
  }
  .zm-active .zm-page-title{
    font-size: 25px;
    margin-bottom: 10px;
  }
  .zm-preview .zm-hero h1{
    font-size: 25px;
    margin-bottom: 10px;
  }
  .zm-active .form-table th{
    font-size: 18px;
  }
  #wpbody-content{
    padding: 20px;
  }
  .zm-active .zm-hero{
    padding: 25px;
  }
  .zm-preview .zm-hero{
    padding: 25px;
  }
  .zm-lic .zm-hero{
    padding: 25px;
  }
  .dropdown{
    width: 100%;
  }
  .dropdown-menu{
    width: -webkit-fill-available;
  }
  .zm-tab-btns{
    flex-direction: column;
  }
  .zm-tab-btn{
    width: 100%;
  }
}
/* License Authentication Styles */
.license-status {
    margin: 20px 0;
}

.license-status .notice.inline {
    display: block;
    margin: 0;
    padding: 12px;
}

#zillametrics-save-license {
    position: relative;
    min-width: 120px;
}

#zillametrics-save-license:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

#zillametrics-save-license .spinner {
    visibility: visible;
    width: 16px;
    height: 16px;
    margin: 0 8px 0 0;
    display: inline-block;
    vertical-align: middle;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #3498db;
    border-radius: 50%;
    animation: zm-spinner-rotate 1s linear infinite;
}

@keyframes zm-spinner-rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#zillametrics-message-container .notice {
    margin: 20px 0 0 0;
}

#zillametrics-message-container .notice p {
    margin: 0.5em 0;
}

.zillametrics-admin .form-table th {
    padding-top: 20px;
}

.zillametrics-admin .form-table td {
    padding-top: 15px;
    vertical-align: top;
}

/* Responsive adjustments */
@media screen and (max-width: 782px) {
    .zillametrics-admin .form-table th,
    .zillametrics-admin .form-table td {
        display: block;
        width: 100%;
        padding: 10px 0;
    }
    
    #zillametrics-save-license {
        margin-top: 10px;
    }
}

/* Dynamic Pages Dropdown Styles */
.dropdown-btn .loading-spinner {
  font-size: 12px;
  color: #666;
  margin-left: 8px;
}

.dropdown-item.loading-item {
  color: #666;
  font-style: italic;
}

.dropdown-item.no-pages-item {
  color: #999;
  font-style: italic;
}

.selected-page-info {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  line-height: 1.4;
  color: #333;
}

.selected-page-info strong {
  font-weight: 600;
}

.selected-page-info span {
  color: #666;
}

/* Loading state for dropdown button */
.dropdown-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Error state */
.dropdown-item[style*="color: red"] {
  color: #d63638 !important;
  font-weight: 500;
}

/* Responsive adjustments for pages dropdown */
@media screen and (max-width: 782px) {
  .dropdown {
    width: 100%;
    max-width: 368px;
  }
  
  .dropdown-menu {
    width: 100%;
    max-width: 326px;
  }
}

/* Enhanced Pages Dropdown Styles - Force proper behavior */
#pages-dropdown {
  position: relative;
}

#pages-dropdown .dropdown-menu {
  display: none !important;
}

#pages-dropdown.open .dropdown-menu {
  display: block !important;
}

/* Ensure dropdown items are clickable */
#pages-dropdown .dropdown-item {
  cursor: pointer;
  user-select: none;
}

#pages-dropdown .dropdown-item:hover {
  background-color: #f0f0f0;
}

/* Debug styles - remove in production */
#pages-dropdown.debug {
  border: 2px solid red;
}

#pages-dropdown.debug.open {
  border: 2px solid green;
}

/* Force Pages Dropdown to Close - More Aggressive Approach */
#pages-dropdown .dropdown-menu {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

#pages-dropdown.open .dropdown-menu {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

/* Ensure dropdown items are properly clickable */
#pages-dropdown .dropdown-item {
  cursor: pointer !important;
  user-select: none !important;
  pointer-events: auto !important;
}

#pages-dropdown .dropdown-item:hover {
  background-color: #f0f0f0 !important;
}

/* Prevent any interference from other dropdown styles */
#pages-dropdown {
  position: relative !important;
}

#pages-dropdown .dropdown-btn {
  pointer-events: auto !important;
  cursor: pointer !important;
}

/* License Page Inline Styles */
/* Layout polish: spacing between sections and card feel for About */
.wrap.zillametrics-admin{max-width:none}
.wrap.zillametrics-admin .zm-hero{width:100%}
/* Slightly larger helper text under license input */
.wrap.zillametrics-admin .zm-hero .description{font-size:15px; line-height:1.6}
.wrap.zillametrics-admin .zm-hero .description a{font-size:16px; font-weight:600; text-decoration: underline}
.zm-about-card{margin-bottom:32px;padding:40px;background:#fff;border:1px solid #e5e7eb;border-radius:16px;box-shadow:0 1px 2px rgba(0,0,0,.03)}
.zm-about-title{margin:0 0 12px;font-size:44px;line-height:1.15;font-weight:800;color:#6AB82B;text-align:center;letter-spacing:.2px}
.zm-about-subtitle{margin:0 0 18px;font-size:28px;line-height:1.2;font-weight:800;color:#2d3748;text-align:center}
.zm-about-desc{max-width:1100px;margin:0 auto 28px;text-align:center;color:#4a5568;font-size:16px;line-height:1.7}
.zm-about-ctas{display:flex;gap:24px;justify-content:space-between;flex-wrap:wrap}
.zm-about-panel{flex:1 1 44%;min-width:420px;border:2px solid #dfe3ea;border-radius:16px;padding:36px 28px;text-align:center;background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.03)}
.zm-about-panel-title{margin:0 0 18px;font-size:22px;color:#111827;font-weight:700}
.zm-big-btn{min-width:240px;height:56px;display:inline-flex;align-items:center;justify-content:center;font-size:18px;background:#6AB82B;border-color:#5CA626;border-radius:10px}
.zm-big-btn:hover{background:#5AA127;border-color:#51941F}
/* Make preview area full-width and better structured to match settings */
.zm-preview{padding:24px;background:#fff;border:1px solid #e9ecef;border-radius:12px;width:106.5%}
.zm-preview .zm-page-title{margin-top:0}
.zm-preview .zm-muted{margin-top:4px;margin-bottom:16px}
/* Tabs as WP-style buttons */
.zm-tab{margin:20px 0}
.zm-tab-btns{display:flex;gap:12px;margin-bottom:16px}
.zm-tab-btn{padding:10px 18px;border-radius:6px;border:1px solid #d1d5db;background:#f3f4f6;color:#111827;cursor:pointer;font-size:14px}
.zm-tab-btn:hover{background:#eef2f7}
.zm-tab-btn.active{background:#6AB82B;border-color:#5CA626;color:#fff;font-weight:600}
.zm-tab-content-inner{display:none}
.zm-tab-content-inner.active{display:block}
/* Full-width inputs */
.dropdown{position:relative;display:block;width:100%}
.dropdown-btn{width:100%;padding:12px 16px;background:#fff;border:1px solid #ddd;border-radius:6px;cursor:pointer;display:flex;justify-content:space-between;align-items:center;font-size:14px;margin-top: 10px;}
.dropdown-menu{position:absolute;top:100%;left:0;right:0;background:#fff;border:1px solid #6AB82B;border-top:none;border-radius:0 0 6px 6px;max-height:300px;overflow-y:auto;z-index:1000;display:none}
.dropdown.open .dropdown-menu{display:block}
.dropdown-item{padding:12px 16px;cursor:pointer;border-bottom:1px solid #f0f0f0}
.dropdown-item:last-child{border-bottom:0}
.selected-bot-info,.selected-page-info{margin-top:16px;padding:12px;background:#f8f9fa;border:1px solid #e9ecef;border-radius:6px}
/* Secondary danger-style button for deactivate */
.zm-button-secondary:hover{border-color:#b53f2e;color:#b53f2e}

/* Preview Page Inline Styles */
.bot-selection-container,
.page-selection-container {
  margin: 20px 0;
}

.dropdown {
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 500px;
}

.dropdown-btn {
  width: 100%;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  transition: border-color 0.3s ease;
}

.dropdown-btn:hover {
  border-color: #6AB82B;
}

.dropdown-btn.open {
  border-color: #6AB82B;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.dropdown-arrow {
  transition: transform 0.3s ease;
  color: #666;
}

.dropdown.open .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #6AB82B;
  border-top: none;
  border-radius: 0 0 4px 4px;
  max-height: 300px;
  overflow-y: auto;
  z-index: 1000;
  display: none;
}

.dropdown.open .dropdown-menu {
  display: block;
}

.dropdown-item {
  padding: 12px 16px;
  cursor: pointer;
  border-bottom: 1px solid #f0f0f0;
  transition: background-color 0.2s ease;
}

.dropdown-item:last-child {
  border-bottom: none;
}

.dropdown-item:hover {
  background-color: #f8f9fa;
}

.bot-item {
  padding: 16px;
}

.bot-name {
  font-weight: 600;
  color: #333;
  margin-bottom: 4px;
}

.bot-description {
  font-size: 12px;
  color: #666;
  line-height: 1.4;
}

.selected-bot-info,
.selected-page-info {
  margin-top: 20px;
  padding: 16px;
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 4px;
}

.selected-bot-info h5,
.selected-page-info h5 {
  margin: 0 0 8px 0;
  color: #333;
  font-size: 14px;
}

.selected-bot-info p,
.selected-page-info p {
  margin: 4px 0;
  color: #666;
  font-size: 13px;
}

.loading-spinner {
  color: #6AB82B;
  font-style: italic;
}

.zm-tab {
  margin: 30px 0;
}

.zm-tab-btns {
  display: flex;
  border-bottom: 1px solid #ddd;
  margin-bottom: 20px;
}

.zm-tab-btn {
  padding: 12px 24px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  font-size: 14px;
  color: #666;
  transition: all 0.3s ease;
}

.zm-tab-btn:hover {
  color: #333;
  background: #f8f9fa;
}

.zm-tab-content-inner {
  display: none;
}

.zm-tab-content-inner.active {
  display: block;
}

.notice.inline {
  display: block;
  margin: 0;
  padding: 15px;
}

.zm-preview-actions .button[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Center the selected page details */
.selected-page-info {
  text-align: center;
}

/* Ensure URL paragraph inside selected page info is centered, overriding .zm-preview .zm-muted */
.zm-preview .selected-page-info .zm-muted {
  text-align: center;
}

/* ZillaMetrics themed preview button */
#view-preview-btn.button.button-primary {
  background-color: #6AB82B;
  border-color: #5CA626;
  color: #fff;
  text-shadow: none;
  box-shadow: none;
}

#view-preview-btn.button.button-primary:hover,
#view-preview-btn.button.button-primary:focus {
  background-color: #5AA127;
  border-color: #51941F;
  color: #fff;
}

#view-preview-btn.button.button-primary:active {
  background-color: #4E8F1E;
  border-color: #457F1A;
}

#view-preview-btn.button.button-primary[disabled] {
  background-color: #6AB82B;
  border-color: #5CA626;
  color: #fff;
}
