.vw-brand-logo-link {
  display: block;
}

bit-icon.vw-brand-logo-icon {
  max-height: none !important;
}

.vw-brand-logo-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

bit-icon[aria-label*="Bitwarden"],
bit-icon[aria-label*="Логотип"],
bit-icon.vw-brand-logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background: center / contain no-repeat url("/custom/brand/logo2.png");
}

bit-icon[aria-label*="Bitwarden"] svg,
bit-icon[aria-label*="Логотип"] svg {
  opacity: 0 !important;
}

.new-logo-themed {
  content: url("/custom/brand/logo2.png") !important;
  width: 220px !important;
  height: auto !important;
  object-fit: contain;
}

.vw-extension-priority-banner {
  margin: 0 0 1rem;
  padding: 0.9rem 1rem;
  border: 2px solid #f04438;
  border-radius: 14px;
  background: #fff5d7;
  color: #8e1f1f;
  font-size: 1.02rem;
  line-height: 1.4rem;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

.vw-selfhost-steps {
  margin-top: 1.25rem;
  text-align: left;
  border-top: 1px solid #d6dbe6;
  padding-top: 1rem;
}

.vw-selfhost-steps h3 {
  margin: 0 0 0.75rem;
  font-size: 1.08rem;
  line-height: 1.4rem;
  font-weight: 700;
  color: #102241;
}

.vw-selfhost-steps ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.vw-selfhost-step {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1rem;
  align-items: start;
}

.vw-selfhost-step-image {
  width: 120px;
  height: 120px;
  border-radius: 14px;
  border: 1px solid #d6dbe6;
  background: #f4f7ff;
  object-fit: contain;
}

.vw-selfhost-step-image-link {
  display: block;
  border-radius: 14px;
}

.vw-selfhost-step-text h4 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  line-height: 1.35rem;
  font-weight: 600;
  color: #162949;
}

.vw-selfhost-step-text p {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  line-height: 1.4rem;
  color: #334b6d;
}

.vw-selfhost-step-link {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f4ec9;
  text-decoration: underline;
}

.vw-selfhost-step-highlight {
  display: inline-block;
  margin-top: 0.45rem;
  padding: 0.2rem 0.55rem;
  border-radius: 8px;
  background: #ffde57;
  color: #8f1a00;
  font-size: 1rem;
  line-height: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

@media (max-width: 640px) {
  .vw-selfhost-step {
    grid-template-columns: 88px 1fr;
  }

  .vw-selfhost-step-image {
    width: 88px;
    height: 88px;
  }
}
