.sifency-admin-page .wrap {
  margin-top: 0;
}

.sifency-admin-topbar {
  position: sticky;
  top: 0;
  z-index: 98;
  background: #fff;
  border: 1px solid var(--sifency-border-color);
  padding: 0 24px;
  margin: 0 0 20px -20px;
  backdrop-filter: blur(8px);
  transition: 0.2s ease-in-out;
}

.sifency-info-link,
.sifency-upgrade-btn {
  transition: 0.15s ease-in-out;
  text-decoration: none;
}

.sifency-topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.sifency-topbar-left {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 30px 20px 0;
  border-right: 1px solid var(--sifency-border-color);
}

.appearance_page_one-click-demo-import .sifency-topbar-left {
  margin-left: 20px;
}

@media screen and (max-width: 1600px) {
  .sifency-topbar-left {
    padding: 0;
    border-right: none;
  }
}

@media screen and (max-width: 1600px) {

  .sifency-topbar-menu .menu-item .dashicons,
  .sifency-admin-topbar .sifency-topbar-right .sifency-topbar-info {
    display: none;
  }
}

.sifency-topbar-logo {
  height: 36px;
  width: auto;
  border-radius: 8px;
}

.sifency-topbar-brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-name {
  font-size: 17px;
  font-weight: 700;
  color: #1d2327;
  letter-spacing: -0.2px;
}

.brand-version {
  font-size: 11px;
  color: #5c6066;
  background: #f3f4f6;
  padding: 3px 7px;
  border-radius: 4px;
  display: inline-block;
  line-height: 1;
}

.sifency-topbar-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
  padding-bottom: 10px;
}

.sifency-topbar-info {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 13px;
  padding: 10px 0 6px;
}

.sifency-info-link {
  color: #555c63;
  display: flex;
  align-items: center;
  gap: 6px;
}

.sifency-info-link:hover {
  color: var(--sifency-accent);
}

.sifency-upgrade-btn {
  background: linear-gradient(90deg, #ffb900, #ff9e00);
  color: #1d2327;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 13px;
  box-shadow: 0 2px 6px rgba(255, 185, 0, 0.25);
}

.sifency-floating-add-btn,
.sifency-fullscreen-btn {
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(76, 110, 245, 0.35);
}

.sifency-upgrade-btn:hover {
  background: linear-gradient(90deg, #ffc83a, #ffad1d);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(255, 185, 0, 0.35);
}

.sifency-topbar-menu {
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid var(--sifency-border-color);
  padding: 10px 0 0;
  width: 100%;
  flex-wrap: wrap;
}

.sifency-topbar-menu .menu-item {
  position: relative;
  font-size: 14px;
  font-weight: 500;
  color: #444c54;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 6px;
  transition: 0.15s;
}

.sifency-topbar-menu .menu-item:hover {
  background: #f6f8fa;
  color: var(--sifency-accent);
}

.sifency-topbar-menu .menu-item.is-active {
  background: #e9f5ff;
  color: var(--sifency-accent);
  font-weight: 600;
}

@media screen and (max-width: 1100px) {
  .sifency-topbar-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .sifency-topbar-right {
    align-items: flex-start;
    width: 100%;
  }

  .sifency-topbar-menu {
    gap: 6px;
  }
}

.sifency-templates-header {
  position: relative;
}

.sifency-floating-add-btn.text p.submit .button {
  padding: 0;
  background: 0 0;
  border: none;
  color: var(--white-color);
  box-shadow: none;
  outline: 0;
}

.sifency-floating-add-btn.text p.submit {
  padding: 0;
  margin: 0;
}

.sifency-floating-add-btn {
  position: fixed;
  right: 20px;
  bottom: 30px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--sifency-accent);
  border: none;
  padding: 0px 16px;
  border-radius: 100px !important;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  overflow: hidden;
  transition: 0.3s;
}

.sifency-floating-add-btn:hover,
.sifency-fullscreen-btn:hover {
  background: var(--sifency-accent);
  box-shadow: 0 6px 15px rgba(76, 110, 245, 0.45);
}

.sifency-add-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 110%;
  font-weight: 700;
  flex-shrink: 0;
  transition: transform 0.25s;
}

.sifency-add-label {
  max-width: 0;
  opacity: 0;
  white-space: nowrap;
  transition: 0.35s;
}

.sifency-floating-add-btn:hover .sifency-add-label {
  max-width: 300px;
  opacity: 1;
}

.sifency-fullscreen-btn {
  position: fixed;
  top: 125px;
  right: 15px;
  z-index: 99;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: var(--sifency-accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  transition: 0.3s;
}

.icon-compress,
.icon-expand {
  position: fixed;
  transition:
    opacity 0.3s,
    transform 0.3s;
}

.icon-compress {
  opacity: 0;
  transform: scale(0.6);
}

.fullwidth-enabled .sifency-admin-topbar {
  margin-right: 0;
  margin-top: 0;
}