@charset "UTF-8";
body.authentication-bg.authentication-bg-pattern {
  background: radial-gradient(circle at center, #1f3f9c 0%, #0f2370 100%) !important;
  min-height: 100vh;
}

.auth-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  background: #ffffff;
}

.auth-form-panel {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  background: #ffffff;
}

.auth-form-box {
  width: 100%;
  max-width: 470px;
}

.auth-form-box--forgot {
  max-width: 470px;
}

.auth-heading {
  margin-bottom: 32px;
}
.auth-heading h1 {
  margin: 0;
  color: #20449b;
  font-size: 30px;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: 0;
}
.auth-heading p {
  margin: 15px 0 0;
  color: #000000;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 700;
}

.auth-google-button {
  width: 238px;
  height: 48px;
  border: 0;
  border-radius: 7px;
  background: #f3f5f9;
  color: #1f2937;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0;
  padding: 0 18px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  box-shadow: none;
  transition: background-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.auth-google-button:hover {
  background: #eef1f6;
  transform: translateY(-1px);
}
.auth-google-button:focus-visible {
  outline: 2px solid rgba(32, 68, 155, 0.28);
  outline-offset: 3px;
}

.auth-google-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}

.auth-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 42px;
  margin: 48px 0 44px;
  color: #d3d7dd;
  font-size: 16px;
  line-height: 1;
  text-align: center;
}
.auth-divider::before, .auth-divider::after {
  content: "";
  height: 1px;
  background: #dfe3e8;
}

.auth-form {
  width: 100%;
}
.auth-form .alert {
  border-radius: 6px;
  font-size: 12px;
  line-height: 1.35;
}

.auth-demo-alert {
  margin: -22px 0 24px;
  border-radius: 6px;
  font-size: 13px;
  line-height: 1.4;
}

.auth-field {
  margin-bottom: 28px;
}
.auth-field .form-label {
  margin-bottom: 10px;
  color: #667085;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 700;
}
.auth-field .form-control {
  height: 42px;
  min-height: 42px;
  border: 1px solid #d7dde4;
  border-radius: 4px;
  color: #344054;
  font-size: 15px;
  line-height: 1.2;
  padding: 10px 16px;
  box-shadow: 0 1px 3px rgba(16, 24, 40, 0.08);
}
.auth-field .form-control::-moz-placeholder {
  color: #7c8794;
}
.auth-field .form-control::placeholder {
  color: #7c8794;
}
.auth-field .form-control:focus {
  border-color: #14a9f6;
  box-shadow: 0 0 0 3px rgba(20, 169, 246, 0.12);
}
.auth-field .input-group .form-control {
  border-right: 0;
  border-radius: 4px 0 0 4px;
}
.auth-field .input-group .input-group-text {
  width: 52px;
  min-height: 42px;
  justify-content: center;
  border: 1px solid #d7dde4;
  border-left: 0;
  border-radius: 0 4px 4px 0;
  background: #f8fafc;
  color: #667085;
  padding: 0;
}

.auth-password-toggle {
  cursor: pointer;
}
.auth-password-toggle:focus-visible {
  outline: 2px solid rgba(20, 169, 246, 0.22);
  outline-offset: 2px;
}

.auth-submit.btn-primary {
  height: 45px;
  border-radius: 4px;
  border-color: #02A9F7;
  background: #02A9F7;
  color: #ffffff;
  font-size: 14px;
  line-height: 1;
  font-weight: 700;
  box-shadow: none;
  transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.auth-submit.btn-primary:hover, .auth-submit.btn-primary:focus {
  border-color: #0299df;
  background: #0299df;
  color: #ffffff;
  transform: translateY(-1px);
}

.auth-submit-row {
  margin-top: 10px;
}

.auth-help {
  margin: 27px 0 0;
  color: #000000;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 500;
  text-align: center;
}

.auth-link {
  color: #20449b;
  font-weight: 800;
  text-decoration: none;
}
.auth-link:hover {
  color: #0eaaf4;
  text-decoration: none;
}

.auth-brand-panel {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #2946a4 0%, #13296f 54%, #08194f 100%);
}

.auth-brand-logo {
  width: min(33vw, 222px);
  min-width: 180px;
  height: auto;
  display: block;
}

.auth-powered {
  position: absolute;
  right: 34px;
  bottom: 32px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #ffffff;
  font-size: 11px;
  line-height: 1;
  font-weight: 400;
}
.auth-powered img {
  width: 130px;
  height: auto;
  display: block;
}

.auth-powered-icon {
  width: 7px;
  height: 11px;
  flex: 0 0 7px;
}

.login-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
}

.login-card {
  width: 100%;
  max-width: 500px;
  background: #ffffff;
  border-radius: 10px;
  padding: 42px 36px 32px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}
.login-card .login-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin-bottom: 32px;
}
.login-card .login-logo img {
  width: 220px;
  max-width: 100%;
  height: auto;
  display: block;
  margin-bottom: 22px;
}
.login-card .login-logo h2,
.login-card .login-logo h3,
.login-card .login-logo h4,
.login-card .login-logo h5 {
  margin: 0;
  color: #11a8f5;
  font-weight: 700;
  font-size: 25px;
  line-height: 1.2;
  text-align: center;
}
.login-card .login-logo p {
  margin: 10px 0 0;
  color: #6c757d;
  font-size: 14px;
  text-align: center;
}
.login-card form {
  width: 100%;
}
.login-card .form-label {
  color: #6c757d;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
}
.login-card .form-control {
  height: 44px;
  border: 1px solid #d9dee3;
  border-radius: 4px;
  font-size: 14px;
  color: #495057;
  box-shadow: none;
}
.login-card .form-control::-moz-placeholder {
  color: #adb5bd;
}
.login-card .form-control::placeholder {
  color: #adb5bd;
}
.login-card .form-control:focus {
  border-color: #11a8f5;
  box-shadow: 0 0 0 0.15rem rgba(17, 168, 245, 0.15);
}
.login-card .form-control[readonly] {
  background-color: #ffffff;
  color: #495057;
}
.login-card .input-group .form-control {
  border-right: 0;
}
.login-card .input-group .input-group-text {
  background: #f8f9fa;
  border: 1px solid #d9dee3;
  border-left: 0;
  color: #6c757d;
  cursor: pointer;
}
.login-card .btn-primary {
  height: 44px;
  border-radius: 4px;
  background-color: #02A9F7;
  border-color: #02A9F7;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s ease;
}
.login-card .btn-primary:hover, .login-card .btn-primary:focus {
  background-color: #0299df;
  border-color: #0299df;
  color: #ffffff;
}
.login-card .auth-link {
  display: inline-block;
  margin-top: 14px;
  color: #6c757d;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
}
.login-card .auth-link:hover {
  color: #11a8f5;
  text-decoration: none;
}
.login-card .alert {
  border-radius: 6px;
  font-size: 14px;
}
.login-card .text-danger {
  font-size: 13px;
  margin-top: 6px;
  display: block;
}

.auth-page-logo-corner {
  position: fixed;
  right: 24px;
  bottom: 20px;
  z-index: 2;
}
.auth-page-logo-corner img {
  width: 120px;
  height: auto;
  opacity: 0.95;
}

.auth-flashes {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 9999;
  width: 100%;
  max-width: 420px;
}
.auth-flashes .alert {
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  margin-bottom: 12px;
}
.auth-flashes .btn-close {
  margin-left: auto;
}

.auth-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 48px;
  color: #667085;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  line-height: 1;
}
.auth-back-link svg {
  flex: 0 0 16px;
}
.auth-back-link:hover {
  color: #20449b;
  text-decoration: none;
}

.auth-heading--2fa p {
  color: #4361c2;
  font-weight: 500;
}

.auth-otp-group {
  margin-bottom: 28px;
}

.auth-otp-label {
  display: block;
  margin-bottom: 16px;
  color: #667085;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
}

.auth-otp-inputs {
  display: flex;
  gap: 12px;
}

.auth-otp-input {
  width: 56px;
  height: 56px;
  border: 1.5px solid #d7dde4;
  border-radius: 8px;
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  color: #344054;
  background: #ffffff;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
  padding: 0;
  -webkit-appearance: textfield;
     -moz-appearance: textfield;
          appearance: textfield;
}
.auth-otp-input:focus {
  border-color: #4361c2;
  box-shadow: 0 0 0 3px rgba(67, 97, 194, 0.12);
}
.auth-otp-input:not(:-moz-placeholder) {
  border-color: #4361c2;
}
.auth-otp-input:not(:placeholder-shown) {
  border-color: #4361c2;
}

.auth-resend {
  margin: 20px 0 0;
  color: #667085;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
}

.auth-no-account {
  margin-top: 60px;
  text-align: left;
}

.auth-no-account h3 {
  color: #20449b;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 800;
  margin: 0 0 8px 0;
  letter-spacing: 0;
}

.auth-no-account p {
  color: #000000;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 600;
  margin: 0 0 20px 0;
}

.auth-demo-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 45px;
  background-color: #2946a4;
  color: #ffffff;
  border-radius: 4px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  border: none;
  transition: background-color 0.18s ease, transform 0.18s ease;
}

.auth-demo-btn:hover,
.auth-demo-btn:focus {
  background-color: #1f3f9c;
  color: #ffffff;
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .auth-shell {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1fr) auto;
  }
  .auth-form-panel {
    min-height: 64vh;
    padding: 42px 20px 34px;
  }
  .auth-brand-panel {
    min-height: 36vh;
    padding: 42px 20px 72px;
  }
  .auth-brand-logo {
    width: min(62vw, 220px);
    min-width: 170px;
  }
  .auth-powered {
    right: 50%;
    bottom: 24px;
    transform: translateX(50%);
    white-space: nowrap;
  }
}
@media (max-width: 576px) {
  .auth-form-box {
    max-width: 320px;
  }
  .auth-heading h1 {
    font-size: 22px;
  }
  .auth-google-button {
    width: 100%;
  }
  .auth-divider {
    gap: 16px;
  }
  .login-card {
    padding: 32px 22px 24px;
  }
  .login-card .login-logo {
    margin-bottom: 24px;
  }
  .login-card .login-logo img {
    width: 190px;
  }
  .login-card .login-logo h2,
  .login-card .login-logo h3,
  .login-card .login-logo h4,
  .login-card .login-logo h5 {
    font-size: 28px;
  }
  .auth-page-logo-corner {
    right: 16px;
    bottom: 16px;
  }
  .auth-page-logo-corner img {
    width: 95px;
  }
  .auth-flashes {
    top: 12px;
    right: 12px;
    left: 12px;
    max-width: unset;
  }
}
.phone-container.settings {
  height: 800px;
}

.phone-container {
  width: 420px;
  height: 960px;
  background: linear-gradient(145deg, #1b1f27 0%, #0f1116 40%, #262c37 100%);
  border-radius: 42px;
  padding: 9px;
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.28), 0 8px 18px rgba(0, 0, 0, 0.18), inset 1px 1px 0 rgba(255, 255, 255, 0.12), inset -2px -2px 6px rgba(0, 0, 0, 0.35);
  position: relative;
}
.phone-container::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 20px;
  background: linear-gradient(180deg, #050608 0%, #161920 100%);
  border-radius: 18px;
  z-index: 10;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.08), inset 0 2px 5px rgba(0, 0, 0, 0.55), 0 2px 6px rgba(0, 0, 0, 0.18);
}
.phone-container::after {
  content: "";
  position: absolute;
  right: -3px;
  top: 182px;
  width: 4px;
  height: 94px;
  border-radius: 999px;
  background: linear-gradient(180deg, #4f5768 0%, #1b1f27 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 2px 6px rgba(0, 0, 0, 0.26);
}
.phone-container.settings::before {
  display: none;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #fff;
  border-radius: 33px;
  overflow-x: hidden;
  overflow-y: auto;
  position: relative;
  -webkit-overflow-scrolling: touch;
  box-shadow: inset 0 0 0 1px rgba(17, 24, 39, 0.06), inset 0 10px 24px rgba(255, 255, 255, 0.2);
  scrollbar-width: thin;
  scrollbar-color: rgba(55, 65, 81, 0.26) transparent;
}
.phone-screen::-webkit-scrollbar {
  width: 6px;
}
.phone-screen::-webkit-scrollbar-track {
  background: transparent;
  margin: 10px 0;
}
.phone-screen::-webkit-scrollbar-thumb {
  background: rgba(55, 65, 81, 0.24);
  border-radius: 999px;
}
.phone-screen::-webkit-scrollbar-thumb:hover {
  background: rgba(55, 65, 81, 0.36);
}

.contact-card {
  min-height: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.contact-card.template-1 .profile-section {
  width: 100%;
  padding: 30px 0 0 0;
  margin-bottom: 14px;
}
.contact-card.template-2 {
  align-items: stretch;
  text-align: left;
}
.contact-card.template-3 {
  padding: 18px 18px 24px;
  align-items: stretch;
  text-align: left;
}
.contact-card.template-4 {
  padding: 16px 8px 24px;
  align-items: stretch;
  text-align: left;
}

.brand-logo {
  margin: 25px 0;
  text-align: center;
}
.brand-logo img {
  margin: 0 auto;
  max-width: 180px;
  max-height: 67px;
  display: block;
  width: auto;
  height: auto;
}

.brand-logo--text {
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  line-height: 1.2;
}

.profile-section {
  width: 100%;
  padding: 30px 0 0 0;
  margin-bottom: 10px;
  text-align: center;
}
.profile-section.bottom-radius {
  border-radius: 0 0 36px 36px;
}
.profile-section.no-radius {
  border-radius: 0;
}

.profile-avatar {
  width: 110px;
  height: 110px;
  background: var(--bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 5px;
  overflow: hidden;
}
.profile-avatar.settings {
  background-color: #cdcdcd;
  border: 0;
}
.profile-avatar img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}
.profile-avatar i {
  font-size: 32px;
  color: var(--secondary-color);
}

.profile-name {
  font-size: 23px;
  font-weight: 500;
  color: var(--primary-color);
  margin-bottom: 8px;
}

.profile-subtitle {
  font-size: 16px;
  font-weight: 400;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.profile-description {
  font-size: 16px;
  color: var(--secondary-color);
  padding: 10px 0 20px 0;
  text-align: center;
}

.contact-methods {
  width: 90%;
  margin: 0 auto 25px;
}
.contact-methods .contact-methods-title {
  display: flex;
  align-content: left;
  margin-left: 12%;
  text-align: left;
  font-size: 18px;
  font-weight: 700;
}
.contact-methods .contact-method-item {
  padding: 5px 0;
}
.contact-methods.contact-methods-settings {
  margin: 50px 0 70px;
}

.card-navigation {
  display: flex;
  justify-content: center;
  margin: 1.5rem 1rem;
}
.card-navigation .nav-pills {
  width: 100%;
  border-radius: 0.5rem;
  overflow: hidden;
  display: flex;
  flex-wrap: nowrap;
}
.card-navigation .nav-pills .nav-item {
  max-width: 250px;
  width: 100%;
  margin-right: 15px;
}
.card-navigation .nav-pills .nav-item .nav-link {
  font-size: 18px;
  color: #000;
  background-color: #f0f0f0;
  font-weight: 400;
  text-align: center;
  transition: all 0.2s ease-in-out;
}
.card-navigation .nav-pills .nav-item .nav-link:hover {
  background-color: rgb(227.25, 227.25, 227.25);
}
.card-navigation .nav-pills .nav-item .nav-link.active {
  color: #fff;
  background-color: #273f92;
}
.card-navigation .nav-pills .nav-item .nav-link.active:hover {
  background-color: rgb(66.1701244813, 79.5829875519, 149.3298755187);
}

.contact-item {
  display: flex;
  align-items: center;
  border-bottom: 1px solid grey;
  padding-bottom: 10px;
  background: transparent;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
.contact-item.setting {
  color: #000;
  background-color: #cdcdcd;
  margin-bottom: 15px;
  padding: 4px 20px;
}

.contact-icon {
  width: 34px;
  height: 34px;
  margin-right: 14px;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 34px;
}
.contact-icon .material-symbols-outlined {
  display: block;
  font-size: 30px;
  line-height: 1;
  color: inherit !important;
  fill: currentColor !important;
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
  transform: translateY(0.5px);
}

.contact-text {
  flex: 1 1 auto;
  font-size: 15px;
  font-weight: 500;
  color: var(--primary-color);
  text-align: left;
  line-height: 1.35;
}

.social-section {
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.social-section .social-title {
  font-size: 18px;
  color: gray;
  margin-bottom: 15px;
}
.social-section .social-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}
.social-section .social-icon {
  border-radius: 8px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary-color);
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 15px;
}
.social-section .social-icon i {
  font-size: 30px;
}

.card-edit-top__qr {
  flex: 0 0 auto;
  text-align: center;
}
.card-edit-top__qr-title {
  font-size: 14px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 8px;
}
.card-edit-top__qr #edit-preview-qrcode {
  width: 150px;
  height: 150px;
  padding: 8px;
  border: 1px solid #d9dee8;
  border-radius: 4px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-edit-top__qr #edit-preview-qrcode img,
.card-edit-top__qr #edit-preview-qrcode canvas,
.card-edit-top__qr #edit-preview-qrcode svg {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

.employee-edit-card .card-body {
  padding: 1.4rem;
}

.card-edit-top {
  padding: 1rem 1.1rem;
  border: 1px solid #e7ecf5;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.card-edit-top__identity {
  min-width: 0;
}

.card-edit-top__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.card-edit-top__btn {
  min-height: 42px;
  padding: 0.7rem 1rem;
  font-weight: 600;
  border-radius: 12px;
}

.card-edit-section-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.01em;
}

.card-edit-form-grid .form-label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6b7280;
}
.card-edit-form-grid .form-control {
  min-height: 48px;
  border-radius: 14px;
  border-color: #dbe3ee;
  font-size: 0.95rem;
}
.card-edit-form-grid textarea.form-control {
  min-height: 120px;
}

.save-contact-btn {
  width: 80%;
  min-height: 48px;
  padding: 12px 20px;
  color: white;
  background-color: #000;
  border: none;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.2;
  margin: 0 auto 15px auto;
}
.save-contact-btn:hover {
  transform: translateY(-2px);
  color: #fff;
  text-decoration: none;
}

@media (max-width: 768px) {
  .header-nav-card {
    flex-direction: column;
    align-items: stretch !important;
    gap: 1rem;
  }
  .header-nav-card > div:first-child {
    min-width: 0;
  }
  .header-nav-card .header-title {
    font-size: 1.1rem;
    line-height: 1.2;
    white-space: normal;
  }
  #save-employee-btn {
    width: 100%;
    padding: 0.9rem 1rem;
    text-align: center;
    margin: 0;
  }
  .employee-edit-card .card-body {
    padding: 1rem;
  }
  .card-navigation {
    margin: 1rem 0 1.25rem;
  }
  .card-navigation .nav-pills {
    flex-direction: column;
    gap: 0.75rem;
    overflow: visible;
  }
  .card-navigation .nav-pills .nav-item {
    max-width: none;
    margin-right: 0;
  }
  .card-navigation .nav-pills .nav-link {
    white-space: normal;
    line-height: 1.3;
    padding: 0.95rem 1rem;
    border-radius: 14px;
  }
  .card-person-title {
    font-size: 1.45rem;
    margin-bottom: 0.75rem;
  }
  .card-person-title-line {
    margin-bottom: 1.1rem;
  }
  .card-edit-top {
    padding: 1rem;
    gap: 1rem !important;
  }
  .card-edit-top__identity {
    width: 100%;
    flex-direction: column;
    align-items: stretch !important;
    text-align: center;
  }
  .card-edit-top__identity .avatar-lg {
    width: 92px;
    height: 92px;
    margin: 0 auto !important;
  }
  .card-edit-top__actions {
    width: 100%;
    flex-direction: column;
  }
  .card-edit-top__btn {
    width: 100%;
    margin-left: 0 !important;
    justify-content: center;
  }
  .card-edit-top__qr {
    width: 100%;
    padding-top: 0.25rem;
  }
  .card-edit-top__qr #edit-preview-qrcode {
    width: 132px;
    height: 132px;
    margin: 0 auto;
  }
  .card-edit-section-title {
    font-size: 1rem;
    margin-bottom: 0.85rem !important;
  }
  .card-edit-form-grid {
    --bs-gutter-x: .85rem;
  }
  .card-edit-form-grid > [class*=col-] {
    margin-bottom: 0.85rem !important;
  }
  .card-edit-form-grid .form-label {
    font-size: 0.76rem;
  }
  .card-edit-form-grid .form-control {
    font-size: 0.95rem;
    padding: 0.8rem 0.95rem;
  }
  .uni-content-type-group .btn-group {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
  }
  .uni-content-type-group .btn {
    width: 100%;
    white-space: normal;
    line-height: 1.3;
    padding: 0.9rem 1rem;
    border-radius: 14px !important;
  }
}
.color-input-circle {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #ccc;
  cursor: pointer;
  padding: 0;
}
.color-input-circle::-webkit-color-swatch-wrapper {
  padding: 0;
  border-radius: 50%;
}
.color-input-circle::-webkit-color-swatch {
  border-radius: 50%;
}
.color-input-circle::-moz-color-swatch {
  border-radius: 50%;
}

.color-label {
  font-family: monospace;
  min-width: 60px;
}

/* =========================
   TEMPLATE 2
   ========================= */
.template2-logo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}
.template2-logo-wrap img {
  max-width: 150px;
}

.template2-hero {
  width: 100%;
  padding: 80px 0;
  text-align: center;
  margin-bottom: 28px;
}

.template2-hero-logo {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 52px;
  letter-spacing: 0.5px;
}

.template2-name {
  font-size: 25px;
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 6px;
  text-align: center;
}

.template2-position {
  font-size: 14px;
  font-weight: 400;
  text-align: center;
}

.template2-contact-methods {
  width: 86%;
  margin: 0 auto 20px;
}
.template2-contact-methods .contact-methods-title {
  margin-left: 48px;
  font-size: 15px;
  font-weight: 700;
}
.template2-contact-methods .contact-method-item {
  padding: 6px 0;
}
.template2-contact-methods .contact-item {
  background: transparent;
  border-bottom: 1px solid #d8d8d8;
  padding: 0 0 10px;
  align-items: flex-start;
}
.template2-contact-methods .contact-icon {
  width: 34px;
  height: 34px;
  margin-right: 14px;
}
.template2-contact-methods .contact-icon .material-symbols-outlined {
  font-size: 34px;
}
.template2-contact-methods .contact-text {
  font-size: 14px;
  font-weight: 500;
}

.contact-card.template-2 {
  align-items: stretch;
  text-align: left;
}
.contact-card.template-2 .template2-logo-wrap {
  display: flex;
  justify-content: center;
  margin: 50px 0 16px;
}
.contact-card.template-2 .brand-logo {
  margin: 0;
}
.contact-card.template-2 .brand-logo img {
  max-width: 170px;
  max-height: 48px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}
.contact-card.template-2 .template2-hero {
  width: 100%;
  height: 100%;
  max-height: 160px;
  margin-bottom: 18px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.contact-card.template-2 .template2-name-wrap {
  text-align: center;
  margin-bottom: 18px;
  padding: 0 10px;
}
.contact-card.template-2 .template2-name {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 6px;
  text-align: center;
}
.contact-card.template-2 .template2-position {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
  text-align: center;
  margin-bottom: 0;
}
.contact-card.template-2 .template2-intro {
  font-size: 14px;
  line-height: 1.45;
  text-align: center;
  margin-top: 14px;
  padding: 0 8px;
}
.contact-card.template-2 .template2-contact-methods {
  width: 86%;
  margin: 0 auto 22px;
}
.contact-card.template-2 .template2-contact-methods .contact-method-item {
  padding: 6px 0;
}
.contact-card.template-2 .template2-contact-methods .contact-methods-title {
  display: block;
  margin-left: 48px;
  margin-bottom: 4px;
  text-align: left;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
}
.contact-card.template-2 .template2-contact-methods .contact-item {
  display: flex;
  align-items: center;
  background: transparent;
  border-bottom: 1px solid #d9d9d9;
  padding: 0 0 10px;
  text-decoration: none;
}
.contact-card.template-2 .template2-contact-methods .contact-icon {
  width: 34px;
  height: 34px;
  margin-right: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 34px;
}
.contact-card.template-2 .template2-contact-methods .contact-icon .material-symbols-outlined {
  font-size: 34px;
  line-height: 1;
}
.contact-card.template-2 .template2-contact-methods .contact-text {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  text-align: left;
  display: flex;
  align-items: center;
  min-height: 34px;
}

/* =========================
   TEMPLATE 3
   ========================= */
.template3-top {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.template3-avatar-band {
  width: calc(100% + 36px);
  margin-left: -18px;
  margin-right: -18px;
  background: #e6e6e6;
  min-height: 118px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.template3-avatar {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  overflow: hidden;
  background: #d1d1d1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.template3-avatar img {
  width: 78px;
  height: 78px;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}

.template3-name-wrap {
  text-align: center;
  margin-bottom: 18px;
}

.template3-name {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 6px;
}

.template3-position {
  font-size: 14px;
  font-weight: 400;
}

.template3-contact-methods {
  width: 86%;
  margin: 0 auto 18px;
}
.template3-contact-methods .contact-methods-title {
  margin-left: 48px;
  font-size: 15px;
  font-weight: 700;
}
.template3-contact-methods .contact-method-item {
  padding: 6px 0;
}
.template3-contact-methods .contact-item {
  background: transparent;
  border-bottom: 1px solid #d8d8d8;
  padding: 0 0 10px;
  align-items: flex-start;
}
.template3-contact-methods .contact-icon {
  width: 34px;
  height: 34px;
  margin-right: 14px;
}
.template3-contact-methods .contact-icon .material-symbols-outlined {
  font-size: 34px;
}
.template3-contact-methods .contact-text {
  font-size: 14px;
  font-weight: 500;
}

.contact-card.template-3 {
  padding: 16px 10px 24px;
  align-items: stretch;
  text-align: left;
}
.contact-card.template-3 .template3-logo-wrap {
  display: flex;
  justify-content: center;
  margin: 15px 0 25px;
}
.contact-card.template-3 .template3-hero {
  width: 100%;
  border-radius: 0;
  padding: 35px 20px;
  margin: 25px 0 25px 0;
  text-align: center;
}
.contact-card.template-3 .template3-hero.full-radius {
  border-radius: 16px;
}
.contact-card.template-3 .template3-hero.no-radius {
  border-radius: 0;
}
.contact-card.template-3 .template3-hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.contact-card.template-3 .template3-hero-logo {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 28px;
}
.contact-card.template-3 .template3-name {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 6px;
  text-align: center;
}
.contact-card.template-3 .template3-position {
  font-size: 14px;
  text-align: center;
}
.contact-card.template-3 .template3-intro {
  font-size: 14px;
  text-align: center;
  margin: 14px 0 18px;
  padding: 0 10px;
  line-height: 1.4;
}
.contact-card.template-3 .template3-contact-methods {
  width: 86%;
  margin: 0 auto 22px;
}
.contact-card.template-3 .template3-contact-methods .contact-item {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #d9d9d9;
  padding-bottom: 10px;
}
.contact-card.template-3 .template3-contact-methods .contact-icon {
  width: 34px;
  height: 34px;
  margin-right: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-card.template-3 .template3-contact-methods .contact-icon .material-symbols-outlined {
  font-size: 34px;
}
.contact-card.template-3 .template3-contact-methods .contact-text {
  display: flex;
  align-items: center;
  min-height: 34px;
  font-size: 14px;
}
.contact-card.template-3 .template3-contact-methods .contact-methods-title {
  margin-left: 48px;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 4px;
}

/* =========================
   TEMPLATE 4
   ========================= */
.template4-top {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
}

.template4-avatar-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.template4-avatar-img {
  width: 126px;
  height: 126px;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
  background: #dedede;
}

.template4-name-wrap {
  text-align: center;
  margin-bottom: 18px;
}

.template4-name {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 6px;
  color: #000;
}

.template4-position {
  font-size: 14px;
  font-weight: 400;
  color: #000;
}

.template4-contact-box {
  width: 100%;
  border-radius: 0;
  padding: 14px 16px 10px;
  margin-bottom: 18px;
}
.template4-contact-box.full-radius {
  border-radius: 16px;
}
.template4-contact-box.no-radius {
  border-radius: 0;
}

.template4-contact-methods {
  width: 100%;
}
.template4-contact-methods .contact-method-item {
  padding: 6px 0;
}
.template4-contact-methods .contact-methods-title {
  margin-left: 48px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}
.template4-contact-methods .template4-contact-item {
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  padding: 0 0 10px;
  align-items: flex-start;
}
.template4-contact-methods .contact-icon {
  width: 34px;
  height: 34px;
  margin-right: 14px;
  color: #fff;
}
.template4-contact-methods .contact-icon .material-symbols-outlined {
  font-size: 34px;
}
.template4-contact-methods .contact-text {
  font-size: 14px;
  font-weight: 500;
  color: #fff;
}
.template4-contact-methods .contact-method-item:last-child .template4-contact-item {
  border-bottom: 0;
}

.contact-card.template-4 {
  padding: 16px 8px 24px;
  align-items: stretch;
  text-align: left;
}
.contact-card.template-4 .template4-logo-wrap {
  display: flex;
  justify-content: center;
  margin: 30px 0 14px;
}
.contact-card.template-4 .brand-logo {
  margin: 0;
}
.contact-card.template-4 .brand-logo img {
  max-width: 170px;
  max-height: 48px;
  width: auto;
  height: auto;
  display: block;
  margin: 0 auto;
}
.contact-card.template-4 .template4-avatar-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
}
.contact-card.template-4 .template4-avatar-img {
  width: 126px;
  height: 126px;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
  background: #dedede;
}
.contact-card.template-4 .template4-name-wrap {
  text-align: center;
  margin-bottom: 20px;
  padding: 0 10px;
}
.contact-card.template-4 .template4-name {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 6px;
  text-align: center;
}
.contact-card.template-4 .template4-position {
  font-size: 14px;
  line-height: 1.3;
  text-align: center;
  margin-bottom: 0;
}
.contact-card.template-4 .template4-contact-methods {
  width: 100%;
}
.contact-card.template-4 .template4-contact-methods .contact-method-item {
  padding: 6px 0;
}
.contact-card.template-4 .template4-contact-methods .contact-methods-title {
  display: block;
  margin-left: 58px;
  margin-bottom: 4px;
  text-align: left;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
}
.contact-card.template-4 .template4-contact-methods .template4-contact-item {
  display: flex;
  align-items: center;
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  padding: 0 0 12px;
  text-decoration: none;
}
.contact-card.template-4 .template4-contact-methods .contact-icon {
  width: 40px;
  height: 40px;
  margin-right: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 40px;
}
.contact-card.template-4 .template4-contact-methods .contact-icon .material-symbols-outlined {
  font-size: 38px;
  line-height: 1;
}
.contact-card.template-4 .template4-contact-methods .contact-text {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  text-align: left;
  display: flex;
  align-items: center;
  min-height: 40px;
}
.contact-card.template-4 .template4-contact-methods .contact-method-item:last-child .template4-contact-item {
  border-bottom: 0;
}

@media (max-width: 480px) {
  .phone-container {
    width: 100%;
    max-width: 350px;
    height: auto;
    min-height: 600px;
  }
  .template3-avatar-band {
    width: calc(100% + 28px);
    margin-left: -14px;
    margin-right: -14px;
  }
}
.contact-card.template-2 .template2-contact-methods .contact-item,
.contact-card.template-3 .template3-contact-methods .contact-item,
.contact-card.template-4 .template4-contact-methods .template4-contact-item {
  align-items: center;
}

.contact-card.template-2 .template2-contact-methods .contact-icon,
.contact-card.template-3 .template3-contact-methods .contact-icon,
.contact-card.template-4 .template4-contact-methods .contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-card.template-2 .template2-contact-methods .contact-text,
.contact-card.template-3 .template3-contact-methods .contact-text,
.contact-card.template-4 .template4-contact-methods .contact-text {
  display: flex;
  align-items: center;
}

.contact-card.template-2 .template2-contact-methods .address-text,
.contact-card.template-3 .template3-contact-methods .address-text,
.contact-card.template-4 .template4-contact-methods .address-text {
  display: block;
}

.yd-2fa-prompt {
  border: none;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  position: relative;
}
.yd-2fa-prompt__dialog {
  max-width: 420px;
}
.yd-2fa-prompt__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 10;
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}
.yd-2fa-prompt__close:hover {
  background: rgba(255, 255, 255, 0.35);
}
.yd-2fa-prompt__header {
  background: linear-gradient(135deg, #273F92 0%, #081d72 100%);
  padding: 32px 28px 24px;
  text-align: center;
  color: #fff;
}
.yd-2fa-prompt__icon {
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.yd-2fa-prompt__icon i {
  font-size: 30px;
  color: #fff;
  line-height: 1;
}
.yd-2fa-prompt__title {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 6px;
}
.yd-2fa-prompt__subtitle {
  font-size: 13px;
  opacity: 0.8;
  margin: 0;
  text-align: center;
}
.yd-2fa-prompt__body {
  padding: 24px 28px 8px;
}
.yd-2fa-prompt__feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}
.yd-2fa-prompt__feature:last-child {
  margin-bottom: 0;
}
.yd-2fa-prompt__feature-icon {
  width: 36px;
  height: 36px;
  background: #eef2ff;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #273F92;
  font-size: 17px;
  line-height: 1;
}
.yd-2fa-prompt__feature-text strong {
  display: block;
  font-size: 14px;
  color: #1e293b;
  font-weight: 600;
  margin-bottom: 2px;
}
.yd-2fa-prompt__feature-text span {
  font-size: 12px;
  color: #64748b;
}
.yd-2fa-prompt__footer {
  padding: 20px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.yd-2fa-prompt__btn-enable {
  background: linear-gradient(135deg, #273F92 0%, #081d72 100%);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 13px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  display: block;
  transition: opacity 0.2s;
}
.yd-2fa-prompt__btn-enable i {
  margin-right: 6px;
}
.yd-2fa-prompt__btn-enable:hover {
  opacity: 0.88;
  color: #fff;
  text-decoration: none;
}
.yd-2fa-prompt__btn-later {
  background: transparent;
  color: #64748b;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  padding: 11px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  text-align: center;
  display: block;
  transition: background 0.2s;
}
.yd-2fa-prompt__btn-later:hover {
  background: #f8fafc;
  color: #475569;
  text-decoration: none;
}
.yd-2fa-prompt__btn-never {
  display: block;
  text-align: center;
  font-size: 12px;
  color: #94a3b8;
  text-decoration: none;
  padding: 4px 0;
  transition: color 0.2s;
}
.yd-2fa-prompt__btn-never:hover {
  color: #64748b;
  text-decoration: underline;
}

.yd-dashboard-home {
  padding: 28px 0 0;
}
.yd-dashboard-home__heading {
  text-align: center;
  margin-bottom: 32px;
  padding-top: 18px;
}
.yd-dashboard-home__heading h1 {
  margin: 0 0 10px;
  font-size: 2.1rem;
  line-height: 1.2;
  font-weight: 600;
  color: #2f4ea2;
}
.yd-dashboard-home__heading p {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: #111111;
}
.yd-dashboard-home__actions {
  margin-bottom: 28px;
}
.yd-dashboard-home__tools {
  display: flex;
  justify-content: flex-end;
  margin: 0 0 20px;
}

.yd-dashboard-action-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 165px;
  height: 100%;
  padding: 24px 20px 16px;
  border: 1px solid #8ea0db;
  border-radius: 4px;
  background: #ffffff;
  text-decoration: none;
  transition: all 0.18s ease;
}
.yd-dashboard-action-card:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(33, 52, 107, 0.08);
}
.yd-dashboard-action-card__icon {
  margin-bottom: 42px;
  color: #2f4ea2;
  font-size: 2rem;
  line-height: 1;
}
.yd-dashboard-action-card__icon i {
  display: inline-block;
}
.yd-dashboard-action-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #2f4ea2;
  font-size: 1.1rem;
  font-weight: 500;
}
.yd-dashboard-action-card__footer span:first-child {
  line-height: 1.35;
}
.yd-dashboard-action-card__plus {
  flex: 0 0 auto;
  color: #13b0ff;
  font-size: 1.35rem;
  line-height: 1;
}

.yd-demo-modal {
  border: none;
  border-radius: 8px;
  padding: 1.5rem;
}
.yd-demo-modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: #333;
  z-index: 10;
  transition: color 0.2s ease;
}
.yd-demo-modal__close:hover {
  color: #2A3F8B;
}
.yd-demo-modal__icon {
  display: none;
}
.yd-demo-modal__title {
  color: #2A3F8B;
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 1.5rem;
}
.yd-demo-modal__subtitle {
  font-size: 1.1rem;
  color: #000;
  margin-bottom: 1.5rem;
}
.yd-demo-modal__subtitle strong {
  font-weight: 700;
}
.yd-demo-modal__btn-primary, .yd-demo-modal__btn-secondary {
  width: 100%;
  max-width: 320px;
  padding: 8px 10px;
  font-weight: 500;
  font-size: 1rem;
  border-radius: 6px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}
.yd-demo-modal__btn-primary {
  background-color: #00a8ff;
  color: #ffffff;
  border: 1px solid #00a8ff;
}
.yd-demo-modal__btn-primary:hover, .yd-demo-modal__btn-primary:focus, .yd-demo-modal__btn-primary:active {
  background-color: rgb(0, 141.12, 214.2);
  border-color: rgb(0, 141.12, 214.2);
  color: #ffffff !important;
  text-decoration: none;
}
.yd-demo-modal__btn-secondary {
  background-color: #ffffff;
  color: #2A3F8B;
  border: 1px solid #2A3F8B;
}
.yd-demo-modal__btn-secondary:hover {
  background-color: rgb(174, 174, 174);
  color: white;
}

.yd-demo-countdown {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin-top: 1rem;
}
.yd-demo-countdown__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 90px;
}
.yd-demo-countdown__box {
  background-color: #2A3F8B;
  color: #ffffff;
  font-size: 2.5rem;
  font-weight: 700;
  width: 100%;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
}
.yd-demo-countdown__label {
  color: #2A3F8B;
  font-weight: 700;
  font-size: 0.95rem;
  margin-top: 10px;
}
.yd-demo-countdown__sep {
  color: #2A3F8B;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 90px;
  margin: 0 10px;
}

.yd-dashboard-banner {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 4px;
  text-decoration: none;
  min-height: 340px;
  height: 340px;
}
.yd-dashboard-banner:hover .yd-dashboard-banner__image {
  transform: scale(1.02);
}
.yd-dashboard-banner__image {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}
.yd-dashboard-banner__overlay {
  position: absolute;
  inset: 0;
  height: 340px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.12) 55%, rgba(0, 0, 0, 0) 100%);
}
.yd-dashboard-banner__content {
  position: absolute;
  left: 18px;
  bottom: 16px;
  right: 18px;
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.35;
}

.yd-banner-admin {
  padding: 8px 0 24px;
}
.container-fluid .yd-banner-admin {
  background: transparent;
}
.yd-banner-admin__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  padding: 18px 24px;
  background: #ffffff;
  border: 1px solid #edf0f5;
  border-radius: 8px;
}
.yd-banner-admin__header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.yd-banner-admin__header-icon {
  font-size: 28px;
  color: #3448a1;
  line-height: 1;
}
.yd-banner-admin__title {
  margin: 0;
  color: #31459b;
  font-size: 1.65rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.yd-banner-admin__subtitle {
  color: #8a92a8;
  font-size: 0.94rem;
  margin-top: 2px;
}
.yd-banner-admin__card {
  border: 1px solid #edf0f5;
  border-radius: 8px;
  background: #ffffff;
}
.yd-banner-admin__card .card-body {
  padding: 28px 30px 30px;
}
.yd-banner-admin__section-title {
  margin: 0 0 22px;
  color: #111111;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.yd-banner-admin__sortable {
  list-style: none;
  margin: 0;
  padding: 0;
  min-height: 60px;
}
.yd-banner-admin__sortable-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 18px;
  margin-bottom: 10px;
  border: 1px solid #edf0f5;
  border-radius: 8px;
  background: #ffffff;
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.yd-banner-admin__sortable-item:hover {
  border-color: #d0d7ec;
  box-shadow: 0 2px 12px rgba(51, 71, 161, 0.06);
}
.yd-banner-admin__sortable-item:last-child {
  margin-bottom: 0;
}
.yd-banner-admin__drag-handle {
  flex: 0 0 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 0;
  cursor: grab;
  color: #b2bad0;
  font-size: 1.25rem;
  line-height: 1;
  border-radius: 4px;
  transition: color 0.15s ease, background 0.15s ease;
  -moz-user-select: none;
       user-select: none;
  -webkit-user-select: none;
}
.yd-banner-admin__drag-handle:hover {
  color: #3347a1;
  background: #f0f3fc;
}
.yd-banner-admin__drag-handle:active {
  cursor: grabbing;
}
.yd-banner-admin .sortable-ghost {
  opacity: 0.45;
  border: 2px dashed #3347a1;
  background: #f5f8ff;
  box-shadow: none;
}
.yd-banner-admin .sortable-ghost .yd-banner-admin__drag-handle {
  cursor: grabbing;
}
.yd-banner-admin .sortable-chosen {
  border-color: #3347a1;
  box-shadow: 0 4px 20px rgba(51, 71, 161, 0.15);
  background: #fafbff;
}
.yd-banner-admin .sortable-drag {
  transform: rotate(2deg);
  box-shadow: 0 12px 40px rgba(30, 37, 62, 0.18);
  opacity: 0.95;
  border-color: #b8c5e8;
  background: #ffffff;
}
.yd-banner-admin__preview {
  text-align: center;
}
.yd-banner-admin__preview-badge {
  text-align: left;
  margin-bottom: 14px;
}
.yd-banner-admin__preview-card {
  max-width: 100%;
  margin-bottom: 16px;
  border-radius: 8px;
  overflow: hidden;
}
.yd-banner-admin__preview-info {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 14px;
  background: #f8f9fc;
  border: 1px solid #edf0f5;
  border-radius: 6px;
}
.yd-banner-admin__preview-info-row {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #7b8396;
  font-size: 0.85rem;
  word-break: break-word;
}
.yd-banner-admin__preview-info-row i {
  font-size: 0.9rem;
  color: #b2bad0;
  flex-shrink: 0;
}
.yd-banner-admin__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  min-height: 60px;
}
.yd-banner-admin__grid-item {
  position: relative;
  max-width: 300px;
  width: 100%;
}
.yd-banner-admin__drag-handle {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 3;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 6px;
  cursor: grab;
  color: #7b8396;
  font-size: 1.1rem;
  line-height: 1;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  transition: all 0.15s ease;
  -moz-user-select: none;
       user-select: none;
  -webkit-user-select: none;
}
.yd-banner-admin__drag-handle:hover {
  background: #ffffff;
  color: #3347a1;
  box-shadow: 0 2px 8px rgba(51, 71, 161, 0.15);
}
.yd-banner-admin__drag-handle:active {
  cursor: grabbing;
}
.yd-banner-admin__grid-card {
  background: #ffffff;
  border: 1px solid #edf0f5;
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.yd-banner-admin__grid-card:hover {
  border-color: #d0d7ec;
  box-shadow: 0 4px 16px rgba(51, 71, 161, 0.08);
}
.yd-banner-admin__grid-image {
  position: relative;
  width: 100%;
  height: 150px;
  overflow: hidden;
  background: #eef2fb;
}
.yd-banner-admin__grid-image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}
.yd-banner-admin__grid-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.08) 50%, rgba(0, 0, 0, 0) 100%);
}
.yd-banner-admin__grid-title {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 10px;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.3;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.yd-banner-admin__grid-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
}
.yd-banner-admin__order-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: #eef2fb;
  color: #4a5da3;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
}
.yd-banner-admin__grid-actions {
  margin-left: auto;
  display: flex;
  gap: 4px;
}
.yd-banner-admin__grid-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.15s ease;
}
.yd-banner-admin__grid-action i {
  line-height: 1;
}
.yd-banner-admin__grid-action--edit {
  background: #f0f4ff;
  color: #3347a1;
}
.yd-banner-admin__grid-action--edit:hover {
  background: #dce5fc;
  color: #2b3c8a;
  text-decoration: none;
}
.yd-banner-admin__grid-action--delete {
  background: #fff5f5;
  color: #af4454;
}
.yd-banner-admin__grid-action--delete:hover {
  background: #fde8ea;
  color: #8a3442;
  text-decoration: none;
}
.yd-banner-admin__empty {
  padding: 40px 20px;
  text-align: center;
  color: #8a92a8;
}
.yd-banner-admin__empty i {
  font-size: 2.5rem;
  color: #d0d7ec;
  margin-bottom: 12px;
  display: block;
}
.yd-banner-admin__empty p {
  margin: 0;
  font-size: 0.95rem;
}
.yd-banner-admin__current-image {
  padding: 14px 16px;
  border: 1px solid #e8ecf3;
  border-radius: 8px;
  background: #fbfcfe;
}
.yd-banner-admin__current-image img {
  width: 100%;
  max-height: 120px;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 6px;
  display: block;
}
.yd-banner-admin__current-image-label {
  margin-bottom: 10px;
  color: #6f778b;
  font-size: 0.88rem;
  font-weight: 600;
}
.yd-banner-admin__empty {
  padding: 40px 20px;
  text-align: center;
  color: #8a92a8;
}
.yd-banner-admin__empty i {
  font-size: 2.5rem;
  color: #d0d7ec;
  margin-bottom: 12px;
  display: block;
}
.yd-banner-admin__empty p {
  margin: 0;
  font-size: 0.95rem;
}
.yd-banner-admin .row.g-3 {
  --bs-gutter-y: 1rem;
}
.yd-banner-admin .btn {
  border-radius: 6px;
  font-weight: 500;
  box-shadow: none;
}
.yd-banner-admin .btn-primary {
  background: #3347a1;
  border-color: #3347a1;
}
.yd-banner-admin .btn-primary:hover, .yd-banner-admin .btn-primary:focus {
  background: #2b3c8a;
  border-color: #2b3c8a;
}
.yd-banner-admin .btn-outline-primary {
  color: #3347a1;
  border-color: #3347a1;
}
.yd-banner-admin .btn-outline-primary:hover, .yd-banner-admin .btn-outline-primary:focus {
  color: #ffffff;
  background: #3347a1;
  border-color: #3347a1;
}
.yd-banner-admin .btn-light {
  background: #f5f7fb;
  border-color: #e7ebf3;
  color: #47506a;
}
.yd-banner-admin .btn-light:hover {
  background: #e8ecf5;
  border-color: #d4def5;
}
.yd-banner-admin .btn-outline-danger {
  border-color: #e4a4ac;
  color: #af4454;
}
.yd-banner-admin .btn-outline-danger:hover {
  background: #fff5f5;
  color: #8a3442;
}
.yd-banner-admin .badge {
  border-radius: 999px;
  padding: 0.4rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 600;
}
.yd-banner-admin .badge-active {
  background: #e3f5eb;
  color: #1a8a4a;
}
.yd-banner-admin .badge-inactive {
  background: #f0f1f4;
  color: #7b8396;
}
.yd-banner-admin .form-label {
  margin-bottom: 0.45rem;
  color: #7a8191;
  font-size: 0.95rem;
  font-weight: 600;
}
.yd-banner-admin .form-control {
  min-height: 46px;
  border: 1px solid #e6e9f0;
  border-radius: 6px;
  background: #ffffff;
  color: #2b3140;
  box-shadow: 0 2px 8px rgba(30, 37, 62, 0.04);
}
.yd-banner-admin .form-control::-moz-placeholder {
  color: #c0c6d4;
}
.yd-banner-admin .form-control::placeholder {
  color: #c0c6d4;
}
.yd-banner-admin .form-control:focus {
  border-color: #cad3ea;
  box-shadow: 0 0 0 0.2rem rgba(51, 71, 161, 0.08);
}
.yd-banner-admin .form-control[readonly] {
  background: #f9fafc;
}
.yd-banner-admin input[type=file].form-control {
  padding: 0.45rem 0.75rem;
}
.yd-banner-admin .form-check {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid #e8ecf3;
  border-radius: 6px;
  background: #fbfcfe;
}
.yd-banner-admin .form-check-input {
  margin-top: 0;
  position: static;
  width: 1.1rem;
  height: 1.1rem;
  border-color: #bbc5de;
}
.yd-banner-admin .form-check-input:checked {
  background-color: #3347a1;
  border-color: #3347a1;
}
.yd-banner-admin .form-check-label {
  color: #515a70;
  font-weight: 500;
  margin: 0;
}

@media (max-width: 767px) {
  .yd-banner-admin__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .yd-banner-admin__title {
    font-size: 1.35rem;
  }
  .yd-banner-admin__section-title {
    font-size: 1.2rem;
  }
  .yd-banner-admin__card .card-body {
    padding: 20px 16px;
  }
  .yd-banner-admin__grid {
    grid-template-columns: 1fr;
  }
  .yd-banner-admin__grid-item {
    max-width: 100%;
  }
  .yd-banner-admin__header-actions {
    width: 100%;
  }
  .yd-banner-admin__header-actions .btn,
  .yd-banner-admin__header-actions a {
    flex: 1;
    text-align: center;
  }
  .yd-banner-admin__header-actions .d-flex {
    width: 100%;
  }
}
.yd-video-modal .modal-dialog {
  max-width: 860px;
}
.yd-video-modal__content {
  border: 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(20, 29, 68, 0.2);
}
.yd-video-modal__body {
  padding: 28px 28px 30px;
  background: #ffffff;
}
.yd-video-modal__close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: #111111;
  font-size: 1.65rem;
  z-index: 3;
  transition: color 0.2s ease, transform 0.2s ease;
}
.yd-video-modal__close:hover {
  color: #2f4ea2;
  transform: rotate(90deg);
}
.yd-video-modal__title {
  margin: 0 0 28px;
  text-align: center;
  color: #2f4ea2;
  font-size: 1.35rem;
  font-weight: 500;
}
.yd-video-modal__stage {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  background: #304aa2;
}
.yd-video-modal__preview {
  position: relative;
  aspect-ratio: 16/9;
  background: linear-gradient(180deg, #3651aa 0%, #2c459c 100%);
}
.yd-video-modal__brand {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #3b50a6;
  padding: 32px;
}
.yd-video-modal__brand-logo {
  width: min(320px, 52%);
  max-width: 100%;
  height: auto;
  display: block;
}
.yd-video-modal__play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 170px;
  height: 170px;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.yd-video-modal__play-circle {
  position: relative;
  z-index: 2;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  border: 4px solid #10a9ff;
  background: rgba(20, 38, 109, 0.42);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #10a9ff;
  font-size: 3rem;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}
.yd-video-modal__play-circle i {
  margin-left: 6px;
}
.yd-video-modal__play-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(16, 169, 255, 0.16);
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.22s ease;
}
.yd-video-modal__play-ripple--one {
  width: 112px;
  height: 112px;
}
.yd-video-modal__play-ripple--two {
  width: 148px;
  height: 148px;
}
.yd-video-modal__play:hover .yd-video-modal__play-circle {
  transform: scale(1.05);
  box-shadow: 0 0 0 12px rgba(16, 169, 255, 0.12);
  background: rgba(20, 38, 109, 0.6);
}
.yd-video-modal__play:hover .yd-video-modal__play-ripple--one {
  opacity: 1;
  animation: ydVideoPulse 1.5s ease-out infinite;
}
.yd-video-modal__play:hover .yd-video-modal__play-ripple--two {
  opacity: 1;
  animation: ydVideoPulse 1.5s ease-out 0.25s infinite;
}
.yd-video-modal iframe {
  border: 0;
  display: block;
}

@keyframes ydVideoPulse {
  0% {
    transform: scale(0.72);
    opacity: 0.65;
  }
  70% {
    transform: scale(1.18);
    opacity: 0;
  }
  100% {
    transform: scale(1.24);
    opacity: 0;
  }
}
.nfc-header-card {
  border: 0;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
  margin-bottom: 18px;
}

.nfc-header-btn {
  font-size: 0.82rem;
  padding: 0.42rem 0.9rem;
  font-weight: 600;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.nfc-filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 18px;
}
.nfc-filter-bar > * {
  min-width: 0;
}

.nfc-filter-search {
  position: relative;
  flex: 1;
  min-width: 150px;
  max-width: 250px;
}
.nfc-filter-search__icon {
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  font-size: 0.95rem;
  pointer-events: none;
}
.nfc-filter-search__input {
  height: 36px;
  border-radius: 999px;
  padding-left: 34px;
  font-size: 0.84rem;
  border-color: #e5e7eb;
  background: #fff;
}
.nfc-filter-search__input:focus {
  border-color: #bfd0ff;
  box-shadow: 0 0 0 3px rgba(76, 97, 201, 0.1);
}

.nfc-filter-select {
  flex: 1;
  min-width: 150px;
  max-width: 180px;
  height: 36px;
  border-radius: 999px;
  font-size: 0.84rem;
  border-color: #e5e7eb;
  background: #fff;
  padding-top: 0;
  padding-bottom: 0;
}
.nfc-filter-select:focus {
  border-color: #bfd0ff;
  box-shadow: 0 0 0 3px rgba(76, 97, 201, 0.1);
}

.nfc-filter-bar .select2-container {
  flex: 1 !important;
  min-width: 150px !important;
  max-width: 180px !important;
  height: 36px !important;
}
.nfc-filter-bar .select2-container--default .select2-selection--single,
.nfc-filter-bar .select2-container--bootstrap-5 .select2-selection--single {
  height: 36px !important;
  min-height: 36px !important;
  border-radius: 999px !important;
  border: 1px solid #e5e7eb !important;
  background: #fff !important;
  box-shadow: none !important;
  display: flex !important;
  align-items: center !important;
  position: relative;
  padding: 0 !important;
}
.nfc-filter-bar .select2-container .select2-selection--single .select2-selection__rendered {
  width: 100%;
  line-height: 34px !important;
  padding-left: 14px !important;
  padding-right: 34px !important;
  margin: 0 !important;
  font-size: 0.84rem;
  color: #111827 !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nfc-filter-bar .select2-container .select2-selection--single .select2-selection__placeholder {
  color: #6b7280 !important;
}
.nfc-filter-bar .select2-container .select2-selection--single .select2-selection__arrow {
  height: 36px !important;
  width: 24px !important;
  position: absolute;
  top: 0 !important;
  right: 10px !important;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nfc-filter-bar .select2-container .select2-selection--single .select2-selection__clear {
  position: absolute !important;
  top: 50% !important;
  right: 28px !important;
  transform: translateY(-50%) !important;
  z-index: 2;
}
.nfc-filter-bar .select2-container--focus .select2-selection,
.nfc-filter-bar .select2-container--open .select2-selection {
  border-color: #bfd0ff !important;
  box-shadow: 0 0 0 3px rgba(76, 97, 201, 0.1) !important;
}
.nfc-filter-bar .select2-container--bootstrap-5 .select2-dropdown,
.nfc-filter-bar .select2-container--default .select2-dropdown {
  border: 1px solid #e5e7eb !important;
  border-radius: 12px !important;
  overflow: hidden;
}
.nfc-filter-bar .select2-container--bootstrap-5 .select2-search--dropdown .select2-search__field,
.nfc-filter-bar .select2-container--default .select2-search--dropdown .select2-search__field {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
}
.nfc-filter-bar .select2-container--bootstrap-5 .select2-results__option,
.nfc-filter-bar .select2-container--default .select2-results__option {
  padding: 10px 12px;
  font-size: 0.84rem;
}

.nfc-table-card {
  border: 0;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}
.nfc-table-card .card-body {
  padding: 1.1rem 1.2rem;
  overflow: visible;
}
.nfc-table-card .nfc-table-responsive {
  overflow: visible;
}
.nfc-table-card .nfc-select2-wrap .select2-container {
  width: auto !important;
  min-width: 150px;
}
.nfc-table-card .nfc-select2-wrap .select2-container--default .select2-selection--single,
.nfc-table-card .nfc-select2-wrap .select2-container--bootstrap-5 .select2-selection--single {
  height: 36px !important;
  min-height: 36px !important;
  border-radius: 999px !important;
  border: 1px solid #e5e7eb !important;
  background: #fff !important;
  box-shadow: none !important;
  display: flex !important;
  align-items: center !important;
  position: relative;
  padding: 0 !important;
}
.nfc-table-card .nfc-select2-wrap .select2-container .select2-selection--single .select2-selection__rendered {
  width: 100%;
  line-height: 34px !important;
  padding-left: 14px !important;
  padding-right: 34px !important;
  margin: 0 !important;
  font-size: 0.84rem;
  color: #111827 !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nfc-table-card .nfc-select2-wrap .select2-container .select2-selection--single .select2-selection__placeholder {
  color: #6b7280 !important;
}
.nfc-table-card .nfc-select2-wrap .select2-container .select2-selection--single .select2-selection__arrow {
  height: 36px !important;
  width: 24px !important;
  position: absolute;
  top: 0 !important;
  right: 10px !important;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nfc-table-card .nfc-select2-wrap .select2-container .select2-selection--single .select2-selection__clear {
  position: absolute !important;
  top: 50% !important;
  right: 28px !important;
  transform: translateY(-50%) !important;
  z-index: 2;
}
.nfc-table-card .nfc-select2-wrap .select2-container--focus .select2-selection,
.nfc-table-card .nfc-select2-wrap .select2-container--open .select2-selection {
  border-color: #bfd0ff !important;
  box-shadow: 0 0 0 3px rgba(76, 97, 201, 0.1) !important;
}
.nfc-table-card .select2-container--bootstrap-5 .select2-dropdown,
.nfc-table-card .select2-container--default .select2-dropdown {
  border: 1px solid #e5e7eb !important;
  border-radius: 12px !important;
  overflow: hidden;
}
.nfc-table-card .select2-container--bootstrap-5 .select2-search--dropdown .select2-search__field,
.nfc-table-card .select2-container--default .select2-search--dropdown .select2-search__field {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
}

.nfc-table {
  margin-bottom: 0;
  border-collapse: separate;
  border-spacing: 0;
}
.nfc-table thead th {
  font-size: 0.73rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #8a94a6;
  font-weight: 700;
  border-top: 0;
  border-bottom: 1px solid #edf1f7;
  padding: 0 12px 14px;
  white-space: nowrap;
}
.nfc-table tbody tr {
  transition: background 0.15s ease;
}
.nfc-table tbody tr:hover {
  background: #fafcff;
}
.nfc-table tbody tr td {
  padding: 16px 12px;
  border-bottom: 1px solid #edf1f7;
  border-top: 0;
  vertical-align: middle;
  font-size: 0.94rem;
  overflow: visible;
}

.nfc-name {
  font-weight: 600;
  color: #111827;
}

.nfc-uid {
  font-size: 0.85rem;
}

.nfc-scan-count {
  font-size: 1.5rem;
  line-height: 1;
  font-weight: 700;
  color: #111827;
}

.avatar-sm {
  width: 38px;
  height: 38px;
  -o-object-fit: cover;
     object-fit: cover;
  flex-shrink: 0;
}

.nfc-type-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.34rem 0.78rem;
  border-radius: 999px;
  font-size: 0.73rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  background: #eef2ff;
  color: #4652c4;
}
.nfc-type-pill--contact_card {
  background: #f0e5ff;
  color: #6d28d9;
}
.nfc-type-pill--employee_card {
  background: #e9eeff;
  color: #4c61c9;
}
.nfc-type-pill--uni_card {
  background: #ffe9d6;
  color: #c87a2b;
}
.nfc-type-pill--stand {
  background: #dff1ff;
  color: #4383c4;
}
.nfc-type-pill--pen {
  background: #fce7d6;
  color: #9a3412;
}
.nfc-type-pill--chip {
  background: #e0f8ff;
  color: #0369a1;
}
.nfc-type-pill--sticker {
  background: #dff56e;
  color: #5f8200;
}
.nfc-type-pill--brochure, .nfc-type-pill--brozura, .nfc-type-pill--flyer {
  background: #e7f7ff;
  color: #0f8fb2;
}

.nfc-status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 76px;
  padding: 0.34rem 0.8rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1;
}
.nfc-status-badge.is-active {
  background: #baf2c8;
  color: #179b47;
}
.nfc-status-badge.is-inactive {
  background: #fde2e2;
  color: #d83b3b;
}

.nfc-icon-btn {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #4c61c9;
  text-decoration: none;
  transition: all 0.15s ease;
}
.nfc-icon-btn i {
  font-size: 1.1rem;
}
.nfc-icon-btn:hover {
  color: #2f4aa0;
  background: #eef2ff;
}

.nfc-actions-cell {
  width: 72px;
  text-align: right;
  position: relative;
  overflow: visible !important;
}

.nfc-action-menu-wrap {
  position: relative;
  display: inline-block;
  overflow: visible;
}
.nfc-action-menu-wrap.is-open .nfc-action-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.nfc-arrow-btn {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d9dfeb;
  background: #fff;
  color: #4c61c9;
  padding: 0;
  transition: all 0.15s ease;
}
.nfc-arrow-btn i {
  font-size: 1.15rem;
  line-height: 1;
}
.nfc-arrow-btn:hover, .nfc-arrow-btn:focus, .nfc-arrow-btn[aria-expanded=true] {
  border-color: #c6d1f3;
  background: #f4f7ff;
  color: #2f4aa0;
  box-shadow: none;
}

.nfc-action-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 220px;
  border: 1px solid #e6ebf2;
  border-radius: 12px;
  padding: 6px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.1);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  pointer-events: none;
  transition: all 0.16s ease;
}

.nfc-action-menu__item {
  display: flex;
  align-items: center;
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 0.92rem;
  color: #374151;
  transition: all 0.12s ease;
  background: transparent;
  border: 0;
  width: 100%;
  text-align: left;
  text-decoration: none;
}
.nfc-action-menu__item i {
  font-size: 1rem;
  color: #6b7280;
}
.nfc-action-menu__item:hover {
  background: #f5f7fb;
  color: #111827;
}
.nfc-action-menu__item.is-danger {
  color: #dc3545 !important;
}
.nfc-action-menu__item.is-danger i {
  color: #dc3545 !important;
}
.nfc-action-menu__item.is-danger:hover {
  background: #fef2f2;
  color: #dc3545 !important;
}
.nfc-action-menu__item.is-warning {
  color: #d97706 !important;
}
.nfc-action-menu__item.is-warning i {
  color: #d97706 !important;
}
.nfc-action-menu__item.is-warning:hover {
  background: #fffbeb;
  color: #d97706 !important;
}

button.nfc-action-menu__item {
  cursor: pointer;
}

.nfc-action-menu__divider {
  height: 1px;
  background: #eef2f7;
  margin: 6px 0;
}

.bulk-carrier-modal {
  border-radius: 18px;
  border: 0;
  overflow: hidden;
}
.bulk-carrier-modal .modal-header {
  text-align: center;
}

.bulk-carrier-title {
  color: #2f4aa0;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.81;
  margin-top: 10px;
}

.bulk-carrier-subtitle {
  font-size: 1.35rem;
  color: #111;
}

.bulk-carrier-close {
  position: absolute;
  right: 22px;
  top: 18px;
  z-index: 10;
}

.carrier-option-card {
  position: relative;
  background: #fff;
  border: 1px solid #dcdcdc;
  border-radius: 6px;
  padding: 14px 12px 10px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.carrier-option-card:hover {
  border-color: #2f4aa0;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}
.carrier-option-card.active {
  border-color: #2f4aa0;
  box-shadow: 0 0 0 2px rgba(47, 74, 160, 0.15);
}

.carrier-help-btn,
.carrier-help-inline {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid #111;
  background: #fff;
  color: #111;
  font-size: 11px;
  line-height: 16px;
  padding: 0;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.carrier-help-btn {
  position: absolute;
  top: 8px;
  right: 8px;
}

.carrier-option-image-wrap {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carrier-option-image {
  max-height: 78px;
  max-width: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}

.carrier-option-name {
  color: #2f4aa0;
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.2;
  margin-top: 8px;
}

@media (max-width: 768px) {
  .nfc-header-card .card-body {
    flex-direction: column;
    align-items: stretch !important;
    gap: 1rem;
    padding: 1rem;
  }
  .nfc-header-actions {
    width: 100%;
    flex-direction: column;
  }
  .nfc-header-actions .btn,
  .nfc-header-actions .nfc-header-btn {
    width: 100%;
    justify-content: center;
  }
  .nfc-table-card .card-body {
    padding: 1rem;
  }
  .nfc-filter-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .nfc-filter-search,
  .nfc-filter-select,
  .nfc-filter-bar .select2-container {
    min-width: 0 !important;
    max-width: none !important;
    width: 100% !important;
  }
  .nfc-filter-search__input,
  .nfc-filter-select {
    width: 100%;
    max-width: 100%;
  }
  .nfc-filter-bar .select2-container {
    display: block !important;
  }
  .nfc-filter-bar .select2-container .selection {
    display: block;
    width: 100%;
  }
  .nfc-filter-bar .select2-container .select2-selection--single {
    min-height: 42px !important;
    height: 42px !important;
  }
  .nfc-filter-bar .select2-container .select2-selection--single .select2-selection__rendered {
    max-width: 100%;
    padding-right: 40px !important;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .nfc-table-responsive {
    overflow: visible;
  }
  .nfc-table {
    min-width: 0;
  }
  .nfc-table thead {
    display: none;
  }
  .nfc-table tbody {
    display: grid;
    gap: 12px;
  }
  .nfc-table tbody tr {
    display: block;
    border: 1px solid #e6ebf5;
    border-radius: 16px;
    padding: 0.35rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
  }
  .nfc-table tbody tr:hover {
    background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
  }
  .nfc-table tbody td {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    padding: 0.8rem 1rem !important;
    border-bottom: 1px solid #eef2f7;
    text-align: right;
    font-size: 0.9rem;
  }
  .nfc-table tbody td::before {
    content: attr(data-label);
    flex: 0 0 42%;
    max-width: 42%;
    text-align: left;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #8a94a6;
  }
  .nfc-table tbody td:last-child {
    border-bottom: 0;
  }
  .nfc-table td[data-label=Akce] {
    display: block;
    text-align: left;
  }
  .nfc-table td[data-label=Akce]::before {
    display: block;
    max-width: none;
    margin-bottom: 0.75rem;
  }
  .nfc-table td.nfc-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.35rem;
    padding: 2rem 1rem !important;
  }
  .nfc-table td.nfc-empty-state::before {
    display: none;
  }
  .nfc-table td[data-label=Název] {
    display: block;
    text-align: left;
    padding-bottom: 1rem !important;
  }
  .nfc-table td[data-label=Název]::before {
    display: none;
  }
  .nfc-table td[data-label=Název] .d-flex {
    min-width: 0;
    flex-wrap: nowrap;
    align-items: center;
    gap: 12px;
  }
  .nfc-table td[data-label=ID],
  .nfc-table td[data-label="Typ NFC karty"],
  .nfc-table td[data-label=Počet],
  .nfc-table td[data-label="Datum vytvoření"],
  .nfc-table td[data-label=Odkaz],
  .nfc-table td[data-label=QR] {
    display: none;
  }
  .avatar-sm {
    width: 42px;
    height: 42px;
  }
  .nfc-name,
  .nfc-uid {
    overflow-wrap: anywhere;
  }
  .nfc-name {
    display: block;
    font-size: 0.98rem;
    line-height: 1.35;
  }
  .nfc-status-badge,
  .nfc-type-pill,
  .nfc-scan-count {
    margin-left: auto;
  }
  .nfc-scan-count {
    font-size: 1.15rem;
  }
  .nfc-actions-cell {
    width: auto;
  }
  .nfc-action-menu-wrap {
    display: block;
    width: 100%;
  }
  .nfc-arrow-btn {
    width: 42px;
    height: 42px;
    margin-left: auto;
  }
  .nfc-action-menu {
    position: static;
    min-width: 0;
    width: 100%;
    margin-top: 0.75rem;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    display: none;
    box-shadow: none;
  }
  .nfc-action-menu-wrap.is-open .nfc-action-menu {
    display: block;
  }
  .bulk-carrier-title {
    font-size: 1.4rem;
    line-height: 1.35;
  }
  #bulkCarrierModal .modal-dialog {
    margin: 0.75rem;
  }
  #bulkCarrierModal .modal-content {
    padding: 0.75rem !important;
  }
  #bulkCarrierModal .modal-body {
    padding-left: 0.25rem;
    padding-right: 0.25rem;
  }
  #bulkContentTypeSwitchWrap .btn-group {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
  }
  #bulkContentTypeSwitchWrap .btn {
    width: 100%;
    white-space: normal;
    line-height: 1.3;
    padding: 0.9rem 1rem;
    border-radius: 14px !important;
  }
  .bulk-button-row {
    flex-direction: column;
  }
  .bulk-button-row .form-control,
  .bulk-button-row .bulk-btn-remove {
    width: 100%;
  }
  .bulk-button-row .bulk-btn-remove {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  #bulkCarrierForm .btn-primary,
  #employeeImportBtn,
  #backFromImportBtn,
  #add-bulk-button {
    width: 100%;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  #bulkImportForm .text-center .btn + .btn {
    margin-left: 0 !important;
    margin-top: 0.75rem;
  }
  #contactCardChoices .card {
    padding: 1.1rem !important;
  }
  .carrier-option-card {
    min-height: 132px;
    padding: 12px 10px 10px;
  }
  .carrier-option-image-wrap {
    height: 72px;
  }
  .carrier-option-image {
    max-height: 64px;
  }
}
.analytics-select2-wrap .select2-container {
  width: 100% !important;
}

.analytics-select2-wrap .select2-container--default .select2-selection--single,
.analytics-select2-wrap .select2-container--default .select2-selection--multiple,
.analytics-select2-wrap .select2-container--bootstrap-5 .select2-selection--single,
.analytics-select2-wrap .select2-container--bootstrap-5 .select2-selection--multiple {
  min-height: 44px;
  border: 1px solid var(--ct-input-border-color, #ced4da);
  border-radius: 0.375rem;
  background-color: var(--ct-input-bg, #fff);
  color: var(--ct-body-color, #495057);
  box-shadow: none;
}

.analytics-select2-wrap .select2-container .select2-selection--single {
  height: 44px !important;
  display: flex !important;
  align-items: center !important;
  padding: 0 !important;
  position: relative;
}

.analytics-select2-wrap .select2-container .select2-selection--single .select2-selection__rendered {
  width: 100%;
  padding-left: 0.75rem !important;
  padding-right: 2.5rem !important;
  margin: 0 !important;
  line-height: 42px !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--ct-body-color, #495057);
}

.analytics-select2-wrap .select2-container .select2-selection--single .select2-selection__placeholder,
.analytics-select2-wrap .select2-selection__placeholder {
  color: #6c757d;
}

.analytics-select2-wrap .select2-container .select2-selection--single .select2-selection__arrow {
  height: 44px !important;
  position: absolute;
  top: 0 !important;
  right: 10px !important;
  width: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.analytics-select2-wrap .select2-container .select2-selection--single .select2-selection__clear {
  position: absolute !important;
  top: 50% !important;
  right: 34px !important;
  transform: translateY(-50%) !important;
  z-index: 2;
}

.analytics-select2-wrap .select2-container .select2-selection--multiple {
  min-height: 44px !important;
  padding: 0.25rem 0.5rem !important;
}

.analytics-select2-wrap .select2-container .select2-selection--multiple .select2-selection__rendered {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  padding: 0 !important;
  margin: 0;
  list-style: none;
}

.analytics-select2-wrap .select2-container .select2-selection--multiple .select2-selection__choice {
  margin-top: 0 !important;
}

.analytics-select2-wrap .select2-container .select2-selection--multiple .select2-search--inline .select2-search__field {
  margin-top: 0 !important;
  height: 28px;
}

.analytics-select2-wrap .select2-container--focus .select2-selection,
.analytics-select2-wrap .select2-container--open .select2-selection {
  border-color: #86b7fe !important;
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25) !important;
}

.analytics-select2-wrap .select2-container.select2-container--disabled .select2-selection {
  background-color: #e9ecef !important;
  opacity: 1;
}

.select2-container--bootstrap-5 .select2-dropdown,
.select2-container--default .select2-dropdown {
  border: 1px solid var(--ct-input-border-color, #ced4da) !important;
  border-radius: 0.375rem !important;
  overflow: hidden;
}

.select2-container--bootstrap-5 .select2-search--dropdown .select2-search__field,
.select2-container--default .select2-search--dropdown .select2-search__field {
  border: 1px solid var(--ct-input-border-color, #ced4da);
  border-radius: 0.375rem;
}

.analytics-hero-card {
  border: 1px solid rgba(114, 124, 245, 0.12);
}

.analytics-mini-stat {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.analytics-mini-stat:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.08);
}

.analytics-stat-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.analytics-feed-thumb,
.analytics-top-thumb {
  width: 40px;
  height: 40px;
  -o-object-fit: cover;
     object-fit: cover;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(114, 124, 245, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.analytics-feed-thumb img,
.analytics-top-thumb img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.analytics-feed-subtitle,
.analytics-top-subtitle {
  font-size: 12px;
}

.analytics-badge-soft {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(114, 124, 245, 0.12);
  color: #727cf5;
}

.analytics-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}
@media (max-width: 767.98px) {
  .analytics-summary-grid {
    grid-template-columns: 1fr;
  }
}

.analytics-summary-item {
  padding: 0.85rem 1rem;
  border: 1px solid var(--ct-border-color, #eef2f7);
  border-radius: 0.75rem;
  background: var(--ct-card-bg, #fff);
}

.analytics-list-scroll {
  max-height: 420px;
  overflow-y: auto;
}

.analytics-progress-list .progress {
  height: 6px;
}

.analytics-empty {
  padding: 2rem 1rem;
  text-align: center;
  color: var(--ct-secondary-color, #98a6ad);
}

.analytics-progress-list .progress {
  height: 6px;
  border-radius: 3px;
}

.analytics-conversion-table {
  font-size: 0.85rem;
}
.analytics-conversion-table .table-sm {
  margin-bottom: 0;
}

.share-panel-card {
  border: 0;
  box-shadow: none;
  border-radius: 0.5rem;
}
.share-panel-card .card-body {
  padding: 1.5rem;
}

.share-panel {
  padding-top: 0.75rem;
}
.share-panel__title {
  font-size: 2rem;
  line-height: 1.2;
  font-weight: 400;
  color: #3f51a2;
  margin-bottom: 1rem;
}
.share-panel__divider {
  height: 1px;
  background: #d7dcea;
  margin-bottom: 2rem;
}

.share-wallet {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3rem;
}
.share-wallet__info {
  max-width: 500px;
}
.share-wallet__heading {
  font-size: 1rem;
  line-height: 1.3;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1rem;
}
.share-wallet__text {
  font-size: 1rem;
  line-height: 1.45;
  color: #1f2937;
  margin: 0;
}
.share-wallet__devider {
  line-height: 50px;
  margin: 0;
}
.share-wallet__right {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.share-wallet__qr {
  width: 125px;
  height: 125px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.share-wallet__qr img,
.share-wallet__qr canvas,
.share-wallet__qr svg {
  width: 100% !important;
  height: 100% !important;
  display: block;
}
.share-wallet__badges {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.wallet-store-badge {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.wallet-store-badge img {
  display: block;
  width: auto;
  height: 40px;
}

.share-link {
  margin-bottom: 2rem;
}
.share-link__heading {
  font-size: 1rem;
  line-height: 1.3;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.85rem;
}
.share-link__box {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #f3f4f6;
  border-radius: 0.375rem;
  padding: 0.75rem;
}
.share-link__box .form-control {
  height: 42px;
  background: #fff;
  border: 1px solid #d9dee8;
  box-shadow: none;
}
.share-link__box .btn {
  height: 42px;
  min-width: 140px;
  white-space: nowrap;
}

.share-download__text {
  font-size: 1rem;
  line-height: 1.45;
  color: #1f2937;
  margin-bottom: 1rem;
}
.share-download__qr {
  width: 140px;
  height: 140px;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.share-download__qr img,
.share-download__qr canvas,
.share-download__qr svg {
  width: 100% !important;
  height: 100% !important;
  display: block;
}
.share-download__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.share-download__buttons .btn {
  min-width: 112px;
}

.share-phone-card__qr {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}
.share-phone-card__qr canvas,
.share-phone-card__qr img {
  width: 180px !important;
  height: 180px !important;
}

.share-phone-preview {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
.share-phone-preview__device {
  position: relative;
  width: 350px;
  height: 650px;
  background: #fff;
  border: 4px solid #161616;
  border-radius: 2.5rem;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}
.share-phone-preview__notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 68px;
  height: 20px;
  background: #000;
  border-radius: 999px;
  z-index: 3;
}
.share-phone-preview__screen {
  width: 100%;
  height: 100%;
  background: #fff;
}

.share-phone-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.share-phone-card__header {
  min-height: 240px;
  border-radius: 0 0 2rem 2rem;
  padding: 2rem 1.5rem 1.25rem;
  text-align: center;
}
.share-phone-card__logo {
  display: block;
  max-width: 120px;
  max-height: 52px;
  -o-object-fit: contain;
     object-fit: contain;
  margin: 0 auto 1rem;
}
.share-phone-card__logo-text {
  font-size: 1.6rem;
  line-height: 1;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.share-phone-card__avatar {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
  margin: 0 auto 1rem;
}
.share-phone-card__name {
  font-size: 1.8rem;
  line-height: 1.2;
  font-weight: 500;
  color: #000;
  margin-bottom: 0.35rem;
}
.share-phone-card__position {
  font-size: 1.05rem;
  line-height: 1.3;
  color: #000;
}
.share-phone-card__body {
  flex: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 4rem;
}
.share-phone-card__qr {
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.share-phone-card__qr img,
.share-phone-card__qr canvas,
.share-phone-card__qr svg {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

@media (max-width: 1399.98px) {
  .share-wallet {
    flex-direction: column;
    align-items: flex-start;
  }
  .share-wallet__right {
    justify-content: flex-start;
  }
}
@media (max-width: 1199.98px) {
  .share-phone-preview {
    margin-top: 2rem;
  }
}
@media (max-width: 767.98px) {
  .share-link__box {
    flex-direction: column;
    align-items: stretch;
  }
  .share-link__box .btn {
    width: 100%;
    min-width: 100%;
  }
  .share-wallet__right {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .share-phone-preview__device {
    width: 280px;
    height: 560px;
  }
  .share-phone-card__header {
    min-height: 220px;
  }
  .share-phone-card__name {
    font-size: 1.5rem;
  }
  .share-phone-card__position {
    font-size: 0.95rem;
  }
  .share-phone-card__body {
    padding-top: 3rem;
  }
}
.btn-new-qr {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background-color: #1a56db;
  border-color: #1a56db;
  font-size: 0.8125rem;
  font-weight: 500;
  border-radius: 8px;
  padding: 8px 16px;
}
.btn-new-qr:hover, .btn-new-qr:focus {
  background-color: #1647c8;
  border-color: #1647c8;
}

.qr-create-dropdown {
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 16px 40px rgba(17, 24, 39, 0.1);
  padding: 0.5rem;
  margin: 10px 0;
}
.qr-create-dropdown .dropdown-item {
  border-radius: 10px;
  font-size: 0.8125rem;
  padding: 0.7rem 0.85rem;
  margin: 10px auto;
}
.qr-create-dropdown .dropdown-item:hover, .qr-create-dropdown .dropdown-item:focus {
  background-color: #3730a3;
  color: #eef2ff;
}

.qr-create-menu {
  position: relative;
}
.qr-create-menu .qr-create-dropdown {
  min-width: 220px;
}

.card-qr-header {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background-color: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.card-qr-header .card-body {
  padding: 1.5rem !important;
}

.qr-folder-section .qr-folder-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.85rem;
}

.qr-folder-card-wrap {
  position: relative;
  width: min(100%, 280px);
  max-width: 280px;
  flex: 0 0 280px;
}

.qr-folder-card {
  width: min(100%, 280px);
  max-width: 280px;
  min-height: 96px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #fbfbfd;
  box-shadow: 0 8px 20px rgba(17, 24, 39, 0.06);
  padding: 0.9rem 0.95rem 0.85rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  text-align: left;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.qr-folder-card strong {
  font-size: 0.92rem;
  color: #111827;
  font-weight: 700;
  line-height: 1.15;
}
.qr-folder-card:hover, .qr-folder-card.is-active {
  border-color: rgba(26, 86, 219, 0.28);
  background-color: #eef4ff;
  box-shadow: 0 14px 26px rgba(26, 86, 219, 0.1);
}

.qr-folder-icon {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  color: #2f1f3d;
  background-color: transparent;
}

.qr-folder-meta {
  font-size: 0.78rem;
  color: #6b7280;
  line-height: 1.2;
}

.qr-folder-divider {
  margin: 0 0.2rem;
}

.qr-folder-menu {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
}

.qr-folder-dropdown-menu {
  min-width: 200px;
  padding: 0.2rem 0;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
  overflow: hidden;
}
.qr-folder-dropdown-menu .dropdown-item {
  display: flex;
  align-items: center;
  padding: 10px 5px;
  font-size: 14px;
  color: #5b6475;
}
.qr-folder-dropdown-menu .dropdown-item .mdi {
  font-size: 16px;
}
.qr-folder-dropdown-menu .dropdown-item:hover, .qr-folder-dropdown-menu .dropdown-item:focus {
  background-color: #f7f8fb;
  color: #111827;
}

.qr-folder-dropdown-menu.show {
  display: block;
}

.qr-folder-delete-btn {
  border-top: 1px solid #e5e7eb;
  padding-top: 0.95rem !important;
}

.qr-folder-menu-btn {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #6b7280;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.qr-folder-menu-btn:hover, .qr-folder-menu-btn:focus {
  background-color: #f3f4f6;
  color: #111827;
}

.qr-filters .qr-filter-label {
  font-size: 0.75rem;
  color: #6b7280;
  white-space: nowrap;
}
.qr-filters .qr-filter-search {
  position: relative;
  flex: 1 1 200px;
  min-width: 160px;
  max-width: 320px;
}
.qr-filters .qr-filter-search .mdi-magnify {
  position: absolute;
  left: 9px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.9rem;
  color: #9ca3af;
  pointer-events: none;
}
.qr-filters .qr-filter-search .form-control {
  padding-left: 1.9rem;
  border-radius: 8px;
  border-color: #d1d5db;
  font-size: 0.8125rem;
  background-color: #ffffff;
}
.qr-filters .qr-filter-search .form-control:focus {
  border-color: #1a56db;
  box-shadow: 0 0 0 2px rgba(26, 86, 219, 0.12);
}
.qr-filters .qr-filter-select {
  flex: 0 1 160px;
  min-width: 140px;
  border-radius: 8px;
  border-color: #d1d5db;
  font-size: 0.8125rem;
  color: #6b7280;
  background-color: #ffffff;
}
.qr-filters .qr-filter-select:focus {
  border-color: #1a56db;
  box-shadow: 0 0 0 2px rgba(26, 86, 219, 0.12);
}

.card-qr {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: visible;
  box-shadow: none;
}
.card-qr .card-body {
  overflow: visible;
}
.card-qr .table-responsive {
  overflow: visible !important;
}

.table-qr thead th {
  font-size: 0.75rem;
  font-weight: 500;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 1px solid #e5e7eb;
  padding: 0.65rem 1rem;
  white-space: nowrap;
  background: transparent;
}
.table-qr tbody td {
  padding: 0.875rem 1rem;
  vertical-align: middle;
  border-bottom: 1px solid #e5e7eb;
}
.table-qr tbody tr:last-child td {
  border-bottom: none;
}
.table-qr.table-hover > tbody > tr:hover > * {
  background-color: #f3f4f6;
}

.qr-check-input {
  width: 15px;
  height: 15px;
  accent-color: #1a56db;
  cursor: pointer;
}

.qr-thumb-sm {
  width: 38px;
  height: 38px;
  border-radius: 6px;
  background-color: #f9fafb;
  border: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: #9ca3af;
}

.qr-name-main {
  font-size: 0.8125rem;
  font-weight: 500;
  color: #111827;
}

.qr-name-sub {
  font-size: 0.75rem;
  color: #9ca3af;
  margin-top: 1px;
}

.qr-folder-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 20px;
  padding: 0.32rem 0.75rem;
  background-color: #f4f4f5;
  color: #4b5563;
  font-size: 0.75rem;
}

.qr-date {
  font-size: 0.75rem;
  color: #6b7280;
}

.qr-scan-count {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #111827;
}

.qr-type-badge {
  font-size: 0.7125rem;
  font-weight: 500;
  border-radius: 20px;
  padding: 0.3em 0.8em;
  display: inline-flex;
  align-items: center;
  background-color: #eef2ff;
  color: #3730a3;
  border: none;
}

.qr-status-badge {
  font-size: 0.7125rem;
  font-weight: 500;
  border-radius: 20px;
  padding: 0.3em 0.8em;
  text-transform: lowercase;
  border: none;
}
.qr-status-badge.badge-soft-success {
  background-color: #ecfdf5;
  color: #065f46;
}
.qr-status-badge.badge-soft-secondary {
  background-color: #f3f4f6;
  color: #6b7280;
}

.qr-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 6px;
  background: transparent;
  border: none;
  color: #6b7280;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.15s, color 0.15s;
}
.qr-icon-btn:hover {
  background-color: #f3f4f6;
  color: #111827;
}

.qr-empty-row td {
  font-size: 0.875rem;
  color: #6b7280;
}

.qr-download-modal .modal-dialog,
.qr-folder-modal .modal-dialog {
  max-height: calc(100vh - 3.5rem);
  margin-top: 1.75rem;
  margin-bottom: 1.75rem;
}
.qr-download-modal .modal-content,
.qr-folder-modal .modal-content {
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.12);
  max-height: calc(100vh - 3.5rem);
  display: flex;
  flex-direction: column;
}
.qr-download-modal .modal-body,
.qr-folder-modal .modal-body {
  overflow-y: auto;
  flex: 1 1 auto;
  max-height: 60vh;
}

.qr-folder-modal .modal-body,
.qr-folder-modal .modal-header,
.qr-folder-modal .modal-footer {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.qr-folder-modal .form-control {
  border-radius: 12px;
  min-height: 46px;
}

.qr-folder-modal-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.qr-folder-choice {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  cursor: pointer;
}
.qr-folder-choice input {
  margin-top: 0.15rem;
}
.qr-folder-choice strong {
  display: block;
  font-size: 0.8125rem;
  color: #111827;
}
.qr-folder-choice small {
  display: block;
  color: #6b7280;
  font-size: 0.75rem;
}

.qr-download-note {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: #6b7280;
}

.qr-download-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.qr-download-option {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  width: 100%;
  padding: 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background-color: #ffffff;
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: all 0.15s ease;
}
.qr-download-option:hover {
  border-color: #1a56db;
  background-color: #f8faff;
  box-shadow: 0 2px 8px rgba(26, 86, 219, 0.12);
}

.qr-download-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 8px;
  background-color: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: #1a56db;
  flex-shrink: 0;
}

.qr-download-content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
}
.qr-download-content strong {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #111827;
  display: block;
}
.qr-download-content span {
  font-size: 0.75rem;
  color: #6b7280;
  display: block;
  line-height: 1.4;
}

.qr-bulkbar {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 1050;
  width: min(620px, 100vw - 2rem);
  padding: 0;
  background: transparent;
  border-top: 0;
  backdrop-filter: none;
  transform: translate(-50%, calc(100% + 1rem));
  transition: transform 0.2s ease, opacity 0.2s ease;
  opacity: 0;
}
.qr-bulkbar.is-visible {
  transform: translate(-50%, -1rem);
  opacity: 1;
}

.qr-bulkbar-inner {
  min-height: 58px;
  padding: 0.8rem 0.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.12);
  backdrop-filter: blur(12px);
}

.qr-bulkbar-cancel {
  border: 0;
  background: transparent;
  color: #1a56db;
  font-weight: 600;
  font-size: 0.82rem;
  padding: 0 0.25rem;
}

.qr-bulkbar-actions {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex: 1;
}

.qr-bulk-action {
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  background: #ffffff;
  color: #1a56db;
  min-height: 36px;
  padding: 0.45rem 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  font-size: 15px;
}
.qr-bulk-action i {
  font-size: 15px;
}
.qr-bulk-action:hover, .qr-bulk-action:focus {
  border-color: rgba(26, 86, 219, 0.35);
  background-color: #f8fbff;
}

.qr-bulkbar-count {
  color: #6b7280;
  font-size: 0.78rem;
  white-space: nowrap;
}

.nfc-actions-cell {
  width: 72px;
  text-align: right;
  position: relative;
  overflow: visible !important;
}

.nfc-action-menu-wrap {
  position: relative;
  display: inline-block;
  overflow: visible;
}
.nfc-action-menu-wrap.is-open .nfc-action-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.nfc-arrow-btn {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d9dfeb;
  background: #fff;
  color: #4c61c9;
  padding: 0;
  transition: all 0.15s ease;
}
.nfc-arrow-btn i {
  font-size: 1.15rem;
  line-height: 1;
}
.nfc-arrow-btn:hover, .nfc-arrow-btn:focus, .nfc-arrow-btn[aria-expanded=true] {
  border-color: #c6d1f3;
  background: #f4f7ff;
  color: #2f4aa0;
  box-shadow: none;
}

.nfc-action-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 220px;
  border: 1px solid #e6ebf2;
  border-radius: 12px;
  padding: 6px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.1);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  pointer-events: none;
  transition: all 0.16s ease;
}

.nfc-action-menu__item {
  display: flex;
  align-items: center;
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 0.92rem;
  color: #374151;
  transition: all 0.12s ease;
  background: transparent;
  border: 0;
  width: 100%;
  text-align: left;
  text-decoration: none;
}
.nfc-action-menu__item i {
  font-size: 1rem;
  color: #6b7280;
}
.nfc-action-menu__item:hover {
  background: #f5f7fb;
  color: #111827;
}
.nfc-action-menu__item.is-danger {
  color: #dc3545 !important;
}
.nfc-action-menu__item.is-danger i {
  color: #dc3545 !important;
}
.nfc-action-menu__item.is-danger:hover {
  background: #fef2f2;
  color: #dc3545 !important;
}
.nfc-action-menu__item.is-warning {
  color: #d97706 !important;
}
.nfc-action-menu__item.is-warning i {
  color: #d97706 !important;
}
.nfc-action-menu__item.is-warning:hover {
  background: #fffbeb;
  color: #d97706 !important;
}

button.nfc-action-menu__item {
  cursor: pointer;
}

.nfc-action-menu__divider {
  height: 1px;
  background: #eef2f7;
  margin: 6px 0;
}

@media (max-width: 767.98px) {
  .card-qr-header .card-body {
    padding: 1rem !important;
  }
  .qr-header-row {
    flex-direction: column;
    align-items: stretch !important;
    gap: 1rem !important;
  }
  .qr-header-row .header-title {
    font-size: 1.2rem;
    line-height: 1.25;
    white-space: normal;
  }
  .qr-create-menu,
  .btn-new-qr {
    width: 100%;
  }
  .btn-new-qr {
    justify-content: center;
  }
  .qr-create-dropdown {
    width: 100%;
    min-width: 0 !important;
  }
  .qr-filters {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center !important;
    gap: 0.85rem !important;
  }
  .qr-filters .qr-filter-label {
    width: 100%;
    white-space: normal;
  }
  .qr-filters .qr-filter-search {
    flex: 1 1 100%;
    max-width: 100%;
    width: 100%;
  }
  .qr-filters .qr-filter-select {
    flex: 1 1 calc(50% - 0.425rem);
    min-width: 0;
    max-width: calc(50% - 0.425rem);
  }
  .qr-filters .qr-filter-search .form-control,
  .qr-filters .qr-filter-select {
    min-height: 42px;
    height: 42px;
    padding-top: 0.55rem;
    padding-bottom: 0.55rem;
    border-radius: 14px;
    font-size: 0.9rem;
  }
  .qr-filters .qr-filter-select {
    width: auto;
  }
  .qr-filters .qr-filter-search .form-control {
    padding-left: 2rem;
  }
  .qr-filters .qr-filter-search .mdi-magnify {
    left: 0.8rem;
    font-size: 1rem;
  }
  .card-qr .table-responsive {
    overflow: visible !important;
  }
  .table-qr {
    min-width: 0;
  }
  .table-qr thead {
    display: none;
  }
  .table-qr tbody {
    display: grid;
    gap: 12px;
  }
  .table-qr tbody tr {
    display: block;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
  }
  .table-qr tbody tr:hover > * {
    background-color: transparent !important;
  }
  .table-qr tbody td {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    padding: 0.8rem 1rem !important;
    border-bottom: 1px solid #e5e7eb;
    text-align: right;
  }
  .table-qr tbody td::before {
    content: attr(data-label);
    flex: 0 0 42%;
    max-width: 42%;
    text-align: left;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #6b7280;
  }
  .table-qr tbody td:last-child {
    border-bottom: 0;
  }
  .table-qr td[data-label=Akce] {
    display: block;
    text-align: left;
  }
  .table-qr td[data-label=Akce]::before {
    display: block;
    max-width: none;
    margin-bottom: 0.75rem;
  }
  .table-qr td[data-label=Jméno] {
    display: block;
    text-align: left;
  }
  .table-qr td[data-label=Jméno]::before {
    display: none;
  }
  .table-qr td[data-label=Výběr],
  .table-qr td[data-label=Ikona],
  .table-qr td[data-label="Datum vytvoření"],
  .table-qr td[data-label=Odkaz],
  .table-qr td[data-label=Stažení],
  .table-qr td[data-label=Analytika] {
    display: none;
  }
  .qr-name-main,
  .qr-name-sub {
    overflow-wrap: anywhere;
  }
  .qr-folder-badge,
  .qr-type-badge,
  .qr-status-badge,
  .qr-scan-count {
    margin-left: auto;
  }
  .qr-empty-state {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    width: 100%;
    text-align: center !important;
    margin: 0 auto;
  }
  .qr-empty-state::before {
    display: none;
  }
  .qr-empty-state i,
  .qr-empty-state span,
  .qr-empty-state strong {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  .nfc-actions-cell {
    width: auto;
  }
  .nfc-action-menu-wrap {
    display: block;
    width: 100%;
  }
  .nfc-arrow-btn {
    width: 42px;
    height: 42px;
    margin-left: auto;
  }
  .nfc-action-menu {
    position: static;
    min-width: 0;
    width: 100%;
    margin-top: 0.75rem;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    display: none;
    box-shadow: none;
  }
  .nfc-action-menu-wrap.is-open .nfc-action-menu {
    display: block;
  }
  .qr-folder-card-wrap,
  .qr-folder-card {
    width: 100%;
    flex: 1 1 100%;
    max-width: 100%;
  }
  .qr-bulkbar-inner {
    flex-direction: column;
    align-items: stretch;
  }
  .qr-bulkbar-actions {
    justify-content: stretch;
  }
  .qr-bulk-action {
    justify-content: center;
    width: 100%;
  }
  .qr-bulkbar-count,
  .qr-bulkbar-cancel {
    text-align: center;
  }
  .qr-folder-modal .modal-dialog,
  .qr-download-modal .modal-dialog {
    margin: 0.75rem;
    max-height: calc(100vh - 1.5rem);
  }
  .qr-folder-modal .modal-content,
  .qr-download-modal .modal-content {
    max-height: calc(100vh - 1.5rem);
  }
  .qr-folder-modal .modal-body,
  .qr-folder-modal .modal-header,
  .qr-folder-modal .modal-footer,
  .qr-download-modal .modal-body,
  .qr-download-modal .modal-header,
  .qr-download-modal .modal-footer {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}
.qr-editor-page {
  padding: 0;
  background: #f1f1f1;
  min-height: 100vh;
}

.qr-editor-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #ffffff;
  border: 0;
  border-radius: 0;
  padding: 12px 20px;
  margin-bottom: 0;
  min-height: 58px;
  box-shadow: inset 0 -1px 0 #ececec;
}

.qr-editor-topbar__left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.qr-editor-topbar__icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: transparent;
  color: #4054a5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex: 0 0 auto;
}

.qr-editor-topbar__title h4 {
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
  color: #30489f;
  line-height: 1.2;
}

.qr-editor-topbar__title p {
  display: none;
}

.qr-editor-topbar__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.qr-editor-topbar__actions .btn {
  min-width: 102px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.78rem;
  padding: 7px 14px;
  box-shadow: none !important;
}

.qr-editor-topbar__actions .btn-primary {
  background: #233f99;
  border-color: #233f99;
}

.qr-editor-topbar__actions .btn-primary:hover, .qr-editor-topbar__actions .btn-primary:focus {
  background: #1d347e;
  border-color: #1d347e;
}

.qr-editor-topbar__actions .btn-danger {
  background: #ff4b57;
  border-color: #ff4b57;
}

.qr-editor-topbar__actions .btn-danger:hover, .qr-editor-topbar__actions .btn-danger:focus {
  background: #eb3a45;
  border-color: #eb3a45;
}

.qr-editor-layout {
  display: grid;
  grid-template-columns: 60% 40%;
  gap: 0;
  align-items: stretch;
  min-height: calc(100vh - 58px);
}

.qr-editor-config {
  min-width: 0;
  background: #f1f1f1;
}

.qr-editor-form {
  margin: 0;
  height: 100%;
}

.qr-main-card {
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  background: #f7f7f7;
  border: 1px solid #e6e6e6;
  border-radius: 0;
  padding: 24px 32px;
}

.qr-section {
  padding-bottom: 30px;
  margin-bottom: 30px;
  border-bottom: 0;
}

.qr-section:last-of-type, .qr-section--last {
  padding-bottom: 0;
  margin-bottom: 0;
}

.qr-section__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.qr-section__header h5 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #111111;
  line-height: 1.2;
}

.qr-form-grid {
  width: 100%;
  max-width: 620px;
}

.qr-form-grid .form-control {
  height: 34px;
  border-radius: 3px;
  border: 1px solid #d8d8d8;
  background: #f8f8f8;
  box-shadow: none;
  color: #111827;
  font-size: 0.88rem;
  padding: 6px 10px;
}

.qr-form-grid .form-control::-moz-placeholder {
  color: #8e939d;
}

.qr-form-grid .form-control::placeholder {
  color: #8e939d;
}

.qr-form-grid .form-control:focus {
  border-color: #c2cae0;
  background: #ffffff;
  box-shadow: none;
}

.qr-form-grid .mb-3 {
  margin-bottom: 10px !important;
}

.qr-form-grid .mb-2 {
  margin-bottom: 8px !important;
}

.qr-form-grid .mb-0 {
  margin-bottom: 0 !important;
}

.qr-chip-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #f0b16d;
  background: #fff7ef;
  color: #ef8d31;
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
  text-decoration: none;
  box-shadow: none;
}

.qr-chip-action:hover {
  background: #fff1e5;
  color: #de7e26;
  border-color: #e6a55f;
  text-decoration: none;
}

.qr-chip-action i {
  font-size: 0.95rem;
}

.qr-chip-action--secondary {
  border-color: #f0b16d;
  background: #fff7ef;
  color: #ef8d31;
}

.qr-utm-link {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 0;
  background: #dce2ff;
  color: #6173b8;
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 0.76rem;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}

.qr-utm-link:hover {
  background: #cfd8ff;
  color: #495faa;
}

.qr-hidden-fields {
  display: none;
}

.qr-hidden-fields.is-visible {
  display: block;
}

.qr-hidden-fields .form-control {
  height: 34px;
  border-radius: 3px;
  border: 1px solid #d8d8d8;
  background: #f8f8f8;
  box-shadow: none;
  font-size: 0.88rem;
  padding: 6px 10px;
}

.qr-hidden-fields .form-control:focus {
  border-color: #c2cae0;
  background: #ffffff;
  box-shadow: none;
}

.qr-style-grid, .qr-corner-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: flex-start;
}

.qr-style-tile, .qr-corner-tile, .qr-preset-tile {
  width: 40px;
  height: 40px;
  border: 1px solid #d8d8d8;
  border-radius: 6px;
  background: #f8f8f8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
  box-shadow: none;
}

.qr-style-tile:hover, .qr-corner-tile:hover, .qr-preset-tile:hover {
  border-color: #c7c7c7;
  background: #f0f0f0;
  transform: none;
}

.qr-style-tile.is-active, .qr-corner-tile.is-active, .qr-preset-tile.is-active {
  background: #ffffff;
  border-color: #111111;
  box-shadow: none;
}

.qr-style-tile:focus, .qr-corner-tile:focus, .qr-preset-tile:focus {
  outline: none;
  box-shadow: none;
}

.qr-style-tile__preview, .qr-corner-preview, .qr-center-preview, .qr-preset-tile__mini {
  position: relative;
  display: block;
  color: #a5a5af;
}

.qr-style-tile__preview {
  width: 28px;
  height: 28px;
}

.qr-corner-preview, .qr-center-preview {
  width: 24px;
  height: 24px;
}

.qr-style-tile.is-active .qr-style-tile__preview, .qr-corner-tile.is-active .qr-corner-preview, .qr-corner-tile.is-active .qr-center-preview {
  color: #111111;
}

.qr-style-tile__preview::before, .qr-style-tile__preview::after {
  content: "";
  position: absolute;
}

.qr-style-tile__preview::before {
  left: 1px;
  top: 1px;
  width: 9px;
  height: 9px;
  border: 2px solid currentColor;
  border-radius: 0;
}

.qr-style-tile__preview::after {
  right: 1px;
  bottom: 1px;
  width: 9px;
  height: 9px;
  border: 2px solid currentColor;
  border-radius: 0;
}

.qr-style-tile__preview--square {
  background: linear-gradient(currentColor, currentColor) 12px 3px/3px 3px no-repeat, linear-gradient(currentColor, currentColor) 18px 3px/3px 3px no-repeat, linear-gradient(currentColor, currentColor) 12px 8px/3px 3px no-repeat, linear-gradient(currentColor, currentColor) 8px 12px/3px 3px no-repeat, linear-gradient(currentColor, currentColor) 12px 12px/3px 3px no-repeat, linear-gradient(currentColor, currentColor) 18px 12px/3px 3px no-repeat, linear-gradient(currentColor, currentColor) 8px 18px/3px 3px no-repeat, linear-gradient(currentColor, currentColor) 12px 18px/3px 3px no-repeat;
}

.qr-style-tile__preview--dots::before, .qr-style-tile__preview--dots::after {
  border-radius: 999px;
}
.qr-style-tile__preview--dots {
  background: radial-gradient(circle, currentColor 0 42%, transparent 43%) 12px 3px/5px 5px no-repeat, radial-gradient(circle, currentColor 0 42%, transparent 43%) 18px 3px/5px 5px no-repeat, radial-gradient(circle, currentColor 0 42%, transparent 43%) 12px 8px/5px 5px no-repeat, radial-gradient(circle, currentColor 0 42%, transparent 43%) 8px 12px/5px 5px no-repeat, radial-gradient(circle, currentColor 0 42%, transparent 43%) 12px 12px/5px 5px no-repeat, radial-gradient(circle, currentColor 0 42%, transparent 43%) 18px 12px/5px 5px no-repeat, radial-gradient(circle, currentColor 0 42%, transparent 43%) 8px 18px/5px 5px no-repeat, radial-gradient(circle, currentColor 0 42%, transparent 43%) 12px 18px/5px 5px no-repeat;
}

.qr-style-tile__preview--rounded::before, .qr-style-tile__preview--rounded::after {
  border-radius: 5px;
}
.qr-style-tile__preview--rounded {
  background: linear-gradient(currentColor, currentColor) 12px 3px/4px 3px no-repeat, linear-gradient(currentColor, currentColor) 18px 3px/4px 3px no-repeat, linear-gradient(currentColor, currentColor) 12px 8px/4px 3px no-repeat, linear-gradient(currentColor, currentColor) 8px 12px/4px 3px no-repeat, linear-gradient(currentColor, currentColor) 12px 12px/4px 3px no-repeat, linear-gradient(currentColor, currentColor) 18px 12px/4px 3px no-repeat, linear-gradient(currentColor, currentColor) 8px 18px/4px 3px no-repeat, linear-gradient(currentColor, currentColor) 12px 18px/4px 3px no-repeat;
}

.qr-style-tile__preview--classy::before {
  border-radius: 3px 3px 0 3px;
}
.qr-style-tile__preview--classy::after {
  border-radius: 0 3px 3px 3px;
}
.qr-style-tile__preview--classy {
  background: linear-gradient(currentColor, currentColor) 9px 2px/14px 3px no-repeat, linear-gradient(currentColor, currentColor) 8px 8px/13px 3px no-repeat, linear-gradient(currentColor, currentColor) 6px 14px/15px 3px no-repeat, linear-gradient(currentColor, currentColor) 9px 20px/12px 3px no-repeat, linear-gradient(currentColor, currentColor) 21px 8px/3px 11px no-repeat, linear-gradient(currentColor, currentColor) 4px 8px/3px 11px no-repeat;
}

.qr-style-tile__preview--classy-rounded::before, .qr-style-tile__preview--classy-rounded::after {
  border-radius: 8px;
}
.qr-style-tile__preview--classy-rounded {
  background: radial-gradient(circle, currentColor 0 42%, transparent 43%) 5px 3px/5px 5px no-repeat, radial-gradient(circle, currentColor 0 42%, transparent 43%) 12px 3px/5px 5px no-repeat, radial-gradient(circle, currentColor 0 42%, transparent 43%) 19px 3px/5px 5px no-repeat, radial-gradient(circle, currentColor 0 42%, transparent 43%) 5px 11px/5px 5px no-repeat, radial-gradient(circle, currentColor 0 42%, transparent 43%) 19px 11px/5px 5px no-repeat, radial-gradient(circle, currentColor 0 42%, transparent 43%) 5px 19px/5px 5px no-repeat, radial-gradient(circle, currentColor 0 42%, transparent 43%) 12px 19px/5px 5px no-repeat, radial-gradient(circle, currentColor 0 42%, transparent 43%) 19px 19px/5px 5px no-repeat;
}

.qr-style-tile__preview--extra-rounded::before, .qr-style-tile__preview--extra-rounded::after {
  border-radius: 999px;
}
.qr-style-tile__preview--extra-rounded {
  background: linear-gradient(currentColor, currentColor) 7px 3px/15px 3px no-repeat, linear-gradient(currentColor, currentColor) 6px 9px/14px 3px no-repeat, linear-gradient(currentColor, currentColor) 4px 15px/17px 3px no-repeat, linear-gradient(currentColor, currentColor) 7px 21px/12px 3px no-repeat, linear-gradient(currentColor, currentColor) 21px 7px/3px 12px no-repeat;
}

.qr-style-tile__preview--square-alt {
  background: linear-gradient(currentColor, currentColor) 12px 3px/3px 3px no-repeat, linear-gradient(currentColor, currentColor) 18px 3px/3px 3px no-repeat, linear-gradient(currentColor, currentColor) 9px 9px/3px 3px no-repeat, linear-gradient(currentColor, currentColor) 15px 9px/3px 3px no-repeat, linear-gradient(currentColor, currentColor) 21px 9px/3px 3px no-repeat, linear-gradient(currentColor, currentColor) 6px 15px/3px 3px no-repeat, linear-gradient(currentColor, currentColor) 12px 15px/3px 3px no-repeat, linear-gradient(currentColor, currentColor) 18px 15px/3px 3px no-repeat, linear-gradient(currentColor, currentColor) 9px 21px/3px 3px no-repeat, linear-gradient(currentColor, currentColor) 15px 21px/3px 3px no-repeat;
}

.qr-style-tile__preview--dots-alt::before, .qr-style-tile__preview--dots-alt::after {
  border-radius: 5px;
}
.qr-style-tile__preview--dots-alt {
  background: radial-gradient(circle, currentColor 0 38%, transparent 39%) 4px 3px/5px 5px no-repeat, radial-gradient(circle, currentColor 0 38%, transparent 39%) 10px 3px/5px 5px no-repeat, radial-gradient(circle, currentColor 0 38%, transparent 39%) 16px 3px/5px 5px no-repeat, radial-gradient(circle, currentColor 0 38%, transparent 39%) 22px 3px/5px 5px no-repeat, radial-gradient(circle, currentColor 0 38%, transparent 39%) 4px 11px/5px 5px no-repeat, radial-gradient(circle, currentColor 0 38%, transparent 39%) 16px 11px/5px 5px no-repeat, radial-gradient(circle, currentColor 0 38%, transparent 39%) 4px 19px/5px 5px no-repeat, radial-gradient(circle, currentColor 0 38%, transparent 39%) 10px 19px/5px 5px no-repeat, radial-gradient(circle, currentColor 0 38%, transparent 39%) 16px 19px/5px 5px no-repeat, radial-gradient(circle, currentColor 0 38%, transparent 39%) 22px 19px/5px 5px no-repeat;
}

.qr-style-tile__preview--rounded-alt::before {
  border-radius: 7px 2px 7px 7px;
}
.qr-style-tile__preview--rounded-alt::after {
  border-radius: 7px 7px 7px 2px;
}
.qr-style-tile__preview--rounded-alt {
  background: linear-gradient(currentColor, currentColor) 12px 3px/3px 3px no-repeat, linear-gradient(currentColor, currentColor) 18px 3px/3px 3px no-repeat, linear-gradient(currentColor, currentColor) 9px 9px/3px 3px no-repeat, linear-gradient(currentColor, currentColor) 15px 9px/3px 3px no-repeat, linear-gradient(currentColor, currentColor) 21px 9px/3px 3px no-repeat, linear-gradient(currentColor, currentColor) 6px 15px/3px 3px no-repeat, linear-gradient(currentColor, currentColor) 15px 15px/3px 3px no-repeat, linear-gradient(currentColor, currentColor) 21px 15px/3px 3px no-repeat, linear-gradient(currentColor, currentColor) 9px 21px/3px 3px no-repeat, linear-gradient(currentColor, currentColor) 15px 21px/3px 3px no-repeat;
}

.qr-style-tile__preview--classy-alt::before {
  border-radius: 2px 8px 2px 2px;
}
.qr-style-tile__preview--classy-alt::after {
  border-radius: 2px 2px 2px 8px;
}
.qr-style-tile__preview--classy-alt {
  background: linear-gradient(currentColor, currentColor) 5px 3px/16px 3px no-repeat, linear-gradient(currentColor, currentColor) 5px 9px/13px 3px no-repeat, linear-gradient(currentColor, currentColor) 5px 15px/17px 3px no-repeat, linear-gradient(currentColor, currentColor) 5px 21px/13px 3px no-repeat;
}

.qr-style-tile__preview--classy-rounded-alt::before, .qr-style-tile__preview--classy-rounded-alt::after {
  border-radius: 999px;
}
.qr-style-tile__preview--classy-rounded-alt {
  background: radial-gradient(circle, currentColor 0 42%, transparent 43%) 3px 3px/5px 5px no-repeat, radial-gradient(circle, currentColor 0 42%, transparent 43%) 9px 3px/5px 5px no-repeat, radial-gradient(circle, currentColor 0 42%, transparent 43%) 15px 3px/5px 5px no-repeat, radial-gradient(circle, currentColor 0 42%, transparent 43%) 21px 3px/5px 5px no-repeat, radial-gradient(circle, currentColor 0 42%, transparent 43%) 3px 11px/5px 5px no-repeat, radial-gradient(circle, currentColor 0 42%, transparent 43%) 15px 11px/5px 5px no-repeat, radial-gradient(circle, currentColor 0 42%, transparent 43%) 3px 19px/5px 5px no-repeat, radial-gradient(circle, currentColor 0 42%, transparent 43%) 9px 19px/5px 5px no-repeat, radial-gradient(circle, currentColor 0 42%, transparent 43%) 15px 19px/5px 5px no-repeat, radial-gradient(circle, currentColor 0 42%, transparent 43%) 21px 19px/5px 5px no-repeat;
}

.qr-style-tile__preview--extra-rounded-alt::before, .qr-style-tile__preview--extra-rounded-alt::after {
  border-radius: 10px;
}
.qr-style-tile__preview--extra-rounded-alt {
  background: linear-gradient(currentColor, currentColor) 5px 3px/15px 3px no-repeat, linear-gradient(currentColor, currentColor) 8px 9px/12px 3px no-repeat, linear-gradient(currentColor, currentColor) 4px 15px/18px 3px no-repeat, linear-gradient(currentColor, currentColor) 8px 21px/12px 3px no-repeat, linear-gradient(currentColor, currentColor) 22px 7px/3px 12px no-repeat;
}

.qr-style-tile__preview--square-alt-2 {
  background: linear-gradient(currentColor, currentColor) 4px 3px/3px 3px no-repeat, linear-gradient(currentColor, currentColor) 10px 3px/3px 3px no-repeat, linear-gradient(currentColor, currentColor) 16px 3px/3px 3px no-repeat, linear-gradient(currentColor, currentColor) 22px 3px/3px 3px no-repeat, linear-gradient(currentColor, currentColor) 4px 12px/3px 3px no-repeat, linear-gradient(currentColor, currentColor) 22px 12px/3px 3px no-repeat, linear-gradient(currentColor, currentColor) 4px 21px/3px 3px no-repeat, linear-gradient(currentColor, currentColor) 10px 21px/3px 3px no-repeat, linear-gradient(currentColor, currentColor) 16px 21px/3px 3px no-repeat, linear-gradient(currentColor, currentColor) 22px 21px/3px 3px no-repeat;
}

.qr-style-tile__preview--dots-alt-2::before {
  border-radius: 2px;
}
.qr-style-tile__preview--dots-alt-2::after {
  border-radius: 10px;
}
.qr-style-tile__preview--dots-alt-2 {
  background: radial-gradient(circle, currentColor 0 36%, transparent 37%) 5px 3px/4px 4px no-repeat, radial-gradient(circle, currentColor 0 36%, transparent 37%) 10px 3px/4px 4px no-repeat, radial-gradient(circle, currentColor 0 36%, transparent 37%) 15px 3px/4px 4px no-repeat, radial-gradient(circle, currentColor 0 36%, transparent 37%) 20px 3px/4px 4px no-repeat, radial-gradient(circle, currentColor 0 36%, transparent 37%) 5px 12px/4px 4px no-repeat, radial-gradient(circle, currentColor 0 36%, transparent 37%) 20px 12px/4px 4px no-repeat, radial-gradient(circle, currentColor 0 36%, transparent 37%) 5px 21px/4px 4px no-repeat, radial-gradient(circle, currentColor 0 36%, transparent 37%) 10px 21px/4px 4px no-repeat, radial-gradient(circle, currentColor 0 36%, transparent 37%) 15px 21px/4px 4px no-repeat, radial-gradient(circle, currentColor 0 36%, transparent 37%) 20px 21px/4px 4px no-repeat;
}

.qr-style-tile__preview--rounded-alt-2::before, .qr-style-tile__preview--rounded-alt-2::after {
  border-radius: 4px;
}
.qr-style-tile__preview--rounded-alt-2 {
  background: linear-gradient(currentColor, currentColor) 5px 3px/3px 3px no-repeat, linear-gradient(currentColor, currentColor) 11px 3px/3px 3px no-repeat, linear-gradient(currentColor, currentColor) 17px 3px/3px 3px no-repeat, linear-gradient(currentColor, currentColor) 23px 3px/3px 3px no-repeat, linear-gradient(currentColor, currentColor) 5px 12px/3px 3px no-repeat, linear-gradient(currentColor, currentColor) 23px 12px/3px 3px no-repeat, linear-gradient(currentColor, currentColor) 5px 21px/3px 3px no-repeat, linear-gradient(currentColor, currentColor) 11px 21px/3px 3px no-repeat, linear-gradient(currentColor, currentColor) 17px 21px/3px 3px no-repeat, linear-gradient(currentColor, currentColor) 23px 21px/3px 3px no-repeat;
}

.qr-style-tile__preview--classy-alt-2::before {
  border-radius: 0 8px 0 0;
}
.qr-style-tile__preview--classy-alt-2::after {
  border-radius: 0 0 0 8px;
}
.qr-style-tile__preview--classy-alt-2 {
  background: linear-gradient(currentColor, currentColor) 4px 3px/18px 3px no-repeat, linear-gradient(currentColor, currentColor) 8px 9px/13px 3px no-repeat, linear-gradient(currentColor, currentColor) 4px 15px/18px 3px no-repeat, linear-gradient(currentColor, currentColor) 8px 21px/13px 3px no-repeat;
}

.qr-style-tile__preview--classy-rounded-alt-2::before, .qr-style-tile__preview--classy-rounded-alt-2::after {
  border-radius: 7px;
}
.qr-style-tile__preview--classy-rounded-alt-2 {
  background: radial-gradient(circle, currentColor 0 40%, transparent 41%) 5px 3px/5px 5px no-repeat, radial-gradient(circle, currentColor 0 40%, transparent 41%) 11px 3px/5px 5px no-repeat, radial-gradient(circle, currentColor 0 40%, transparent 41%) 17px 3px/5px 5px no-repeat, radial-gradient(circle, currentColor 0 40%, transparent 41%) 23px 3px/5px 5px no-repeat, radial-gradient(circle, currentColor 0 40%, transparent 41%) 5px 12px/5px 5px no-repeat, radial-gradient(circle, currentColor 0 40%, transparent 41%) 23px 12px/5px 5px no-repeat, radial-gradient(circle, currentColor 0 40%, transparent 41%) 5px 21px/5px 5px no-repeat, radial-gradient(circle, currentColor 0 40%, transparent 41%) 11px 21px/5px 5px no-repeat, radial-gradient(circle, currentColor 0 40%, transparent 41%) 17px 21px/5px 5px no-repeat, radial-gradient(circle, currentColor 0 40%, transparent 41%) 23px 21px/5px 5px no-repeat;
}

.qr-style-tile__preview--extra-rounded-alt-2::before, .qr-style-tile__preview--extra-rounded-alt-2::after {
  border-radius: 999px;
}
.qr-style-tile__preview--extra-rounded-alt-2 {
  background: linear-gradient(currentColor, currentColor) 5px 3px/17px 3px no-repeat, linear-gradient(currentColor, currentColor) 8px 9px/12px 3px no-repeat, linear-gradient(currentColor, currentColor) 5px 15px/17px 3px no-repeat, linear-gradient(currentColor, currentColor) 8px 21px/12px 3px no-repeat;
}

.qr-corner-group {
  margin-bottom: 22px;
}

.qr-corner-group--last {
  margin-bottom: 0;
}

.qr-label {
  margin-bottom: 10px;
  font-size: 0.76rem;
  font-weight: 600;
  color: #8b8f98;
}

.qr-corner-preview::before, .qr-corner-preview::after, .qr-center-preview::before, .qr-center-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
}

.qr-corner-preview--square::before {
  width: 18px;
  height: 18px;
  border: 3px solid currentColor;
}

.qr-corner-preview--square-thin::before {
  width: 18px;
  height: 18px;
  border: 2px solid currentColor;
}

.qr-corner-preview--square-bold::before {
  width: 18px;
  height: 18px;
  border: 5px solid currentColor;
}

.qr-corner-preview--dot::before {
  width: 18px;
  height: 18px;
  border: 3px solid currentColor;
  border-radius: 999px;
}

.qr-corner-preview--dot-thin::before {
  width: 18px;
  height: 18px;
  border: 2px solid currentColor;
  border-radius: 999px;
}

.qr-corner-preview--dot-bold::before {
  width: 18px;
  height: 18px;
  border: 5px solid currentColor;
  border-radius: 999px;
}

.qr-corner-preview--rounded-thin::before {
  width: 18px;
  height: 18px;
  border: 2px solid currentColor;
  border-radius: 5px;
}

.qr-corner-preview--rounded-bold::before {
  width: 18px;
  height: 18px;
  border: 5px solid currentColor;
  border-radius: 5px;
}

.qr-corner-preview--organic {
  -webkit-mask: url("data:image/svg+xml;utf8,<svg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'><path fill='none' stroke='black' stroke-width='14' d='M 50 12 C 73 12, 88 27, 88 50 C 88 73, 73 88, 50 88 C 27 88, 12 73, 12 50 C 12 27, 27 12, 50 12 Z'/></svg>") center/contain no-repeat;
  background-color: currentColor;
}

.qr-corner-preview--drop {
  -webkit-mask: url("data:image/svg+xml;utf8,<svg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'><path fill='none' stroke='black' stroke-width='14' d='M 12 12 L 50 12 A 38 38 0 0 1 88 50 A 38 38 0 0 1 50 88 A 38 38 0 0 1 12 50 Z'/></svg>") center/contain no-repeat;
  background-color: currentColor;
}

.qr-corner-preview--drop-right {
  -webkit-mask: url("data:image/svg+xml;utf8,<svg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'><path fill='none' stroke='black' stroke-width='14' d='M 50 12 L 88 12 L 88 50 A 38 38 0 0 1 50 88 A 38 38 0 0 1 12 50 A 38 38 0 0 1 50 12 Z'/></svg>") center/contain no-repeat;
  background-color: currentColor;
}

.qr-corner-preview--drop-bottom {
  -webkit-mask: url("data:image/svg+xml;utf8,<svg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'><path fill='none' stroke='black' stroke-width='14' d='M 50 12 A 38 38 0 0 1 88 50 L 88 88 L 50 88 A 38 38 0 0 1 12 50 A 38 38 0 0 1 50 12 Z'/></svg>") center/contain no-repeat;
  background-color: currentColor;
}

.qr-corner-preview--leaf {
  -webkit-mask: url("data:image/svg+xml;utf8,<svg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'><path fill='none' stroke='black' stroke-width='14' d='M 12 12 L 50 12 A 38 38 0 0 1 88 50 L 88 88 L 50 88 A 38 38 0 0 1 12 50 Z'/></svg>") center/contain no-repeat;
  background-color: currentColor;
}

.qr-corner-preview--leaf-inv {
  -webkit-mask: url("data:image/svg+xml;utf8,<svg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'><path fill='none' stroke='black' stroke-width='14' d='M 50 12 L 88 12 L 88 50 A 38 38 0 0 1 50 88 L 12 88 L 12 50 A 38 38 0 0 1 50 12 Z'/></svg>") center/contain no-repeat;
  background-color: currentColor;
}

.qr-corner-preview--cut-round {
  -webkit-mask: url("data:image/svg+xml;utf8,<svg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'><path fill='none' stroke='black' stroke-width='14' d='M 27 12 L 73 12 L 88 27 L 88 73 L 73 88 L 27 88 L 12 73 L 12 27 Z'/></svg>") center/contain no-repeat;
  background-color: currentColor;
}

.qr-corner-preview--shield-frame {
  -webkit-mask: url("data:image/svg+xml;utf8,<svg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'><path fill='none' stroke='black' stroke-width='14' d='M 12 12 L 88 12 L 88 58 C 88 75, 69 88, 50 88 C 31 88, 12 75, 12 58 Z'/></svg>") center/contain no-repeat;
  background-color: currentColor;
}

.qr-corner-preview--bookmark {
  -webkit-mask: url("data:image/svg+xml;utf8,<svg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'><path fill='none' stroke='black' stroke-width='14' stroke-linejoin='round' d='M 12 12 L 88 12 L 88 65 L 50 88 L 12 65 Z'/></svg>") center/contain no-repeat;
  background-color: currentColor;
}

.qr-corner-preview--scallop {
  -webkit-mask: url("data:image/svg+xml;utf8,<svg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'><path fill='none' stroke='black' stroke-width='14' d='M 50 12 L 73 12 A 15 15 0 0 0 88 27 L 88 73 A 15 15 0 0 0 73 88 L 27 88 A 15 15 0 0 0 12 73 L 12 27 A 15 15 0 0 0 27 12 Z'/></svg>") center/contain no-repeat;
  background-color: currentColor;
}

.qr-corner-preview--hex-frame {
  -webkit-mask: url("data:image/svg+xml;utf8,<svg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'><path fill='none' stroke='black' stroke-width='14' d='M 31 17 L 69 17 L 88 50 L 69 83 L 31 83 L 12 50 Z'/></svg>") center/contain no-repeat;
  background-color: currentColor;
}

.qr-corner-preview--flower-frame {
  -webkit-mask: url("data:image/svg+xml;utf8,<svg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'><path fill='none' stroke='black' stroke-width='14' d='M 50 12 C 80 4, 96 20, 88 50 C 96 80, 80 96, 50 88 C 20 96, 4 80, 12 50 C 4 20, 20 4, 50 12 Z'/></svg>") center/contain no-repeat;
  background-color: currentColor;
}

.qr-center-preview--square::before {
  width: 14px;
  height: 14px;
  background: currentColor;
}

.qr-center-preview--square-sm::before {
  width: 10px;
  height: 10px;
  background: currentColor;
}

.qr-center-preview--square-lg::before {
  width: 18px;
  height: 18px;
  background: currentColor;
}

.qr-center-preview--dot::before {
  width: 14px;
  height: 14px;
  background: currentColor;
  border-radius: 999px;
}

.qr-center-preview--dot-sm::before {
  width: 10px;
  height: 10px;
  background: currentColor;
  border-radius: 999px;
}

.qr-center-preview--dot-lg::before {
  width: 18px;
  height: 18px;
  background: currentColor;
  border-radius: 999px;
}

.qr-center-preview--rounded::before {
  width: 14px;
  height: 14px;
  background: currentColor;
  border-radius: 4px;
}

.qr-center-preview--rounded-sm::before {
  width: 10px;
  height: 10px;
  background: currentColor;
  border-radius: 3px;
}

.qr-center-preview--rounded-lg::before {
  width: 18px;
  height: 18px;
  background: currentColor;
  border-radius: 5px;
}

.qr-center-preview--diamond::before {
  width: 12px;
  height: 12px;
  background: currentColor;
  transform: rotate(45deg);
}

.qr-center-preview--pill::before {
  width: 17px;
  height: 9px;
  background: currentColor;
  border-radius: 999px;
}

.qr-center-preview--soft-square::before {
  width: 14px;
  height: 14px;
  background: currentColor;
  border-radius: 4px;
  opacity: 0.88;
}

.qr-center-preview--cross::before {
  width: 14px;
  height: 14px;
  background: linear-gradient(currentColor, currentColor), linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-size: 100% 40%, 40% 100%;
  background-position: center;
}

.qr-center-preview--flower::before {
  width: 16px;
  height: 16px;
  background: radial-gradient(circle at 50% 18%, currentColor 0 35%, transparent 36%), radial-gradient(circle at 18% 50%, currentColor 0 35%, transparent 36%), radial-gradient(circle at 82% 50%, currentColor 0 35%, transparent 36%), radial-gradient(circle at 50% 82%, currentColor 0 35%, transparent 36%), radial-gradient(circle at 50% 50%, currentColor 0 25%, transparent 26%);
}

.qr-center-preview--heart::before {
  width: 16px;
  height: 14px;
  background: currentColor;
  clip-path: path("M 8 14 C 2 10, 0 7, 0 3.8 C 0 1.8, 1.8 0, 3.8 0 C 5.4 0, 6.6 0.8, 8 2.8 C 9.4 0.8, 10.6 0, 12.2 0 C 14.2 0, 16 1.8, 16 3.8 C 16 7, 14 10, 8 14 Z");
}

.qr-center-preview--star::before {
  width: 14px;
  height: 14px;
  background: currentColor;
  clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
}

.qr-center-preview--plus::before {
  left: 5px;
  top: 2px;
  width: 14px;
  height: 20px;
  background: currentColor;
  border-radius: 3px;
}

.qr-center-preview--plus::after {
  content: "";
  left: 2px;
  top: 5px;
  width: 20px;
  height: 14px;
  background: currentColor;
  border-radius: 3px;
}

.qr-center-preview--clover::before {
  inset: 3px;
  background: radial-gradient(circle at 35% 35%, currentColor 0 38%, transparent 39%), radial-gradient(circle at 65% 35%, currentColor 0 38%, transparent 39%), radial-gradient(circle at 35% 65%, currentColor 0 38%, transparent 39%), radial-gradient(circle at 65% 65%, currentColor 0 38%, transparent 39%);
}

.qr-center-preview--shield::before {
  inset: 3px;
  background: currentColor;
  clip-path: polygon(10% 10%, 90% 10%, 90% 50%, 50% 100%, 10% 50%);
}

.qr-center-preview--hexagon::before {
  inset: 3px;
  background: currentColor;
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
}

.qr-inline-colors {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px !important;
}

.qr-inline-color-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 180px;
  padding: 10px 14px;
  background: #ffffff;
  border: 1px solid #d9dee9;
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.qr-inline-color-card:hover {
  border-color: #b3bdd8;
  box-shadow: 0 12px 28px rgba(35, 63, 153, 0.08);
  transform: translateY(-1px);
}

.qr-inline-color-card input[type=color] {
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.qr-inline-color-card__swatch {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  border: 1px solid #d1d7e6;
  flex: 0 0 auto;
  background: #f8f9fc;
}

.qr-inline-color-card__text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.qr-inline-color-card__text strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  color: #333333;
  line-height: 1.2;
}

.qr-inline-color-card__text small {
  display: block;
  font-size: 0.76rem;
  color: #555555;
  line-height: 1.2;
}

.qr-form-footer {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.qr-submit-main {
  min-width: 190px;
  border-radius: 4px;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 16px;
  box-shadow: none !important;
}

.qr-editor-page #qrDownloadModal .modal-content {
  border-radius: 18px;
  border: 1px solid #e8edf7;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(35, 63, 153, 0.12);
}

.qr-editor-page #qrDownloadModal .modal-header {
  border-bottom: 1px solid #edf0f8;
  padding: 1.25rem 1.5rem;
  justify-content: left;
}

.qr-editor-page #qrDownloadModal .modal-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #1c233e;
}

.qr-editor-page #qrDownloadModal .modal-body {
  padding: 1rem 1.5rem 1.5rem;
}

.qr-editor-page #qrDownloadModal .modal-body .btn {
  border-radius: 14px;
  padding: 12px 16px;
  justify-content: space-between;
  text-align: left;
}

.qr-editor-page #qrDownloadModal .modal-body .btn strong {
  display: block;
  font-weight: 700;
  color: #1c233e;
}

.qr-editor-page #qrDownloadModal .modal-body .btn span {
  display: inline-block;
  margin-left: 0.5rem;
  color: #6b7280;
}

.qr-editor-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.qr-phone {
  position: relative;
  width: 285px;
  height: 590px;
  border: 3px solid #111111;
  border-radius: 38px;
  background: #ffffff;
  box-shadow: none;
  padding: 10px;
}

.qr-phone__notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 18px;
  background: #000000;
  border-radius: 999px;
  z-index: 3;
}

.qr-phone__screen {
  width: 100%;
  height: 100%;
  border-radius: 30px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px 18px;
}

.qr-phone__inner {
  width: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #ffffff;
}

.qr-phone__label {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.2;
  border: 1px solid transparent;
  max-width: 190px;
  text-align: center;
  word-break: break-word;
}

.qr-phone__label.is-pill {
  border-radius: 999px;
}

.qr-phone__label.is-soft {
  border-radius: 12px;
}

.qr-phone__label.is-outline {
  border-radius: 999px;
  background: transparent;
}

.qr-phone__label.is-dark {
  border-radius: 999px;
}

#qrPreview {
  position: relative;
  width: 220px;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
}

#qrPreview canvas, #qrPreview svg {
  display: block;
  max-width: 100%;
  height: auto;
  position: relative;
  z-index: 1;
  background: transparent;
}

#qrPreview.has-transparent-bg {
  background-image: linear-gradient(45deg, #e0e0e0 25%, transparent 25%, transparent 75%, #e0e0e0 75%), linear-gradient(45deg, #e0e0e0 25%, transparent 25%, transparent 75%, #e0e0e0 75%);
  background-size: 12px 12px;
  background-position: 0 0, 6px 6px;
  background-color: #ffffff;
}

.qr-hidden-presets, .qr-edit-meta, .qr-advanced, .qr-preview-meta, .qr-preview-buttons {
  display: none !important;
}

.qr-slider-row {
  max-width: 620px;
}

.qr-slider-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.qr-slider-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: #555555;
}

.qr-slider-val {
  font-size: 0.8rem;
  color: #222222;
  font-weight: 600;
}

.qr-range-input {
  display: block;
  width: 100%;
  height: 4px;
  border-radius: 99px;
  cursor: pointer;
  accent-color: #233f99;
}

.qr-logo-section {
  max-width: 620px;
}

.qr-logo-header {
  margin-bottom: 10px;
}

.qr-logo-header strong {
  font-size: 0.88rem;
  font-weight: 600;
  color: #222222;
}

.qr-logo-dropzone {
  position: relative;
  overflow: hidden;
}

.qr-logo-empty {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 14px;
  background: #eef2ff;
  border: 1.5px solid #c7d2fe;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.qr-logo-empty:hover {
  background: #e0e7ff;
  border-color: #a5b4fc;
}

.qr-logo-empty i {
  font-size: 1.4rem;
  color: #4f46e5;
  flex: 0 0 auto;
}

.qr-logo-empty span {
  font-size: 0.82rem;
  font-weight: 600;
  color: #3730a3;
}

.qr-logo-empty small {
  font-size: 0.74rem;
  color: #6366f1;
  display: block;
  font-weight: 400;
  margin-top: 1px;
}

.qr-logo-preview {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 44px 10px 14px;
  background: #f0fdf4;
  border: 1.5px solid #bbf7d0;
  border-radius: 10px;
}

.qr-logo-preview img {
  width: 44px;
  height: 44px;
  -o-object-fit: contain;
     object-fit: contain;
  border-radius: 6px;
  background: #ffffff;
  border: 1px solid #d1fae5;
}

.qr-logo-preview-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.qr-logo-preview-text strong {
  font-size: 0.8rem;
  font-weight: 600;
  color: #166534;
}

.qr-logo-preview-text span {
  font-size: 0.74rem;
  color: #4ade80;
  cursor: pointer;
  text-decoration: underline;
}

.qr-logo-preview-text span:hover {
  color: #16a34a;
}

.qr-logo-remove {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  padding: 4px;
  cursor: pointer;
  color: #86efac;
  font-size: 1.2rem;
  line-height: 1;
  border-radius: 50%;
  transition: color 0.15s ease;
}

.qr-logo-remove:hover {
  color: #ef4444;
}

@media (max-width: 1399.98px) {
  .qr-editor-layout {
    grid-template-columns: minmax(0, 1.55fr) minmax(380px, 1fr);
  }
  .qr-phone {
    width: 265px;
    height: 555px;
  }
  #qrPreview {
    width: 205px;
    min-height: 205px;
  }
}
@media (max-width: 1199.98px) {
  .qr-editor-layout {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .qr-editor-preview {
    min-height: 460px;
    order: 2;
    padding-top: 10px;
  }
  .qr-editor-config {
    order: 1;
  }
}
@media (max-width: 767.98px) {
  .qr-editor-topbar {
    flex-direction: column;
    align-items: stretch;
    padding-top: 10px;
  }
  .qr-editor-topbar__actions {
    width: 100%;
    justify-content: stretch;
  }
  .qr-editor-topbar__actions .btn {
    flex: 1 1 0;
    min-width: 0;
  }
  .qr-main-card {
    padding: 18px 16px 22px;
  }
  .qr-section__header {
    flex-direction: column;
    align-items: flex-start;
  }
  .qr-style-tile, .qr-corner-tile, .qr-preset-tile {
    width: 40px;
    height: 40px;
  }
  .qr-inline-color-card {
    min-width: 100%;
  }
  .qr-phone {
    width: 230px;
    height: 490px;
  }
  #qrPreview {
    width: 180px;
    min-height: 180px;
  }
}
.wallet-claim-wrapper {
  font-family: Arial, sans-serif;
}
.wallet-claim-wrapper .wallet-arrow {
  position: absolute;
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  pointer-events: none;
}
.wallet-claim-wrapper .wallet-preview-card {
  border-radius: 16px;
  overflow: hidden;
  max-width: 360px;
  background: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.wallet-claim-wrapper .wallet-preview-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}
.wallet-claim-wrapper .wallet-preview-top {
  padding: 40px 20px 30px;
  text-align: center;
  background: #fff;
}
.wallet-claim-wrapper .wallet-preview-top .preview-company-logo {
  max-height: 40px;
  max-width: 140px;
  -o-object-fit: contain;
     object-fit: contain;
  margin-bottom: 25px;
  display: block;
}
.wallet-claim-wrapper .wallet-preview-top .preview-avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
  margin: 0 auto 20px auto;
  border: 3px solid #f8f9fa;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}
.wallet-claim-wrapper .wallet-preview-top .preview-name {
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 5px 0;
  color: #333;
  line-height: 1.2;
}
.wallet-claim-wrapper .wallet-preview-top .preview-position {
  font-size: 14px;
  color: #666;
  margin: 0 0 15px 0;
  font-weight: 500;
}
.wallet-claim-wrapper .wallet-preview-top .preview-contact {
  font-size: 13px;
  color: #888;
  margin-top: 12px;
}
.wallet-claim-wrapper .wallet-preview-top .preview-contact .contact-item {
  margin-bottom: 6px;
  line-height: 1.4;
  word-break: break-word;
}
.wallet-claim-wrapper .wallet-preview-top .preview-contact .contact-item:last-child {
  margin-bottom: 0;
}
.wallet-claim-wrapper .wallet-preview-bottom {
  padding: 30px 20px;
  text-align: center;
  position: relative;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: background-color 0.3s ease;
}
.wallet-claim-wrapper .wallet-preview-bottom .preview-qr-wrapper {
  background: #fff;
  padding: 20px;
  border-radius: 14px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  margin-bottom: 20px;
  min-width: 150px;
}
.wallet-claim-wrapper .wallet-preview-bottom .preview-qr-wrapper #wallet-public-qr {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 140px;
  min-width: 140px;
}
.wallet-claim-wrapper .wallet-preview-bottom .preview-qr-wrapper #wallet-public-qr img {
  display: none !important;
}
.wallet-claim-wrapper .wallet-preview-bottom .preview-qr-wrapper #wallet-public-qr canvas {
  display: block !important;
  margin: 0 auto !important;
  max-width: 100% !important;
  height: auto !important;
  width: 140px !important;
  height: 140px !important;
}
.wallet-claim-wrapper .wallet-preview-bottom .preview-qr-wrapper .qr-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  margin-top: 14px;
  color: #333;
  letter-spacing: 0.3px;
}
.wallet-claim-wrapper .wallet-preview-bottom .preview-branding {
  position: absolute;
  bottom: 12px;
  right: 12px;
  height: 18px;
  -o-object-fit: contain;
     object-fit: contain;
  opacity: 0.95;
}
.wallet-claim-wrapper .wallet-left-qr {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 160px;
  padding: 10px;
}
.wallet-claim-wrapper .wallet-left-qr #wallet-claim-qr {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 160px;
}
.wallet-claim-wrapper .wallet-left-qr #wallet-claim-qr img {
  display: none !important;
}
.wallet-claim-wrapper .wallet-left-qr #wallet-claim-qr canvas {
  display: block !important;
  max-width: 100% !important;
  height: auto !important;
  width: 160px !important;
  height: 160px !important;
}
@media (max-width: 768px) {
  .wallet-claim-wrapper .wallet-preview-card {
    max-width: 100%;
  }
  .wallet-claim-wrapper .wallet-arrow {
    display: none;
  }
  .wallet-claim-wrapper .wallet-left-qr {
    margin-bottom: 30px;
  }
}

.wallet-card-page {
  --wallet-card-bg: #111111;
  --wallet-card-text: #ffffff;
  --wallet-text-color: #ffffff;
}
.wallet-card-page .wallet-settings-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 480px);
  gap: 28px;
  align-items: start;
}
.wallet-card-page .wallet-form-card {
  border-radius: 20px;
  padding: 24px;
  background: #fff;
  border: 1px solid #edf1f7;
  box-shadow: 0 16px 34px rgba(26, 39, 76, 0.07);
}
.wallet-card-page .wallet-mode-switch {
  display: inline-flex;
  gap: 8px;
  padding: 4px;
  border-radius: 10px;
  background: #eef2fb;
  margin: 14px 0 24px;
}
.wallet-card-page .wallet-mode-switch__btn {
  border: 1px solid #d4dcec;
  border-radius: 8px;
  padding: 9px 18px;
  min-width: 150px;
  font-weight: 600;
  background: #fff;
  color: #4360aa;
  transition: all 0.2s ease;
}
.wallet-card-page .wallet-mode-switch__btn.is-active {
  background: #2f4aa1;
  color: #fff;
  border-color: #2f4aa1;
}
.wallet-card-page .wallet-stage {
  position: relative;
  min-height: 840px;
  border-radius: 22px;
  padding: 26px;
  background: linear-gradient(180deg, #f8fbff 0%, #eff3fa 100%);
  border: 1px solid #e5ebf5;
  display: flex;
  justify-content: center;
}
.wallet-card-page .wallet-stage__title {
  position: absolute;
  top: 26px;
  left: 26px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  color: #415794;
}
.wallet-card-page .wallet-preview {
  display: none;
}
.wallet-card-page .wallet-preview.is-active {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.wallet-card-page .wallet-preview {
  margin-top: 40px;
  margin-bottom: 20px;
}
.wallet-card-page .wallet-biz-card {
  width: 362px;
  border-radius: 16px;
  background: var(--wallet-card-bg);
  color: var(--wallet-text-color);
  padding: 22px 26px 18px;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 24px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}
.wallet-card-page .wallet-biz-card__logo {
  max-width: 90px;
  max-height: 26px;
  -o-object-fit: contain;
     object-fit: contain;
}
.wallet-card-page .wallet-biz-card__body {
  margin-top: 16px;
}
.wallet-card-page .wallet-biz-card__name {
  font-size: 17px;
  font-weight: 600;
}
.wallet-card-page .wallet-biz-card__position {
  font-size: 11px;
  opacity: 0.72;
  margin-top: 2px;
}
.wallet-card-page .wallet-biz-card__row {
  display: flex;
  gap: 20px;
  font-size: 10px;
  opacity: 0.8;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.wallet-card-page .wallet-phone-frame {
  position: relative;
  width: 390px;
  border-radius: 54px;
  padding: 14px;
  background: #000;
  box-shadow: inset 0 0 0 2px #515459, inset 0 0 0 6px #1a1a1c, 0 32px 60px rgba(20, 25, 40, 0.35);
}
.wallet-card-page .wallet-phone-frame::before {
  content: "";
  position: absolute;
  right: -3px;
  top: 160px;
  width: 3px;
  height: 60px;
  background: #444;
  border-radius: 0 4px 4px 0;
  box-shadow: inset 1px 0 2px rgba(255, 255, 255, 0.2);
}
.wallet-card-page .wallet-phone-frame::after {
  content: "";
  position: absolute;
  top: 26px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 30px;
  background: #000;
  border-radius: 20px;
  z-index: 10;
  box-shadow: inset 0 0 4px rgba(255, 255, 255, 0.1);
}
.wallet-card-page .wallet-card-shell {
  border-radius: 40px;
  overflow: hidden;
  min-height: 700px;
  background: #fff;
  position: relative;
  border: 1px solid #1c1c1c;
  z-index: 2;
}
.wallet-card-page .wallet-apple {
  background: var(--wallet-card-bg);
  color: var(--wallet-text-color);
  padding: 34px 20px 24px;
  min-height: 700px;
  display: flex;
  flex-direction: column;
  border-radius: 14px;
}
.wallet-card-page .wallet-apple__header {
  margin-top: 50px;
}
.wallet-card-page .wallet-apple__name {
  font-size: 34px;
  font-weight: 400;
  margin-top: 18px;
}
.wallet-card-page .wallet-apple__body {
  margin-top: 80px;
  margin-bottom: 60px;
}
.wallet-card-page .wallet-apple__meta {
  opacity: 0.9;
  font-size: 12px;
  margin-bottom: 24px;
}
.wallet-card-page .wallet-apple__contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  min-height: 60px;
}
.wallet-card-page .wallet-apple__contact-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.wallet-card-page .wallet-apple__contact-item strong {
  display: block;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 600;
  opacity: 0.8;
  margin-bottom: 2px;
}
.wallet-card-page .wallet-apple__contact-item span {
  font-size: 16px;
}
.wallet-card-page .wallet-apple__bottom {
  display: flex;
  justify-content: center;
  padding-bottom: 10px;
}
.wallet-card-page .wallet-apple .wallet-company-logo--apple {
  max-width: 120px;
  max-height: 34px;
  -o-object-fit: contain;
     object-fit: contain;
}
.wallet-card-page .wallet-android {
  background: var(--wallet-card-bg);
  color: var(--wallet-text-color);
  min-height: 700px;
  display: flex;
  flex-direction: column;
}
.wallet-card-page .wallet-android__top {
  padding: 34px 20px 0;
}
.wallet-card-page .wallet-android__logo-wrap {
  width: 130px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 20px;
}
.wallet-card-page .wallet-android__logo-wrap img {
  max-width: 100%;
  max-height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}
.wallet-card-page .wallet-android__position {
  font-size: 16px;
  font-weight: 500;
}
.wallet-card-page .wallet-android__name {
  font-size: 32px;
  font-weight: 400;
}
.wallet-card-page .wallet-android__qr-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.wallet-card-page .wallet-android__open-text {
  margin-top: 16px;
  font-weight: 500;
}
.wallet-card-page .wallet-android__footer {
  background: rgba(0, 0, 0, 0.1);
  padding: 20px;
  display: flex;
  gap: 16px;
  align-items: center;
  position: relative;
}
.wallet-card-page .wallet-android__avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid #fff;
  -o-object-fit: cover;
     object-fit: cover;
}
.wallet-card-page .wallet-android__footer-content {
  flex: 1;
}
.wallet-card-page .wallet-android__footer-content .wallet-android__name-small {
  font-size: 16px;
  font-weight: 700;
}
.wallet-card-page .wallet-android__footer-content .wallet-android__position-small {
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 4px;
}
.wallet-card-page .wallet-android__footer-content .wallet-android__divider {
  height: 1px;
  background: currentColor;
  opacity: 0.2;
  margin: 4px 0;
  width: 100px;
}
.wallet-card-page .wallet-android__footer-content .wallet-android__contact {
  font-size: 9px;
  font-weight: 700;
  display: flex;
  flex-direction: column;
}
.wallet-card-page .wallet-android__footer-logo {
  position: absolute;
  top: 20px;
  right: 20px;
}
.wallet-card-page .wallet-android__footer-logo img {
  width: 40px;
  height: auto;
  max-height: 20px;
  -o-object-fit: contain;
     object-fit: contain;
}
.wallet-card-page .wallet-qr-box {
  background: #fff;
  padding: 10px;
}
.wallet-card-page .wallet-qr-box img {
  display: block;
  -o-object-fit: contain;
     object-fit: contain;
}
.wallet-card-page .wallet-qr-box--apple {
  width: 148px;
  height: 148px;
  border-radius: 8px;
}
.wallet-card-page .wallet-qr-box--apple img {
  width: 128px;
  height: 128px;
}
.wallet-card-page .wallet-qr-box--android {
  width: 190px;
  height: 190px;
  border-radius: 12px;
}
.wallet-card-page .wallet-qr-box--android img {
  width: 170px;
  height: 170px;
}

.settings .card-navigation .nav-pills {
  gap: 0;
}
.settings .card-navigation .nav-pills .nav-item {
  margin-right: 4px;
}
.settings .card-navigation .nav-pills .nav-link {
  font-size: 13px;
  font-weight: 500;
  padding: 6px 18px;
  border-radius: 6px;
  color: #374151;
  border: 1px solid #d1d5db;
  background: #fff;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.settings .card-navigation .nav-pills .nav-link.active {
  background: #1e40af;
  color: #fff;
  border-color: #1e40af;
}
.settings .card-navigation .nav-pills .nav-link.nav-link--disabled {
  opacity: 0.5;
  pointer-events: none;
  cursor: default;
}
.settings .settings-main-card {
  border: 1px solid #edf1f7;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}
.settings .settings-page-header {
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid #eef2f7;
}
.settings .setting-main-title {
  font-size: 25px;
  font-weight: 700;
  color: #3f51a2;
  margin-bottom: 6px;
}
.settings .settings-page-subtitle {
  margin: 0;
  font-size: 14px;
  color: #6b7280;
  line-height: 1.6;
}
.settings .design-heading {
  padding-bottom: 16px;
  border-bottom: 1px solid #f3f4f6;
}
.settings .design-heading__subtitle {
  font-size: 13px;
  padding-bottom: 55px;
}
.settings .settings-section-card {
  background: #fff;
  border: 1px solid #e9eef5;
  border-radius: 18px;
  padding: 22px;
  margin-bottom: 20px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}
.settings .settings-section-card__header {
  margin-bottom: 18px;
}
.settings .settings-section-card__header h6 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  color: #111827;
}
.settings .settings-section-card__header p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: #6b7280;
}
.settings .settings-section-card--theme {
  height: 100%;
}
.settings .settings-section-card--light .settings-section-card__header {
  padding-bottom: 14px;
  border-bottom: 1px solid #dbeafe;
}
.settings .settings-section-card--dark .settings-section-card__header {
  padding-bottom: 14px;
  border-bottom: 1px solid #dbe4f0;
}
.settings .settings-theme-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}
.settings .settings-upload-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.settings .settings-upload-card {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.settings .settings-upload-card__top {
  display: flex;
  gap: 14px;
  align-items: center;
}
.settings .settings-upload-card__preview {
  width: 92px;
  height: 92px;
  min-width: 92px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.settings .settings-upload-card__preview img {
  max-width: 100%;
  max-height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  display: block;
}
.settings .settings-upload-card__preview--hero {
  width: 120px;
  min-width: 120px;
  height: 78px;
  border-radius: 12px;
}
.settings .settings-upload-card__preview--hero img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.settings .settings-upload-card__content h6 {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 700;
  color: #111827;
}
.settings .settings-upload-card__content p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: #6b7280;
}
.settings .settings-upload-card__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.settings .theme-color-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.settings .theme-color-item {
  padding: 14px 16px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid #edf2f7;
}
.settings .theme-color-item .form-label {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #111827;
}
.settings .theme-color-item__control {
  display: flex;
  align-items: center;
  gap: 12px;
}
.settings .color-label {
  min-width: 82px;
  font-size: 13px;
  font-weight: 600;
  color: #6b7280;
  letter-spacing: 0.02em;
}
.settings .color-input-circle {
  width: 56px !important;
  min-width: 56px;
  height: 42px;
  padding: 4px;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
}
.settings .design-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px 0;
}
.settings .design-card {
  flex: 0 0 auto;
  width: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid #e9eef5;
  border-radius: 16px;
  padding: 18px;
  background: #fff;
  opacity: 0.8;
  filter: grayscale(0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.settings .design-card--active {
  border-color: #e9eef5;
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 40px 80px rgba(30, 64, 175, 0.25), 0 0 1px rgba(30, 64, 175, 0.1);
  transform: translateY(-20px) scale(1.03);
  opacity: 1;
  filter: none;
}
.settings .design-card--active .design-card__title {
  color: #1e40af;
  font-weight: 900;
}
.settings .design-card__header {
  text-align: center;
  margin-bottom: 12px;
  width: 100%;
}
.settings .design-card__title {
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #111827;
  margin-bottom: 6px;
  transition: color 0.3s ease;
}
.settings .design-card__description {
  font-size: 11.5px;
  color: #6b7280;
  line-height: 1.5;
  min-height: 34px;
}
.settings .design-card__preview {
  display: flex;
  justify-content: center;
  margin-bottom: 14px;
  width: 100%;
}
.settings .design-card__footer {
  width: 100%;
  text-align: center;
}
.settings .design-card__button {
  width: 55%;
  font-size: 12px;
  padding: 5px 0;
}
.settings .design-phone-preview {
  display: flex;
  justify-content: center;
}
.settings .design-phone-preview .phone-container {
  position: relative;
  width: 320px;
  height: 690px;
  background: #111;
  border-radius: 38px;
  padding: 6px;
  display: flex;
  flex-direction: column;
}
.settings .design-phone-preview .phone-screen {
  flex: 1;
  border-radius: 32px;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
}
.settings .design-phone-preview .contact-card {
  transform-origin: top center;
  transform: scale(0.72);
  width: 138.8888888889%;
  height: 138.8888888889%;
  margin-left: -19.4444444444%;
}
.settings .design-phone-preview .contact-text,
.settings .design-phone-preview .template2-contact-methods .contact-text,
.settings .design-phone-preview .template3-contact-methods .contact-text,
.settings .design-phone-preview .template4-contact-box .contact-text {
  font-size: 21px !important;
  line-height: 1.2 !important;
}
.settings .design-phone-preview .contact-icon,
.settings .design-phone-preview .contact-icon span,
.settings .design-phone-preview .contact-icon i,
.settings .design-phone-preview .contact-icon svg,
.settings .design-phone-preview .material-symbols-outlined {
  font-size: 32px !important;
  width: 32px;
  height: 32px;
}
.settings .design-phone-preview .brand-logo::after {
  display: none !important;
  content: "";
}
.settings .settings-preview-card {
  position: sticky;
  top: 24px;
  border: 1px solid #edf1f7;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}
.settings .settings-preview-card .card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
  border-bottom: 1px solid #eef2f7;
}
.settings .settings-preview-card .card-header #theme-selector {
  width: 190px;
  padding: 0.45rem 0.9rem;
  border-radius: 10px;
  border: 1px solid #d8e0eb;
  background-color: #fff;
  font-size: 0.95rem;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
}
.settings .settings-preview-card .card-header #theme-selector:hover {
  border-color: #888;
}
.settings .settings-preview-card .card-header #theme-selector:focus {
  border-color: #007bff;
  box-shadow: 0 0 6px rgba(0, 123, 255, 0.18);
  outline: none;
}
.settings .preview-card-title-wrap strong {
  font-size: 15px;
  color: #111827;
}
.settings .preview-card-title-wrap small {
  font-size: 12px;
  margin-top: 2px;
}
.settings .preview-card-body {
  padding: 26px 20px;
  background: #f8fafc;
}
.settings .container {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  padding: 48px;
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.settings h1 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 32px;
  color: #1f2937;
  letter-spacing: -0.025em;
}
.settings h2 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 24px;
  color: #374151;
  letter-spacing: -0.01em;
}
.settings .checkbox-group {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}
.settings .checkbox-item {
  display: flex;
  align-items: center;
}
.settings .checkbox-item label {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 18px;
  font-weight: 500;
  color: #1f2937;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  transition: all 0.2s ease;
}
.settings .checkbox-item label:hover {
  transform: translateY(-1px);
}
.settings .checkbox-item input[type=checkbox] {
  -moz-appearance: none;
       appearance: none;
  -webkit-appearance: none;
  width: 25px;
  height: 25px;
  border: 3px solid #d1d5db;
  border-radius: 8px;
  margin-right: 16px;
  cursor: pointer;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: white;
  padding: 4px;
}
.settings .checkbox-item input[type=checkbox]:hover {
  border-color: #6366f1;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.15);
  transform: scale(1.05);
}
.settings .checkbox-item input[type=checkbox]:checked {
  border-color: #6366f1;
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}
.settings .checkbox-item input[type=checkbox]:checked::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  right: 4px;
  bottom: 4px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  border-radius: 4px;
}
.settings .radius-card {
  padding: 22px;
}
.settings .settings-title {
  font-size: 20px;
  font-weight: 400;
}
.settings .form-label {
  font-size: 16px;
  font-weight: 700;
}
.settings .image-item {
  padding: 15px 5px;
}
.settings .social-site-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.settings .social-site-item .form-control {
  flex: 1;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 14px;
  padding: 10px 12px;
  transition: all 0.2s ease;
}
.settings .social-site-item .form-control:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}
.settings .social-icon-form {
  width: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 14px;
  padding: 8px 12px;
  color: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.settings .social-icon-form:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
.settings .remove-social {
  border-radius: 8px;
  padding: 5px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  border: 2px solid red;
}
.settings .remove-social:hover {
  color: black !important;
  transform: scale(1.2);
  background-color: rgba(255, 0, 0, 0.644);
}
.settings #add-social-select {
  border-radius: 8px;
  font-size: 14px;
  border: 2px solid #e2e8f0;
}
.settings #add-social-btn {
  border-radius: 8px;
  font-weight: 500;
  padding: 8px 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}
.settings #add-social-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}
@media (max-width: 1400px) {
  .settings .design-card {
    width: 260px;
  }
  .settings .design-phone-preview .phone-container {
    width: 260px;
    height: 504px;
  }
  .settings .design-phone-preview .contact-card {
    transform: scale(0.583);
    width: 171.5265866209%;
    height: 171.5265866209%;
    margin-left: -35.7632933105%;
  }
}
@media (max-width: 1199px) {
  .settings .settings-preview-card {
    position: static;
    margin-top: 20px;
  }
  .settings .settings-upload-grid,
  .settings .settings-theme-columns {
    grid-template-columns: 1fr;
  }
  .settings .settings-preview-card .card-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .settings .settings-preview-card .card-header #theme-selector {
    width: 100%;
  }
}
@media (max-width: 768px) {
  .settings .design-phone-preview .phone-container {
    width: 220px;
    height: 426px;
  }
  .settings .design-phone-preview .contact-card {
    transform: scale(0.491);
    width: 203.66598778%;
    height: 203.66598778%;
    margin-left: -51.83299389%;
  }
  .settings .settings-section-card {
    padding: 16px;
  }
  .settings .settings-upload-card__top {
    flex-direction: column;
    align-items: flex-start;
  }
  .settings .checkbox-group {
    gap: 20px;
  }
}
.settings .design-phone-preview .brand-logo img {
  display: block !important;
}
.settings .theme-mode-switch {
  display: flex;
  gap: 10px;
  margin-bottom: 6px;
}
.settings .theme-mode-switch__btn {
  min-width: 220px;
  height: 54px;
  border-radius: 8px;
  border: 1px solid #3950a8;
  background: #fff;
  color: #3950a8;
  font-size: 16px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.2s ease;
}
.settings .theme-mode-switch__btn.active {
  background: #3149a5;
  color: #fff;
  box-shadow: 0 6px 14px rgba(49, 73, 165, 0.16);
}
.settings .theme-panel.d-none {
  display: none !important;
}
.settings .settings-section {
  margin-bottom: 34px;
}
.settings .settings-section--spaced {
  padding-top: 8px;
}
.settings .settings-section__title {
  font-size: 20px;
  line-height: 1.3;
  font-weight: 700;
  color: #111;
  margin-bottom: 10px;
}
.settings .settings-section__title--small {
  font-size: 15px;
  font-weight: 500;
  color: #333;
  margin-bottom: 12px;
}
.settings .settings-section__subtitle {
  font-size: 13px;
  color: #444;
  margin-bottom: 14px;
}
.settings .settings-two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.9fr);
  gap: 28px;
  align-items: start;
  margin-bottom: 16px;
}
.settings .settings-upload-line {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.settings .settings-upload-preview {
  width: 210px;
  height: 84px;
  border: 1px solid #e1e5eb;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.settings .settings-upload-preview img {
  max-width: 100%;
  max-height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  display: block;
}
.settings .settings-upload-preview--hero {
  width: 210px;
  height: 74px;
}
.settings .settings-upload-preview--hero img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.settings .settings-color-box {
  background: #f1f3f5;
  border-radius: 8px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 34px;
  min-height: 74px;
  flex-wrap: wrap;
}
.settings .settings-color-item {
  display: flex;
  align-items: center;
  gap: 14px;
}
.settings .settings-color-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.settings .settings-color-meta span {
  font-size: 15px;
  color: #333;
}
.settings .settings-color-meta strong {
  font-size: 15px;
  color: #333;
  font-weight: 600;
  margin-top: 2px;
}
.settings .color-input-circle {
  width: 38px !important;
  min-width: 38px;
  height: 38px;
  border-radius: 999px !important;
  border: 2px solid #cfcfcf;
  background: #fff;
  overflow: hidden;
  padding: 2px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  cursor: pointer;
}
.settings .fake-color-circle {
  width: 38px;
  min-width: 38px;
  height: 38px;
  border-radius: 999px;
  background: #c5c5c5;
  border: 2px solid #bdbdbd;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.7);
}
.settings .radius-box {
  background: #f1f3f5;
  border-radius: 8px;
  padding: 20px 22px;
  min-height: 74px;
  display: flex;
  align-items: center;
}
.settings .preview-template-head {
  text-align: center;
  margin-bottom: 18px;
}
.settings .preview-template-head h4 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 800;
  text-transform: uppercase;
  color: #111;
}
.settings .preview-template-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 20px;
  border-radius: 999px;
  background: #b9f2cb;
  color: #22a652;
  font-size: 13px;
  font-weight: 700;
}
.settings .settings-preview-card .card-body {
  padding-top: 20px;
}
.settings .radius-box.radius-box--choice {
  padding: 0;
  background: transparent;
  border: 0;
}
.settings .radius-choice-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.settings .radius-choice-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 96px;
  padding: 12px 16px;
  border: 1px solid #d9dee7;
  border-radius: 12px;
  background: #f8f9fb;
  cursor: pointer;
  transition: all 0.2s ease;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.settings .radius-choice-item:hover {
  border-color: #7c8aa5;
  background: #f1f4f9;
}
.settings .radius-choice-item .radius-choice-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.settings .radius-choice-item .radius-choice-label {
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  color: #1f2937;
  transition: color 0.2s ease;
}
.settings .radius-choice-item:has(.radius-choice-input:checked) {
  background: #273f92;
  border-color: #273f92;
  box-shadow: 0 0 0 3px rgba(39, 63, 146, 0.12);
}
.settings .radius-choice-item:has(.radius-choice-input:checked) .radius-choice-label {
  color: #ffffff;
}
.settings .radius-choice-item:has(.radius-choice-input:focus-visible) {
  outline: 0;
  box-shadow: 0 0 0 3px rgba(39, 63, 146, 0.18);
}

.su-vizitkomat,
.su-editor {
  --su-blue: #29439a;
  --su-blue-light: #f6f8ff;
  --su-border: #e7ebf3;
  --su-text: #141b2d;
  --su-muted: #8d95a6;
  --su-orange: #ff7d29;
  --su-bg: #f4f6fa;
  color: var(--su-text);
}
.su-vizitkomat .card,
.su-editor .card {
  border: 0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(18, 32, 71, 0.05);
}

.su-vizitkomat__table {
  overflow: visible;
}
.su-vizitkomat__table .card-body {
  overflow: visible;
}

.su-vizitkomat {
  padding-bottom: 18px;
}
.su-vizitkomat__header, .su-vizitkomat__table, .su-vizitkomat__body {
  margin-bottom: 20px;
}
.su-vizitkomat__header-row, .su-vizitkomat__filters, .su-vizitkomat__header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.su-vizitkomat__title {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--su-blue);
  font-size: 18px;
  font-weight: 700;
}
.su-vizitkomat__title i {
  font-size: 20px;
}
.su-vizitkomat__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.su-vizitkomat__action-btn {
  min-width: 124px;
  min-height: 36px;
  padding: 0 18px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, opacity 0.18s ease;
}
.su-vizitkomat__action-btn i {
  font-size: 16px;
}
.su-vizitkomat__action-btn--download {
  background: #d7d7d9;
  color: #fff;
}
.su-vizitkomat__action-btn--app {
  background: #eef3ff;
  color: var(--su-blue);
}
.su-vizitkomat__action-btn--app:hover {
  background: #dde7ff;
  color: var(--su-blue);
}
.su-vizitkomat__action-btn--primary {
  background: var(--su-blue);
  color: #fff;
}
.su-vizitkomat__action-btn--primary:hover {
  background: #213985;
  color: #fff;
}
.su-vizitkomat__action-btn.is-disabled {
  pointer-events: none;
  opacity: 1;
}
.su-vizitkomat__action-btn:not(.is-disabled).su-vizitkomat__action-btn--download {
  background: #1ABC9C;
}
.su-vizitkomat__action-btn:not(.is-disabled).su-vizitkomat__action-btn--download:hover {
  background: #10dbb2;
}
.su-vizitkomat__filters {
  justify-content: flex-start;
  gap: 10px;
  margin-bottom: 18px;
}
.su-vizitkomat__filters-label {
  font-size: 13px;
  font-weight: 700;
}
.su-vizitkomat__search, .su-vizitkomat__select {
  height: 34px;
  border: 1px solid var(--su-border);
  border-radius: 999px;
  padding: 0 14px;
  background: #fff;
  color: var(--su-text);
  font-size: 13px;
  outline: none;
  box-shadow: none;
}
.su-vizitkomat__search:focus, .su-vizitkomat__select:focus {
  border-color: #cfd8f6;
}
.su-vizitkomat__search {
  min-width: 240px;
}
.su-vizitkomat__select {
  min-width: 160px;
}
.su-vizitkomat__selection {
  margin-left: auto;
  color: var(--su-muted);
  font-size: 13px;
  font-weight: 600;
}
.su-vizitkomat__table-wrap {
  overflow: visible !important;
}
.su-vizitkomat__grid {
  width: 100%;
  border-collapse: collapse;
}
.su-vizitkomat__grid th,
.su-vizitkomat__grid td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--su-border);
  vertical-align: middle;
  text-align: left;
  white-space: nowrap;
}
.su-vizitkomat__grid th {
  font-size: 13px;
  font-weight: 700;
  color: #111827;
  padding-top: 10px;
  padding-bottom: 10px;
}
.su-vizitkomat__grid td {
  font-size: 14px;
  color: #171e2f;
}
.su-vizitkomat__grid td.su-vizitkomat__email,
.su-vizitkomat__grid td.su-vizitkomat__phone,
.su-vizitkomat__grid td.su-vizitkomat__company {
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.su-vizitkomat__checkbox {
  width: 42px;
  text-align: center;
}
.su-vizitkomat__checkbox input {
  width: 13px;
  height: 13px;
  accent-color: var(--su-blue);
  cursor: pointer;
}
.su-vizitkomat__person {
  display: flex;
  align-items: center;
  gap: 12px;
}
.su-vizitkomat__person strong {
  font-size: 15px;
  font-weight: 700;
  color: #111827;
}
.su-vizitkomat__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #d7deec, #aebbd9);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}
.su-vizitkomat__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 28px;
  padding: 4px 14px;
  border: 1px solid var(--su-orange);
  border-radius: 999px;
  color: var(--su-orange);
  font-size: 13px;
  line-height: 1;
}
.su-vizitkomat__tag i {
  font-size: 14px;
}
.su-vizitkomat__arrow-cell {
  text-align: right;
}
.su-vizitkomat__arrow {
  width: 36px;
  height: 36px;
  border: 1px solid var(--su-border);
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  color: var(--su-blue);
  text-decoration: none;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}
.su-vizitkomat__arrow:hover {
  border-color: #cfd8f6;
  background: #f8faff;
  color: var(--su-blue);
}
.su-vizitkomat__empty {
  padding: 56px 16px;
  text-align: center;
  color: var(--su-muted);
}
.su-vizitkomat__ghost-btn {
  min-height: 38px;
  padding: 8px 16px;
  border: 1px solid var(--su-blue);
  border-radius: 999px;
  background: transparent;
  color: var(--su-blue);
}
.su-vizitkomat__ghost-btn--orange {
  border-color: var(--su-orange);
  color: var(--su-orange);
}

.su-editor__header, .su-editor__body {
  margin-bottom: 20px;
}
.su-editor__header-row, .su-editor__scan-head, .su-editor__footer, .su-editor__top-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.su-editor__top-actions {
  justify-content: flex-end;
}
.su-editor__top-btn {
  min-height: 36px;
  padding: 0 16px;
  border: 0;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  transition: opacity 0.18s ease, transform 0.18s ease, background-color 0.18s ease;
}
.su-editor__top-btn i {
  font-size: 15px;
}
.su-editor__top-btn:hover {
  color: #fff;
  transform: translateY(-1px);
}
.su-editor__top-btn--primary {
  background: #29439a;
}
.su-editor__top-btn--info {
  background: #19a9ee;
}
.su-editor__top-btn--success {
  background: #22c18d;
}
.su-editor__top-btn.is-disabled, .su-editor__top-btn:disabled {
  opacity: 0.5;
  pointer-events: none;
  transform: none;
}
.su-editor__form-shell {
  display: grid;
  gap: 24px;
}
.su-editor__layout {
  display: grid;
  grid-template-columns: minmax(320px, 360px) minmax(360px, 1fr);
  gap: 48px;
  align-items: start;
}
.su-editor__form-panel, .su-editor__scan-panel {
  min-width: 0;
}
.su-editor__section-title {
  margin: 0 0 16px;
  font-size: 28px;
  font-weight: 700;
  color: #111827;
}
.su-editor__form {
  display: grid;
  gap: 12px;
}
.su-editor__field {
  display: grid;
  gap: 6px;
}
.su-editor__field span {
  font-size: 13px;
  font-weight: 700;
  color: var(--su-muted);
}
.su-editor__hint {
  color: #111827;
  font-size: 12px;
}
.su-editor__input {
  min-height: 30px;
  border: 1px solid var(--su-border);
  box-shadow: inset 0 1px 3px rgba(17, 24, 39, 0.04);
  border-radius: 3px;
  padding: 8px 12px;
  background: #fff;
  color: #111827;
  font-size: 13px;
  outline: none;
}
.su-editor__input:focus {
  border-color: #cfd8f6;
}
.su-editor__input--area {
  min-height: 86px;
  resize: vertical;
}
.su-editor__input--select {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #7b8498 50%), linear-gradient(135deg, #7b8498 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 3px), calc(100% - 12px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 34px;
}
.su-editor__scan-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.su-editor__tag-switcher {
  display: grid;
  gap: 14px;
  margin-bottom: 20px;
}
.su-editor__tag-switcher--hidden {
  display: none;
}
.su-editor__tag-panel.is-hidden {
  display: none;
}
.su-editor__scan-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(260px, 320px);
}
.su-editor__scan-card {
  min-width: 0;
}
.su-editor__scan-label {
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--su-muted);
}
.su-editor__scan-box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 168px;
  border: 1px solid var(--su-border);
  background: linear-gradient(180deg, #fff, #fbfcff);
  cursor: pointer;
  overflow: hidden;
}
.su-editor__scan-box-inner, .su-editor__upload-preview {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ccd3e1;
}
.su-editor__scan-box-inner i, .su-editor__upload-preview i {
  font-size: 34px;
  line-height: 1;
  display: block;
}
.su-editor__preview-image {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.su-editor__preview-image--contain {
  -o-object-fit: contain;
     object-fit: contain;
  padding: 10px;
}
.su-editor__logo-row {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 2px;
}
.su-editor__logo-stack {
  display: grid;
  gap: 12px;
  justify-content: start;
  margin-top: 8px;
}
.su-editor__upload-card {
  position: relative;
  width: 144px;
  height: 54px;
  border: 1px solid var(--su-border);
  background: #fff;
  display: block;
  cursor: pointer;
  overflow: hidden;
}
.su-editor__upload-card--logo {
  width: 144px;
  height: 54px;
}
.su-editor__upload-preview--logo {
  padding: 0;
}
.su-editor__upload-btn {
  min-width: 120px;
  min-height: 30px;
  padding: 0 16px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #29439a;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.su-editor__file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.su-editor__danger-btn {
  min-width: 82px;
  min-height: 30px;
  padding: 0 18px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ff4e5d;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}
.su-editor__modal {
  position: fixed;
  inset: 0;
  z-index: 1080;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.su-editor__modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 39, 0.42);
}
.su-editor__modal-dialog {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.22);
  overflow: hidden;
}
.su-editor__modal-head, .su-editor__modal-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
}
.su-editor__modal-head {
  border-bottom: 1px solid var(--su-border);
}
.su-editor__modal-foot {
  border-top: 1px solid var(--su-border);
  justify-content: flex-end;
}
.su-editor__modal-body {
  padding: 22px;
}
.su-editor__modal-title {
  margin: 0;
  color: #111827;
  font-size: 20px;
  font-weight: 700;
}
.su-editor__modal-close {
  width: 36px;
  height: 36px;
  border: 1px solid var(--su-border);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #6b7280;
}
.su-editor__modal-empty {
  color: var(--su-muted);
  font-size: 14px;
}
.su-editor__tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.su-editor__tag-option {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.su-editor__tag-option .su-vizitkomat__tag {
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}
.su-editor__tag-option:hover .su-vizitkomat__tag {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(255, 125, 41, 0.14);
  background: #fffaf6;
}
.su-editor__tag-preview-wrap {
  margin-top: 18px;
  display: grid;
  gap: 10px;
}
.su-editor__tag-preview-label {
  color: var(--su-muted);
  font-size: 13px;
  font-weight: 700;
}
.su-editor .su-vizitkomat__ghost-btn {
  min-height: 30px;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 700;
}
.su-editor .su-vizitkomat__ghost-btn.is-active {
  background: #f2f5ff;
}

.su-contact-card {
  border: 0;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}
.su-contact-shell {
  display: grid;
  gap: 24px;
}
.su-contact-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(320px, 1fr) minmax(420px, 1.45fr);
}
@media (max-width: 1200px) {
  .su-contact-grid {
    grid-template-columns: 1fr;
  }
}
.su-contact-panel {
  border: 1px solid #e7ecf3;
  border-radius: 18px;
  padding: 28px;
  background: #fff;
  min-height: 100%;
}
.su-contact-panel__title {
  margin: 0 0 8px;
  color: #26439d;
  font-size: 31px;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.su-contact-panel__lead {
  margin: 0 0 22px;
  color: #273f92;
  line-height: 1.6;
  max-width: 720px;
}
@media (max-width: 767px) {
  .su-contact-panel {
    padding: 20px;
  }
}
.su-contact-form-grid {
  display: grid;
  gap: 14px 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.su-contact-form-grid--single {
  grid-template-columns: 1fr;
}
@media (max-width: 767px) {
  .su-contact-form-grid {
    grid-template-columns: 1fr;
  }
}
.su-contact-span-2 {
  grid-column: 1/-1;
}
.su-contact-label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #5d6676;
}
.su-contact-input, .su-contact-textarea {
  width: 100%;
  border: 1px solid #dfe5ee;
  border-radius: 10px;
  padding: 12px 14px;
  font: inherit;
  color: #152033;
  background: #fff;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.su-contact-input:focus, .su-contact-textarea:focus {
  border-color: #3750b5;
  box-shadow: 0 0 0 3px rgba(55, 80, 181, 0.12);
  outline: none;
}
.su-contact-textarea {
  min-height: 120px;
  resize: vertical;
}
.su-contact-inline {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr auto;
  align-items: end;
}
@media (max-width: 767px) {
  .su-contact-inline {
    grid-template-columns: 1fr;
  }
}
.su-contact-status {
  display: none;
  margin-top: 14px;
  border-radius: 10px;
  padding: 14px 16px;
  font-weight: 600;
}
.su-contact-status.is-visible {
  display: block;
}
.su-contact-status.is-success {
  background: #9bf4c2;
  color: #0d6b3f;
}
.su-contact-status.is-error {
  background: #ffe2e2;
  color: #a42828;
}
.su-contact-status.is-loading {
  background: #ecf2ff;
  color: #26439d;
}
.su-contact-table-card {
  border: 1px solid #e7ecf3;
}

.su-result-card {
  display: none;
  margin-top: 24px;
  border-top: 1px solid #e8edf5;
  padding-top: 22px;
}
.su-result-card.is-visible {
  display: block;
}
.su-result-banner {
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 16px;
  background: #93f0bd;
  color: #0d6b3f;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
}
@media (max-width: 767px) {
  .su-result-banner {
    font-size: 24px;
  }
}
.su-result-head {
  display: grid;
  gap: 18px;
  grid-template-columns: 58px 1fr;
  align-items: start;
  margin-bottom: 18px;
}
.su-result-avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3048ac, #1aa0e8);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 700;
}
.su-result-name {
  margin: 0;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #131a2a;
}
@media (max-width: 767px) {
  .su-result-name {
    font-size: 24px;
  }
}
.su-result-position {
  margin: 4px 0 0;
  color: #3f4c63;
  font-size: 18px;
  font-weight: 600;
}
.su-result-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 12px 0;
  color: #1f2937;
  font-size: 16px;
}
.su-result-line i {
  color: #ffffff;
  font-size: 16px;
}
.su-result-title {
  margin: 28px 0 12px;
  color: #26439d;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.03em;
}
@media (max-width: 767px) {
  .su-result-title {
    font-size: 24px;
  }
}
.su-result-warning {
  margin: 28px 0 12px;
  color: #26439d;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.su-result-list {
  margin: 0;
  padding-left: 0;
  color: #1b2434;
  line-height: 1.7;
}
.su-result-list li + li {
  margin-top: 8px;
}
.su-result-paragraphs {
  color: #1b2434;
  line-height: 1.8;
}
.su-result-paragraphs p {
  margin: 0 0 14px;
}
.su-result-paragraphs p:last-child {
  margin-bottom: 0;
}
.su-result-sources {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
  font-size: 14px;
}
.su-result-sources a {
  color: #3048ac;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.su-result-disclaimer {
  margin-top: 12px;
  color: #4f5b70;
  font-size: 14px;
}
.su-result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

@media (max-width: 991px) {
  .su-editor__layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .su-editor__scan-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 767px) {
  .su-vizitkomat__header .card-body,
  .su-contact-card > .card {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .su-vizitkomat__header-row,
  .header-nav-card {
    flex-direction: column;
    align-items: stretch !important;
    gap: 1rem;
  }
  .su-vizitkomat__title,
  .header-title {
    white-space: normal;
    line-height: 1.25;
  }
  .su-vizitkomat__actions,
  .su-contact-header-actions {
    width: 100%;
    flex-direction: column;
  }
  .su-vizitkomat__search,
  .su-vizitkomat__select,
  .su-vizitkomat__action-btn,
  .su-contact-header-actions .btn {
    width: 100%;
    min-width: 0;
  }
  .su-vizitkomat__filters {
    align-items: stretch;
    gap: 0.75rem;
  }
  .su-vizitkomat__filters-label {
    width: 100%;
  }
  .su-vizitkomat__selection {
    margin-left: 0;
    width: 100%;
  }
  .suv-search-form {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }
  .suv-search-input {
    width: 100%;
    margin-left: 0;
  }
  .suv-search-btn {
    width: 100%;
    justify-content: center;
  }
  .su-vizitkomat__table .card-body,
  .su-contact-table-card .card-body {
    padding: 1rem;
  }
  .su-vizitkomat__table-wrap,
  .su-contact-table-card .table-responsive {
    overflow: visible !important;
  }
  .su-vizitkomat__grid,
  .su-contact-table-card table {
    width: 100%;
  }
  .su-vizitkomat__grid thead,
  .su-contact-table-card table thead {
    display: none;
  }
  .su-vizitkomat__grid tbody,
  .su-contact-table-card table tbody {
    display: grid;
    gap: 12px;
  }
  .su-vizitkomat__grid tbody tr,
  .su-contact-table-card table tbody tr {
    display: block;
    border: 1px solid var(--su-border);
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
  }
  .su-vizitkomat__grid tbody td,
  .su-contact-table-card table tbody td {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    padding: 0.8rem 1rem !important;
    border-bottom: 1px solid var(--su-border);
    text-align: right;
    white-space: normal;
  }
  .su-vizitkomat__grid tbody td::before,
  .su-contact-table-card table tbody td::before {
    content: attr(data-label);
    flex: 0 0 42%;
    max-width: 42%;
    text-align: left;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--su-muted);
  }
  .su-vizitkomat__grid tbody td:last-child,
  .su-contact-table-card table tbody td:last-child {
    border-bottom: 0;
  }
  .su-vizitkomat__grid td[data-label=Akce] {
    display: block;
    text-align: left;
  }
  .su-vizitkomat__grid td[data-label=Akce]::before {
    display: block;
    max-width: none;
    margin-bottom: 0.75rem;
  }
  .su-vizitkomat__grid td[data-label=Jméno] {
    display: block;
    text-align: left;
  }
  .su-vizitkomat__grid td[data-label=Jméno]::before {
    display: none;
  }
  .su-vizitkomat__grid td[data-label=Výběr],
  .su-vizitkomat__grid td[data-label="Datum pořízení"],
  .su-vizitkomat__grid td[data-label=QR] {
    display: none;
  }
  .su-vizitkomat__person {
    min-width: 0;
  }
  .su-vizitkomat__person strong,
  .su-vizitkomat__email,
  .su-vizitkomat__phone,
  .su-vizitkomat__company {
    overflow-wrap: anywhere;
  }
  .su-vizitkomat__tag {
    margin-left: auto;
  }
  .nfc-actions-cell {
    width: auto;
  }
  .nfc-action-menu-wrap {
    display: block;
    width: 100%;
  }
  .nfc-arrow-btn {
    width: 42px;
    height: 42px;
    margin-left: auto;
  }
  .nfc-action-menu {
    position: static;
    min-width: 0;
    width: 100%;
    margin-top: 0.75rem;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    display: none;
    box-shadow: none;
  }
  .nfc-action-menu-wrap.is-open .nfc-action-menu {
    display: block;
  }
  .su-vizitkomat__empty,
  .su-contact-empty {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center !important;
    width: 100%;
  }
  .su-contact-inline {
    gap: 0.85rem;
  }
  .su-contact-card > .card {
    padding: 1rem !important;
  }
  .su-contact-grid {
    gap: 1rem;
  }
  .su-contact-panel {
    padding: 1rem;
    border-radius: 16px;
  }
  .su-contact-inline .btn,
  .su-result-actions .btn,
  #copyVerifiedEmailBtn,
  #lookupEmailBtn,
  #lookupSubmitBtn {
    width: 100%;
    justify-content: center;
  }
  #verifyEmailActions {
    margin-top: 0.85rem !important;
  }
  .su-contact-table-card .card-body > .d-flex {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 0.5rem;
  }
  .su-result-head {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 0.85rem;
  }
  .su-result-avatar {
    margin: 0 auto;
  }
  .su-result-name {
    font-size: 1.6rem;
    line-height: 1.15;
  }
  .su-result-position {
    font-size: 1rem;
  }
  .su-result-line {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.75rem;
    padding: 0.9rem 1rem;
    border: 1px solid var(--su-border);
    border-radius: 14px;
    background: #fbfcff;
  }
  .su-result-line > span {
    width: 100%;
    overflow-wrap: anywhere;
  }
  .su-result-line > i {
    display: none;
  }
  .su-result-actions {
    flex-direction: column;
  }
  .su-result-title {
    font-size: 1.15rem;
    line-height: 1.25;
    margin-top: 1.4rem;
    margin-bottom: 0.75rem;
  }
  .su-result-warning {
    font-size: 0.95rem;
    line-height: 1.35;
  }
  .su-result-sources {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
  }
  .su-contact-panel__title {
    font-size: 24px;
  }
  .su-editor__top-btn {
    width: 100%;
  }
  .su-editor__logo-row {
    align-items: stretch;
  }
  .su-editor__upload-card--logo,
  .su-editor__upload-btn {
    width: 100%;
  }
  .su-editor__modal {
    padding: 16px;
  }
  .su-editor__modal-head,
  .su-editor__modal-body,
  .su-editor__modal-foot {
    padding-left: 16px;
    padding-right: 16px;
  }
  .su-editor__scan-grid {
    grid-template-columns: 1fr;
  }
}
body.su-modal-open {
  overflow: hidden;
}

.suv-wrap {
  --suv-blue: #29439a;
  --suv-blue-light: #f0f3ff;
  --suv-border: #e4e9f3;
  --suv-text: #141b2d;
  --suv-muted: #7b8498;
}

.suv-search-card {
  border: 0;
  box-shadow: 0 4px 20px rgba(18, 32, 71, 0.07);
  border-radius: 16px;
}

.suv-search-row {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
@media (max-width: 767px) {
  .suv-search-row {
    flex-direction: column;
    align-items: stretch;
  }
}

.suv-search-left {
  flex: 1 1 200px;
  min-width: 0;
}

.suv-search-title {
  margin: 0 0 4px;
  font-size: 20px;
  font-weight: 700;
  color: var(--suv-blue);
}

.suv-search-lead {
  margin: 0;
  color: var(--suv-muted);
  font-size: 14px;
}

.suv-search-form {
  display: flex;
  gap: 10px;
  flex: 2 1 360px;
  min-width: 0;
  padding-left: 15px;
}
@media (max-width: 500px) {
  .suv-search-form {
    flex: 0 0 80px;
  }
}

.suv-search-input {
  width: auto;
  flex: 1 1 260px;
  max-width: 420px;
  height: 42px;
  border-radius: 8px;
  border: 2px solid #EAEAEA;
  padding: 0 14px;
  margin-left: 0;
  font-size: 14px;
  color: var(--suv-text);
  background: #fff;
  outline: none;
  transition: border-color 0.18s;
}
.suv-search-input:focus {
  border-color: #90a4d8;
  box-shadow: 0 0 0 3px rgba(41, 67, 154, 0.1);
}
@media (max-width: 500px) {
  .suv-search-input {
    flex: 1 1 100%;
    max-width: none;
  }
}

.suv-search-btn {
  height: 42px;
  padding: 0 22px;
  white-space: nowrap;
  border-radius: 8px;
  font-weight: 600;
}

.suv-result {
  display: none;
}
.suv-result.is-visible {
  display: block;
}

.suv-head-card {
  border: 0;
  box-shadow: 0 4px 20px rgba(18, 32, 71, 0.07);
  border-radius: 16px;
}

.suv-name-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.suv-company-name {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  color: var(--suv-blue);
  letter-spacing: -0.02em;
}

.suv-copy-btn {
  width: 28px;
  height: 28px;
  border: 1px solid var(--suv-border);
  border-radius: 6px;
  background: #fff;
  color: var(--suv-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
  transition: border-color 0.15s, color 0.15s;
}
.suv-copy-btn:hover {
  border-color: #90a4d8;
  color: var(--suv-blue);
}
.suv-copy-btn i {
  font-size: 13px;
}
.suv-copy-btn--sm {
  width: 22px;
  height: 22px;
  border-radius: 4px;
}
.suv-copy-btn--sm i {
  font-size: 11px;
}

.suv-meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 14px;
  font-size: 13px;
  color: var(--suv-text);
}

.suv-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.suv-meta-item strong {
  color: #5d6578;
}

.suv-meta-sep {
  color: var(--suv-border);
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.suv-contact-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 20px;
  font-size: 13px;
}

.suv-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--suv-text);
}
.suv-contact-item i {
  color: var(--suv-muted);
  font-size: 15px;
}
.suv-contact-item a {
  color: var(--suv-blue);
  text-decoration: none;
}
.suv-contact-item a:hover {
  text-decoration: underline;
}

.suv-social-icons {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.suv-social-icon {
  width: 28px;
  height: 28px;
  border: 1px solid var(--suv-border);
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--suv-blue);
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
}
.suv-social-icon i {
  font-size: 15px;
}
.suv-social-icon:hover {
  background: var(--suv-blue-light);
  border-color: #90a4d8;
  color: var(--suv-blue);
}

.suv-info-card {
  border: 1px solid var(--suv-border) !important;
  border-radius: 14px !important;
  box-shadow: none !important;
}

.suv-card-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--suv-blue);
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.suv-card-badge {
  font-size: 11px;
  font-weight: 600;
  color: var(--suv-muted);
  background: #f0f3ff;
  border-radius: 20px;
  padding: 2px 8px;
  letter-spacing: 0;
}

.suv-dl {
  margin: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 5px 12px;
  font-size: 13px;
}
.suv-dl dt {
  color: var(--suv-muted);
  font-weight: 600;
  white-space: nowrap;
}
.suv-dl dd {
  margin: 0;
  color: var(--suv-text);
  font-weight: 500;
}

.suv-contact-line {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  padding: 4px 0;
}
.suv-contact-line i {
  color: var(--suv-muted);
  font-size: 14px;
  flex-shrink: 0;
}
.suv-contact-line a {
  color: var(--suv-blue);
  text-decoration: none;
}
.suv-contact-line a:hover {
  text-decoration: underline;
}
.suv-contact-line + .suv-contact-line {
  border-top: 1px solid #f2f4f9;
}

.suv-person-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  padding: 5px 0;
}
.suv-person-line + .suv-person-line {
  border-top: 1px solid #f2f4f9;
}
.suv-person-line strong {
  font-weight: 700;
  color: var(--suv-text);
}

.suv-person-pos {
  color: var(--suv-muted);
  font-size: 12px;
  flex: 1;
}

.suv-li-link {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0a66c2;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.15s;
}
.suv-li-link i {
  font-size: 16px;
}
.suv-li-link:hover {
  background: #e8f0fe;
  color: #0a66c2;
}

.suv-bank-line {
  font-size: 13px;
  padding: 6px 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.suv-bank-line + .suv-bank-line {
  border-top: 1px solid #f2f4f9;
}

.suv-bank-num {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: monospace;
  font-size: 13px;
  color: var(--suv-text);
}

.suv-section-card {
  border: 1px solid var(--suv-border) !important;
  border-radius: 14px !important;
  box-shadow: none !important;
}

.suv-desc-text {
  font-size: 14px;
  line-height: 1.7;
  color: #1b2434;
}
.suv-desc-text p {
  margin: 0 0 10px;
}
.suv-desc-text p:last-child {
  margin-bottom: 0;
}

.suv-persons-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.suv-persons-table th {
  text-align: left;
  padding: 8px 12px;
  color: var(--suv-muted);
  font-weight: 700;
  border-bottom: 2px solid var(--suv-border);
  white-space: nowrap;
}
.suv-persons-table td {
  padding: 10px 12px;
  color: var(--suv-text);
  vertical-align: middle;
  border-bottom: 1px solid #f2f4f9;
}
.suv-persons-table tr:last-child td {
  border-bottom: 0;
}
.suv-persons-table strong {
  font-weight: 700;
}

.suv-empty-state {
  padding: 64px 16px;
  text-align: center;
  color: var(--suv-muted);
}
.suv-empty-state.d-none {
  display: none;
}

.suv-empty-icon {
  font-size: 52px;
  color: #dde3f0;
  display: block;
  margin-bottom: 18px;
}

.suv-empty-title {
  margin: 0 0 8px;
  font-size: 25px;
  font-weight: 700;
  color: #273F92;
}

.suv-empty-lead {
  margin: 0;
  font-size: 16px;
  color: #adb5c0;
}

.suv-lookup-btn {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  border: 1px solid var(--suv-blue);
  border-radius: 20px;
  color: var(--suv-blue);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}
.suv-lookup-btn:hover {
  background: var(--suv-blue);
  color: #fff;
}

.profile-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

.profile-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  margin-bottom: 22px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.profile-card-title {
  padding: 22px 28px 18px;
  font-size: 17px;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
  border-bottom: 1px solid #f1f4f8;
}

.profile-card-inner {
  padding: 24px 28px 28px;
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-bottom: 26px;
  margin-bottom: 26px;
  border-bottom: 1px solid #f1f4f8;
}

.profile-avatar {
  width: 82px;
  height: 82px;
  flex: 0 0 82px;
  border-radius: 50%;
  background: #dde4ff;
  color: #4361c2;
  font-size: 32px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  letter-spacing: -1px;
  overflow: hidden;
  box-shadow: 0 0 0 2px #eef1ff;
}
.profile-avatar img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 50%;
}

.profile-meta {
  min-width: 0;
  flex: 1;
}

.profile-meta-name {
  font-size: 22px;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.profile-meta-subtitle {
  margin-top: 5px;
  font-size: 14px;
  color: #94a3b8;
  font-weight: 400;
  line-height: 1.3;
}
.profile-meta-subtitle .profile-meta-role {
  display: inline;
  padding: 0;
  background: none;
  border-radius: 0;
  font-size: inherit;
  font-weight: 500;
  color: #64748b;
}
.profile-meta-subtitle .profile-meta-sep {
  margin: 0 8px;
  opacity: 0.4;
}

.profile-header-actions {
  margin-left: auto;
  display: flex;
  gap: 8px;
  flex-shrink: 0;
  align-items: center;
}

.profile-edit-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 20px;
  border: 1.5px solid #d7dde4;
  border-radius: 50px;
  background: #ffffff;
  color: #4b5563;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  line-height: 1;
  transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
}
.profile-edit-btn svg {
  width: 13px;
  height: 13px;
  flex: 0 0 13px;
}
.profile-edit-btn:hover {
  border-color: #4361c2;
  color: #4361c2;
  background: #f5f7ff;
}

.profile-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 48px;
}

.profile-field-label {
  color: #94a3b8;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 5px;
}

.profile-field-value {
  color: #1e293b;
  font-size: 15px;
  font-weight: 600;
  word-break: break-word;
}

/* ── avatar upload v modalu ── */
.profile-avatar-upload {
  display: flex;
  align-items: center;
  gap: 18px;
}

.profile-avatar-upload-thumb {
  position: relative;
  display: block;
  cursor: pointer;
  flex: 0 0 auto;
}
.profile-avatar-upload-thumb .profile-avatar {
  width: 80px;
  height: 80px;
  font-size: 30px;
  transition: filter 0.18s ease;
}
.profile-avatar-upload-thumb:hover .profile-avatar {
  filter: brightness(0.88);
}

.profile-avatar-camera {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #4361c2;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
}
.profile-avatar-camera svg {
  width: 13px;
  height: 13px;
}

.profile-avatar-upload-info p {
  margin: 0;
  color: #94a3b8;
  font-size: 13px;
  line-height: 1.55;
}

/* ── 2FA card ── */
.profile-2fa-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 18px;
}
.profile-2fa-badge.is-on {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
}
.profile-2fa-badge.is-off {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #9a3412;
}
.profile-2fa-badge svg {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
}

.profile-2fa-qr {
  border: 1px solid #e8ecf0;
  border-radius: 10px;
  background: #f8fafc;
  padding: 20px;
  display: inline-flex;
  margin-bottom: 16px;
}

.profile-2fa-secret {
  background: #f1f4f8;
  border-radius: 6px;
  padding: 8px 12px;
  font-family: monospace;
  font-size: 13px;
  color: #334155;
  display: inline-block;
  margin-bottom: 20px;
  word-break: break-all;
}

/* ── Edit modal ── */
.profile-modal .modal-content {
  border: none;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.13);
}
.profile-modal .modal-header {
  border-bottom: 1px solid #f1f4f8;
  padding: 24px 28px 18px;
  align-items: flex-start;
}
.profile-modal .modal-title {
  font-size: 20px;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.2;
}
.profile-modal .modal-subtitle {
  font-size: 13px;
  color: #94a3b8;
  margin: 4px 0 0;
}
.profile-modal .modal-body {
  padding: 22px 28px 8px;
}
.profile-modal .modal-footer {
  border-top: 1px solid #f1f4f8;
  padding: 16px 28px;
  gap: 10px;
}
.profile-modal .form-label {
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 6px;
}
.profile-modal .form-control {
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  height: 42px;
  font-size: 14px;
  color: #1e293b;
  box-shadow: none;
}
.profile-modal .form-control:focus {
  border-color: #4361c2;
  box-shadow: 0 0 0 3px rgba(67, 97, 194, 0.1);
}
.profile-modal .form-control::-moz-placeholder {
  color: #adb5bd;
}
.profile-modal .form-control::placeholder {
  color: #adb5bd;
}
.profile-modal .btn-primary {
  background: #4361c2;
  border-color: #4361c2;
  font-weight: 600;
}
.profile-modal .btn-primary:hover, .profile-modal .btn-primary:focus {
  background: #3451b2;
  border-color: #3451b2;
}
.profile-modal .btn-outline-secondary {
  border-color: #d7dde4;
  color: #4b5563;
  font-weight: 500;
}
.profile-modal .btn-outline-secondary:hover {
  background: #f8fafc;
  border-color: #c0c8d0;
  color: #1e293b;
}

@media (max-width: 768px) {
  .profile-fields {
    grid-template-columns: 1fr 1fr;
    gap: 18px 28px;
  }
}
@media (max-width: 576px) {
  .profile-fields {
    grid-template-columns: 1fr;
  }
  .profile-header {
    flex-wrap: wrap;
  }
  .profile-header-actions {
    width: 100%;
  }
  .profile-card-inner {
    padding: 18px 18px 22px;
  }
  .profile-card-title {
    padding: 18px 18px 14px;
  }
}
.export-container {
  line-height: 1.6;
  color: #243046;
  margin: 0;
  background: white;
}
.export-container .header {
  text-align: center;
  margin-bottom: 40px;
  border-bottom: 2px solid #243046;
  padding-bottom: 20px;
}
.export-container .header h1 {
  margin: 0 0 10px 0;
  font-size: 24px;
  font-weight: bold;
  text-transform: uppercase;
}
.export-container .header h2 {
  margin: 0 0 10px 0;
  font-size: 20px;
  color: #273f92;
}
.export-container .company-info {
  background: linear-gradient(135deg, #f6f9ff 0%, #eef4ff 100%);
  padding: 20px;
  margin-bottom: 30px;
  border-left: 5px solid #273f92;
  border-radius: 0 12px 12px 0;
}
.export-container .company-info h3 {
  margin-top: 0;
  color: #273f92;
}
.export-container .section {
  margin-bottom: 40px;
  page-break-inside: avoid;
}
.export-container .section .section-title {
  background: linear-gradient(135deg, #273f92 0%, #3657be 100%);
  color: white;
  padding: 15px;
  margin: 0;
  font-size: 18px;
  font-weight: bold;
  border-radius: 12px 12px 0 0;
}
.export-container .section .section-content {
  border: 1px solid #273f92;
  border-top: none;
  padding: 20px;
  border-radius: 0 0 12px 12px;
  background: white;
}
.export-container .section .section-content .section-description {
  font-style: italic;
  margin-bottom: 20px;
  color: #667085;
  background: #f8f9fa;
  padding: 12px;
  border-radius: 8px;
  border-left: 3px solid #273f92;
}
.export-container .section .section-content .question {
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}
.export-container .section .section-content .question:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.export-container .section .section-content .question .question-text {
  font-weight: bold;
  color: #273f92;
  margin-bottom: 10px;
  font-size: 17px;
}
.export-container .section .section-content .question .question-type-hint {
  font-weight: normal;
  color: #999;
  font-size: 12px;
}
.export-container .section .section-content .question .answer {
  margin-left: 20px;
  color: #243046;
  font-size: 13px;
}
.export-container .section .section-content .question .answer .answer-value {
  margin: 5px 0;
  padding: 10px 12px;
  font-size: 15px;
  border-left: 3px solid #15803d;
  background: #f8fbff;
  border-radius: 8px;
}
.export-container .section .section-content .question .answer .no-answer {
  color: #dc3545;
  font-style: italic;
  padding: 10px;
}
.export-container .section .section-content .question .admin-note {
  background: #fff3cd;
  border: 1px solid #ffeaa7;
  padding: 12px;
  margin-top: 10px;
  border-radius: 8px;
  font-size: 12px;
  color: #856404;
  border-left: 4px solid #ffc107;
}
.export-container .section .section-content .question .answer-meta {
  font-size: 11px;
  color: #999;
  margin-top: 8px;
  text-align: right;
}
.export-container .toc {
  margin-bottom: 40px;
  background: #f8f9fa;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid #e5ebf5;
}
.export-container .toc h2 {
  margin-top: 0;
  color: #273f92;
  border-bottom: 2px solid #273f92;
  padding-bottom: 10px;
}
.export-container .toc ul {
  list-style-type: none;
  padding-left: 0;
}
.export-container .toc ul li {
  padding: 8px 0;
  border-bottom: 1px dotted #ccc;
}
.export-container .toc ul li:last-child {
  border-bottom: none;
}
.export-container .toc ul li a {
  text-decoration: none;
  color: #273f92;
  font-weight: 500;
}
.export-container .toc ul li a:hover {
  text-decoration: underline;
}
.export-container .stats {
  display: flex;
  justify-content: space-around;
  background: linear-gradient(135deg, #edf3ff 0%, #f7faff 100%);
  padding: 20px;
  margin-bottom: 30px;
  border-radius: 12px;
  border: 1px solid #e5ebf5;
}
.export-container .stats .stat-item {
  text-align: center;
  flex: 1;
}
.export-container .stats .stat-item .stat-number {
  font-size: 28px;
  font-weight: bold;
  color: #273f92;
  display: block;
  margin-bottom: 5px;
}
.export-container .stats .stat-item .stat-label {
  font-size: 12px;
  color: #667085;
  text-transform: uppercase;
  font-weight: 500;
}
.export-container .print-controls {
  margin-bottom: 30px;
  padding: 0;
}
.export-container .export-info {
  font-size: 11px;
  color: #667085;
  text-align: center;
  margin-top: 40px;
  padding: 20px;
  border-top: 2px solid #e7edf6;
  background: #f8f9fa;
  border-radius: 12px;
}
@media print {
  .export-container {
    margin: 0;
    padding: 20px;
  }
  .export-container .no-print {
    display: none !important;
  }
  .export-container .section,
  .export-container .question {
    page-break-inside: avoid;
  }
  .export-container .stats {
    background: #f0f0f0 !important;
  }
  .export-container .section-title {
    background: #333 !important;
    color: white !important;
  }
  .export-container .answer-value {
    background: #f5f5f5 !important;
  }
  .export-container .admin-note {
    background: #fffacd !important;
  }
}
@media (max-width: 768px) {
  .export-container .stats {
    flex-direction: column;
    gap: 15px;
  }
  .export-container .stats .stat-item {
    padding: 10px;
    background: white;
    border-radius: 4px;
    border: 1px solid #e5ebf5;
  }
  .export-container {
    padding: 10px;
  }
  .export-container .answer {
    margin-left: 10px;
  }
}

.card-title-form {
  font-size: 18px;
}

.description-text-form {
  font-size: 14px;
}

.text-muted {
  font-size: 12px;
}

.btn-form {
  font-size: 15px;
  padding: 8px;
}

.form-functions-btns {
  margin-left: 50px;
  padding: 5px 0;
}
.form-functions-btns button {
  margin: 5px 0;
}

.audit-section-shell .form-control {
  border: 1.5px solid #dcdfe6;
  border-radius: 10px;
  padding: 0.55rem 0.85rem;
  font-size: 0.9rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  background: #fff;
}
.audit-section-shell .form-control:focus {
  border-color: #273f92;
  box-shadow: 0 0 0 3px rgba(39, 63, 146, 0.12);
}
.audit-section-shell .form-control::-moz-placeholder {
  color: #aab1c0;
  font-size: 0.85rem;
}
.audit-section-shell .form-control::placeholder {
  color: #aab1c0;
  font-size: 0.85rem;
}
.audit-section-shell textarea.form-control {
  min-height: 80px;
  resize: vertical;
  padding-bottom: 44px;
}
.audit-section-shell input[type=text].form-control {
  padding-right: 44px;
}

.audit-mic-btn {
  position: absolute;
  right: 8px;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  background: linear-gradient(135deg, #273f92 0%, #3f63d8 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(39, 63, 146, 0.22);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
  z-index: 2;
}
.audit-mic-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(39, 63, 146, 0.28);
  filter: brightness(1.04);
}
.audit-mic-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(39, 63, 146, 0.18), 0 10px 20px rgba(39, 63, 146, 0.24);
}
.audit-mic-btn i {
  display: block;
  line-height: 1;
  transform: translateY(0.5px);
}
.audit-mic-btn.is-recording {
  background: linear-gradient(135deg, #ef4444 0%, #f87171 100%);
  border-color: rgba(255, 255, 255, 0.95);
  animation: mic-pulse 0.8s ease-in-out infinite alternate;
  box-shadow: 0 10px 24px rgba(239, 68, 68, 0.28);
}

.audit-mic-btn--input {
  top: 50%;
  margin-top: -16px;
}

.audit-mic-btn--textarea {
  bottom: 8px;
}

@keyframes mic-pulse {
  from {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.3);
  }
  to {
    box-shadow: 0 0 0 8px rgba(239, 68, 68, 0);
  }
}
.audit-choice-list {
  margin-top: 0.15rem;
}
.audit-choice-list label {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin-bottom: 0.55rem;
  color: #243046;
  font-size: 0.9rem;
  line-height: 1.45;
  cursor: pointer;
}
.audit-choice-list input {
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.audit-auto-save-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: #6f7b90;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: #f1f3f7;
  transition: all 0.3s ease;
}
.audit-auto-save-indicator.is-saving {
  color: #f5b13b;
  background: #fff8e1;
}
.audit-auto-save-indicator.is-saving .audit-auto-save-indicator__dot {
  background: #f5b13b;
  animation: pulse-dot 0.6s ease-in-out infinite;
}
.audit-auto-save-indicator.is-saved {
  color: #00ff5e;
  background: #dcfce7;
}
.audit-auto-save-indicator.is-saved .audit-auto-save-indicator__dot {
  background: #00ff5e;
}
.audit-auto-save-indicator.is-error {
  color: #ef4444;
  background: #fef2f2;
}
.audit-auto-save-indicator.is-error .audit-auto-save-indicator__dot {
  background: #ef4444;
}

.audit-auto-save-indicator__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6f7b90;
  transition: background 0.3s ease;
}

@keyframes pulse-dot {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(0.7);
  }
}
.audit-question-card {
  border: 1px solid #e4eaf4;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
  transition: border-color 0.2s ease, box-shadow 0.25s ease, transform 0.2s ease;
}
.audit-question-card:hover {
  border-color: #d5def0;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}
.audit-question-card:focus-within {
  border-color: #273f92;
  box-shadow: 0 0 0 3px rgba(39, 63, 146, 0.08), 0 10px 24px rgba(15, 23, 42, 0.06);
}
@keyframes question-fade-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.audit-question-card.is-entering {
  animation: question-fade-in 0.35s ease forwards;
}

.audit-section-shell .question-container .audit-question-label {
  color: #273f92;
  font-size: 0.94rem;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 0.35rem;
}
.audit-section-shell .question-container .audit-question-type {
  color: #7a869d;
  font-weight: 500;
}
.audit-section-shell .question-container .audit-question-hint {
  color: #4c61c9;
  cursor: help;
  transition: color 0.15s ease;
}
.audit-section-shell .question-container .audit-question-hint:hover {
  color: #273f92;
}

.audit-current-answer {
  gap: 0.9rem;
  padding: 0.85rem 0.95rem !important;
  background: #f8fbff !important;
  border: 1px solid #d8e6db;
  border-left: 4px solid #28a745 !important;
  border-radius: 12px;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.audit-current-answer__content {
  min-width: 0;
  flex: 1;
}
.audit-current-answer__content > small:first-child {
  display: inline-flex;
  align-items: center;
  color: #17803c;
  font-weight: 700;
}
.audit-current-answer__content .audit-current-answer__value,
.audit-current-answer__content .mt-1.small {
  color: #243046;
  line-height: 1.55;
  word-break: break-word;
}
.audit-current-answer__content .text-muted {
  font-size: 0.76rem;
  color: #6f7b90 !important;
}

.audit-current-answer__actions {
  align-self: center;
}
.audit-current-answer__actions .btn {
  border-radius: 6px;
  transition: all 0.15s ease;
}
.audit-current-answer__actions .btn:hover {
  transform: scale(1.05);
}

.audit-note-panel {
  border: 1px solid #fdba74;
  border-radius: 14px;
  background: linear-gradient(180deg, #fff7ed 0%, #fffbeb 100%);
  padding: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}
.audit-note-panel .audit-note-pane {
  display: none;
}
.audit-note-panel .audit-note-pane.is-active {
  display: block;
}

.audit-note-tabs {
  display: flex;
  gap: 3px;
  background: rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  padding: 3px;
  margin-bottom: 10px;
  border: 1px solid rgba(251, 146, 60, 0.25);
}

.audit-note-tab {
  flex: 1;
  border: 0;
  background: transparent;
  color: #92400e;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.audit-note-tab i {
  font-size: 13px;
}
.audit-note-tab:hover:not(.is-active) {
  background: rgba(255, 255, 255, 0.7);
  color: #78350f;
}
.audit-note-tab.is-active {
  background: #fff;
  color: #c2410c;
  box-shadow: 0 1px 8px rgba(234, 88, 12, 0.22);
}

.audit-note-readonly {
  white-space: pre-wrap;
  color: #334155;
  line-height: 1.55;
}

.audit-note-label {
  color: #ea580c;
  font-weight: 700;
}

.admin-note-section {
  background: #fff8e8;
  border: 1px solid #ffe4b5;
  border-radius: 12px;
  padding: 0.95rem;
  height: 100%;
  transition: border-color 0.2s ease;
}
.admin-note-section:focus-within {
  border-color: #ffb347;
  box-shadow: 0 0 0 3px rgba(255, 179, 71, 0.12);
}
.admin-note-section .form-label {
  color: #e65100;
}
.admin-note-section .form-control {
  border-color: #ffd699;
  background: #fffcf5;
}
.admin-note-section .form-control:focus {
  border-color: #ffb347;
  box-shadow: 0 0 0 3px rgba(255, 179, 71, 0.15);
}

.audit-side-card {
  border: 1px solid #e5ebf5;
  border-radius: 16px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.04);
  overflow: hidden;
}

.audit-side-card__header {
  background: linear-gradient(180deg, #fbfcfe 0%, #f4f7fb 100%);
  border-bottom: 1px solid #e5ebf5;
  padding: 0.7rem 0.9rem;
}

.audit-side-card__title {
  font-size: 0.84rem;
  color: #273f92;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.audit-side-card__body {
  background: #fff;
}

.section-nav-item {
  margin-bottom: 0.45rem;
}

.audit-section-nav-link {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1.5px solid #e2e8f2;
  border-radius: 12px;
  text-decoration: none;
  background: #fff;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.audit-section-nav-link:hover {
  transform: translateX(3px);
  border-color: #cfd9ed;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
}
.audit-section-nav-link.is-active {
  background: linear-gradient(135deg, #273f92 0%, #3555ba 100%);
  border-color: #273f92;
  box-shadow: 0 14px 28px rgba(39, 63, 146, 0.18);
}
.audit-section-nav-link.is-active .audit-section-nav-link__order,
.audit-section-nav-link.is-active .audit-section-nav-link__title {
  color: #fff;
}
.audit-section-nav-link.is-active::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  margin-left: auto;
  flex-shrink: 0;
}
.audit-section-nav-link.is-completed:not(.is-active) {
  border-left: 3px solid #00ff5e;
}
.audit-section-nav-link.is-completed:not(.is-active) .audit-section-nav-link__order {
  color: #00ff5e;
}

.audit-section-nav-link__order {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #f1f4fa;
  color: #7a869d;
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
  transition: background 0.2s ease, color 0.2s ease;
}

.is-active .audit-section-nav-link__order,
.audit-section-nav-link.is-active .audit-section-nav-link__order {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.audit-section-nav-link__title {
  color: #22314d;
  font-size: 0.82rem;
  line-height: 1.35;
  font-weight: 500;
}

.audit-section-nav-link.is-locked {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
  background: #f1f3f7;
  color: #8a94a6;
}
.audit-section-nav-link.is-locked .audit-section-nav-link__order {
  background: #d1d5db;
  color: #6b7280;
}
.audit-section-nav-link.is-locked .audit-section-nav-link__title {
  color: #8a94a6;
}

.audit-side-progress {
  padding: 0.85rem 0.9rem;
  border-bottom: 1px solid #e5ebf5;
  background: #fafcff;
}
.audit-side-progress .audit-side-progress__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}
.audit-side-progress .audit-side-progress__label {
  font-size: 0.72rem;
  font-weight: 600;
  color: #6f7b90;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.audit-side-progress .audit-side-progress__percent {
  font-size: 0.85rem;
  font-weight: 700;
  color: #273f92;
}
.audit-side-progress .audit-side-progress__bar {
  height: 5px;
  background: #e8edf5;
  border-radius: 999px;
  overflow: hidden;
}
.audit-side-progress .audit-side-progress__bar .audit-side-progress__fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #273f92, #5b7ad6);
  transition: width 0.5s ease;
}
.audit-side-progress .audit-side-progress__text {
  font-size: 0.72rem;
  color: #6f7b90;
  margin-top: 0.35rem;
}

.audit-section-footer {
  margin-top: 0.35rem;
  border-top: 1px solid #e7edf6;
  padding-top: 1rem;
}
.audit-section-footer small {
  color: #6f7b90;
  font-size: 0.78rem;
}
.audit-section-footer .btn {
  border-radius: 10px;
  font-size: 0.85rem;
  padding: 0.5rem 1.2rem;
  transition: all 0.2s ease;
}
.audit-section-footer .btn:active {
  transform: scale(0.96);
}

.audit-section-card {
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
  border: none;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  border-radius: 8px;
}
.audit-section-card:hover:not(.history-mode) {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(39, 63, 146, 0.13) !important;
}
.audit-section-card.history-mode {
  background-color: #f8f9fa;
  border-left: 4px solid #17a2b8 !important;
}
.audit-section-card--modern {
  border: 1px solid #e5ebf5;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
  border-radius: 16px;
  overflow: hidden;
}
.audit-section-card--modern:hover:not(.history-mode) {
  border-color: #ccd7ee;
}

.audit-progress {
  height: 5px;
  border-radius: 3px;
}

.audit-card-header {
  background-color: #f8f9fa;
  border-bottom: 2px solid #e9ecef;
}

.audit-icon-btn {
  background: none;
  border: none;
  padding: 2px 4px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  transition: background 0.15s ease, opacity 0.15s ease;
  opacity: 0.75;
}
.audit-icon-btn:hover {
  background: rgba(0, 0, 0, 0.06);
  opacity: 1;
}

.question-container {
  transition: all 0.2s ease;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  background-color: #f8f9fa;
}
.question-container:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.current-answer {
  background-color: #f8f9fa !important;
  border-left: 4px solid #28a745 !important;
}

.audit-card {
  border: none;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.section-nav-item .btn {
  text-align: left;
  border-radius: 8px;
  transition: transform 0.2s ease;
}
.section-nav-item .btn:hover {
  transform: translateX(2px);
}

.audit-page-subtitle {
  font-size: 13px;
}

.audit-section-header__breadcrumb {
  margin-bottom: 0.7rem;
}

.audit-section-breadcrumb {
  font-size: 12px;
  align-items: center;
  gap: 0.55rem;
  line-height: 1.2;
}

.audit-section-breadcrumb .breadcrumb-item {
  display: inline-flex;
  align-items: center;
}

.audit-section-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  color: #475569;
  font-size: 11px;
  padding-right: 0.2rem;
}

.audit-section-breadcrumb__link,
.audit-section-breadcrumb__current {
  display: inline;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: #111827 !important;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.2;
}

.audit-section-breadcrumb__link:hover,
.audit-section-breadcrumb__link:focus {
  background: transparent !important;
  color: #111827 !important;
  text-decoration: underline;
}

.audit-section-header__title {
  margin-top: 0;
  margin-bottom: 0;
  line-height: 1.15;
}

.audit-section-header__subtitle {
  margin-top: 0.65rem !important;
  line-height: 1.3;
}

.audit-top-toolbar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.audit-top-toolbar__row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
}

.audit-top-toolbar__group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.audit-top-toolbar__group--actions {
  justify-content: flex-end;
}

.audit-toolbar-btn {
  min-height: 30px;
  padding: 0.3rem 0.7rem;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border-width: 1px;
  white-space: nowrap;
}

.audit-toolbar-btn.is-light-outline {
  border-color: #cfd7e6;
  background: #fff;
  color: #4b5565;
}
.audit-toolbar-btn.is-light-outline:hover, .audit-toolbar-btn.is-light-outline:focus {
  border-color: #b7c4dc;
  background: #f8fafc;
  color: #243046;
}

.audit-toolbar-btn.is-active-soft {
  border-color: #cfd7e6;
  background: #fff;
  color: #4b5565;
}

.audit-toolbar-btn.is-current {
  border-color: #b7dff1;
  background: #cfeaf5;
  color: #267da6;
}

.audit-toolbar-btn.is-primary-outline {
  border-color: #6f63ff;
  background: #fff;
  color: #6f63ff;
}
.audit-toolbar-btn.is-primary-outline:hover, .audit-toolbar-btn.is-primary-outline:focus {
  background: #f6f4ff;
  color: #5b4ff2;
  border-color: #5b4ff2;
}

.audit-toolbar-btn.is-success-outline {
  border-color: #22c7b8;
  background: #fff;
  color: #14a99b;
}
.audit-toolbar-btn.is-success-outline:hover, .audit-toolbar-btn.is-success-outline:focus {
  background: #effdfa;
  color: #0f8c81;
  border-color: #14a99b;
}

.audit-toolbar-btn.is-success-fill {
  border-color: #22bfa8;
  background: #22bfa8;
  color: #fff;
}
.audit-toolbar-btn.is-success-fill:hover, .audit-toolbar-btn.is-success-fill:focus {
  background: #18aa95;
  border-color: #18aa95;
  color: #fff;
}

.audit-toolbar-btn.is-warning-fill {
  border-color: #f5b13b;
  background: #f5b13b;
  color: #3f2a00;
}
.audit-toolbar-btn.is-warning-fill:hover, .audit-toolbar-btn.is-warning-fill:focus {
  background: #ec9d14;
  border-color: #ec9d14;
  color: #2d1d00;
}

.audit-toolbar-btn.is-danger-outline {
  border-color: #ef4444;
  background: #fff;
  color: #dc2626;
}
.audit-toolbar-btn.is-danger-outline:hover, .audit-toolbar-btn.is-danger-outline:focus {
  background: #fef2f2;
  border-color: #dc2626;
  color: #b91c1c;
}

.audit-version-switcher {
  border: 1px solid #e6ebf4;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}
.audit-version-switcher .card-body {
  padding: 0.85rem 1rem;
}
.audit-version-switcher .btn {
  border-radius: 999px;
  font-size: 0.78rem;
  padding: 0.35rem 0.8rem;
}

.audit-version-switcher__label {
  white-space: nowrap;
}

.audit-history-banner {
  border: 1px solid #cfe0ff;
  background: linear-gradient(135deg, #eef4ff 0%, #f8fbff 100%);
  color: #24408e;
}

.audit-section-card {
  border: 1px solid #e5ebf5;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
  border-radius: 16px;
  overflow: hidden;
}
.audit-section-card:hover:not(.history-mode) {
  border-color: #ccd7ee;
}
.audit-section-card.history-mode {
  border-left-color: #63b3c8 !important;
}

.audit-section-card__body {
  gap: 0.5rem;
}

.audit-section-card__title {
  color: #273f92;
  line-height: 1.45;
  font-size: 0.95rem;
}

.audit-section-card__description {
  font-size: 0.79rem;
  line-height: 1.55;
  min-height: 2.4em;
}

.audit-section-card__progress {
  padding-top: 0.35rem;
}

.audit-section-card__action {
  background: #273f92;
  border-color: #273f92;
  color: #fff;
  font-size: 0.82rem;
  border-radius: 10px;
  padding: 0.58rem 0.85rem;
}
.audit-section-card__action:hover, .audit-section-card__action:focus {
  background: #1f3478;
  border-color: #1f3478;
  color: #fff;
}
.audit-section-card__action--complete {
  background-color: #1abc9c !important;
  border-color: #22c55e;
  color: #fff !important;
}
.audit-section-card__action--complete:hover, .audit-section-card__action--complete:focus {
  background: #16a34a;
  border-color: #16a34a;
  color: #fff;
}

.audit-section-card__action--disabled {
  background: #6b7280;
  border-color: #6b7280;
}

.audit-section-shell {
  border-radius: 16px;
  border: 1px solid #e5ebf5;
}
.audit-section-shell .card-body {
  padding: 1.25rem;
}

.audit-section-intro {
  margin-bottom: 1.2rem;
  padding: 1rem 1.05rem;
  border: 1px solid #e5ebf5;
  border-radius: 14px;
  background: linear-gradient(135deg, #f7faff 0%, #ffffff 100%);
}

.audit-section-intro__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 0.7rem;
}

.audit-section-intro__description {
  color: #5d6b84;
  font-size: 0.9rem;
  line-height: 1.6;
}

.audit-inline-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.42rem 0.7rem;
  border-radius: 999px;
  background: #edf2ff;
  color: #31479c;
  font-size: 0.78rem;
  font-weight: 600;
}
.audit-inline-pill.is-success {
  background: #dcfce7;
  color: #00ff5e;
}
.audit-inline-pill.is-muted {
  background: #eef2f7;
  color: #52607a;
}

.audit-question-label {
  color: #273f92;
  font-size: 0.94rem;
  line-height: 1.5;
}

.audit-question-type {
  color: #7a869d;
}

.audit-question-hint {
  color: #4c61c9;
}

.audit-prompt-card {
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
  overflow: hidden;
}

.audit-prompt-card__header {
  background: linear-gradient(135deg, #273f92 0%, #3555ba 100%);
  color: #fff;
  border-radius: 16px 16px 0 0;
}

.audit-prompt-card--enhanced .audit-prompt-card__header {
  background: linear-gradient(135deg, #1a6e3c 0%, #24995a 100%);
}

.audit-prompt-card__content {
  max-height: 260px;
  overflow-y: auto;
  margin: 0;
  font-size: 11px;
  white-space: pre-wrap;
  line-height: 1.65;
  padding: 0.45rem;
  color: #23314a;
}

.audit-manage-empty-state {
  border: 1px solid #e5ebf5;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
  margin-bottom: 1rem;
}

.audit-manage-empty-state__icon {
  font-size: 2.4rem;
  color: #273f92;
  opacity: 0.55;
}

.audit-manage-card {
  border: 1px solid #e5ebf5;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
  overflow: hidden;
}

.audit-manage-card__body {
  padding: 1.2rem 1.25rem;
}

.audit-manage-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.audit-manage-card__title-wrap {
  min-width: 0;
  flex: 1;
}

.audit-manage-card__eyebrow {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
  margin-bottom: 0.6rem;
}

.audit-manage-card__title {
  color: #273f92;
  font-size: 1.02rem;
  line-height: 1.35;
}

.audit-manage-card__description {
  color: #6f7b90;
  font-size: 0.86rem;
  line-height: 1.55;
}

.audit-manage-card__actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.audit-manage-card__subheader {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.85rem;
  flex-wrap: wrap;
}

.audit-manage-card__subheader-label {
  color: #334155;
  font-size: 0.85rem;
}

.audit-manage-question-list {
  display: grid;
  gap: 0.65rem;
}

.audit-manage-question-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  padding: 0.9rem 0.95rem;
  border: 1px solid #e7edf6;
  border-radius: 12px;
  background: #f8fafc;
}

.audit-manage-question-item__content {
  min-width: 0;
  flex: 1;
}

.audit-manage-question-item__text {
  color: #243046;
  font-size: 0.9rem;
  line-height: 1.45;
  margin-bottom: 0.45rem;
}

.audit-manage-question-item__meta {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.audit-manage-question-item__actions {
  display: flex;
  gap: 0.45rem;
  flex-shrink: 0;
}

.btn-lock-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 34px;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}
.btn-lock-toggle:active, .btn-lock-toggle.is-animating {
  animation: lock-toggle-pulse 0.4s ease;
}
.btn-lock-toggle.is-animating {
  pointer-events: none;
  opacity: 0.75;
}
.btn-lock-toggle .btn-lock-toggle__icon,
.btn-lock-toggle .btn-lock-toggle__spinner {
  width: 0.95rem;
  height: 0.95rem;
  flex-shrink: 0;
}
.btn-lock-toggle .btn-lock-toggle__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}
.btn-lock-toggle .btn-lock-toggle__label {
  line-height: 1.1;
}
.btn-lock-toggle:hover .btn-lock-toggle__icon {
  transform: rotate(-8deg);
}

.audit-modal-modern .modal-content {
  border: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}
.audit-modal-modern .modal-header {
  border: 0;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(135deg, #1a2a6c 0%, #273f92 50%, #3555ba 100%) !important;
  color: #fff !important;
}
.audit-modal-modern .modal-header .modal-title,
.audit-modal-modern .modal-header .modal-title i,
.audit-modal-modern .modal-header .btn-close,
.audit-modal-modern .modal-header .btn-close-white,
.audit-modal-modern .modal-header *:not(.btn-close) {
  color: #fff !important;
}
.audit-modal-modern .modal-body {
  padding: 1.5rem;
}
.audit-modal-modern .modal-footer {
  border: 0;
  padding: 0 1.5rem 1.25rem 1.5rem;
}

.audit-modal-modern__label {
  font-size: 0.85rem;
  color: #1e293b;
}

.audit-modal-modern__label-note {
  font-weight: 400;
  color: #94a3b8;
}

.audit-modal-modern__control {
  border-radius: 10px;
  border: 1.5px solid #e2e8f0;
  padding: 0.55rem 0.85rem;
  font-size: 0.9rem;
  resize: vertical;
}
.audit-modal-modern__control:focus {
  border-color: #273f92;
  box-shadow: 0 0 0 3px rgba(39, 63, 146, 0.12);
}

.audit-modal-modern__btn {
  border-radius: 10px;
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
  transition: all 0.2s ease;
}

.audit-modal-modern__btn--ghost {
  border: 1.5px solid #e2e8f0;
  background: #fff;
  color: #475569;
}
.audit-modal-modern__btn--ghost:hover, .audit-modal-modern__btn--ghost:focus {
  border-color: #cbd5e1;
  background: #f8fafc;
  color: #334155;
}

.audit-modal-modern__btn--outline-primary {
  border: 1.5px solid #273f92;
  background: #fff;
  color: #273f92;
}
.audit-modal-modern__btn--outline-primary:hover, .audit-modal-modern__btn--outline-primary:focus {
  border-color: #1f3478;
  background: #eff3ff;
  color: #1f3478;
}

.audit-modal-modern__btn--primary {
  border: 0;
  background: linear-gradient(135deg, #273f92, #3555ba) !important;
  color: #fff !important;
}
.audit-modal-modern__btn--primary:hover, .audit-modal-modern__btn--primary:focus {
  background: linear-gradient(135deg, #1f3478, #273f92) !important;
  color: #fff !important;
}

.audit-modal-modern__notice,
.audit-modal-modern__result {
  background: #eef4ff !important;
  border: 1px solid #cfe0ff !important;
}

.audit-modal-modern__notice-icon,
.audit-modal-modern__result-icon,
.audit-modal-modern__icon-badge-icon {
  color: #273f92 !important;
}

.audit-modal-modern__notice-text,
.audit-modal-modern__result-text {
  color: #24408e !important;
  line-height: 1.4;
}

.audit-modal-modern__icon-badge {
  width: 44px;
  height: 44px;
  background: #eef4ff !important;
}

.audit-modal-modern__text-strong {
  color: #1e293b;
  font-size: 0.95rem;
}

.audit-modal-modern__text-muted {
  color: #64748b;
  font-size: 0.85rem;
  line-height: 1.5;
}

.audit-modal-modern__text-name {
  color: #0f172a;
}

.audit-modal-modern__result-box {
  max-height: 500px;
  overflow-y: auto;
  font-size: 13px;
  background: #f8fafc;
  padding: 1rem;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  color: #1e293b;
  margin: 0;
  white-space: pre-wrap;
}

.audit-modal-modern__result-box--plain {
  padding: 0;
  max-height: none;
  background: transparent;
  border: 0;
}

@keyframes lock-toggle-pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.07);
  }
  100% {
    transform: scale(1);
  }
}
#webSearchModal .modal-header,
#webSearchModal #btnWebGenerate {
  background: linear-gradient(135deg, #1a2a6c 0%, #273f92 50%, #3555ba 100%) !important;
  color: #fff !important;
}
#webSearchModal #webLoading .spinner-border {
  color: #273f92 !important;
}
#webSearchModal #webResult > div {
  background: #eef4ff !important;
  border: 1px solid #cfe0ff !important;
}
#webSearchModal #webResult > div i,
#webSearchModal #webResult > div small {
  color: #273f92 !important;
}
#webSearchModal #webResultText {
  background: #f8fafc !important;
  border-color: #e2e8f0 !important;
  color: #1e293b !important;
}

#deleteVersionModal .modal-header,
#deleteVersionModal #btnConfirmDeleteVersion,
#deleteVersionModal .rounded-circle,
#deleteVersionModal .rounded-3.mt-3 {
  background: linear-gradient(135deg, #1a2a6c 0%, #273f92 50%, #3555ba 100%) !important;
  color: #fff !important;
}
#deleteVersionModal .rounded-circle i,
#deleteVersionModal .rounded-3.mt-3 i,
#deleteVersionModal .rounded-3.mt-3 small {
  color: #fff !important;
}

@media (max-width: 991px) {
  .audit-top-toolbar__row,
  .audit-top-toolbar__group,
  .audit-top-toolbar__group--actions {
    width: 100%;
  }
  .audit-top-toolbar__group--actions {
    justify-content: flex-start;
  }
  .audit-toolbar-btn {
    width: 100%;
  }
  .audit-section-shell .card-body {
    padding: 1rem;
  }
  .audit-section-intro {
    padding: 0.85rem;
  }
  .audit-current-answer {
    flex-direction: column;
    align-items: stretch !important;
  }
  .audit-current-answer__actions {
    align-self: flex-start;
  }
  .audit-section-footer {
    flex-direction: column;
    align-items: stretch !important;
    gap: 0.8rem;
  }
  .audit-side-card {
    border: 1px solid #e5ebf5;
    border-radius: 14px;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.04);
  }
  .audit-side-card .card-body {
    padding: 1rem;
  }
  .audit-side-card .audit-section-nav-link {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.6rem 0.85rem;
    border-radius: 10px;
    text-decoration: none;
    color: #243046;
    font-size: 0.82rem;
    transition: all 0.2s ease;
    position: relative;
  }
  .audit-side-card .audit-section-nav-link:hover {
    background: #eef3fc;
    color: #273f92;
  }
  .audit-side-card .audit-section-nav-link.is-active {
    background: linear-gradient(135deg, #273f92 0%, #3555ba 100%);
    color: #fff;
    box-shadow: 0 3px 10px rgba(39, 63, 146, 0.25);
  }
  .audit-side-card .audit-section-nav-link.is-active .audit-section-nav-link__order {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
  }
  .audit-side-card .audit-section-nav-link.is-completed:not(.is-active) {
    border-left: 3px solid #00ff5e;
  }
  .audit-side-card .audit-section-nav-link::after {
    content: "";
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: transparent;
    transition: background 0.2s ease;
  }
  .is-active .audit-side-card .audit-section-nav-link::after {
    background: rgba(255, 255, 255, 0.6);
  }
  .audit-side-card .audit-section-nav-link__order {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #e8edf5;
    color: #52607a;
    font-size: 0.68rem;
    font-weight: 700;
    flex-shrink: 0;
    transition: all 0.2s ease;
  }
  .audit-side-card .audit-section-nav-link__title {
    font-weight: 500;
    line-height: 1.35;
  }
  @keyframes lock-toggle-pulse {
    0% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.07);
    }
    100% {
      transform: scale(1);
    }
  }
  .btn-lock-toggle {
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
  }
  .btn-lock-toggle:active, .btn-lock-toggle.is-animating {
    animation: lock-toggle-pulse 0.4s ease;
  }
  .btn-lock-toggle.is-animating {
    pointer-events: none;
    opacity: 0.75;
  }
  .btn-lock-toggle i {
    transition: transform 0.3s ease;
    display: inline-block;
  }
  .btn-lock-toggle:hover i {
    transform: rotate(-8deg);
  }
  .audit-breadcrumb-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    background: #edf2ff;
    color: #273f92 !important;
    font-weight: 600;
    font-size: 0.8rem;
    text-decoration: none;
    transition: all 0.2s ease;
  }
  .audit-breadcrumb-link:hover {
    background: #d6e2ff;
    color: #1a2d6f !important;
    transform: translateY(-1px);
  }
  .audit-modal-modern .modal-content {
    border: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  }
  .audit-modal-modern .modal-header {
    border: 0;
    padding: 1.25rem 1.5rem;
  }
  .audit-modal-modern .modal-body {
    padding: 1.5rem;
  }
  .audit-modal-modern .modal-footer {
    border: 0;
    padding: 0 1.5rem 1.25rem 1.5rem;
  }
  .audit-section-footer .d-flex.gap-2 {
    width: 100%;
    flex-direction: column;
  }
  .audit-side-card {
    border-radius: 14px;
  }
  .audit-section-nav-link {
    padding: 0.75rem 0.8rem;
  }
  .audit-side-progress {
    padding: 0.7rem 0.8rem;
  }
  .audit-manage-card__body {
    padding: 1rem;
  }
  .audit-manage-card__header,
  .audit-manage-card__subheader,
  .audit-manage-question-item {
    flex-direction: column;
    align-items: stretch;
  }
  .audit-manage-card__actions,
  .audit-manage-question-item__actions {
    width: 100%;
  }
  .audit-manage-card__actions .audit-toolbar-btn,
  .audit-manage-question-item__actions .audit-toolbar-btn,
  .audit-manage-card__subheader .audit-toolbar-btn {
    width: 100%;
  }
}
#company_logo_header {
  max-height: 50px;
  width: auto;
}

.d-menu-toggle {
  display: none;
}
@media (max-width: 980px) {
  .d-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

.header-nav-card a {
  font-size: 14px;
  padding: 8px 45px;
  background-color: #273F92;
  color: white;
  border-radius: 5px;
}
.header-nav-card a:hover {
  color: white;
  background-color: #1a41cd;
}

.header-nav-card button {
  font-size: 14px;
  padding: 8px 45px;
  background-color: #273F92;
  color: white;
  border-radius: 5px;
}
.header-nav-card button:hover {
  color: white;
  background-color: #1a41cd;
}

.btn.btn-primary {
  background-color: #273F92;
}
.btn.btn-primary:hover {
  color: white;
  background-color: #1a41cd;
}

.modal-btn {
  width: 100%;
  margin: 5px auto;
}

#qr-code img, #universal-qr img {
  max-width: 230px;
  width: 100%;
  margin: 0 auto;
}

.card-person-title {
  margin-top: 0;
  margin-bottom: 1rem;
  color: #3f51a2;
  font-weight: 400;
  font-size: 1.8rem;
}

.card-person-title-line {
  height: 2px;
  background: linear-gradient(to right, rgb(63, 81, 162) 0%, rgba(63, 81, 162, 0.15) 100%);
  margin-bottom: 1.5rem;
  width: 100%;
}

.btn-outline-primary {
  border-color: #273F92;
  color: black;
}

.btn-check:checked + .btn-outline-primary {
  background-color: #273F92;
  border-color: #0d6efd;
  color: white;
}

.card-qr-header .qr-header-icon {
  flex-shrink: 0;
}
.card-qr-header h4 {
  display: flex;
  align-items: center;
  min-height: 32px;
  line-height: 1.1;
}

.header-nav-card {
  min-height: 68px;
}
.header-nav-card .header-title {
  font-weight: 700;
  font-size: 22px;
  display: flex;
  align-items: center;
  color: #2f4aa0;
}

.nfc-header-card {
  border: 0;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
  margin-bottom: 18px;
}
.nfc-header-card .card-body {
  padding: 1.1rem 1.2rem;
}
.nfc-header-card .header-title {
  font-weight: 700;
  font-size: 22px;
  display: flex;
  align-items: center;
  color: #2f4aa0;
}

.nfc-header-btn {
  font-size: 0.82rem;
  padding: 0.42rem 0.9rem;
  font-weight: 600;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.nfc-table-card {
  border: 0;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}
.nfc-table-card .card-body {
  padding: 1.1rem 1.2rem;
  overflow: visible;
}

.nfc-table-responsive {
  border-radius: 10px;
  overflow: hidden;
}

.nfc-table {
  margin-bottom: 0;
  border-collapse: separate;
  border-spacing: 0;
}
.nfc-table thead th {
  font-size: 0.73rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #8a94a6;
  font-weight: 700;
  border-top: 0;
  border-bottom: 1px solid #edf1f7;
  padding: 0 12px 14px;
  white-space: nowrap;
}
.nfc-table tbody tr {
  transition: background 0.15s ease;
}
.nfc-table tbody tr:hover {
  background: #fafcff;
}
.nfc-table tbody tr td {
  padding: 16px 12px;
  border-bottom: 1px solid #edf1f7;
  border-top: 0;
  vertical-align: middle;
  font-size: 0.94rem;
  overflow: visible;
}

.company-avatar {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  flex-shrink: 0;
}
.company-avatar i {
  font-size: 16px;
}

.company-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 84px;
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
}
.company-status.is-active {
  background: #dcfce7;
  color: #15803d;
}
.company-status.is-inactive {
  background: #fee2e2;
  color: #b91c1c;
}

.company-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.specialist-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.nfc-icon-btn {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e5e7eb;
  color: #4b5563;
  background: #fff;
  transition: all 0.15s ease;
}
.nfc-icon-btn:hover {
  color: #111827;
  border-color: #d1d5db;
  background: #f9fafb;
}
.nfc-icon-btn.is-danger {
  color: #dc2626;
}
.nfc-icon-btn.is-danger:hover {
  background: #fef2f2;
  border-color: #fecaca;
}
.nfc-icon-btn.text-warning {
  color: #f59e42;
  border-color: #fbbf24;
}
.nfc-icon-btn.text-warning:hover {
  background: #fef3c7;
  border-color: #f59e0b;
}

.nfc-action-pill {
  font-size: 0.8rem;
  padding: 0.35rem 0.72rem;
  border-radius: 999px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-lg.nfc-action-pill {
  font-size: 14px;
  padding: 5px 20px;
  border-radius: 999px;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.company-enter-btn {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d9dfeb;
  background: #fff;
  color: #4c61c9;
  padding: 0;
  text-decoration: none;
  transition: all 0.15s ease;
}
.company-enter-btn i {
  font-size: 1.15rem;
  line-height: 1;
}
.company-enter-btn:hover, .company-enter-btn:focus {
  border-color: #c6d1f3;
  background: #f4f7ff;
  color: #2f4aa0;
  box-shadow: none;
  text-decoration: none;
}

.badge.bg-info {
  background-color: #dbeafe !important;
  color: #0c4a6e;
  font-size: 0.75rem;
  padding: 0.35rem 0.6rem;
  font-weight: 600;
  border-radius: 999px;
}

.modal-header {
  background-color: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
  padding: 1rem;
}
.modal-header .modal-title {
  font-size: 1rem;
  font-weight: 600;
  color: #1f2937;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-body {
  padding: 1.5rem;
}

.modal-footer {
  border-top: 1px solid #e5e7eb;
  padding: 1rem;
  background-color: #f9fafb;
}

.form-label {
  font-weight: 500;
  color: #374151;
  font-size: 0.88rem;
  margin-bottom: 0.5rem;
}

.form-control,
.form-select {
  border-radius: 8px;
  border-color: #e5e7eb;
  font-size: 0.88rem;
}
.form-control:focus,
.form-select:focus {
  border-color: #bfd0ff;
  box-shadow: 0 0 0 3px rgba(76, 97, 201, 0.1);
}

#accessModal .select2-container {
  width: 100% !important;
}
#accessModal .select2-container--bootstrap-5 .select2-selection--multiple {
  min-height: 40px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 4px 6px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  background: #fff;
  cursor: text;
}
#accessModal .select2-container--bootstrap-5 .select2-selection--multiple:focus-within {
  border-color: #bfd0ff;
  box-shadow: 0 0 0 3px rgba(76, 97, 201, 0.1);
}
#accessModal .select2-container--bootstrap-5 .select2-selection__rendered {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 0;
  margin: 0;
}
#accessModal .select2-container--bootstrap-5 .select2-selection__choice {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #eef2ff;
  color: #3730a3;
  border: 1px solid #c7d2fe;
  border-radius: 6px;
  padding: 2px 8px;
  font-size: 0.8rem;
  font-weight: 500;
  white-space: nowrap;
  margin: 0;
}
#accessModal .select2-container--bootstrap-5 .select2-selection__choice__remove {
  color: #6366f1;
  font-size: 1rem;
  line-height: 1;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  order: -1;
}
#accessModal .select2-container--bootstrap-5 .select2-selection__choice__remove:hover {
  color: #4338ca;
}
#accessModal .select2-container--bootstrap-5 .select2-selection__choice__remove span {
  font-size: 0.9rem;
}
#accessModal .select2-container--bootstrap-5 .select2-selection__choice__display {
  font-size: 0.8rem;
}
#accessModal .select2-container--bootstrap-5 .select2-search__field {
  font-size: 0.85rem;
  margin: 0;
  padding: 0 2px;
  min-width: 120px;
}
#accessModal .select2-container--bootstrap-5 .select2-dropdown {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  font-size: 0.88rem;
}
#accessModal .select2-container--bootstrap-5 .select2-results__option {
  padding: 7px 12px;
  border-radius: 4px;
  color: #374151;
}
#accessModal .select2-container--bootstrap-5 .select2-results__option--highlighted {
  background: #eef2ff;
  color: #3730a3;
}
#accessModal .select2-container--bootstrap-5 .select2-results__option--selected {
  background: #f5f3ff;
  color: #4338ca;
  font-weight: 500;
}
#accessModal .select2-container--bootstrap-5 .select2-results__option--selected::before {
  content: "✓ ";
  font-size: 0.85em;
}

.module-section {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 10px;
}
.module-section .module-section-title {
  font-size: 0.73rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #8a94a6;
  margin-bottom: 8px;
}

@media (max-width: 768px) {
  .nfc-header-card .card-body {
    flex-direction: column;
    align-items: stretch !important;
    gap: 1rem;
    padding: 1rem;
  }
  .nfc-header-card .header-title {
    font-size: 1.2rem;
    line-height: 1.3;
  }
  .nfc-header-actions {
    width: 100%;
    flex-direction: column;
  }
  .nfc-header-actions .btn,
  .nfc-header-actions .nfc-header-btn {
    width: 100%;
    justify-content: center;
  }
  .nfc-table-card .card-body {
    padding: 1rem;
  }
  .nfc-table-responsive {
    overflow: visible;
  }
  .nfc-table {
    min-width: 0;
  }
  .nfc-table thead {
    display: none;
  }
  .nfc-table tbody {
    display: grid;
    gap: 12px;
  }
  .nfc-table tbody tr {
    display: block;
    border: 1px solid #e6ebf5;
    border-radius: 16px;
    padding: 0.35rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
  }
  .nfc-table tbody tr:hover {
    background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
  }
  .nfc-table tbody td {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    padding: 0.8rem 1rem !important;
    border-bottom: 1px solid #eef2f7;
    text-align: right;
    font-size: 0.9rem;
  }
  .nfc-table tbody td::before {
    content: attr(data-label);
    flex: 0 0 42%;
    max-width: 42%;
    text-align: left;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #8a94a6;
  }
  .nfc-table tbody td:last-child {
    border-bottom: 0;
  }
  .nfc-table td[data-label=Ikona] {
    align-items: center;
  }
  .nfc-table td[data-label=Ikona]::before {
    align-self: center;
  }
  .nfc-table td[data-label=Akce] {
    display: block;
    text-align: left;
  }
  .nfc-table td[data-label=Akce]::before {
    display: block;
    max-width: none;
    margin-bottom: 0.75rem;
  }
  .company-avatar {
    width: 42px;
    height: 42px;
  }
  .company-status,
  .badge.bg-info {
    margin-left: auto;
  }
  .company-actions,
  .specialist-actions {
    width: 100%;
    justify-content: flex-start;
  }
  .company-actions .nfc-icon-btn,
  .company-actions .company-enter-btn {
    width: 40px;
    height: 40px;
  }
  .company-actions {
    gap: 10px;
  }
  .specialist-actions {
    flex-direction: column;
  }
  .specialist-actions .btn {
    width: 100%;
    margin-left: 0 !important;
    justify-content: center;
  }
  .specialist-summary {
    display: block;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .nfc-table td > .d-flex {
    min-width: 0;
    flex-wrap: wrap;
  }
  .nfc-table td strong,
  .nfc-table td .text-muted {
    overflow-wrap: anywhere;
  }
  .nfc-action-pill {
    width: 100%;
    justify-content: center;
  }
  .modal-body,
  .modal-footer,
  .modal-header {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .module-section {
    padding: 12px;
  }
}
.promo-empty-icon {
  width: 72px;
  height: 72px;
  background: #f1f5f9;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.promo-empty-icon i {
  font-size: 2rem;
  color: #94a3b8;
}

.promo-back-btn {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e5e7eb;
  color: #4b5563;
  background: #fff;
  text-decoration: none;
  flex-shrink: 0;
  transition: all 0.15s ease;
}
.promo-back-btn:hover {
  background: #f9fafb;
  border-color: #d1d5db;
  color: #111827;
}

.promo-country-card {
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.promo-country-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
  border-color: #c7d2fe;
  color: inherit;
  text-decoration: none;
}

.promo-country-flag {
  font-size: 2.4rem;
  line-height: 1;
}

.promo-country-flag-sm {
  font-size: 1.2rem;
  line-height: 1;
}

.promo-count-badge {
  background: #eef2ff;
  color: #273F92;
  font-size: 0.73rem;
  font-weight: 600;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
}

.promo-country-stats {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  min-height: 1.4rem;
}

.promo-stat-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.promo-stat-dot.is-live {
  background: #22c55e;
}
.promo-stat-dot.is-prep {
  background: #f59e0b;
}

.promo-campaign-card {
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.promo-campaign-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.09);
}
.promo-campaign-card--wide .card-body {
  padding: 1.15rem 1.15rem 1rem;
}

.promo-card-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.4;
}

.promo-campaign-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.promo-meta-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: #64748b;
}
.promo-meta-row i {
  font-size: 0.9rem;
  flex-shrink: 0;
  color: #94a3b8;
}

.promo-networks {
  font-size: 0.78rem;
  text-transform: capitalize;
}

.promo-campaign-meta--wide {
  gap: 10px;
}

.promo-campaign-footer {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.actions-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.promo-report-btn {
  white-space: nowrap;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 600;
}

.promo-dots-btn {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  border-radius: 6px;
  color: #9ca3af;
  cursor: pointer;
  transition: all 0.15s ease;
}
.promo-dots-btn:hover {
  background: #f3f4f6;
  color: #374151;
}

.promo-section-card {
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.promo-card-action-btn {
  background: #273F92;
  border-color: #273F92;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: 10px;
  transition: all 0.15s ease;
}
.promo-card-action-btn:hover {
  background: rgb(30.3989189189, 49.1059459459, 113.8010810811);
  border-color: rgb(30.3989189189, 49.1059459459, 113.8010810811);
  color: #fff;
}
.promo-card-action-btn:disabled {
  background: #e2e8f0;
  border-color: #e2e8f0;
  color: #94a3b8;
  cursor: not-allowed;
}

.promo-status-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}
.promo-status-badge--sm {
  padding: 0.2rem 0.55rem;
  font-size: 0.7rem;
}
.promo-status-badge--lg {
  padding: 0.4rem 0.9rem;
  font-size: 0.82rem;
}
.promo-status-badge.is-gray {
  background: #f1f5f9;
  color: #64748b;
}
.promo-status-badge.is-amber {
  background: #fef3c7;
  color: #92400e;
}
.promo-status-badge.is-blue {
  background: #dbeafe;
  color: #1e40af;
}
.promo-status-badge.is-indigo {
  background: #eef2ff;
  color: #3730a3;
}
.promo-status-badge.is-green {
  background: #dcfce7;
  color: #15803d;
}
.promo-status-badge.is-dark {
  background: #1f2937;
  color: #f9fafb;
}
.promo-status-badge.is-purple {
  background: #f3e8ff;
  color: #6b21a8;
}

.promo-country-overview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.promo-overview-card {
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
  padding: 16px 18px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}
.promo-overview-card.is-draft {
  border-color: #fcd34d;
}
.promo-overview-card.is-live {
  border-color: #86efac;
}
.promo-overview-card.is-done {
  border-color: #cbd5e1;
}

.promo-overview-label {
  font-size: 0.73rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #94a3b8;
}

.promo-overview-value {
  font-size: 1.9rem;
  font-weight: 700;
  color: #0f172a;
  margin-top: 8px;
  line-height: 1;
}

.promo-overview-note {
  font-size: 0.8rem;
  color: #64748b;
  margin-top: 8px;
}

.promo-group {
  border-radius: 18px;
}

.promo-group-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.promo-group-empty {
  min-height: 100px;
  border: 1px dashed #cbd5e1;
  border-radius: 14px;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #94a3b8;
}
.promo-group-empty i {
  font-size: 1.2rem;
}

.promo-form-section-title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #8a94a6;
  margin-bottom: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
}

.promo-detail-label {
  font-size: 0.73rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94a3b8;
  margin-bottom: 0.25rem;
}

.promo-hint-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  margin-left: 4px;
  border: none;
  border-radius: 999px;
  background: #eef2ff;
  color: #4f46e5;
  cursor: pointer;
  vertical-align: middle;
  padding: 0;
  transition: background 0.15s ease, color 0.15s ease;
}
.promo-hint-btn i {
  font-size: 0.8rem;
  line-height: 1;
}
.promo-hint-btn:hover {
  background: #c7d2fe;
  color: #312e81;
}

.promo-detail-value {
  font-size: 0.92rem;
  font-weight: 500;
  color: #1e293b;
}

.promo-budget-summary {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
  font-size: 0.78rem;
  color: #475569;
}
.promo-budget-summary--compact {
  min-height: 42px;
}
.promo-budget-summary.is-muted {
  background: #f8fafc;
  color: #64748b;
}
.promo-budget-summary.is-ok {
  border-color: #cbd5e1;
  color: #1e293b;
}
.promo-budget-summary.is-over {
  border-color: #fecaca;
  background: #fff7f7;
  color: #b91c1c;
}

.promo-budget-inline-note {
  margin-top: 8px;
  font-size: 0.75rem;
  color: #64748b;
}
.promo-budget-inline-note.is-muted {
  color: #94a3b8;
}
.promo-budget-inline-note.is-ok {
  color: #475569;
}
.promo-budget-inline-note.is-over {
  color: #b91c1c;
  font-weight: 600;
}

.promo-contact-link {
  font-size: 0.82rem;
  color: #273F92;
  text-decoration: none;
  display: block;
}
.promo-contact-link:hover {
  text-decoration: underline;
}

.promo-contact-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.promo-contact-card {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 10px 12px;
  background: #f8fafc;
}

.promo-contact-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.promo-contact-flag {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  background: #eef2ff;
  color: #3730a3;
  font-size: 0.68rem;
  font-weight: 600;
}

.promo-section-progress {
  padding-top: 0.25rem;
}

.promo-progress {
  height: 6px;
  border-radius: 999px;
  background: #e2e8f0;
}

.promo-network-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.promo-network-tag {
  background: #eef2ff;
  color: #3730a3;
  border: 1px solid #c7d2fe;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.2rem 0.6rem;
}

.promo-chat-fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #273F92;
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(39, 63, 146, 0.35);
  z-index: 1060;
  transition: transform 0.2s ease, background 0.15s ease;
}
.promo-chat-fab i {
  font-size: 1.4rem;
}
.promo-chat-fab:hover {
  transform: scale(1.08);
}
.promo-chat-fab.is-active {
  background: #1a2d6b;
}

.promo-chat-panel {
  position: fixed;
  bottom: 96px;
  right: 28px;
  width: min(720px, 100vw - 48px);
  height: min(78vh, 860px);
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.18);
  z-index: 1059;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(16px) scale(0.97);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.promo-chat-panel.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
@media (max-width: 500px) {
  .promo-chat-panel {
    width: calc(100vw - 32px);
    right: 16px;
    bottom: 84px;
    height: min(72vh, 760px);
  }
}

.promo-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: #273F92;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  flex-shrink: 0;
  border-radius: 18px 18px 0 0;
}

.promo-chat-close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  padding: 2px 4px;
  border-radius: 6px;
  transition: color 0.15s ease;
  line-height: 1;
}
.promo-chat-close:hover {
  color: #fff;
}
.promo-chat-close i {
  font-size: 1.1rem;
}

.promo-chat-thread {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  scroll-behavior: smooth;
}

.promo-chat-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #94a3b8;
  text-align: center;
  padding: 24px 16px;
  flex: 1;
  font-size: 0.83rem;
}
.promo-chat-empty i {
  font-size: 2rem;
}

.promo-chat-msg {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.promo-chat-msg--internal .promo-chat-bubble {
  background: #eef2ff;
  border: 1.5px dashed #818cf8;
  color: #3730a3;
}

.promo-chat-msg-meta {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.7rem;
  color: #94a3b8;
}

.promo-chat-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.58rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.promo-chat-author {
  font-weight: 600;
  color: #374151;
  font-size: 0.78rem;
}

.promo-chat-role-tag {
  background: #eef2ff;
  color: #3730a3;
  border: 1px solid #c7d2fe;
  border-radius: 4px;
  font-size: 0.6rem;
  font-weight: 700;
  padding: 1px 5px;
}
.promo-chat-role-tag.is-spec {
  background: #f0fdf4;
  color: #166534;
  border-color: #bbf7d0;
}

.promo-chat-internal-tag {
  color: #818cf8;
  font-size: 0.7rem;
}
.promo-chat-internal-tag i {
  font-size: 0.7rem;
}

.promo-chat-time {
  font-size: 0.65rem;
  color: #cbd5e1;
}

.promo-chat-bubble {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 0 12px 12px 12px;
  padding: 10px 14px;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #1e293b;
  word-break: break-word;
}

.promo-chat-compose {
  border-top: 1px solid #e5e7eb;
  padding: 14px 16px 16px;
  flex-shrink: 0;
  background: #fff;
}

.promo-chat-textarea {
  width: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 0.9rem;
  resize: none;
  outline: none;
  transition: border-color 0.15s ease;
  font-family: inherit;
  min-height: 84px;
}
.promo-chat-textarea.is-internal {
  border-color: #818cf8;
  border-style: dashed;
  background: #f5f3ff;
}

.promo-chat-compose-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
}

.promo-chat-internal-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 4px 10px;
  font-size: 0.72rem;
  color: #94a3b8;
  cursor: pointer;
  transition: all 0.15s ease;
}
.promo-chat-internal-btn i {
  font-size: 0.8rem;
}
.promo-chat-internal-btn:hover {
  border-color: #818cf8;
  color: #6366f1;
}
.promo-chat-internal-btn.is-active {
  background: #eef2ff;
  border-color: #818cf8;
  color: #3730a3;
}

.promo-detail-shell {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.promo-detail-hero-card,
.promo-detail-side-card,
.promo-overview-card-panel,
.promo-contacts-panel {
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.promo-detail-hero-card {
  background: linear-gradient(135deg, #fff 0%, #f8fbff 52%, #eef4ff 100%);
}

.promo-detail-hero-top,
.promo-section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.promo-detail-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
  margin-bottom: 6px;
}

.promo-detail-hero-title,
.promo-detail-section-title {
  color: #0f172a;
}

.promo-detail-hero-text {
  color: #475569;
  max-width: 680px;
}

.promo-detail-next-step {
  min-width: 240px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(199, 210, 254, 0.9);
}

.promo-detail-stats,
.promo-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.promo-detail-stats {
  margin-top: 18px;
}

.promo-summary-tile,
.promo-info-card,
.promo-inline-panel {
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
  padding: 14px 16px;
}

.promo-summary-tile-label {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: #94a3b8;
}

.promo-summary-tile-value {
  display: block;
  margin-top: 8px;
  color: #0f172a;
  font-size: 1.35rem;
  line-height: 1.2;
}

.promo-summary-tile-note {
  display: block;
  margin-top: 6px;
  color: #64748b;
  font-size: 0.78rem;
}

.promo-jump-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.promo-jump-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  background: #fff;
  color: #1e293b;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  transition: all 0.15s ease;
}
.promo-jump-chip:hover {
  color: #0f172a;
  border-color: #94a3b8;
  background: #f8fafc;
}

button.promo-jump-chip {
  cursor: pointer;
}

.promo-action-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.promo-action-primary,
.promo-action-secondary {
  width: 100%;
  min-height: 44px;
  border-radius: 12px;
  font-weight: 600;
}

.promo-action-primary {
  background: #273F92;
  border: 1px solid #273F92;
  color: #fff;
}
.promo-action-primary:hover {
  color: #fff;
  background: rgb(30.3989189189, 49.1059459459, 113.8010810811);
  border-color: rgb(30.3989189189, 49.1059459459, 113.8010810811);
}

.promo-action-secondary {
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #334155;
}
.promo-action-secondary:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
  color: #0f172a;
}

.promo-info-card--wide {
  grid-column: 1/-1;
}

.promo-section-shell {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.promo-section-heading--compact {
  margin-bottom: 18px;
}

.promo-section-card--interactive {
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.promo-section-card--interactive:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  border-color: #c7d2fe;
}

@media (max-width: 991px) {
  .promo-detail-stats,
  .promo-info-grid {
    grid-template-columns: 1fr;
  }
}
.promo-chat-send-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #273F92;
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease;
  flex-shrink: 0;
}
.promo-chat-send-btn i {
  font-size: 0.95rem;
}
.promo-chat-send-btn:hover {
  background: rgb(30.3989189189, 49.1059459459, 113.8010810811);
}
.promo-chat-send-btn:disabled {
  background: #e2e8f0;
  cursor: not-allowed;
}

.promo-chat-error {
  font-size: 0.72rem;
  color: #dc2626;
  margin-top: 4px;
}

.promo-net-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
}

.promo-net-list-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #fff;
  transition: background 0.12s ease;
}
.promo-net-list-row + .promo-net-list-row {
  border-top: 1px solid #e5e7eb;
}
.promo-net-list-row:hover {
  background: #f8fafc;
}

.promo-net-list-name {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 160px;
  flex-shrink: 0;
}

.promo-net-list-meta {
  flex: 1;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 0;
  min-width: 0;
}

.promo-net-list-action {
  flex-shrink: 0;
  margin-left: auto;
}

.header-nav-card .btn-primary:active, .header-nav-card .btn-primary.active,
.header-nav-card .btn-outline-primary:active,
.header-nav-card .btn-outline-primary.active,
.header-nav-card .btn-outline-secondary:active,
.header-nav-card .btn-outline-secondary.active,
.header-nav-card .btn-success:active,
.header-nav-card .btn-success.active,
.promo-net-list-action .btn-outline-primary:active,
.promo-net-list-action .btn-outline-primary.active {
  transform: none;
}

.header-nav-card .btn-success:active, .header-nav-card .btn-success.active {
  background: #198754;
  border-color: #198754;
}

.header-nav-card .btn-outline-primary:active, .header-nav-card .btn-outline-primary.active,
.promo-net-list-action .btn-outline-primary:active,
.promo-net-list-action .btn-outline-primary.active {
  background: transparent;
  border-color: rgba(39, 63, 146, 0.4);
  color: #273F92;
}

.promo-net-modal-tabs {
  border-bottom: 2px solid #e5e7eb;
  gap: 2px;
}
.promo-net-modal-tabs .nav-link {
  color: #64748b;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid transparent;
  border-bottom: none;
  border-radius: 8px 8px 0 0;
  padding: 0.5rem 1.1rem;
  transition: all 0.15s ease;
  background: transparent;
}
.promo-net-modal-tabs .nav-link:hover:not(.active) {
  background: #f8fafc;
  color: #1e293b;
}
.promo-net-modal-tabs .nav-link.active {
  background: #fff;
  color: #273F92;
  border-color: #e5e7eb;
  border-bottom-color: #fff;
  margin-bottom: -2px;
}

.promo-net-pane {
  padding-top: 1.25rem;
}

.promo-contact-editor-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 10px;
}

.pce-user-select {
  display: none;
}

#editBasicModal .pce-user-select + .select2-container {
  margin-top: 8px;
}
#editBasicModal .select2-container--default .select2-selection--single {
  height: 38px;
  border: 1px dashed #e5e7eb;
  border-radius: 10px;
  background: #f8fafc;
  display: flex;
  align-items: center;
  transition: border-color 0.15s, background 0.15s;
}
#editBasicModal .select2-container--default .select2-selection--single:hover {
  border-color: #273F92;
  background: #eef2ff;
}
#editBasicModal .select2-container--default.select2-container--focus .select2-selection--single,
#editBasicModal .select2-container--default.select2-container--open .select2-selection--single {
  border-color: #273F92;
  background: #eef2ff;
  outline: none;
  box-shadow: 0 0 0 3px rgba(39, 63, 146, 0.08);
}
#editBasicModal .select2-container--default .select2-selection--single .select2-selection__rendered {
  color: #64748b;
  font-size: 0.82rem;
  font-weight: 500;
  padding-left: 12px;
  line-height: 36px;
}
#editBasicModal .select2-container--default .select2-selection--single .select2-selection__placeholder {
  color: #94a3b8;
}
#editBasicModal .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 36px;
  right: 8px;
}
#editBasicModal .select2-container--default .select2-selection--single .select2-selection__arrow b {
  border-color: #94a3b8 transparent transparent transparent;
}
#editBasicModal .select2-container--default .select2-selection--single .select2-selection__rendered::before {
  content: "\f0415";
  font-family: "Material Design Icons";
  margin-right: 6px;
  color: #273F92;
  font-size: 0.9rem;
  opacity: 0.8;
}
#editBasicModal .select2-dropdown {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}
#editBasicModal .select2-search--dropdown {
  padding: 8px;
  border-bottom: 1px solid #e5e7eb;
}
#editBasicModal .select2-search--dropdown .select2-search__field {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 5px 10px;
  font-size: 0.82rem;
  outline: none;
}
#editBasicModal .select2-results__option {
  padding: 9px 14px;
  font-size: 0.82rem;
  color: #1e293b;
  transition: background 0.1s;
}
#editBasicModal .select2-results__option--highlighted {
  background: #eef2ff !important;
  color: #273F92 !important;
}
#editBasicModal .select2-results__option[aria-selected=true] {
  background: #f1f5f9;
  color: #64748b;
}

.pce-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 14px 40px 14px 14px;
  position: relative;
  transition: box-shadow 0.15s;
}
.pce-card:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.pce-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  margin-top: 1px;
}
.pce-avatar.is-yd {
  background: #273F92;
}
.pce-avatar.is-client {
  background: #15803d;
}

.pce-body {
  flex: 1;
  min-width: 0;
}

.pce-fields {
  display: grid;
  grid-template-columns: 1fr 1fr 140px;
  gap: 8px;
  margin-bottom: 10px;
}
@media (max-width: 600px) {
  .pce-fields {
    grid-template-columns: 1fr;
  }
}

.pce-input {
  font-size: 0.82rem;
  border-radius: 8px;
  height: 34px;
  padding: 0 10px;
}

.pce-notif-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pce-notif-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 11px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #f8fafc;
  font-size: 0.72rem;
  font-weight: 500;
  color: #64748b;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  transition: background 0.12s, border-color 0.12s, color 0.12s;
}
.pce-notif-pill input[type=checkbox] {
  display: none;
}
.pce-notif-pill i {
  font-size: 0.8rem;
}
.pce-notif-pill:has(input:checked) {
  background: #e0e7ff;
  border-color: #273F92;
  color: #273F92;
  font-weight: 600;
}
.pce-notif-pill:hover:not(:has(input:checked)) {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.pce-delete {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: none;
  background: none;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  transition: background 0.12s, color 0.12s;
}
.pce-delete i {
  font-size: 1rem;
}
.pce-delete:hover {
  background: #fee2e2;
  color: #dc2626;
}

.pce-add-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px dashed #e5e7eb;
  background: none;
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.12s, color 0.12s, background 0.12s;
}
.pce-add-btn i {
  font-size: 0.9rem;
}
.pce-add-btn:hover {
  border-color: #273F92;
  color: #273F92;
  background: #eef2ff;
}

.promo-hint-editor {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.promo-hint-editor-item {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #f8fafc;
  padding: 12px 14px;
}

.promo-hint-textarea {
  min-height: 78px;
  resize: vertical;
}

.promo-breakdown-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.promo-breakdown-row .promo-breakdown-label {
  font-size: 0.78rem;
  color: #64748b;
  min-width: 76px;
  flex-shrink: 0;
}
.promo-breakdown-row .promo-breakdown-remove {
  background: none;
  border: none;
  color: #cbd5e1;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 1rem;
  line-height: 1;
  transition: all 0.15s ease;
}
.promo-breakdown-row .promo-breakdown-remove:hover {
  color: #dc2626;
  background: #fee2e2;
}

.promo-alloc-row {
  display: flex;
  gap: 10px;
  align-items: center;
}
.promo-alloc-row .promo-alloc-part {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
}
.promo-alloc-row .promo-alloc-part label {
  color: #64748b;
  margin: 0;
  white-space: nowrap;
}
.promo-alloc-row .promo-alloc-part input {
  max-width: 72px;
}

.promo-chat-filter {
  display: flex;
  gap: 4px;
  padding: 6px 12px;
  border-bottom: 1px solid #e5e7eb;
  flex-shrink: 0;
  background: #f8fafc;
}

.promo-chat-filter-btn {
  background: none;
  border: 1px solid transparent;
  border-radius: 20px;
  padding: 3px 12px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #94a3b8;
  cursor: pointer;
  transition: all 0.15s ease;
}
.promo-chat-filter-btn:hover {
  color: #475569;
}
.promo-chat-filter-btn.is-active {
  background: #eef2ff;
  border-color: #c7d2fe;
  color: #273F92;
}

.promo-chat-section-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 6px 0 2px;
}

.promo-chat-section-btn {
  background: none;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  padding: 2px 10px;
  font-size: 0.68rem;
  font-weight: 600;
  color: #94a3b8;
  cursor: pointer;
  transition: all 0.15s ease;
  line-height: 1.5;
}
.promo-chat-section-btn:hover {
  border-color: #93c5fd;
  color: #1d4ed8;
}
.promo-chat-section-btn.is-active {
  background: #eff6ff;
  border-color: #93c5fd;
  color: #1d4ed8;
}

.promo-chat-section-tag {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
  border-radius: 4px;
  font-size: 0.6rem;
  font-weight: 700;
  padding: 1px 6px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.promo-chat-msg:hover .promo-chat-msg-actions {
  opacity: 1;
  pointer-events: auto;
}

.promo-chat-msg-actions {
  display: flex;
  gap: 2px;
  margin-left: 4px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
  flex-shrink: 0;
}

.promo-chat-action-btn {
  background: none;
  border: none;
  padding: 1px 5px;
  border-radius: 4px;
  color: #cbd5e1;
  cursor: pointer;
  line-height: 1;
  transition: all 0.15s ease;
}
.promo-chat-action-btn i {
  font-size: 0.8rem;
  vertical-align: middle;
}
.promo-chat-action-btn:hover {
  background: #f1f5f9;
  color: #64748b;
}
.promo-chat-action-btn.is-delete:hover {
  color: #dc2626;
  background: #fee2e2;
}

.promo-chat-edit-wrap {
  margin-top: 6px;
}

.promo-chat-edit-textarea {
  width: 100%;
  border: 1.5px solid #273F92;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 0.83rem;
  resize: none;
  outline: none;
  font-family: inherit;
  min-height: 56px;
  display: block;
}

.promo-chat-edit-btns {
  display: flex;
  gap: 6px;
  margin-top: 6px;
  justify-content: flex-end;
}
.promo-chat-edit-btns .btn {
  font-size: 0.75rem;
  padding: 0.2rem 0.55rem;
}

.promo-tx-section + .promo-tx-section {
  border-top: 1px solid #e5e7eb;
  padding-top: 1.25rem;
}

.promo-tx-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.promo-tx-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.promo-tx-row .promo-tx-input {
  flex: 1;
}

.promo-tx-counter {
  font-size: 0.68rem;
  color: #94a3b8;
  white-space: nowrap;
  min-width: 38px;
  text-align: right;
  flex-shrink: 0;
}
.promo-tx-counter.is-near {
  color: #d97706;
}
.promo-tx-counter.is-over {
  color: #dc2626;
  font-weight: 700;
}

.promo-tx-remove {
  background: none;
  border: 1px solid #e2e8f0;
  color: #94a3b8;
  cursor: pointer;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.9rem;
  line-height: 1.4;
  transition: all 0.15s ease;
  flex-shrink: 0;
}
.promo-tx-remove:hover {
  color: #dc2626;
  background: #fee2e2;
  border-color: #fca5a5;
}

@media (max-width: 768px) {
  .promo-country-overview {
    grid-template-columns: 1fr;
  }
  .promo-country-flag {
    font-size: 1.8rem;
  }
  .promo-card-title {
    font-size: 0.88rem;
  }
  .promo-chat-panel {
    width: calc(100vw - 24px);
    right: 12px;
    bottom: 76px;
  }
}
.promo-chat-date-sep {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 2px 0;
  margin: 10px 0 4px;
  flex-shrink: 0;
}
.promo-chat-date-sep::before, .promo-chat-date-sep::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e5e7eb;
}
.promo-chat-date-sep span {
  font-size: 0.62rem;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
  padding: 0 6px;
}

.promo-chat-unread-sep {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 2px 0;
  margin: 10px 0;
  flex-shrink: 0;
}
.promo-chat-unread-sep::before, .promo-chat-unread-sep::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #fca5a5;
}
.promo-chat-unread-sep span {
  font-size: 0.62rem;
  font-weight: 700;
  color: #dc2626;
  white-space: nowrap;
  background: #fee2e2;
  border-radius: 999px;
  padding: 2px 10px;
}

.promo-chat-msg--grouped .promo-chat-msg-meta {
  justify-content: flex-end;
  margin-bottom: 2px;
  min-height: 18px;
}
.promo-chat-msg--grouped .promo-chat-bubble {
  border-radius: 4px 12px 12px 12px;
  margin-top: -6px;
}
.promo-chat-msg--grouped:not(.promo-chat-msg--internal) .promo-chat-avatar, .promo-chat-msg--grouped:not(.promo-chat-msg--internal) .promo-chat-author, .promo-chat-msg--grouped:not(.promo-chat-msg--internal) .promo-chat-role-tag, .promo-chat-msg--grouped:not(.promo-chat-msg--internal) .promo-chat-section-tag, .promo-chat-msg--grouped:not(.promo-chat-msg--internal) .promo-chat-internal-tag {
  display: none;
}

.promo-chat-fab-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 18px;
  height: 18px;
  background: #dc2626;
  color: #fff;
  border-radius: 999px;
  font-size: 0.58rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid #fff;
  pointer-events: none;
  line-height: 1;
  animation: chat-badge-pop 0.25s ease;
}
.promo-chat-fab-badge.d-none {
  display: none !important;
}

@keyframes chat-badge-pop {
  0% {
    transform: scale(0);
  }
  70% {
    transform: scale(1.25);
  }
  100% {
    transform: scale(1);
  }
}
.promo-chat-header-title {
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.3;
}

.promo-chat-header-sub {
  font-size: 0.72rem;
  opacity: 0.7;
  margin-top: 1px;
  font-weight: 400;
  max-width: 340px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.promo-chat-section-tag.is-41, .promo-chat-section-tag.is-42 {
  background: #fef9c3;
  color: #854d0e;
  border-color: #fde68a;
}
.promo-chat-section-tag.is-google {
  background: #dbeafe;
  color: #1e40af;
  border-color: #bfdbfe;
}
.promo-chat-section-tag.is-sklik {
  background: #dcfce7;
  color: #15803d;
  border-color: #bbf7d0;
}
.promo-chat-section-tag.is-meta {
  background: #ede9fe;
  color: #5b21b6;
  border-color: #ddd6fe;
}
.promo-chat-section-tag.is-linkedin {
  background: #e0f2fe;
  color: #075985;
  border-color: #bae6fd;
}

.promo-chat-char-count {
  font-size: 0.65rem;
  color: #94a3b8;
  text-align: right;
  height: 16px;
  margin-top: 2px;
  transition: color 0.15s ease;
}
.promo-chat-char-count.is-warning {
  color: #d97706;
}
.promo-chat-char-count.is-danger {
  color: #dc2626;
  font-weight: 700;
}

.promo-info-strip {
  display: flex;
  align-items: stretch;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.promo-strip-tile {
  flex: 1;
  padding: 14px 18px;
  border-right: 1px solid #e5e7eb;
  min-width: 0;
}
.promo-strip-tile--contacts {
  flex: 1.3;
}

.promo-strip-label {
  font-size: 0.67rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #94a3b8;
  margin-bottom: 4px;
}

.promo-strip-value {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.2;
}
.promo-strip-value.is-done {
  color: #15803d;
}

.promo-strip-note {
  font-size: 0.72rem;
  color: #64748b;
  margin-top: 3px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.promo-strip-empty {
  color: #cbd5e1;
}

.promo-strip-mini-bar {
  height: 4px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
  margin-top: 8px;
}

.promo-strip-mini-bar-fill {
  height: 100%;
  border-radius: 999px;
  background: #e2e8f0;
  transition: width 0.3s ease;
}
.promo-strip-mini-bar-fill.is-wip {
  background: #f59e0b;
}
.promo-strip-mini-bar-fill.is-done {
  background: #22c55e;
}

.promo-strip-contact {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
  color: #374151;
  margin-top: 3px;
}

.promo-strip-contact-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.promo-strip-contact-dot.is-yd {
  background: #273F92;
}
.promo-strip-contact-dot.is-client {
  background: #059669;
}

.promo-strip-contact-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  min-width: 0;
}

.promo-strip-contact-mail {
  color: #cbd5e1;
  font-size: 0.82rem;
  text-decoration: none;
  flex-shrink: 0;
}
.promo-strip-contact-mail:hover {
  color: #273F92;
}

.promo-strip-report-link {
  font-size: 0.72rem;
  color: #273F92;
  text-decoration: none;
}
.promo-strip-report-link:hover {
  text-decoration: underline;
}

.promo-strip-actions {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 14px 16px;
  flex-shrink: 0;
  border-left: 1px solid #e5e7eb;
  background: #f8fafc;
}

.promo-strip-btn-edit {
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #374151;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  min-width: 96px;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  -webkit-tap-highlight-color: transparent;
}
.promo-strip-btn-edit:hover, .promo-strip-btn-edit:active, .promo-strip-btn-edit:active:hover {
  border-color: #94a3b8 !important;
  background: #f1f5f9 !important;
  color: #0f172a !important;
}

.promo-strip-btn-chat {
  border: 1px solid rgba(39, 63, 146, 0.25);
  background: #eef2ff;
  color: #273F92;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  min-width: 96px;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  -webkit-tap-highlight-color: transparent;
}
.promo-strip-btn-chat:hover, .promo-strip-btn-chat:active, .promo-strip-btn-chat:active:hover {
  background: #273F92 !important;
  border-color: #273F92 !important;
  color: #fff !important;
}

.promo-strip-chat-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  background: #273F92;
  color: #fff;
  border-radius: 999px;
  font-size: 0.6rem;
  font-weight: 800;
  margin-left: 4px;
  padding: 0 4px;
  vertical-align: middle;
}

.promo-strip-btn-chat:hover .promo-strip-chat-count {
  background: rgba(255, 255, 255, 0.25);
}

.promo-next-hint {
  display: flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 500;
}
.promo-next-hint.is-amber {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
}
.promo-next-hint.is-gray {
  background: #f8fafc;
  color: #475569;
  border: 1px solid #e5e7eb;
}
.promo-next-hint.is-green {
  display: none;
}

.promo-section-divider {
  display: flex;
  align-items: center;
  gap: 12px;
}
.promo-section-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e5e7eb;
}

.promo-section-divider-label {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #0f172a;
  white-space: nowrap;
}

.eb-modal-tabs {
  display: flex;
  gap: 0;
  padding: 0 1.5rem;
  border-bottom: 1px solid #e5e7eb;
  background: #fff;
}

.eb-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #64748b;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}
.eb-tab-btn:hover {
  color: #1e293b;
}
.eb-tab-btn.is-active {
  color: #273F92;
  border-bottom-color: #273F92;
}

.eb-tab-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #e0e7ff;
  color: #273F92;
  font-size: 0.68rem;
  font-weight: 700;
}

.eb-tab-pane {
  display: none;
}
.eb-tab-pane.is-active {
  display: block;
}

.eb-contacts-group + .eb-contacts-group {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #e5e7eb;
}

.eb-contacts-group-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.eb-contacts-group-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #1e293b;
}

.eb-contacts-group-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.eb-contacts-group-dot.is-yd {
  background: #273F92;
}
.eb-contacts-group-dot.is-client {
  background: #15803d;
}

.promo-chat-avatar.has-photo {
  background-size: cover;
  background-position: center;
  background-color: #e2e8f0;
  color: transparent;
}

.promo-strip-avatars-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  margin-top: 6px;
}

.promo-strip-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.62rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  border: 2px solid #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.14);
  flex-shrink: 0;
  transition: transform 0.12s, box-shadow 0.12s;
  cursor: pointer;
}
.promo-strip-avatar[href] {
  cursor: pointer;
}
.promo-strip-avatar:hover {
  transform: scale(1.18);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.22);
  position: relative;
  z-index: 2;
}
.promo-strip-avatar.is-yd {
  background: #273F92;
}
.promo-strip-avatar.is-client {
  background: #15803d;
}

.promo-avatar-pop {
  min-width: 160px;
}

.promo-avatar-pop-type {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #94a3b8;
  margin-bottom: 2px;
}

.promo-avatar-pop-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 4px;
}

.promo-avatar-pop-mail {
  font-size: 0.78rem;
  color: #273F92;
  word-break: break-all;
  text-decoration: none;
}
.promo-avatar-pop-mail:hover {
  text-decoration: underline;
}

.promo-strip-avatar-sep {
  width: 1px;
  height: 20px;
  background: #e5e7eb;
  display: inline-block;
  flex-shrink: 0;
  margin: 0 3px;
}

@media (max-width: 1199px) {
  .promo-info-strip {
    flex-wrap: wrap;
  }
  .promo-strip-tile {
    flex: 1 1 calc(33% - 1px);
  }
  .promo-strip-tile:nth-child(3) {
    border-right: none;
  }
  .promo-strip-tile:nth-child(4) {
    border-top: 1px solid #e5e7eb;
  }
  .promo-strip-tile:nth-child(5) {
    border-top: 1px solid #e5e7eb;
    border-right: none;
  }
  .promo-strip-actions {
    width: 100%;
    flex-direction: row;
    justify-content: flex-end;
    border-left: none;
    border-top: 1px solid #e5e7eb;
  }
}
@media (max-width: 767px) {
  .promo-info-strip {
    flex-direction: column;
  }
  .promo-strip-tile {
    flex: none;
    border-right: none;
    border-bottom: 1px solid #e5e7eb;
  }
  .promo-strip-tile:nth-child(3), .promo-strip-tile:nth-child(4), .promo-strip-tile:nth-child(5) {
    border-top: none;
    border-right: none;
  }
}
.modal-content {
  border-radius: 18px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.14);
  overflow: hidden;
}

.modal-header {
  border-radius: 18px 18px 0 0;
}

.modal-footer {
  border-radius: 0 0 18px 18px;
}

.btn-secondary,
.modal .btn-secondary {
  background: #f1f5f9;
  border-color: #e5e7eb;
  color: #374151;
  border-radius: 10px;
}
.btn-secondary:hover,
.modal .btn-secondary:hover {
  background: #e0e7ff;
  border-color: rgba(39, 63, 146, 0.35);
  color: #273F92;
}

.btn-outline-secondary,
.modal .btn-outline-secondary {
  border-color: #e5e7eb;
  color: #374151;
  border-radius: 10px;
}
.btn-outline-secondary:hover,
.modal .btn-outline-secondary:hover {
  background: #e0e7ff;
  border-color: rgba(39, 63, 146, 0.35);
  color: #273F92;
}

.btn-outline-primary,
.modal .btn-outline-primary {
  border-color: rgba(39, 63, 146, 0.4);
  color: #273F92;
  border-radius: 10px;
}
.btn-outline-primary:hover,
.modal .btn-outline-primary:hover {
  background: #273F92;
  border-color: #273F92;
  color: #fff;
}

.btn-primary,
.modal .btn-primary {
  background: #273F92;
  border-color: #273F92;
  border-radius: 10px;
}
.btn-primary:hover,
.modal .btn-primary:hover {
  background: rgb(30.3989189189, 49.1059459459, 113.8010810811);
  border-color: rgb(30.3989189189, 49.1059459459, 113.8010810811);
  color: #fff;
}

[data-review-note-toggle],
[data-review-submit],
[data-specialist-feedback-send] {
  border-radius: 999px !important;
  font-weight: 600;
  padding-inline: 0.9rem;
  box-shadow: none;
}

[data-review-note-toggle].btn-outline-dark,
[data-specialist-feedback-send].btn-outline-dark {
  border-color: #cbd5e1;
  background: #fff;
  color: #334155;
}
[data-review-note-toggle].btn-outline-dark:hover,
[data-specialist-feedback-send].btn-outline-dark:hover {
  border-color: rgba(39, 63, 146, 0.35);
  background: #eef2ff;
  color: #273F92;
}

[data-review-submit=approve].btn-success {
  background: #dcfce7;
  border-color: #bbf7d0;
  color: #166534;
}
[data-review-submit=approve].btn-success:hover {
  background: #22c55e;
  border-color: #22c55e;
  color: #fff;
}

[data-review-submit=objection].btn-danger {
  background: #fff1f2;
  border-color: #fecdd3;
  color: #be123c;
}
[data-review-submit=objection].btn-danger:hover {
  background: #e11d48;
  border-color: #e11d48;
  color: #fff;
}/*# sourceMappingURL=style.css.map */