/* Login Page Specific Styles - Postbank Clone */

/* Force font style to normal globally */
*, *::before, *::after {
  font-style: normal !important;
}

h1, h2, h3, h4, h5, h6, p, span, a, label, input, button {
  font-style: normal !important;
}

/* Background body */
.bg--body {
  min-height: 100vh;
  background-color: #f1f2f8;
  background-image: url('./media/pbbg-SSUZWE5M.jpg');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* Standalone container - full height layout */
.standalone {
  min-height: 100vh;
  display: flex;
}

.standalone > .container-xl {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.standalone > .container-xl > .row {
  flex: 1;
}

.container-xl {
  max-width: 1320px;
  width: 100%;
  padding-right: 16px;
  padding-left: 16px;
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 576px) {
  .container-xl {
    padding-right: 24px;
    padding-left: 24px;
  }
}

@media (min-width: 992px) {
  .container-xl {
    padding-right: 32px;
    padding-left: 32px;
  }
}

/* Min viewport height */
.min-vh-100 {
  min-height: 100vh !important;
}

/* Row - Bootstrap grid */
.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -16px;
  margin-left: -16px;
}

.row > * {
  padding-right: 16px;
  padding-left: 16px;
}

/* Columns */
.col-12 {
  flex: 0 0 auto;
  width: 100%;
}

@media (min-width: 576px) {
  .col-sm-6 { flex: 0 0 auto; width: 50%; }
  .col-sm-10 { flex: 0 0 auto; width: 83.333333%; }
  .offset-sm-1 { margin-left: 8.333333%; }
}

@media (min-width: 992px) {
  .col-lg-7 {
    flex: 0 0 auto;
    width: 58.333333%;
  }
  .col-lg-4 {
    flex: 0 0 auto;
    width: 33.333333%;
  }
  .col-lg-12 {
    flex: 0 0 auto;
    width: 100%;
  }
  .offset-lg-1 {
    margin-left: 8.333333%;
  }
  .offset-lg-0 {
    margin-left: 0;
  }
}

@media (min-width: 1200px) {
  .col-xl-6 {
    flex: 0 0 auto;
    width: 50%;
  }
  .col-xl-4 {
    flex: 0 0 auto;
    width: 33.333333%;
  }
  .offset-xl-2 {
    margin-left: 16.666667%;
  }
}

/* Spacing utilities */
.py-6 { padding-top: 32px !important; padding-bottom: 32px !important; }
.py-3 { padding-top: 12px !important; padding-bottom: 12px !important; }
.px-0 { padding-left: 0 !important; padding-right: 0 !important; }
/* Override px classes to 0 - parent handles padding */
.login-content .px-4,
.login-content .px-sm-6 { 
  padding-left: 0 !important; 
  padding-right: 0 !important; 
}
.pt-2 { padding-top: 8px !important; }
.pb-0 { padding-bottom: 0 !important; }
.pt-0 { padding-top: 0 !important; }
.pb-4 { padding-bottom: 16px !important; }
.pb-2 { padding-bottom: 8px !important; }
.mt-4 { margin-top: 16px !important; }
.mt-auto { margin-top: auto !important; }

/* Push button section down to fill empty space */
.login-content form > .justify-content-between,
.login-content form .login-form-footer {
  margin-top: auto !important;
  padding-top: 32px !important;
}
.mb-2 { margin-bottom: 8px !important; }
.mb-3 { margin-bottom: 12px !important; }
.my-0 { margin-top: 0 !important; margin-bottom: 0 !important; }
.my-3 { margin-top: 12px !important; margin-bottom: 12px !important; }
.mr-2 { margin-right: 8px !important; }
.gap-0 { gap: 0 !important; }
.gap-3 { gap: 12px !important; }
.gap-4 { gap: 16px !important; }

@media (min-width: 576px) {
  .py-sm-4 { padding-top: 16px !important; padding-bottom: 16px !important; }
  .px-sm-6 { padding-left: 24px !important; padding-right: 24px !important; }
  .gap-sm-6 { gap: 32px !important; }
  .mb-sm-0 { margin-bottom: 0 !important; }
  .my-sm-4 { margin-top: 16px !important; margin-bottom: 16px !important; }
}

@media (min-width: 768px) {
  .py-md-8 { padding-top: 64px !important; padding-bottom: 64px !important; }
  .pb-md-6 { padding-bottom: 32px !important; }
  .pb-md-0 { padding-bottom: 0 !important; }
  .gap-md-4 { gap: 16px !important; }
  .gap-md-0 { gap: 0 !important; }
}

@media (min-width: 992px) {
  .mb-lg-4 { margin-bottom: 16px !important; }
}

/* Flexbox utilities */
.d-flex { display: flex !important; }
.flex-column { flex-direction: column !important; }
.flex-column-reverse { flex-direction: column-reverse !important; }
.flex-fill { flex: 1 1 auto !important; }
.flex-row { flex-direction: row !important; }
.justify-content-center { justify-content: center !important; }
.justify-content-between { justify-content: space-between !important; }
.align-items-center { align-items: center !important; }
.align-items-start { align-items: flex-start !important; }
.align-items-left { align-items: flex-start !important; }
.h-100 { height: 100% !important; }
.w-full { width: 100% !important; }
.mt-auto { margin-top: auto !important; }

@media (min-width: 768px) {
  .flex-md-row { flex-direction: row !important; }
  .align-items-md-center { align-items: center !important; }
}

@media (min-width: 992px) {
  .justify-content-lg-start { justify-content: flex-start !important; }
}

/* ============================================
   LOGIN MAIN AREA - Critical positioning
   ============================================ */

.login-main {
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 992px) {
  .login-main {
    justify-content: flex-start;
  }
}

.login {
  width: 100%;
}

@media (min-width: 576px) {
  .login {
    width: 386px;
    margin-left: 24px;
    margin-right: 24px;
  }
}

@media (min-width: 768px) {
  .login {
    width: 512px;
  }
}

@media (min-width: 992px) {
  .login {
    margin-left: 32px;
  }
}

/* Login Content Card - Yellow Background */
.login-content {
  background-color: #fc0; /* Postbank Yellow */
  width: 100%;
  border-radius: 6px; /* Rounded corners like original */
  min-height: 504px; /* From original CSS */
  height: auto; /* Auto height for MFA stage which needs more space */
  padding: 16px 24px 32px 24px !important; /* Single consistent padding for entire card */
  display: flex !important;
  flex-direction: column !important;
}

/* Form wrapper takes remaining space */
.login-content > .flex-fill {
  flex: 1 1 auto !important;
  display: flex !important;
  flex-direction: column !important;
}

/* Form takes full height */
.login-content form {
  flex: 1 1 auto !important;
  display: flex !important;
  flex-direction: column !important;
}

/* Remove header padding - let parent handle it */
.login-content-header {
  height: 80px !important;
  padding: 0 !important;
  display: flex;
  align-items: center;
}

.login-content__logo {
  width: 180px;
  height: 60px;
  background-image: url('./media/pb-logo.svg');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: left center;
}

/* Remove flex-fill padding - let parent handle it */
.login-content > .flex-fill,
.login-content .flex-fill {
  padding: 0 !important;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

.db-heading-0 {
  font-family: 'Frutiger', 'Helvetica Neue', Arial, sans-serif !important;
  font-size: 32px !important;
  font-weight: 700 !important;
  font-style: normal !important;
  line-height: 1.2 !important;
  color: #333 !important;
  margin: 0 !important;
}

@media (min-width: 768px) {
  .db-heading-0 {
    font-size: 36px !important;
  }
}

.db-heading-4 {
  font-family: 'Frutiger', 'Helvetica Neue', Arial, sans-serif !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  font-style: normal !important;
  line-height: 1.3 !important;
  color: #333 !important;
  margin: 0 !important;
}

/* Text Styles */
.db-text--mute {
  font-family: 'Frutiger', 'Helvetica Neue', Arial, sans-serif !important;
  font-size: 14px !important;
  font-style: normal !important;
  color: #333 !important;
  line-height: 1.5 !important;
}

.db-text--mute a {
  color: #0a3478 !important;
  text-decoration: underline !important;
}

.db-text--mute a:hover {
  color: #5371a0 !important;
}

/* ============================================
   INPUT FIELD - Full width
   ============================================ */

.oneid-input-container {
  width: 100%;
  min-height: 100px; /* From original CSS */
}

.cirrus-login-input {
  width: 100%;
}

.cirrus-login-input--one-id {
  width: 100%;
}

.db-input {
  width: 100%;
}

.db-input-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.db-input__label-container {
  margin-bottom: 4px;
}

.db-input__label {
  display: block;
}

.db-input__label-text {
  font-family: 'Frutiger', 'Helvetica Neue', Arial, sans-serif !important;
  font-size: 14px !important;
  font-weight: 400 !important; /* Normal weight, not bold */
  font-style: normal !important;
  color: #9e0017 !important; /* Postbank red - from CSS variable --dbcr-pb-light-brand-color-red-700 */
}

/* The wrapper .db-input__field gets the border styling */
.db-input__field {
  position: relative;
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  height: 48px !important; /* From --dbcr-sizes-size-8: 48px */
  padding: 0 16px !important;
  background-color: #fff !important;
  border: 1px solid #9e0017 !important; /* Postbank red - from --dbcr-pb-light-brand-color-red-700 */
  border-radius: 4px !important; /* From --dbcr-pb-light-base-radius-xs: 4px */
  box-sizing: border-box !important;
}

/* The actual input has NO border - it's inside the styled wrapper */
.db-input__field input,
.login-content input[type="text"],
.login-content input[type="password"],
#db-input--0 {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  padding: 0 !important;
  font-size: 16px !important;
  font-family: 'Frutiger', 'Helvetica Neue', Arial, sans-serif !important;
  font-style: normal !important;
  font-weight: 400 !important;
  color: #333 !important;
  background-color: transparent !important;
  border: none !important; /* No border on input - wrapper has border */
  box-sizing: border-box !important;
  box-shadow: none !important;
  outline: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  margin: 0 !important;
}

/* Focus state - style the wrapper when input is focused */
.db-input__field:focus-within {
  border-color: #0a3478 !important;
  box-shadow: 0 0 0 1px #0a3478 !important;
}

.db-input__field input:focus,
#db-input--0:focus {
  outline: none !important;
  border: none !important;
  box-shadow: none !important;
}

.db-input__error-line {
  min-height: 0;
  height: 0;
  display: none;
}

/* Ensure all form containers are full width */
.oneid-input-container,
.cirrus-login-input,
.cirrus-login-input--one-id,
.db-input,
.db-input-wrapper,
.login-content .db-input,
.login-content .db-input-wrapper,
.login-content .oneid-input-container,
.login-content .cirrus-login-input {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  display: block !important;
  box-sizing: border-box !important;
}

/* Force the form elements to be full width */
.login-content form,
.login-content form > div,
.login-content .flex-fill {
  width: 100% !important;
}

/* Input specific overrides */
.login-content input,
.login-content input[type="text"],
.login-content #db-input--0 {
  width: 100% !important;
  box-sizing: border-box !important;
}

/* ============================================
   BUTTON
   ============================================ */

button.db-button,
.db-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Frutiger', 'Helvetica Neue', Arial, sans-serif !important;
  font-weight: 700 !important;
  font-style: normal !important;
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: 4px !important; /* From --dbcr-semantic-radius-radius-default */
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

button.db-button--primary,
.db-button--primary {
  background-color: #0a3478 !important;
  color: #fff !important;
}

button.db-button--primary:hover,
.db-button--primary:hover {
  background-color: #3b5d93 !important;
}

button.db-button--lg,
.db-button--lg {
  min-width: 100px;
  height: 48px;
  padding: 0 24px;
  font-size: 16px;
}

.db-button__content {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ============================================
   SIDEBAR
   ============================================ */

.login-sidebar {
  background-color: #fff;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.sidebar-teaser-container {
  flex: 1;
  padding: 24px;
  overflow-y: auto;
}

@media (min-width: 576px) {
  .sidebar-teaser-container {
    padding: 32px;
  }
}

.db-sidebar-teaser {
  width: 100%;
}

.db-sidebar-teaser__image {
  width: 100%;
  height: auto;
  display: block;
}

.db-sidebar-teaser__title {
  font-weight: 700 !important;
  font-style: normal !important;
}

.db-sidebar-teaser__body {
  margin: 0;
  font-style: normal !important;
}

.db-sidebar-teaser__icon {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  color: #666;
}

.db-sidebar-teaser__links a {
  color: #0a3478;
  text-decoration: underline;
}

.db-sidebar-teaser__links a:hover {
  color: #5371a0;
}

/* Divider */
.divider {
  height: 1px;
  width: 100%;
}

.bg--divider--accent {
  background-color: #fc0;
}

/* ============================================
   FOOTER
   ============================================ */

.footer-container {
  background-color: #fc0; /* Postbank Yellow */
  padding: 20px 24px;
}

.footer-container--sidebar {
  margin-top: auto;
}

.footer-links--sidebar {
  width: 100%;
}

.footer-links__wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Navigation links come first */
.footer-links__wrapper__navigation {
  width: 100%;
  order: 1;
}

/* Copyright at the bottom */
.footer-links__copyright-text {
  font-family: 'Frutiger', 'Helvetica Neue', Arial, sans-serif !important;
  font-size: 14px !important;
  font-style: normal !important;
  color: #333 !important;
  order: 2;
  margin-top: 16px;
}

.footer-links__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links__list-item {
  font-size: 16px;
  display: flex;
  align-items: center;
}

.footer-links__link {
  font-family: 'Frutiger', 'Helvetica Neue', Arial, sans-serif !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  font-style: normal !important;
  color: #0a3478 !important;
  text-decoration: none !important;
}

.footer-links__link:hover {
  text-decoration: underline !important;
}

/* ============================================
   ICONS
   ============================================ */

.db-icon__icon {
  display: block;
  fill: currentColor;
}

/* Image teaser */
.image-teaser {
  margin-bottom: 16px;
}

/* Print styles */
.d-print-none {
  display: block;
}

@media print {
  .d-print-none {
    display: none !important;
  }
}

/* Login Error Message */
.login-error-message {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 20px;
  background-color: #f5f5f5;
  border: 1px solid #e0e0e0;
  border-left: 4px solid #c41230;
  border-radius: 4px;
  margin-bottom: 8px;
}

.login-error-message__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-error-message__icon svg {
  display: block;
}

.login-error-message__text {
  font-family: 'Frutiger', 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: #333;
}

/* Back Button */
.back-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: 'Frutiger', 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #0a3478;
  text-decoration: underline;
}

.back-button:hover {
  text-decoration: none;
}

.back-button svg {
  flex-shrink: 0;
}

/* Password field with icon */
.db-input__field--with-icon {
  position: relative;
  display: flex !important;
  align-items: center !important;
}

.db-input__field--with-icon input {
  padding-right: 48px !important;
}

.password-toggle-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.password-toggle-btn:hover {
  opacity: 0.7;
}

/* Disabled button */
.db-button--disabled {
  background-color: #e0e0e0 !important;
  color: #999 !important;
  cursor: not-allowed !important;
  border: none !important;
}

.db-button--disabled:hover {
  background-color: #e0e0e0 !important;
}

/* ============================================
   BESTSIGN / MFA STAGE STYLES
   (Exact styles from original Postbank)
   ============================================ */

/* Illustration Wrapper - Contains both phone and panel */
.illustration-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  padding-top: 24px; /* Space at top */
}

.illustration-wrapper .wrapper {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

/* 2FA Illustration - Phone Mockup - Sits on top of panel */
.db-banking-2fa-illustration {
  z-index: 100;
  background-color: #fff;
  border: 1px solid #ccc;
  border-bottom: 0;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
}

.db-banking-2fa-illustration--mobile {
  height: 104px;
  width: 106px;
  border-radius: 18px 18px 0 0;
}

/* Top bar (speaker) */
.db-banking-2fa-illustration .top-box {
  width: 43px;
  height: 4px;
  background-color: #999;
  border-radius: 2px;
}

/* Status box with logo */
.db-banking-2fa-illustration .status-box {
  height: 48px;
  border-radius: 4px;
  border: 1px solid #e0e0e0;
  margin-top: 16px;
}

.db-banking-2fa-illustration .status-box--default {
  background-color: #fc0;
}

.db-banking-2fa-illustration .status-box--mobile {
  width: 80px;
}

.db-banking-2fa-illustration .status-box .logo {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.db-banking-2fa-illustration .status-box .logo::before {
  display: block;
  width: 65px;
  height: 32px;
  background-image: url('./media/pb-logo.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  content: "";
}

/* 2FA Panel - White card below illustration */
.db-banking-2fa-panel {
  min-height: 180px;
  max-width: 500px;
  margin: 0 auto;
  margin-top: 83px; /* Space for phone illustration overlap */
  background-color: #fff;
  border-radius: 8px;
  border: 1px solid #ccc;
  overflow: visible;
  position: relative;
}

@media (min-width: 768px) {
  .db-banking-2fa-panel {
    min-height: 204px;
  }
}

.db-banking-2fa-panel__content {
  display: flex;
  flex-direction: column-reverse;
}

.db-banking-2fa-panel__textbox {
  min-height: 56px;
}

.db-banking-2fa-panel__textbox.margin-without-subline {
  margin: 24px 24px 48px;
}

@media (min-width: 576px) {
  .db-banking-2fa-panel__textbox.margin-without-subline {
    margin: 24px 32px;
  }
}

.db-banking-2fa-panel__textbox.margin-with-subline {
  margin: 24px 24px 24px;
}

@media (min-width: 576px) {
  .db-banking-2fa-panel__textbox.margin-with-subline {
    margin: 24px 32px 24px;
  }
}

.db-banking-2fa-panel__textbox p {
  font-size: 16px;
  line-height: 1.5;
  color: #666;
  margin: 0;
}

.db-banking-2fa-panel__textbox h2 {
  font-family: 'Frutiger', 'Helvetica Neue', Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #333;
  line-height: 1.4;
  margin: 0;
}

@media (min-width: 768px) {
  .db-banking-2fa-panel__textbox h2 {
    font-size: 20px;
  }
}

.color-text-primary {
  color: #333 !important;
}

/* Code Pill */
.db-banking-2fa-pill {
  margin-top: 20px;
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 15px;
  display: inline-flex;
  height: 32px;
  min-width: 188px;
  max-width: calc(100% - 48px);
  align-items: center;
  justify-content: center;
  color: #666;
  font-family: 'Frutiger', 'Helvetica Neue', Arial, sans-serif;
  font-size: 14px;
}

@media (min-width: 768px) {
  .db-banking-2fa-pill {
    height: 40px;
    border-radius: 20px;
    max-width: calc(100% - 64px);
  }
}

/* Action Bar */
.db-banking-2fa-action-bar {
  min-height: 56px;
  text-align: center;
  margin-top: 16px;
}

@media (min-width: 576px) {
  .db-banking-2fa-action-bar {
    min-height: 60px;
  }
}

@media (min-width: 768px) {
  .db-banking-2fa-action-bar {
    min-height: 64px;
  }
}

.db-banking-2fa-action-bar__title {
  font-family: 'Frutiger', 'Helvetica Neue', Arial, sans-serif;
  font-size: 14px;
  color: #666;
  display: block;
  width: 100%;
}

.db-banking-2fa-action-bar__divider {
  height: 1px;
  opacity: 1;
  background-color: #e0e0e0;
}

/* Action Bar Items */
.db-banking-2fa-action-bar-item {
  display: flex;
  min-height: 64px;
}

@media (min-width: 576px) {
  .db-banking-2fa-action-bar-item {
    min-height: 32px;
  }
}

@media (min-width: 768px) {
  .db-banking-2fa-action-bar-item {
    min-height: 40px;
  }
}

.db-banking-2fa-action-bar-item-divider {
  height: 1px;
  width: 100%;
  opacity: 1;
  background-color: #e0e0e0;
}

@media (min-width: 576px) {
  .db-banking-2fa-action-bar-item-divider {
    display: none;
  }
}

/* Action Buttons */
.db-banking-icon-action {
  padding: 0;
  display: flex;
  width: 100%;
  font-size: 1.2rem;
  line-height: 1.33;
  font-weight: 700;
  font-family: 'Frutiger', 'Helvetica Neue', Arial, sans-serif;
  color: #0a3478;
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: underline;
  align-items: center;
}

@media (min-width: 576px) {
  .db-banking-icon-action {
    margin: 0 16px;
  }
}

@media (min-width: 768px) {
  .db-banking-icon-action {
    font-size: 1.4rem;
    line-height: 1.43;
  }
}

.db-banking-icon-action:hover {
  opacity: 0.7;
}

.db-banking-icon-action svg {
  align-self: center;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  margin-right: 16px;
  fill: #0a3478;
}

@media (min-width: 576px) {
  .db-banking-icon-action svg {
    margin-right: 8px;
  }
}

@media (min-width: 768px) {
  .db-banking-icon-action svg {
    width: 28px;
    height: 28px;
  }
}

.db-banking-icon-action span {
  text-align: left;
  align-self: center;
  vertical-align: middle;
}

/* db-icon-action for back link */
.db-icon-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: 'Frutiger', 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  color: #0a3478;
  text-decoration: underline;
}

.db-icon-action:hover {
  opacity: 0.7;
}

.db-icon-action svg {
  width: 20px;
  height: 20px;
  fill: #0a3478;
}

/* MFA Stage - Polling Content */
[data-test="polling"] {
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Back link icon - small arrow */
[data-test="polling"] .db-icon-action {
  font-size: 14px;
  gap: 4px;
}

[data-test="polling"] .db-icon-action svg {
  width: 16px;
  height: 16px;
}

/* Heading style for BestSign */
.db-heading-3 {
  font-family: 'Frutiger', 'Helvetica Neue', Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  color: #333;
}

@media (min-width: 768px) {
  .db-heading-3 {
    font-size: 20px;
  }
}

/* Spacing utilities for BestSign */
.mt-5 { margin-top: 24px !important; }
.mt-6 { margin-top: 32px !important; }
.mt-7 { margin-top: 40px !important; }
@media (min-width: 768px) {
  .mt-md-7 { margin-top: 40px !important; }
}

.mx-5 { margin-left: 24px !important; margin-right: 24px !important; }
@media (min-width: 768px) {
  .mx-md-6 { margin-left: 32px !important; margin-right: 32px !important; }
}
