/**
 * Template 1 — MediaSnap brand inside Nexsas header/footer (matches creator ecosystem).
 */

.header-one .index-logo,
.sidebar .index-logo {
  display: flex !important;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
  flex-shrink: 0;
}

.header-one .index-logo img,
.sidebar .index-logo img,
.ms-tpl1-brand-footer img {
  display: block !important;
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
}

.header-one .index-logo-text,
.sidebar .index-logo-text {
  display: flex !important;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  min-width: 0;
}

.header-one .index-logo-name,
.sidebar .index-logo-name {
  display: block !important;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  background: linear-gradient(135deg, #1a1a1c 0%, rgba(0, 140, 200, 0.95) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

html.dark .header-one .index-logo-name,
html.dark .sidebar .index-logo-name {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.97) 0%, rgba(0, 212, 255, 0.9) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.header-one .index-logo-tagline,
.sidebar .index-logo-tagline {
  display: block !important;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.2;
  color: rgba(26, 26, 28, 0.45);
}

html.dark .header-one .index-logo-tagline,
html.dark .sidebar .index-logo-tagline {
  color: rgba(255, 255, 255, 0.38);
}

.sidebar .index-logo-tagline {
  display: none !important;
}

.ms-tpl1-brand-footer {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  text-decoration: none;
}

.ms-tpl1-brand-footer span {
  font-weight: 700;
  font-size: 0.95rem;
  background: linear-gradient(135deg, #1a1a1c 0%, rgba(0, 140, 200, 0.95) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

html.dark .ms-tpl1-brand-footer span {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.97) 0%, rgba(0, 212, 255, 0.9) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media (max-width: 1279px) {
  .header-one .index-logo-tagline {
    display: none !important;
  }
}

/* Creator-style Download + Sign in in Nexsas header pill */
.ms-tpl1-nav-actions-wrap {
  flex-shrink: 0;
}

.header-one .ms-tpl1-nav-actions {
  gap: 8px;
}

.header-one .ms-tpl1-nav-actions .btn {
  white-space: nowrap;
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 999px;
}

.header-one .index-header-download-dropdown .index-top-nav-submenu {
  z-index: 100000;
}
