body {
  margin: 0;
  padding: 0;
}

.password-container {
  height: calc(100vh - 140px);
  overflow: hidden;
  overflow-y: scroll;
}

.line-height-sm {
  line-height: 0.875rem !important;
}

.word-break {
  word-break: break-word;
}

.btk-min-h-screen {
  min-height: calc(100vh - 45px) !important;
}

.btk-contianer {
  max-width: 1920px !important;
  margin: 0 auto;
  border: 1px solid var(--surface-border);
}

.btk-vault {
  flex: 0 0 auto;
  width: 100%;
}

@media (min-width: 768px) {
  .btk-vault {
    flex: 0 0 auto;
    width: 33.33%;
  }
}

@media (min-width: 992px) {
  .btk-vault {
    flex: 0 0 auto;
    width: 25%;
  }
}

@media (min-width: 1400px) {
  .btk-vault {
    flex: 0 0 auto;
    width: 20%;
  }
}

.btk-h-select-item {
  height: calc(100vh - 82px);
}

.btk-copy-label {
  opacity: 0;
  transition: opacity 0.2s ease;
}

.btk-copy-group:hover .btk-copy-label {
  opacity: 1;
}

.btk-bullet {
  color: var(--bk-link);
  font-size: 0.5rem;
}

.btk-item-banner {
  background-image: url(/assets/item-select.png);
}

@media (max-width: 992px) {
  .item-details {
    position: absolute;
    top: 0px;
    min-height: 100vh;
    width: calc(100% - 0.25rem);
    padding: 0.5rem;
  }
}

.min-h-40rem {
  min-height: 40rem;
}

/* Shared application styling; palette roles come from the selected theme. */
body {
  background: var(--surface-ground);
  color: var(--text-color);
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.5;
}

h1,
h2,
h3,
.p-card-title,
.p-dialog-title {
  color: var(--text-color);
  font-weight: 500;
}
h1 {
  font-size: 2rem;
  line-height: 1.2;
  letter-spacing: -0.025em;
}
h2 {
  font-size: 1.5rem;
  line-height: 1.3;
}
h3 {
  font-size: 1.125rem;
  line-height: 1.4;
}
a {
  color: var(--bk-link);
  text-decoration: none;
}
a:hover {
  text-decoration: none;
}
.text-primary {
  color: var(--bk-link) !important;
}
.p-component {
  font-family: var(--font-family);
}

.btk-contianer {
  background: var(--surface-ground);
}
.btk-brand {
  color: var(--text-color);
  text-decoration: none;
}
.btk-brand > div {
  gap: 10px;
}
.btk-wordmark {
  font-size: 18px;
  font-weight: 600;
  white-space: nowrap;
}
.p-menubar {
  border-color: var(--surface-border);
  border-radius: 12px;
  gap: 16px;
}
.p-menubar .p-menuitem-link,
.p-menu .p-menuitem-link {
  min-height: 44px;
  font-size: 14px;
  font-weight: 600;
}
.p-menubar .p-menuitem-text,
.p-menu .p-menuitem-text,
.p-menubar .p-menuitem-icon,
.p-menu .p-menuitem-icon {
  color: var(--text-color);
}
.p-menu,
.p-dropdown-panel,
.p-dialog,
.p-card {
  background: var(--surface-overlay);
  color: var(--text-color);
  border: 1px solid var(--surface-border);
  border-radius: 12px;
  box-shadow: var(--bk-shadow);
}
.surface-0.shadow-5,
.surface-card.shadow-5 {
  border: 1px solid var(--surface-border);
  border-radius: 12px !important;
  box-shadow: var(--bk-shadow) !important;
}
.p-dialog .p-dialog-header,
.p-dialog .p-dialog-content,
.p-dialog .p-dialog-footer {
  background: var(--surface-overlay);
  color: var(--text-color);
}
.p-dialog .p-dialog-header {
  border-radius: 12px 12px 0 0;
}
.p-dialog .p-dialog-footer {
  border-radius: 0 0 12px 12px;
}

.p-button {
  min-height: 44px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 600;
  transition:
    background-color 150ms,
    border-color 150ms;
}
.p-button:not(.p-button-secondary):not(.p-button-success):not(
    .p-button-info
  ):not(.p-button-warning):not(.p-button-help):not(.p-button-danger):not(
    .p-button-text
  ):not(.p-button-outlined):not(.p-button-link) {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--primary-color-text);
}
.p-button:not(.p-button-secondary):not(.p-button-success):not(
    .p-button-info
  ):not(.p-button-warning):not(.p-button-help):not(.p-button-danger):not(
    .p-button-text
  ):not(.p-button-outlined):not(.p-button-link):enabled:hover {
  background: var(--bk-action-hover);
  border-color: var(--bk-action-hover);
}
.p-button.p-button-outlined {
  background: var(--surface-card);
  border-color: var(--bk-input-border);
}
.p-button.p-button-outlined:not(.p-button-danger),
.p-button.p-button-text:not(.p-button-danger),
.p-button.p-button-link {
  color: var(--bk-link);
}
.p-button.p-button-rounded {
  border-radius: 50%;
}
.p-button.p-button-icon-only {
  min-width: 44px;
}
.p-disabled,
.p-component:disabled {
  opacity: 0.65;
}

.p-inputtext,
.p-dropdown,
.p-multiselect,
.p-inputnumber-input {
  background: var(--surface-card);
  color: var(--text-color);
  border-color: var(--bk-input-border);
  border-radius: 8px;
  min-height: 44px;
  font-size: 16px;
}
.p-inputtext::placeholder {
  color: var(--text-color-secondary);
  opacity: 1;
}
.p-inputtext:enabled:hover,
.p-dropdown:not(.p-disabled):hover {
  border-color: var(--bk-link);
}
.p-inputtext.p-invalid,
.p-dropdown.p-invalid {
  border-color: var(--red-500);
}
.p-checkbox .p-checkbox-box,
.p-radiobutton .p-radiobutton-box {
  border-color: var(--bk-input-border);
}
.p-checkbox.p-highlight .p-checkbox-box,
.p-radiobutton.p-highlight .p-radiobutton-box {
  background: var(--primary-color);
  border-color: var(--bk-link);
}
.p-checkbox .p-checkbox-box .p-checkbox-icon {
  color: var(--primary-color-text);
}
.p-inputswitch.p-highlight .p-inputswitch-slider,
.p-slider .p-slider-range {
  background: var(--primary-color);
}
.p-highlight,
.p-listbox .p-listbox-list .p-listbox-item.p-highlight,
.p-dropdown-panel .p-dropdown-items .p-dropdown-item.p-highlight {
  background: var(--highlight-bg);
  color: var(--highlight-text-color);
}
.p-listbox .p-listbox-list .p-listbox-item.p-highlight {
  box-shadow: inset 3px 0 var(--bk-link);
}
.btk-copy-group:focus-within .btk-copy-label {
  opacity: 1;
}
@media (max-width: 649px) {
  .btk-wordmark {
    font-size: 16px;
  }
  .p-menubar {
    gap: 8px;
  }
  .p-dialog {
    max-width: calc(100vw - 32px);
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

.p-icon-field-left > .p-inputtext {
  padding-left: 2.5rem;
}
.p-icon-field-right > .p-inputtext {
  padding-right: 2.5rem;
}
.text-green-500 {
  color: var(--bk-link) !important;
}

/* Header hierarchy: distinct wordmark, quieter navigation and profile. */
.btk-header .btk-wordmark {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.035em;
}
.btk-header .p-menuitem-link {
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0;
}
.btk-header .p-menuitem-icon {
  font-size: 1rem;
}

@media (max-width: 649px) {
  .btk-header .btk-wordmark {
    font-size: 1.125rem;
  }
}

/* Match the website's open canvas and understated navigation. */
.btk-contianer {
  border: 0;
}
.btk-header.p-menubar {
  background: var(--surface-ground);
  border: 0;
  border-bottom: 1px solid var(--surface-border);
  border-radius: 0;
  box-shadow: none;
}
.btk-theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: transparent;
  color: var(--bk-link);
  border: 1px solid var(--surface-border);
  border-radius: 7px;
  cursor: pointer;
}
.btk-theme-toggle:hover {
  background: var(--surface-hover);
}
.btk-plans {
  max-width: 1200px;
  margin-inline: auto;
  padding: 0 16px;
}
.btk-plans-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  width: 100%;
}
.btk-plan-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  gap: 32px;
  padding: 48px 24px 24px;
  background: var(--surface-card);
  border: 1px solid var(--surface-border);
  border-radius: 12px;
  color: var(--text-color);
}
.btk-plan-card-featured {
  border-color: var(--bk-accent);
}
.btk-plan-title {
  color: var(--text-color);
  margin: 16px 0 24px;
}
.btk-plan-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: var(--highlight-bg);
  color: var(--highlight-text-color);
}
.btk-plan-feature {
  padding-block: 4px;
}
.btk-plan-feature .pi-check {
  color: var(--bk-accent);
}
.btk-plans .p-tabmenu .p-tabmenu-nav,
.btk-plans .p-tabmenu .p-tabmenu-nav .p-tabmenuitem .p-menuitem-link {
  background: transparent;
}
.btk-plans
  .p-tabmenu
  .p-tabmenu-nav
  .p-tabmenuitem.p-highlight
  .p-menuitem-link {
  color: var(--bk-link);
  border-color: var(--bk-accent);
}
@media (max-width: 899px) {
  .btk-plans-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}
@media (max-width: 649px) {
  .btk-plans-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .btk-plan-card {
    padding: 48px 20px 20px;
  }
}

