@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: 600;
  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: 600;
  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;
  width: 100%;
}

.auth-otp-input {
  width: 56px;
  aspect-ratio: 1/1;
  flex: 0 1 56px;
  min-width: 0;
  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: 600;
  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-otp-inputs {
    gap: 8px;
  }
  .auth-otp-input {
    font-size: 18px;
  }
  .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 15px 0 15px;
  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;
  overflow-wrap: break-word;
  word-break: break-word;
}

.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;
  overflow-wrap: break-word;
  word-break: break-word;
}

.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: color-mix(in srgb, #f0f0f0, #000 5%);
}
.card-navigation .nav-pills .nav-item .nav-link.active {
  color: var(--company-button-text, #fff);
  background-color: var(--company-primary, #273f92);
}
.card-navigation .nav-pills .nav-item .nav-link.active:hover {
  filter: brightness(0.85);
}

.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.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6b7280;
}
.card-edit-form-grid .form-control {
  min-height: 48px;
  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;
  overflow-wrap: break-word;
  word-break: break-word;
}
.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: 768px) {
  .uni-button-row {
    flex-wrap: wrap !important;
  }
  .uni-button-row .uni-button-label,
  .uni-button-row .uni-button-url {
    flex: 1 1 100% !important;
    max-width: none !important;
  }
  .uni-button-row .lp-cta-or {
    flex: 0 0 auto;
  }
  .uni-button-row .uni-pick-file {
    flex: 1 1 auto !important;
  }
  .uni-button-row .remove-uni-button {
    margin-left: auto;
  }
}
@media (max-width: 480px) {
  .phone-container {
    width: 100%;
    max-width: 350px;
    height: auto;
    min-height: 500px;
  }
  .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;
}

.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: color-mix(in srgb, var(--company-primary, #4c61c9) 40%, #bfd0ff);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--company-primary, #4c61c9) 10%, rgba(255, 255, 255, 0));
}

.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: color-mix(in srgb, var(--company-primary, #4c61c9) 40%, #bfd0ff);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--company-primary, #4c61c9) 10%, rgba(255, 255, 255, 0));
}

.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: color-mix(in srgb, var(--company-primary, #4c61c9) 40%, #bfd0ff) !important;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--company-primary, #4c61c9) 10%, rgba(255, 255, 255, 0)) !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: color-mix(in srgb, var(--company-primary, #4c61c9) 40%, #bfd0ff) !important;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--company-primary, #4c61c9) 10%, rgba(255, 255, 255, 0)) !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;
  overflow-wrap: break-word;
  word-break: break-word;
  white-space: normal;
}

.nfc-table td[data-label=Název] {
  max-width: 260px;
}
.nfc-table td[data-label=Název] .d-flex {
  min-width: 0;
}

.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: color-mix(in srgb, var(--company-primary, #4c61c9) 10%, #eef2ff);
  color: var(--company-primary, #4652c4);
}
.nfc-type-pill--contact_card {
  background: #f0e5ff;
  color: #6d28d9;
}
.nfc-type-pill--employee_card {
  background: color-mix(in srgb, var(--company-primary, #4c61c9) 8%, #e9eeff);
  color: var(--company-primary, #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: var(--company-primary, #4c61c9);
  text-decoration: none;
  transition: all 0.15s ease;
}
.nfc-icon-btn i {
  font-size: 1.1rem;
}
.nfc-icon-btn:hover {
  color: var(--company-primary, #2f4aa0);
  background: color-mix(in srgb, var(--company-primary, #4c61c9) 8%, #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: var(--company-primary, #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: color-mix(in srgb, var(--company-primary, #4c61c9) 30%, #c6d1f3);
  background: color-mix(in srgb, var(--company-primary, #4c61c9) 6%, #f4f7ff);
  color: var(--company-primary, #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;
  margin-bottom: 15px;
}
.bulk-carrier-modal .bulk-carrier-title {
  color: var(--company-primary, #2f4aa0);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.81;
  margin-top: 10px;
  align-items: center;
  justify-content: center;
}
.bulk-carrier-modal .bulk-carrier-subtitle {
  font-size: 1.35rem;
  color: #111;
}
.bulk-carrier-modal .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: var(--company-primary, #2f4aa0);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}
.carrier-option-card.active {
  border-color: var(--company-primary, #2f4aa0);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--company-primary, #2f4aa0) 15%, transparent);
}

.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: var(--company-primary, #2f4aa0);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.2;
  margin-top: 8px;
}

.nfc-table td[data-label=ID] .nfc-uid,
.nfc-table td[data-label=ID] {
  max-width: 110px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 1400px) {
  .nfc-table th.col-id,
  .nfc-table td[data-label=ID] {
    display: none;
  }
}
@media (max-width: 1200px) {
  .nfc-table th.col-date,
  .nfc-table td[data-label="Datum vytvoření"],
  .nfc-table th.col-link,
  .nfc-table td[data-label=Odkaz],
  .nfc-table th.col-qr,
  .nfc-table td[data-label=QR] {
    display: none;
  }
}
@media (max-width: 992px) {
  .nfc-table th.col-count,
  .nfc-table td[data-label=Počet],
  .nfc-table th.col-folder,
  .nfc-table td[data-label=Složka] {
    display: none;
  }
  .nfc-filter-bar {
    flex-wrap: wrap;
  }
}
@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;
  }
}
.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: color-mix(in srgb, var(--company-primary, #4361c2) 20%, #dde4ff);
  color: var(--company-primary, #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 color-mix(in srgb, var(--company-primary, #4361c2) 15%, #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: var(--company-primary, #4361c2);
  color: var(--company-primary, #4361c2);
  background: color-mix(in srgb, var(--company-primary, #4361c2) 5%, #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: var(--company-primary, #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;
}

/* ── Credit top-up card ── */
.credit-hero {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  border-radius: 14px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--company-primary, #4361c2) 12%, #ffffff), color-mix(in srgb, var(--company-primary, #4361c2) 4%, #ffffff));
  border: 1px solid color-mix(in srgb, var(--company-primary, #4361c2) 18%, #e2e8f0);
}

.credit-hero-icon {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  border-radius: 50%;
  background: var(--company-primary, #4361c2);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px color-mix(in srgb, var(--company-primary, #4361c2) 35%, transparent);
}
.credit-hero-icon i {
  font-size: 24px;
}

.credit-hero-value {
  font-size: 32px;
  font-weight: 800;
  color: #1e293b;
  line-height: 1.1;
}
.credit-hero-value span {
  font-size: 18px;
  font-weight: 600;
  color: #64748b;
  margin-left: 2px;
}

.credit-chip-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.credit-chip {
  padding: 8px 18px;
  border-radius: 999px;
  border: 1.5px solid #e2e8f0;
  background: #ffffff;
  color: #4b5563;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
}
.credit-chip:hover {
  border-color: var(--company-primary, #4361c2);
  color: var(--company-primary, #4361c2);
}
.credit-chip.active {
  background: var(--company-primary, #4361c2);
  border-color: var(--company-primary, #4361c2);
  color: #ffffff;
}

.credit-amount-input {
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  height: 42px;
  font-size: 14px;
}
.credit-amount-input:focus {
  border-color: var(--company-primary, #4361c2);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--company-primary, #4361c2) 10%, rgba(255, 255, 255, 0));
}

.credit-topup-btn {
  height: 42px;
  padding: 0 22px;
  border-radius: 8px;
  background: var(--company-button-background, var(--company-primary, #4361c2));
  border-color: var(--company-button-background, var(--company-primary, #4361c2));
  color: var(--company-button-text, #ffffff);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}
.credit-topup-btn:hover, .credit-topup-btn:focus {
  filter: brightness(0.9);
  color: var(--company-button-text, #ffffff);
}

/* ── 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: var(--company-primary, #4361c2);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--company-primary, #4361c2) 10%, rgba(255, 255, 255, 0));
}
.profile-modal .form-control::-moz-placeholder {
  color: #adb5bd;
}
.profile-modal .form-control::placeholder {
  color: #adb5bd;
}
.profile-modal .btn-primary {
  background: var(--company-button-background, var(--company-primary, #4361c2));
  border-color: var(--company-button-background, var(--company-primary, #4361c2));
  font-weight: 600;
}
.profile-modal .btn-primary:hover, .profile-modal .btn-primary:focus {
  filter: brightness(0.85);
}
.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;
  }
}
#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: var(--company-primary, #273F92);
  color: var(--company-button-text, white);
  border-radius: 5px;
}
.header-nav-card a:hover {
  color: var(--company-button-text, white);
  background-color: var(--company-primary, #273F92);
  filter: brightness(0.85);
}

.header-nav-card button {
  font-size: 14px;
  padding: 8px 45px;
  background-color: var(--company-primary, #273F92);
  color: var(--company-button-text, white);
  border-radius: 5px;
}
.header-nav-card button:hover {
  color: var(--company-button-text, white);
  background-color: var(--company-primary, #273F92);
  filter: brightness(0.85);
}

.btn.btn-primary {
  background-color: var(--company-button-background, var(--company-primary, #273F92));
}
.btn.btn-primary:hover {
  color: var(--company-button-text, white);
  background-color: var(--company-button-background, var(--company-primary, #273F92));
  filter: brightness(0.85);
}

.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: var(--company-primary, #3f51a2);
  font-weight: 400;
  font-size: 1.8rem;
}

.card-person-title-line {
  height: 2px;
  background: linear-gradient(to right, var(--company-primary, #3f51a2) 0%, color-mix(in srgb, var(--company-primary, #3f51a2) 15%, transparent) 100%);
  margin-bottom: 1.5rem;
  width: 100%;
}

.btn-outline-primary {
  border-color: var(--company-primary, #273F92);
  color: black;
}

.btn-check:checked + .btn-outline-primary {
  background-color: var(--company-primary, #273F92);
  border-color: var(--company-primary, #273F92);
  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: var(--company-primary, #2f4aa0);
}

.nfc-checkbox {
  -moz-appearance: none;
       appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #c8d0e0;
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  position: relative;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
  transition: background 0.15s, border-color 0.15s;
}
.nfc-checkbox:checked {
  background: var(--company-primary, #19a9ee);
  border-color: var(--company-primary, #19a9ee);
}
.nfc-checkbox:checked::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 6px;
  width: 5px;
  height: 9px;
  border: 2px solid #fff;
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}
.nfc-checkbox:indeterminate {
  background: var(--company-primary, #19a9ee);
  border-color: var(--company-primary, #19a9ee);
}
.nfc-checkbox:indeterminate::after {
  content: "";
  position: absolute;
  top: 7px;
  left: 3px;
  width: 10px;
  height: 2px;
  background: #fff;
}
.nfc-checkbox:disabled {
  opacity: 0.45;
  cursor: default;
}

.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: var(--company-primary, #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.3rem 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: 10px 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;
}

.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: var(--company-primary, #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: color-mix(in srgb, var(--company-primary, #4c61c9) 60%, #c6d1f3);
  background: color-mix(in srgb, var(--company-primary, #4c61c9) 8%, #f4f7ff);
  color: var(--company-primary, #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;
}

.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: color-mix(in srgb, var(--company-primary, #4c61c9) 40%, #bfd0ff);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--company-primary, #4c61c9) 10%, rgba(255, 255, 255, 0));
}

.edit-module-item {
  display: flex;
  align-items: center;
  gap: 7px;
  background: #f8faff;
  border: 1px solid #e0e6f3;
  border-radius: 8px;
  padding: 7px 10px;
  margin: 0;
  cursor: pointer;
  transition: border-color 0.12s, background 0.12s;
}
.edit-module-item:hover {
  background: color-mix(in srgb, var(--company-primary, #4c61c9) 6%, #eef2ff);
  border-color: color-mix(in srgb, var(--company-primary, #4c61c9) 40%, #bfd0ff);
}
.edit-module-item .form-check-input {
  margin: 0;
  flex-shrink: 0;
}
.edit-module-item .form-check-input:checked {
  background-color: var(--company-primary, #4c61c9);
  border-color: var(--company-primary, #4c61c9);
}
.edit-module-item .form-check-label {
  font-size: 0.83rem;
  color: #374151;
  line-height: 1.3;
  cursor: pointer;
}

.nfc-companies__filters {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 10px 12px;
  border-radius: 10px;
}

.nfc-companies__filters-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--company-primary, #4c61c9);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.nfc-companies__search,
.nfc-companies__select {
  border: 1.5px solid color-mix(in srgb, var(--company-primary, #4c61c9) 40%, #b8c8f8);
  border-radius: 8px;
  font-size: 0.88rem;
  padding: 0.42rem 0.85rem;
  color: #374151;
  background: #fff;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 1px 3px color-mix(in srgb, var(--company-primary, #4c61c9) 7%, rgba(255, 255, 255, 0));
}
.nfc-companies__search:focus,
.nfc-companies__select:focus {
  border-color: var(--company-primary, #4c61c9);
}

.nfc-companies__search {
  flex: 1 1 180px;
  min-width: 140px;
  max-width: 280px;
}

.nfc-companies__select {
  flex: 0 1 auto;
  min-width: 160px;
}

.nfc-companies__empty {
  text-align: center;
  color: #8a94a6;
  padding: 2rem 1rem;
  font-size: 0.9rem;
}

.group-block {
  border: 1px solid #e0e6f3 !important;
  border-radius: 12px !important;
  box-shadow: 0 1px 4px color-mix(in srgb, var(--company-primary, #2f4aa0) 6%, rgba(255, 255, 255, 0)) !important;
  overflow: hidden;
  transition: box-shadow 0.15s ease;
}
.group-block:hover {
  box-shadow: 0 3px 10px color-mix(in srgb, var(--company-primary, #2f4aa0) 10%, rgba(255, 255, 255, 0)) !important;
}
.group-block > .card-body {
  padding: 0.9rem 1.2rem 0;
}
.group-block .nfc-table-responsive {
  border-radius: 0;
}

.group-body {
  display: none;
  background: #fff;
}
.group-body--open {
  display: block;
}

.group-toggle-btn {
  color: #6b7280;
  line-height: 1;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: background 0.12s ease, color 0.12s ease;
  text-decoration: none;
}
.group-toggle-btn:hover {
  background: color-mix(in srgb, var(--company-primary, #2f4aa0) 8%, #eef2ff) !important;
  color: var(--company-primary, #2f4aa0);
}
.group-toggle-btn i {
  font-size: 1.2rem;
  display: block;
  transition: transform 0.2s ease;
}
.group-toggle-btn[aria-expanded=false] i {
  transform: rotate(-90deg);
}

#manageCompaniesModal .select2-container {
  width: 100% !important;
}
#manageCompaniesModal .select2-container--bootstrap-5 .select2-selection--multiple {
  min-height: 42px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 5px 8px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  background: #fff;
  cursor: text;
}
#manageCompaniesModal .select2-container--bootstrap-5 .select2-selection--multiple:focus-within {
  border-color: color-mix(in srgb, var(--company-primary, #4c61c9) 40%, #bfd0ff);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--company-primary, #4c61c9) 10%, rgba(255, 255, 255, 0));
}
#manageCompaniesModal .select2-container--bootstrap-5 .select2-selection__rendered {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 0;
  margin: 0;
}
#manageCompaniesModal .select2-container--bootstrap-5 .select2-selection__choice {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: color-mix(in srgb, var(--company-primary, #4c61c9) 8%, #eef2ff);
  color: var(--company-primary, #3730a3);
  border: 1px solid color-mix(in srgb, var(--company-primary, #4c61c9) 30%, #c7d2fe);
  border-radius: 6px;
  padding: 2px 8px;
  font-size: 0.8rem;
  font-weight: 500;
  white-space: nowrap;
  margin: 0;
}
#manageCompaniesModal .select2-container--bootstrap-5 .select2-selection__choice__remove {
  color: var(--company-primary, #6366f1);
  font-size: 1rem;
  line-height: 1;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  order: -1;
}
#manageCompaniesModal .select2-container--bootstrap-5 .select2-selection__choice__remove:hover {
  filter: brightness(0.85);
}
#manageCompaniesModal .select2-container--bootstrap-5 .select2-selection__choice__display {
  font-size: 0.8rem;
}
#manageCompaniesModal .select2-container--bootstrap-5 .select2-search__field {
  font-size: 0.85rem;
  margin: 0;
  padding: 0 2px;
  min-width: 120px;
}
#manageCompaniesModal .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;
}
#manageCompaniesModal .select2-container--bootstrap-5 .select2-results__option {
  padding: 7px 12px;
  border-radius: 4px;
  color: #374151;
}
#manageCompaniesModal .select2-container--bootstrap-5 .select2-results__option--highlighted {
  background: color-mix(in srgb, var(--company-primary, #4c61c9) 8%, #eef2ff);
  color: var(--company-primary, #3730a3);
}
#manageCompaniesModal .select2-container--bootstrap-5 .select2-results__option--selected {
  background: color-mix(in srgb, var(--company-primary, #4c61c9) 6%, #f5f3ff);
  color: var(--company-primary, #4338ca);
  font-weight: 500;
}
#manageCompaniesModal .select2-container--bootstrap-5 .select2-results__option--selected::before {
  content: "✓ ";
  font-size: 0.85em;
}

#manageUsersList .module-section {
  margin-bottom: 14px;
}
#manageUsersList .d-flex.border-bottom {
  border-color: #f0f1f5 !important;
  padding: 0.6rem 0;
}
#manageUsersList .d-flex.border-bottom:last-child {
  border-bottom: 0 !important;
}
#manageUsersList strong {
  font-size: 0.92rem;
  color: #1f2937;
}
#manageUsersList .form-check-input[type=checkbox] {
  width: 2.2em;
  height: 1.2em;
  cursor: pointer;
}
#manageUsersList .form-check-input[type=checkbox]:checked {
  background-color: var(--company-primary, #4c61c9);
  border-color: var(--company-primary, #4c61c9);
}
#manageUsersList .form-check-input[type=checkbox]:focus {
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--company-primary, #4c61c9) 15%, rgba(255, 255, 255, 0));
}

@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 {
    width: 100%;
    justify-content: flex-start;
  }
  .company-actions .nfc-icon-btn,
  .company-actions .company-enter-btn {
    width: 40px;
    height: 40px;
  }
  .company-actions {
    gap: 10px;
  }
  .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;
  }
  .nfc-companies__filters {
    flex-direction: column;
    align-items: stretch;
  }
  .nfc-companies__search,
  .nfc-companies__select {
    max-width: none;
    width: 100%;
  }
  .group-block > .card-body {
    padding: 0.8rem 1rem 0;
  }
}
.group-company-switcher {
  position: relative;
}
.group-company-switcher__btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--company-primary, #4c61c9);
  background: color-mix(in srgb, var(--company-primary, #4c61c9) 8%, transparent);
  border: 1px solid color-mix(in srgb, var(--company-primary, #4c61c9) 25%, transparent);
  border-radius: 8px;
  transition: background 0.15s, border-color 0.15s;
}
.group-company-switcher__btn:hover, .group-company-switcher__btn:focus {
  background: color-mix(in srgb, var(--company-primary, #4c61c9) 16%, transparent);
  border-color: color-mix(in srgb, var(--company-primary, #4c61c9) 50%, transparent);
  color: var(--company-primary, #3a4da8);
  filter: brightness(0.9);
}
.group-company-switcher__btn::after {
  display: none;
}
.group-company-switcher__btn .mdi-office-building-outline {
  font-size: 16px;
}
.group-company-switcher__btn .group-company-switcher__arrow {
  font-size: 14px;
  transition: transform 0.2s;
}
.group-company-switcher.show .group-company-switcher__btn .group-company-switcher__arrow {
  transform: rotate(180deg);
}
@media (max-width: 480px) {
  .group-company-switcher__label {
    display: none;
  }
}
.group-company-switcher__menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 1000;
  min-width: 220px;
  padding: 6px;
  border-radius: 10px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
  border: 1px solid #e9ecef;
  background: #fff;
  list-style: none;
  margin: 0;
}
.group-company-switcher__menu--open {
  display: block;
}
.group-company-switcher__divider {
  height: 1px;
  background: #e9ecef;
  margin: 4px 6px;
}
.group-company-switcher__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 7px;
  font-size: 13px;
  color: #374151;
  text-decoration: none;
  transition: background 0.12s;
}
.group-company-switcher__item:hover {
  background: color-mix(in srgb, var(--company-primary, #4c61c9) 6%, #f3f5ff);
}
.group-company-switcher__item.active {
  background: color-mix(in srgb, var(--company-primary, #4c61c9) 10%, transparent);
  color: var(--company-primary, #4c61c9);
  font-weight: 600;
}
.group-company-switcher__logo {
  width: 26px;
  height: 26px;
  -o-object-fit: contain;
     object-fit: contain;
  border-radius: 4px;
  flex-shrink: 0;
}
.group-company-switcher__initials {
  width: 26px;
  height: 26px;
  border-radius: 4px;
  background: var(--company-primary, #4c61c9);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.group-company-switcher__back {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #6b7280;
  padding: 6px 10px;
  border-radius: 6px;
  text-decoration: none;
}
.group-company-switcher__back:hover {
  background: color-mix(in srgb, var(--company-primary, #4c61c9) 6%, #f3f5ff);
  color: var(--company-primary, #4c61c9);
}

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

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

.su-users {
  padding-bottom: 18px;
}
.su-users__header, .su-users__table {
  margin-bottom: 20px;
}
.su-users__header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.su-users__title {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--su-blue);
  font-size: 18px;
  font-weight: 700;
}
.su-users__title i {
  font-size: 20px;
}
.su-users__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.su-users__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: filter 0.18s ease;
}
.su-users__action-btn i {
  font-size: 16px;
}
.su-users__action-btn--primary {
  background: var(--company-button-background, var(--su-blue));
  border-color: var(--company-button-background, var(--su-blue));
  color: var(--company-button-text, #fff);
}
.su-users__action-btn--primary:hover {
  filter: brightness(0.9);
  color: var(--company-button-text, #fff);
}
.su-users__filters {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.su-users__filters-label {
  font-size: 13px;
  font-weight: 700;
}
.su-users__search, .su-users__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-users__search:focus, .su-users__select:focus {
  border-color: #cfd8f6;
}
.su-users__search {
  min-width: 240px;
}
.su-users__select {
  min-width: 160px;
}
.su-users__table-wrap {
  overflow: visible !important;
}
.su-users__grid {
  width: 100%;
  border-collapse: collapse;
}
.su-users__grid th,
.su-users__grid td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--su-border);
  vertical-align: middle;
  text-align: left;
  white-space: nowrap;
}
.su-users__grid th {
  font-size: 13px;
  font-weight: 700;
  color: #111827;
  padding-top: 10px;
  padding-bottom: 10px;
}
.su-users__grid td {
  font-size: 14px;
  color: #171e2f;
}
.su-users__checkbox {
  width: 42px;
  text-align: center;
}
.su-users__person {
  display: flex;
  align-items: center;
  gap: 12px;
}
.su-users__person strong {
  font-size: 15px;
  font-weight: 700;
  color: #111827;
}
.su-users__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-users__empty {
  padding: 56px 16px;
  text-align: center;
  color: var(--su-muted);
}
.su-users__dot {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--su-text);
}
.su-users__dot::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.su-users__dot--success::before {
  background: #22c55e;
}
.su-users__dot--info::before {
  background: #3b82f6;
}
.su-users__dot--primary::before {
  background: #29439a;
}
.su-users__dot--warning::before {
  background: #f59e0b;
}
.su-users__dot--danger::before {
  background: #ef4444;
}
.su-users__dot--secondary::before {
  background: #9ca3af;
}
.su-users__action {
  display: inline-flex;
  align-items: center;
  padding: 5px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
}
.su-users__action--success {
  background: #c8f5dc;
  color: #1a7a47;
}
.su-users__action--warning {
  background: #fff0cc;
  color: #996600;
}
.su-users__action--danger {
  background: #fdd8d8;
  color: #b91c1c;
}
.su-users__action--info {
  background: #d0eeff;
  color: #0066aa;
}
.su-users__action--primary {
  background: #dde7ff;
  color: #29439a;
}
.su-users__action--secondary {
  background: #e8eaed;
  color: #555e6e;
}
.su-users__status {
  display: inline-flex;
  align-items: center;
  padding: 5px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
}
.su-users__status--active {
  background: #c8f5dc;
  color: #1a7a47;
}
.su-users__status--archived {
  background: #fde8cc;
  color: #c25a00;
}
.su-users__role-switch {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #8d95a6;
  cursor: pointer;
}
.su-users__role-switch:hover .su-users__role-badge, .su-users__role-switch:focus-visible .su-users__role-badge {
  filter: brightness(0.96);
  box-shadow: 0 0 0 3px rgba(41, 67, 154, 0.12);
}
.su-users__role-switch:focus-visible {
  outline: 0;
}
.su-users__role-switch:disabled {
  cursor: wait;
  opacity: 0.65;
}
.su-users__role-badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 11px;
  border-radius: 999px;
  background: #eef1f6;
  color: #596275;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  transition: filter 0.18s ease, box-shadow 0.18s ease;
}
.su-users__role-badge--admin {
  background: #e1e7fb;
  color: #29439a;
}
.su-users__role-badge--inline {
  min-height: auto;
  padding: 1px 8px;
  font-size: 10px;
  margin-left: 6px;
  vertical-align: middle;
}

.cc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 360px));
  justify-content: start;
  gap: 14px;
  margin-bottom: 20px;
}

.cc-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 118px;
  width: 100%;
  padding: 18px 16px 18px 18px;
  border: 1px solid var(--su-border, #e7ebf3);
  border-radius: 14px;
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.cc-card:hover {
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  border-color: #cfd8f6;
  transform: translateY(-2px);
  color: inherit;
}
.cc-card__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #e1e7fb;
  color: #29439a;
  flex-shrink: 0;
}
.cc-card__icon i {
  font-size: 22px;
}
.cc-card__body {
  min-width: 0;
  flex: 1;
}
.cc-card__name {
  display: block;
  font-weight: 700;
  font-size: 15px;
  color: #111827;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cc-card__meta {
  display: block;
  font-size: 12.5px;
  color: var(--su-muted, #8d95a6);
  line-height: 1.45;
}
> .cc-card__body + .cc-card__meta {
  position: absolute;
  left: 76px;
  right: 76px;
  top: 54px;
}
> .cc-card__body + .cc-card__meta + .cc-card__meta {
  top: 74px;
}
.cc-card__edit, .cc-card__credit, .cc-card__delete {
  position: absolute;
  top: 10px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--su-border, #e7ebf3);
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.cc-card__edit {
  right: 76px;
  color: #4f46e5;
}
.cc-card__credit {
  right: 43px;
  color: #047857;
}
.cc-card__edit:hover {
  background: #eef2ff;
  border-color: #c7d2fe;
}
.cc-card__credit:hover {
  background: #ecfdf5;
  border-color: #a7f3d0;
}
.cc-card__edit i, .cc-card__credit i, .cc-card__delete i {
  font-size: 14px;
}
.cc-card__delete {
  position: absolute;
  right: 8px;
  color: #b91c1c;
  display: inline-flex;
}
.cc-card__delete:hover {
  background: #fef2f2;
}
.cc-card--new {
  border-style: dashed;
  justify-content: center;
  color: var(--su-muted, #8d95a6);
  cursor: pointer;
}
.cc-card--new .cc-card__icon {
  background: #f3f4f6;
  color: #6b7280;
}
.cc-card--new:hover {
  color: #29439a;
  border-color: #cfd8f6;
}
.cc-card--new:hover .cc-card__icon {
  background: #e1e7fb;
  color: #29439a;
}

@media (max-width: 600px) {
  .cc-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
.cc-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 14px;
}
.cc-breadcrumb a {
  color: #29439a;
  text-decoration: none;
  font-weight: 600;
}
.cc-breadcrumb a:hover {
  text-decoration: underline;
}
.cc-breadcrumb__current {
  color: var(--su-muted, #8d95a6);
}

#inviteModal .modal-dialog {
  max-width: 800px;
}

.su-invite-modal__title {
  color: #273F92;
  text-align: center;
  font-family: "Poppins", sans-serif;
  font-size: 25px;
  font-weight: 500;
  line-height: 28px;
  margin-bottom: 6px;
}
.su-invite-modal__subtitle {
  color: #000;
  font-size: 16px;
  font-weight: 700;
  line-height: normal;
  text-align: center;
  margin-bottom: 24px;
}
.su-invite-modal__toggle-label {
  color: #000;
  font-size: 16px;
  font-weight: 700;
  line-height: normal;
  margin-left: 15px;
  cursor: pointer;
}

#inviteModal .form-check.form-switch {
  padding-left: 56px;
  min-height: 28px;
  display: flex;
  align-items: center;
}
#inviteModal .module-invite-toggle {
  width: 44px !important;
  height: 24px !important;
  margin-left: -56px !important;
  margin-top: 0 !important;
  cursor: pointer;
  flex-shrink: 0;
}

#spravceGateModal .modal-dialog {
  max-width: 680px;
}

.su-gate-modal {
  border: 0;
  border-radius: 20px;
  padding: 0;
  position: relative;
}
.su-gate-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  color: #6b7280;
  font-size: 20px;
  display: grid;
  place-items: center;
  cursor: pointer;
  line-height: 1;
}
.su-gate-modal__close:hover {
  color: #111827;
}
.su-gate-modal__body {
  padding: 48px 40px 40px;
  text-align: center;
}
.su-gate-modal__title {
  font-size: 22px;
  font-weight: 700;
  color: #29439a;
  margin-bottom: 16px;
  line-height: 1.3;
}
.su-gate-modal__desc {
  font-size: 15px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 28px;
  line-height: 1.5;
}
.su-gate-modal__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: #19a9ee;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.18s ease;
}
.su-gate-modal__btn i {
  font-size: 17px;
}
.su-gate-modal__btn:hover {
  background: #1290cc;
  color: #fff;
}

@media (max-width: 768px) {
  .su-users__header-row {
    flex-direction: column;
    align-items: stretch;
  }
  .su-users__actions {
    flex-direction: column;
  }
  .su-users__action-btn {
    width: 100%;
  }
  .su-users__filters {
    flex-direction: column;
    align-items: stretch;
  }
  .su-users__search, .su-users__select {
    width: 100%;
    min-width: 0;
  }
  .su-users__table-wrap {
    overflow-x: visible !important;
  }
  .su-users__grid {
    min-width: 0;
  }
  .su-users__grid thead {
    display: none;
  }
  .su-users__grid tbody {
    display: grid;
    gap: 12px;
  }
  .su-users__grid tbody tr {
    display: block;
    border: 1px solid var(--su-border);
    border-radius: 16px;
    padding: 0.35rem 0;
  }
  .su-users__grid tbody td {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    min-width: 0;
    padding: 0.7rem 1rem !important;
    border-bottom: 1px solid var(--su-border);
    text-align: right;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .su-users__grid tbody td > *:not(.su-users__person) {
    min-width: 0;
    overflow-wrap: anywhere;
  }
  .su-users__grid 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-users__grid tbody td:last-child {
    border-bottom: 0;
  }
  .su-users__grid td[data-label=""]::before {
    display: none;
  }
  .su-users__grid td[data-label=Jméno] {
    display: block;
    text-align: left;
  }
  .su-users__grid td[data-label=Jméno]::before {
    display: block;
    max-width: none;
    margin-bottom: 0.5rem;
  }
  .su-users__checkbox {
    width: auto;
    text-align: left;
  }
  .su-users__person {
    min-width: 0;
  }
  .su-users__person > div {
    min-width: 0;
  }
  .su-users__person strong,
  .su-users__person .text-muted {
    overflow-wrap: anywhere;
  }
  .su-users .nfc-actions-cell {
    width: auto;
  }
  .su-users .nfc-action-menu-wrap {
    display: block;
    width: 100%;
  }
  .su-users .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;
  }
  .su-users .nfc-action-menu-wrap.is-open .nfc-action-menu {
    display: block;
  }
}
.settings .settings-section {
  margin-bottom: 30px;
}
.settings .settings-section__title {
  font-size: 16px;
  line-height: 1.3;
  color: #1e2b4a;
  margin: 0 0 6px;
  font-weight: 500;
}
.settings .settings-section__subtitle {
  font-size: 13px;
  color: #6c7a92;
  margin: 0 0 16px;
}
.settings .settings-theme-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
@media (max-width: 768px) {
  .settings .settings-theme-grid {
    grid-template-columns: 1fr;
  }
}
.settings .settings-theme-group {
  padding: 20px;
  margin-bottom: 0;
  border: 1px solid #e5e9f0;
  border-radius: 10px;
}
.settings .comgate-settings-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}
@media (max-width: 992px) {
  .settings .comgate-settings-grid {
    grid-template-columns: 1fr;
  }
}
.settings .comgate-section-card {
  padding: 20px;
  margin-bottom: 24px;
  border: 1px solid #e5e9f0;
  border-radius: 10px;
  background: #fff;
}
.settings .comgate-settings-grid .comgate-section-card {
  margin-bottom: 0;
}
.settings .settings-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 768px) {
  .settings .settings-field-grid {
    grid-template-columns: 1fr;
  }
}
.settings .settings-hint {
  display: block;
  margin-top: 8px;
  color: #6c7a92;
}
.settings .settings-switch-box {
  display: grid;
  gap: 12px;
}
.settings .settings-switch-option {
  padding: 14px 16px;
  border: 1px solid #e5e9f0;
  border-radius: 8px;
  background: #f8fafc;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.settings .settings-switch-option:has(.form-check-input:checked) {
  border-color: color-mix(in srgb, var(--company-button-background, #273f92) 45%, #e5e9f0);
  background: color-mix(in srgb, var(--company-button-background, #273f92) 6%, #f8fafc);
}
.settings .settings-switch-option .form-check {
  display: flex;
  align-items: center;
  min-height: auto;
  margin: 0;
  padding-left: 0;
}
.settings .settings-switch-option .form-check-label {
  font-weight: 600;
  cursor: pointer;
}
.settings .settings-switch-option small {
  display: block;
  margin: 6px 0 0;
  color: #6c7a92;
}
.settings .settings-switch-option .form-check-input[type=checkbox] {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  width: 38px;
  height: 22px;
  margin: 0 10px 0 0;
  border: 0;
  border-radius: 999px;
  background: #cbd5e1;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.settings .settings-switch-option .form-check-input[type=checkbox]::before {
  content: "";
  display: block;
  width: 16px;
  height: 16px;
  margin: 3px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.25);
  transition: transform 0.2s ease;
}
.settings .settings-switch-option .form-check-input[type=checkbox]:checked {
  background: var(--company-button-background, #273f92);
  box-shadow: 0 2px 8px color-mix(in srgb, var(--company-button-background, #273f92) 40%, transparent);
}
.settings .settings-switch-option .form-check-input[type=checkbox]:checked::before {
  transform: translateX(16px);
}
.settings .settings-switch-option .form-check-input[type=checkbox]:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--company-button-background, #273f92) 25%, transparent);
  outline-offset: 2px;
}
.settings .settings-webhook {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
  background: #f8fafc;
}
@media (max-width: 576px) {
  .settings .settings-webhook {
    align-items: stretch;
    flex-direction: column;
  }
}
.settings .settings-webhook__url {
  min-width: 0;
  flex: 1;
  padding: 9px 10px;
  overflow: auto;
  border-radius: 6px;
  background: #fff;
}
.settings .settings-empty {
  margin: 0;
  color: #6c7a92;
}
.settings .settings-color-box {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.settings .settings-color-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.settings .color-input-circle {
  width: 40px !important;
  height: 40px;
  padding: 0 !important;
  border: 2px solid #e5e9f0;
  border-radius: 50% !important;
  cursor: pointer;
  flex-shrink: 0;
  background: none;
}
.settings .color-input-circle::-webkit-color-swatch-wrapper {
  padding: 2px;
}
.settings .color-input-circle::-webkit-color-swatch {
  border: none;
  border-radius: 50%;
}
.settings .color-input-circle::-moz-color-swatch {
  border: none;
  border-radius: 50%;
}
.settings .settings-color-meta {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.settings .settings-color-meta span {
  font-size: 13px;
  color: #6c7a92;
}
.settings .settings-color-meta strong {
  font-size: 14px;
  color: #1e2b4a;
  font-weight: 600;
  font-family: "SF Mono", "Fira Code", "Consolas", monospace;
}
.settings .settings-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 768px) {
  .settings .settings-two-col {
    grid-template-columns: 1fr;
  }
}
.settings .settings-upload-line {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.settings .settings-upload-preview {
  width: 68px;
  height: 68px;
  border-radius: 12px;
  border: 2px dashed #d0d7e2;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.settings .settings-upload-preview img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}
.settings .settings-upload-preview__placeholder {
  color: #bac3d0;
  font-size: 28px;
  line-height: 1;
}
.settings select[multiple] {
  min-height: 120px;
}

input[type=checkbox]:checked {
  background-color: var(--company-primary, #273f92);
  border-color: var(--company-primary, #273f92);
}

.menu-catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 18px;
}

.menu-catalog-section {
  margin-bottom: 28px;
}

.menu-catalog-section__heading {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 12px;
}

.menu-catalog-section__heading h2 {
  margin: 0;
  color: #24324a;
  font-size: 17px;
  font-weight: 700;
}

.menu-catalog-section__heading span {
  min-width: 24px;
  padding: 2px 7px;
  color: #667085;
  background: #eef1f6;
  border-radius: 999px;
  font-size: 11px;
  text-align: center;
}

.menu-catalog-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid #e7ebf3;
  border-radius: 16px;
  box-shadow: 0 5px 18px rgba(31, 45, 61, 0.05);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.menu-catalog-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(31, 45, 61, 0.1);
}
.menu-catalog-card__main {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 13px;
  min-height: 124px;
  padding: 20px;
  color: inherit;
  text-decoration: none;
}
.menu-catalog-card__icon {
  display: grid;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--su-blue, #273f92), #5b75d6);
  border-radius: 13px;
  font-size: 22px;
}
.menu-catalog-card__body {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
  padding-right: 72px;
}
.menu-catalog-card__name {
  overflow: hidden;
  color: #24324a;
  font-size: 16px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.menu-catalog-card__meta, .menu-catalog-card__mode {
  color: #7b8799;
  font-size: 12px;
}
.menu-catalog-card__meta i, .menu-catalog-card__mode i {
  margin-right: 3px;
  color: #8797bd;
}
.menu-catalog-card__status {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}
.menu-catalog-card__status--draft {
  color: #8a5b00;
  background: #fff3cd;
}
.menu-catalog-card__status--published {
  color: #087443;
  background: #d9f7e8;
}
.menu-catalog-card__status--archived {
  color: #667085;
  background: #eef0f3;
}
.menu-catalog-card__actions {
  display: flex;
  gap: 8px;
  padding: 11px 20px;
  border-top: 1px solid #eef1f5;
  background: #fbfcfe;
}

.menu-card-action {
  color: #667085;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}

.menu-card-action:hover {
  color: var(--su-blue, #273f92);
}

.menu-card-action--delete {
  color: #b42318;
}

@media (max-width: 575px) {
  .menu-catalog-grid {
    grid-template-columns: 1fr;
  }
}
.menu-day-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 8px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e7ebf3;
  border-radius: 14px;
}

.menu-day-nav__days {
  display: flex;
  flex: 1;
  gap: 6px;
  overflow-x: auto;
}

.menu-day-nav__day, .menu-day-nav__arrow {
  border: 0;
  background: transparent;
  color: #667085;
  cursor: pointer;
}

.menu-day-nav__day {
  display: flex;
  flex: 0 0 58px;
  flex-direction: column;
  gap: 2px;
  padding: 7px 5px;
  border-radius: 9px;
  font-size: 11px;
}

.menu-day-nav__day strong {
  font-size: 13px;
}

.menu-day-nav__day:hover, .menu-day-nav__day.is-active {
  color: #fff;
  background: var(--su-blue, #273f92);
}

.menu-day-nav__arrow {
  flex: 0 0 28px;
  padding: 5px;
  font-size: 21px;
}

.menu-day-nav__arrow:disabled {
  cursor: default;
  opacity: 0.35;
}

.su-users__action-btn--secondary {
  background: #e8eaed;
  border-color: #e8eaed;
  color: #555e6e;
}
.su-users__action-btn--secondary:hover {
  filter: brightness(0.95);
  color: #555e6e;
}

.menu-doc {
  background: #fff;
  border: 1px solid var(--su-border, #e7ebf3);
  border-radius: 14px;
  padding: 24px;
}
.menu-doc__head {
  text-align: center;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--su-blue);
}
.menu-doc__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--su-blue);
}
.menu-doc__period {
  font-size: 13px;
  color: var(--su-text-muted, #667085);
  margin-top: 4px;
}
.menu-doc__section {
  margin-bottom: 20px;
}
.menu-doc__section:last-child {
  margin-bottom: 0;
}
.menu-doc__section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
  color: var(--su-blue);
  margin-bottom: 8px;
}
.menu-doc__row {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 0;
  border-bottom: 1px dashed var(--su-border, #e7ebf3);
}
.menu-doc__row:last-of-type {
  border-bottom: none;
}
.menu-doc__row--editable {
  padding: 8px 0;
}
.menu-doc__drag {
  flex-shrink: 0;
  color: var(--su-text-muted, #a4acb9);
  cursor: grab;
}
.menu-doc__input-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.menu-doc__input {
  border: none;
  border-bottom: 1px solid transparent;
  background: transparent;
  padding: 2px 4px;
  font-size: 14px;
  color: var(--su-text, #334155);
  outline: none;
  border-radius: 0;
}
.menu-doc__input:hover, .menu-doc__input:focus {
  border-bottom-color: var(--su-border, #cfd8f6);
}
.menu-doc__input--name {
  font-weight: 600;
}
.menu-doc__input--description {
  font-size: 12px;
  color: var(--su-text-muted, #667085);
}
.menu-doc__input--allergens {
  width: 110px;
  flex-shrink: 0;
  font-size: 12px;
  color: var(--su-text-muted, #667085);
}
.menu-doc__input--price {
  width: 90px;
  flex-shrink: 0;
  font-weight: 600;
  text-align: right;
}
.menu-doc__delete {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: #b91c1c;
  transition: background 0.15s ease;
}
.menu-doc__delete:hover {
  background: #fdd8d8;
}
.menu-doc__add {
  border: none;
  background: transparent;
  color: var(--su-blue);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 0 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.menu-doc__add:hover {
  text-decoration: underline;
}

.menu-editor-card .header-title {
  color: var(--su-blue);
  font-size: 15px;
  font-weight: 700;
}

@keyframes menu-public-fade-in-up {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
body.menu-public-body {
  background: none;
}

.menu-public-app {
  max-width: 1300px;
  margin: 0 auto;
  padding: 24px 20px 60px;
  background: none;
  min-height: 100vh;
}
.menu-public-app .mdi {
  color: #dc3545;
}

.menu-public-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1.75rem 1.25rem;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.menu-public-header__logo {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  -o-object-fit: contain;
     object-fit: contain;
  flex-shrink: 0;
  background: #f8f9fa;
}
.menu-public-header__text {
  min-width: 0;
}
.menu-public-header__company {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #495057;
  margin: 0 0 2px;
}
.menu-public-header__title {
  font-size: 1.9rem;
  font-weight: 700;
  color: #dc3545;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.menu-public-header__title .mdi {
  color: #f57c00;
  font-size: 1.6rem;
}

.menu-public-period {
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  margin-bottom: 1.5rem;
  overflow: hidden;
  animation: menu-public-fade-in-up 0.25s ease-out;
}
.menu-public-period__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: linear-gradient(135deg, #dc3545 0%, #b02a37 100%);
  color: #fff;
}
.menu-public-period__label {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
}
.menu-public-period__dates {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.menu-public-day {
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  margin-bottom: 1.5rem;
  overflow: hidden;
  animation: menu-public-fade-in-up 0.25s ease-out;
}
.menu-public-day__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: linear-gradient(135deg, #dc3545 0%, #b02a37 100%);
  color: #fff;
}
.menu-public-day__name {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.menu-public-day__date {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.menu-public-day__body {
  background: #f8f9fa;
  padding: 12px 0;
}

.menu-public-section {
  margin-bottom: 2rem;
}
.menu-public-section__title {
  margin: 0 0 1.25rem 0;
  padding: 1.1rem 1.25rem;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  color: #dc3545;
  font-weight: 700;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.menu-public-section__title .mdi {
  color: #f57c00;
  font-size: 1.3rem;
}
.menu-public-section__empty {
  color: #495057;
  padding: 0 10px;
}

.menu-public-meal {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.25s ease;
  padding: 0.7rem 1rem;
  margin: 0 10px 12px;
  overflow: hidden;
}
.menu-public-meal::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #f57c00, #28a745);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.menu-public-meal:hover {
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  transform: translateY(-3px);
}
.menu-public-meal:hover::before {
  transform: scaleX(1);
}
.menu-public-meal__info {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 0.6rem;
  align-items: baseline;
}
.menu-public-meal__name {
  margin: 0;
  color: #343a40;
  font-weight: 400;
  font-size: 18px;
}
.menu-public-meal__allergens {
  color: #d97706;
  background: #fff3cd;
  padding: 0.15rem 0.5rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
}
.menu-public-meal__description {
  flex-basis: 100%;
  font-size: 0.85rem;
  color: #495057;
}
.menu-public-meal__price {
  margin-left: auto;
  color: #28a745;
  font-weight: 700;
  font-size: 1rem;
  white-space: nowrap;
}
@media (max-width: 480px) {
  .menu-public-meal {
    flex-direction: column;
    align-items: flex-start;
  }
  .menu-public-meal__price {
    margin-left: 0;
  }
}

.menu-public-empty-state {
  text-align: center;
  padding: 48px 24px;
  color: #495057;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.menu-public-empty-state .mdi {
  font-size: 40px;
  display: block;
  margin-bottom: 10px;
  color: #e9ecef;
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}
.lunch-ordering-app {
  --order-accent: var(--company-button-background, #e30613);
  max-width: 1300px;
  margin: 0 auto;
  padding: 20px;
  background: #f9fafb;
  min-height: 100vh;
}
@media (max-width: 768px) {
  .lunch-ordering-app {
    padding: 0;
  }
}
.lunch-ordering-app .fas, .lunch-ordering-app .far, .lunch-ordering-app .fab, .lunch-ordering-app .fa, .lunch-ordering-app i[class*=fa-], .lunch-ordering-app .mdi {
  color: var(--company-primary, #dc3545) !important;
}
.lunch-ordering-app .btn-cart .fas, .lunch-ordering-app .btn-cart .far, .lunch-ordering-app .btn-cart .fab, .lunch-ordering-app .btn-cart .fa, .lunch-ordering-app .btn-cart i[class*=fa-], .lunch-ordering-app .btn-cart .mdi,
.lunch-ordering-app .btn-add-to-cart .fas,
.lunch-ordering-app .btn-add-to-cart .far,
.lunch-ordering-app .btn-add-to-cart .fab,
.lunch-ordering-app .btn-add-to-cart .fa,
.lunch-ordering-app .btn-add-to-cart i[class*=fa-],
.lunch-ordering-app .btn-add-to-cart .mdi,
.lunch-ordering-app .btn-export .fas,
.lunch-ordering-app .btn-export .far,
.lunch-ordering-app .btn-export .fab,
.lunch-ordering-app .btn-export .fa,
.lunch-ordering-app .btn-export i[class*=fa-],
.lunch-ordering-app .btn-export .mdi,
.lunch-ordering-app .btn-mini-export .fas,
.lunch-ordering-app .btn-mini-export .far,
.lunch-ordering-app .btn-mini-export .fab,
.lunch-ordering-app .btn-mini-export .fa,
.lunch-ordering-app .btn-mini-export i[class*=fa-],
.lunch-ordering-app .btn-mini-export .mdi,
.lunch-ordering-app .button[type=submit] .fas,
.lunch-ordering-app .button[type=submit] .far,
.lunch-ordering-app .button[type=submit] .fab,
.lunch-ordering-app .button[type=submit] .fa,
.lunch-ordering-app .button[type=submit] i[class*=fa-],
.lunch-ordering-app .button[type=submit] .mdi {
  color: var(--company-button-text, #ffffff) !important;
}
.lunch-ordering-app .btn-remove-from-cart .fas, .lunch-ordering-app .btn-remove-from-cart .far, .lunch-ordering-app .btn-remove-from-cart .fab, .lunch-ordering-app .btn-remove-from-cart .fa, .lunch-ordering-app .btn-remove-from-cart i[class*=fa-], .lunch-ordering-app .btn-remove-from-cart .mdi {
  color: white !important;
}
.lunch-ordering-app .collapse-btn .fas, .lunch-ordering-app .collapse-btn .far, .lunch-ordering-app .collapse-btn .fab, .lunch-ordering-app .collapse-btn .fa, .lunch-ordering-app .collapse-btn i[class*=fa-], .lunch-ordering-app .collapse-btn .mdi {
  color: #4b5563 !important;
}
.lunch-ordering-app .collapse-btn:hover .fas, .lunch-ordering-app .collapse-btn:hover .far, .lunch-ordering-app .collapse-btn:hover .fab, .lunch-ordering-app .collapse-btn:hover .fa, .lunch-ordering-app .collapse-btn:hover i[class*=fa-], .lunch-ordering-app .collapse-btn:hover .mdi {
  color: white !important;
}
.lunch-ordering-app .empty-state .fas, .lunch-ordering-app .empty-state .far, .lunch-ordering-app .empty-state .fab, .lunch-ordering-app .empty-state .fa, .lunch-ordering-app .empty-state i[class*=fa-], .lunch-ordering-app .empty-state .mdi,
.lunch-ordering-app .empty-cart .fas,
.lunch-ordering-app .empty-cart .far,
.lunch-ordering-app .empty-cart .fab,
.lunch-ordering-app .empty-cart .fa,
.lunch-ordering-app .empty-cart i[class*=fa-],
.lunch-ordering-app .empty-cart .mdi {
  color: #9ca3af !important;
}
.lunch-ordering-app .week-navigation {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin: 10px 0 25px 0;
  padding: 12px 20px;
  background: #f9fafb;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  font-size: 18px;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.lunch-ordering-app .week-navigation .week-nav-label {
  font-size: 18px;
  font-weight: 700;
  color: #1f2937;
}
.lunch-ordering-app .week-navigation .week-nav-arrow {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #d1d5db;
  color: #374151;
  font-size: 20px;
  text-decoration: none;
  transition: 0.2s ease-in-out;
  cursor: pointer;
}
.lunch-ordering-app .week-navigation .week-nav-arrow:hover {
  background: #e30613;
  border-color: var(--company-primary, #c10510);
  color: var(--company-button-text, #ffffff);
}
.lunch-ordering-app .week-navigation .week-nav-arrow:active {
  transform: scale(0.92);
}

.lunch-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 2rem;
  padding: 2rem 1.25rem;
  background: var(--company-button-text, #ffffff);
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
@media (max-width: 768px) {
  .lunch-header {
    flex-direction: column;
    align-items: flex-start;
  }
}
.lunch-header .lunch-title {
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--company-primary, #dd0614);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.lunch-header .lunch-title i {
  margin-right: 0;
  color: #e30613;
  font-size: 1.7rem;
}

.cart-container {
  margin-left: auto;
}
@media (max-width: 768px) {
  .cart-container {
    width: 100%;
  }
}

.btn-cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  background: var(--company-day-header-background, #273f92);
  color: var(--company-day-header-text, #ffffff);
  text-decoration: none;
  border-radius: 999px;
  border: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  cursor: pointer;
}
.btn-cart i {
  font-size: 1rem;
  color: var(--company-button-text, #ffffff) !important;
}
.btn-cart .cart-count {
  background: rgba(255, 255, 255, 0.9);
  color: var(--company-button-background, #e30613);
  padding: 0.1rem 0.6rem;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
  min-width: 1.5rem;
  text-align: center;
}
.btn-cart:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}
.btn-cart:active {
  transform: translateY(0);
}
@media (max-width: 768px) {
  .btn-cart {
    width: 100%;
    justify-content: center;
  }
}

.alert-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
  border: 1px solid #fecaca;
  border-radius: 12px;
  border-left: 4px solid #e30613;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  animation: fade-in-up 0.2s ease-out;
}
.alert-card .alert-icon {
  color: #e30613;
  font-size: 1.5rem;
  margin-top: 0.125rem;
}
.alert-card .alert-content {
  flex: 1;
}
.alert-card .alert-content strong {
  display: block;
  color: #1f2937;
  margin-bottom: 0.5rem;
  font-weight: 700;
  font-size: 1.05rem;
}
.alert-card .alert-content p {
  margin: 0;
  color: #374151;
  font-size: 0.95rem;
}

.menu-section {
  margin-bottom: 2.5rem;
}
.menu-section .section-title {
  margin: 0 0 1.75rem 0;
  padding: 1.25rem;
  background: var(--company-button-text, #ffffff);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  color: var(--company-primary, #dd0614);
  font-weight: 700;
  font-size: 1.625rem;
  display: flex;
  align-items: center;
  gap: 0.875rem;
}
.menu-section .section-title i {
  color: #e30613;
  font-size: 1.5rem;
}
.menu-section .meal-item,
.menu-section .no-menu {
  padding: 7px 10px;
  margin: 15px 10px;
}

.daily-menu .day-menu {
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  margin-bottom: 1.5rem;
  overflow: hidden;
  background-color: transparent;
  animation: fade-in-up 0.25s ease-out;
}
.daily-menu .day-menu .day-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: var(--company-day-header-background, #273f92);
  color: var(--company-day-header-text, #ffffff);
}
.daily-menu .day-menu .day-header .day-name {
  color: var(--company-day-header-text, #ffffff) !important;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
}
.daily-menu .day-menu .day-header .day-date {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.daily-menu .day-menu .day-header .mdi, .daily-menu .day-menu .day-header .fas, .daily-menu .day-menu .day-header .far, .daily-menu .day-menu .day-header .fab, .daily-menu .day-menu .day-header .fa, .daily-menu .day-menu .day-header i[class*=fa-] {
  color: var(--company-day-header-icon, #ffffff) !important;
}

.meal-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  background: var(--company-button-text, #ffffff);
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  padding: 7px 10px;
  cursor: default;
  overflow: hidden;
}
.meal-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #e30613, #059669);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.meal-item:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transform: translateY(-4px);
  border-color: var(--company-button-background, #e30613);
}
.meal-item:hover::before {
  transform: scaleX(1);
}
@media (max-width: 576px) {
  .meal-item {
    flex-direction: column;
    align-items: flex-start;
  }
}

.meal-item.meal-ordered {
  border-color: #059669;
}
.meal-item.meal-ordered::before {
  transform: scaleX(1);
  background: #059669;
}

.meal-item.meal-pending {
  border-color: #ea580c;
}
.meal-item.meal-pending::before {
  transform: scaleX(1);
  background: #ea580c;
}

.badge.badge-success {
  position: absolute;
  top: 0.85rem;
  right: 0.8rem;
  background: rgba(5, 150, 105, 0.12);
  color: #059669;
  padding: 0.15rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
}

.badge.badge-warning {
  position: absolute;
  top: 0.85rem;
  right: 0.8rem;
  background: rgba(234, 88, 12, 0.12);
  color: #ea580c;
  padding: 0.15rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
}

.badge.badge-info {
  position: absolute;
  top: 0.85rem;
  right: 0.8rem;
  background: rgba(37, 99, 235, 0.12);
  color: #2563eb;
  padding: 0.15rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
}

.badge.cart-state-badge {
  position: static;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-left: 0.5rem;
  white-space: nowrap;
}

.badge.badge-secondary {
  background-color: #dc3545;
  padding: 4px;
  color: #fff;
}
.badge.badge-secondary .fas.fa-lock, .badge.badge-secondary .mdi-lock-outline {
  color: inherit;
}

.meal-info {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 0.6rem;
  align-items: baseline;
  position: relative;
}
.meal-info .meal-weight {
  color: #374151;
  font-weight: 600;
  font-size: 0.85rem;
}
.meal-info .meal-name {
  margin: 0;
  color: #1f2937;
  font-weight: 400;
  font-size: 18px;
}
.meal-info .meal-allergens {
  color: #e30613;
  background: #fef2f2;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
}
.meal-info .meal-price {
  margin-left: auto;
  color: #059669;
  font-weight: 700;
  font-size: 1rem;
}
@media (max-width: 576px) {
  .meal-info .meal-price {
    width: 100%;
    margin-left: 0;
  }
}

.btn-add-to-cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.35rem;
  background: var(--company-day-header-background, #273f92);
  color: var(--company-day-header-text, #ffffff);
  text-decoration: none;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.btn-add-to-cart i {
  font-size: 0.9rem;
  color: var(--company-button-text, #ffffff) !important;
}
.btn-add-to-cart:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}
.btn-add-to-cart:active {
  transform: translateY(0);
}

.btn-add-to-cart.btn-add-hidden {
  display: none !important;
}

.meal-qty-control {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.4rem;
  margin-left: 0.6rem;
  animation: fade-in-up 0.15s ease-out;
}
.meal-qty-control .btn-quantity {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: #e5e7eb;
  color: #1f2937 !important;
  border-radius: 6px;
  text-decoration: none;
  border: none;
  transition: all 0.2s ease;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.meal-qty-control .btn-quantity:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  background: #059669;
  color: var(--company-button-text, #ffffff);
}
.meal-qty-control .btn-quantity .mdi,
.meal-qty-control .qty-display {
  color: #1f2937 !important;
}
.meal-qty-control .btn-qty-minus:hover {
  background-color: rgba(255, 0, 0, 0.377);
}
.meal-qty-control .qty-display {
  min-width: 1.7rem;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
}

.no-menu {
  background: var(--company-button-text, #ffffff);
}
.no-menu p {
  margin: 0;
  font-size: 0.95rem;
}
.no-menu .preparing-message {
  color: #374151;
  background: #f3f4f6;
  border-radius: 12px;
  padding: 0.75rem 1rem;
  border: 1px dashed #d1d5db;
}

#cartModal .modal-dialog {
  max-width: 650px;
}
#cartModal .modal-content {
  background: var(--company-button-text, #ffffff);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  border: none;
}
#cartModal .modal-header {
  padding: 1rem 1.25rem;
  background: var(--company-day-header-background, #273f92);
  color: var(--company-day-header-text, #ffffff);
  border-bottom: none;
}
#cartModal .modal-header .modal-title {
  margin: 0;
  font-weight: 700;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--company-button-text, #ffffff);
}
#cartModal .modal-header .modal-title i {
  color: var(--company-button-text, #ffffff);
}
#cartModal .modal-header .modal-title .modal-title-name {
  color: var(--company-button-text, #ffffff);
}
#cartModal .modal-body {
  padding: 25px 10px;
  background: #f9fafb;
}
#cartModal .modal-body .cart-day-title {
  padding: 8px 10px;
  font-weight: 400;
  font-size: 18px;
  background: linear-gradient(135deg, #e30613 0%, #c10510 100%);
  color: var(--company-button-text, #ffffff);
  border-radius: 10px;
  margin-bottom: 10px;
}
#cartModal .modal-footer {
  padding: 0.75rem 1.25rem 1rem;
  background: #f3f4f6;
  border-top: 1px solid #e5e7eb;
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 10px 0;
  padding: 0.85rem 15px;
  background: var(--company-button-text, #ffffff);
  border-radius: 12px;
  border: 2px solid #e5e7eb;
  transition: all 0.3s ease;
}
.cart-item:hover {
  border-color: #059669;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transform: translateX(4px);
}
@media (max-width: 480px) {
  .cart-item {
    flex-direction: column;
    align-items: flex-start;
  }
}

.cart-item.cart-item-pending {
  border-color: rgba(234, 88, 12, 0.5);
  background: rgba(234, 88, 12, 0.04);
}

.item-info {
  flex: 1;
}
.item-info .item-name {
  margin: 0 0 0.45rem 0;
  color: #1f2937;
  font-weight: 600;
  font-size: 20px;
}
.item-info .item-details {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
  font-size: 0.9rem;
}
.item-info .item-details .item-type {
  color: #374151;
  background: #e5e7eb;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.75px;
}
.item-info .item-details .item-weight {
  color: #374151;
  font-weight: 500;
}
.item-info .item-details .item-quantity {
  color: var(--company-button-background, #e30613);
  font-weight: 700;
}
.item-info .item-details .item-price {
  color: #059669;
  font-weight: 700;
}
@media (max-width: 480px) {
  .item-info .item-details .item-price {
    margin-left: 0;
    width: 100%;
    text-align: right;
  }
}

.item-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.item-actions .btn-quantity {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: #e5e7eb;
  border-radius: 50%;
  text-decoration: none;
  border: none;
  transition: all 0.3s ease;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.item-actions .btn-quantity:hover {
  transform: scale(1.08);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  color: var(--company-button-text, #ffffff);
}
.item-actions .quantity-display {
  min-width: 1.7rem;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
}
.item-actions .btn-remove-from-cart {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: #e30613;
  color: var(--company-button-text, #ffffff);
  border-radius: 50%;
  text-decoration: none;
  border: none;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.item-actions .btn-remove-from-cart:hover {
  background: #c10510;
  transform: scale(1.1) rotate(90deg);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}
.item-actions .btn-remove-from-cart i {
  color: var(--company-button-text, #ffffff) !important;
}

.cart-total {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 2px solid #d1d5db;
}
.cart-total strong {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 1.05rem;
  color: #1f2937;
}

.empty-cart {
  text-align: center;
  padding: 2.5rem 1.5rem;
  color: #6b7280;
  background: var(--company-button-text, #ffffff);
  border-radius: 12px;
  border: 2px dashed #d1d5db;
}
.empty-cart i {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}
.empty-cart p {
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
}

.greeting-header {
  text-align: center;
  margin-bottom: 30px;
}
.greeting-header h1 {
  margin: 0;
  font-size: 35px;
  color: var(--company-primary, #dd0614);
  font-weight: 700;
}
.greeting-header p {
  margin: 15px 0 0 0;
  font-size: 18px;
  color: #374151;
}

@media (max-width: 768px) {
  .meal-item {
    padding: 0.8rem 0.8rem;
  }
  .menu-section .section-title {
    font-size: 1.3rem;
  }
}
.order-history-page,
.order-admin-page {
  --su-blue: #29439a;
  --su-border: #e7ebf3;
  --su-text: #141b2d;
  --su-muted: #8d95a6;
  max-width: 1200px;
  margin: 0 auto;
  color: var(--su-text);
}
.order-history-page .card,
.order-admin-page .card {
  border: 0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(18, 32, 71, 0.05);
}
.order-history-page .table th,
.order-admin-page .table th {
  font-size: 13px;
  font-weight: 700;
  color: var(--su-text);
}
.order-history-page .table td,
.order-history-page .table th,
.order-admin-page .table td,
.order-admin-page .table th {
  border-bottom: 1px solid var(--su-border);
  vertical-align: middle;
}
.order-history-page .badge,
.order-history-page .oa-badge,
.order-admin-page .badge,
.order-admin-page .oa-badge {
  border-radius: 999px;
  padding: 5px 16px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
}
.order-history-page .badge--success, .order-history-page .badge.bg-success,
.order-history-page .oa-badge--success,
.order-history-page .oa-badge.bg-success,
.order-admin-page .badge--success,
.order-admin-page .badge.bg-success,
.order-admin-page .oa-badge--success,
.order-admin-page .oa-badge.bg-success {
  background: #c8f5dc !important;
  color: #1a7a47 !important;
}
.order-history-page .badge--warning, .order-history-page .badge.bg-warning,
.order-history-page .oa-badge--warning,
.order-history-page .oa-badge.bg-warning,
.order-admin-page .badge--warning,
.order-admin-page .badge.bg-warning,
.order-admin-page .oa-badge--warning,
.order-admin-page .oa-badge.bg-warning {
  background: #fff0cc !important;
  color: #996600 !important;
}
.order-history-page .badge--danger, .order-history-page .badge.bg-danger,
.order-history-page .oa-badge--danger,
.order-history-page .oa-badge.bg-danger,
.order-admin-page .badge--danger,
.order-admin-page .badge.bg-danger,
.order-admin-page .oa-badge--danger,
.order-admin-page .oa-badge.bg-danger {
  background: #fdd8d8 !important;
  color: #b91c1c !important;
}
.order-history-page .badge--secondary, .order-history-page .badge.bg-secondary,
.order-history-page .oa-badge--secondary,
.order-history-page .oa-badge.bg-secondary,
.order-admin-page .badge--secondary,
.order-admin-page .badge.bg-secondary,
.order-admin-page .oa-badge--secondary,
.order-admin-page .oa-badge.bg-secondary {
  background: #e8eaed !important;
  color: #555e6e !important;
}
.order-history-page .week-navigation,
.order-admin-page .week-navigation {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin: 10px 0 25px;
  padding: 12px 20px;
  background: #f9fafb;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.order-history-page .week-navigation .week-nav-label,
.order-admin-page .week-navigation .week-nav-label {
  font-size: 18px;
  font-weight: 700;
  color: #1f2937;
}
.order-history-page .week-navigation .week-nav-arrow,
.order-admin-page .week-navigation .week-nav-arrow {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #d1d5db;
  color: #374151;
  font-size: 20px;
  text-decoration: none;
  transition: 0.2s ease-in-out;
}
.order-history-page .week-navigation .week-nav-arrow:hover,
.order-admin-page .week-navigation .week-nav-arrow:hover {
  background: var(--su-blue);
  border-color: var(--su-blue);
  color: #fff;
}

.order-admin-page .oa-day-card__title {
  color: var(--su-blue);
  font-size: 16px;
  font-weight: 700;
}
.order-admin-page .oa-day-card__total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--su-border);
  font-weight: 700;
}
.order-admin-page .oa-user-row {
  margin-bottom: 8px;
}
.order-admin-page .oa-user-row__header {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--su-border);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  transition: background 0.15s ease;
}
.order-admin-page .oa-user-row__header:hover {
  background: #f7f9fc;
}
.order-admin-page .oa-user-row__header[aria-expanded=true] .oa-user-row__chevron {
  transform: rotate(90deg);
}
.order-admin-page .oa-user-row__chevron {
  display: inline-flex;
  transition: transform 0.18s ease;
}
.order-admin-page .oa-user-row__chevron i {
  font-size: 18px;
  color: var(--su-muted);
}
.order-admin-page .oa-user-row__name {
  font-weight: 700;
  color: #111827;
}
.order-admin-page .oa-user-row__summary {
  margin-left: auto;
  color: var(--su-muted);
  font-size: 13px;
  font-weight: 600;
}
.order-admin-page .oa-user-row__body {
  padding: 10px 4px 4px;
}
.order-admin-page .oa-export-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.order-history-header,
.order-admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}
.order-history-header h1,
.order-admin-header h1 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.order-history-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.order-history-credit {
  font-size: 0.95rem;
}

.order-admin-nav {
  display: flex;
  gap: 0.5rem;
}

.topbar-credit-balance {
  display: flex;
  align-items: center;
  gap: 6px;
}
.topbar-credit-balance .nav-link {
  display: inline-flex;
  align-items: center;
  height: auto;
  padding: 0;
  background: none;
  color: var(--company-topbar-text, #ffffff) !important;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}
.topbar-credit-balance .nav-link i {
  font-size: 16px;
  color: var(--company-topbar-text, #ffffff);
}
.topbar-credit-balance .nav-link:hover, .topbar-credit-balance .nav-link:focus {
  color: var(--company-topbar-text, #ffffff) !important;
  opacity: 0.85;
}
.topbar-credit-balance .nav-link span {
  color: var(--company-topbar-text, #ffffff) !important;
}

.topbar-credit-topup-btn {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border-radius: 50%;
  border: none;
  background: var(--company-button-background, var(--company-primary, #4361c2));
  color: var(--company-button-text, #ffffff);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 4px;
  cursor: pointer;
  transition: filter 0.18s ease;
}
.topbar-credit-topup-btn i {
  font-size: 16px;
}
.topbar-credit-topup-btn:hover {
  filter: brightness(0.9);
}

.route-driver-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
}

.route-driver-card {
  display: block;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}
.route-driver-card:hover {
  border-color: var(--company-primary, #273f92);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.route-driver-card__name {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 6px;
}

.route-driver-card__progress {
  font-size: 0.85rem;
  color: #6b7280;
  margin-bottom: 10px;
}

.route-driver-card__link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--company-primary, #273f92);
}

.route-planner__toolbar {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.route-planner__date {
  max-width: 200px;
}

.route-planner__drivers {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.route-planner__driver-tab {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #374151;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
}
.route-planner__driver-tab.is-active {
  background: var(--company-primary, #273f92);
  border-color: var(--company-primary, #273f92);
  color: #fff;
}

.route-planner__columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 16px;
}
@media (max-width: 900px) {
  .route-planner__columns {
    grid-template-columns: 1fr;
  }
}

.route-planner__col-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #6b7280;
  margin-bottom: 10px;
}

.route-planner__col-body {
  min-height: 120px;
  border: 1px dashed #d1d5db;
  border-radius: 12px;
  padding: 10px;
  background: #f9fafb;
}

.route-stop-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 8px;
  cursor: grab;
}
.route-stop-card.sortable-ghost {
  opacity: 0.4;
}
.route-stop-card.is-missing-address {
  border-color: #f59e0b;
  background: #fffbeb;
}

.route-stop-card__name {
  font-weight: 700;
  font-size: 0.9rem;
}

.route-stop-card__meta {
  font-size: 0.78rem;
  color: #6b7280;
  margin-top: 2px;
}

.route-stop-card__warning {
  font-size: 0.75rem;
  color: #b45309;
  margin-top: 4px;
}

.route-stop-card__status {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 999px;
}
.route-stop-card__status.status-pending {
  background: #eef2ff;
  color: #4338ca;
}
.route-stop-card__status.status-delivered {
  background: #dcfce7;
  color: #15803d;
}
.route-stop-card__status.status-failed {
  background: #fee2e2;
  color: #b91c1c;
}

.route-permanent-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #eef2ff;
  color: #3730a3;
  border-radius: 999px;
  padding: 5px 8px 5px 12px;
  font-size: 0.82rem;
  font-weight: 600;
  margin: 0 8px 8px 0;
}

.route-permanent-chip__remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border: none;
  border-radius: 50%;
  background: rgba(55, 48, 163, 0.12);
  color: #3730a3;
  cursor: pointer;
}
.route-permanent-chip__remove:hover {
  background: rgba(55, 48, 163, 0.22);
}

.route-planner__actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.route-driver-stop {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 10px;
}
.route-driver-stop.is-delivered {
  opacity: 0.6;
}

.route-driver-stop__index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--company-primary, #273f92);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}/*# sourceMappingURL=style.css.map */