html,
body {
  margin: 0;
  padding: 0;
  background-color: #ffffff;
}

body {
  font-family: "DM Sans", sans-serif;
}

#card-number-wrap {
  position: relative;
  width: 100%;
}

#card-number-element input {
  width: 100%;
  box-sizing: border-box;
  padding-right: 4.25rem;
}

#card-brand-badge {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 24px;
  pointer-events: none;
}

#card-brand-badge img {
  display: block;
  height: 22px;
  max-width: 44px;
  width: auto;
  object-fit: contain;
}

.h-screen {
  height: 100vh;
}

.min-h-screen {
  min-height: 100vh;
}

.fa,
.fas,
.far,
.fal,
.fab {
  font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands" !important;
}

:root {
  --schlage-blue: #003da5;
  --schlage-dark: #1a1a1a;
  --schlage-gray: #f5f5f5;
  --schlage-mid-gray: #6b6b6b;
  --schlage-light: #ffffff;
  --schlage-border: #e0e0e0;
  --schlage-hover: #002d7a;
}

.font-playfair {
  font-family: "Playfair Display", serif;
}

.lang-btn {
  border: 1px solid var(--schlage-border);
  background: white;
  color: var(--schlage-mid-gray);
  border-radius: 9999px;
  padding: 0.5rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  transition: all 0.2s ease;
}

.lang-btn.active {
  background: var(--schlage-blue);
  border-color: var(--schlage-blue);
  color: white;
}

.modal-step {
  border: 1px solid var(--schlage-border);
  background: var(--schlage-gray);
  color: var(--schlage-mid-gray);
}

.modal-step.active {
  background: var(--schlage-blue);
  border-color: var(--schlage-blue);
  color: white;
}

.modal-panel[hidden] {
  display: none !important;
}

.modal-backdrop-blur {
  backdrop-filter: blur(8px);
}

.entryhost-modal-shell {
  max-height: calc(100vh - 2rem);
  display: flex;
  flex-direction: column;
}

.entryhost-modal-body {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 767px) {
  .entryhost-modal-shell {
    max-height: calc(100vh - 1rem);
    border-radius: 1.5rem;
  }

  .entryhost-modal-body {
    padding-bottom: 1.5rem;
  }
}
