.policy-item[data-policy-authorized="true"],
.policyNameListItem[data-policy-authorized="true"],
.upload-item[data-upload-authorized="true"],
.uploadNameListItem[data-upload-authorized="true"] {
  cursor: pointer;
}
/* Request Access Modal styles */
.request-access-modal-sizing #showMoreContentModal .modal-content-main,
#showMoreContentModal.request-access-modal-sizing .modal-content-main,
#showMoreContentModal .modal-content-main.request-access-modal-sizing {
  max-width: 760px; /* wider desktop modal */
  width: 100%;
}

#showMoreContentModal.request-access-modal-sizing .modal-body {
  padding: 0px 40px 40px 40px; /* align with request-access-body spacing */
}
.request-access-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
}

.request-access-progress {
.request-access-header.request-access-header-email {
  padding: 0 40px; /* align with Screen 1 body and access-code modal */
}
  color: var(--brand-primary-color);
  font-size: 13px;
}

.request-access-body {  
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.request-access-body h3 {
  margin: 0;
  padding: 0;
  font-size: 20px;
}
.request-access-body.request-access-body-email {  
  gap: 8px; /* match access-code-content vertical rhythm */
}
.request-access-hint {
  color: var(--faint-gray);
  font-size: 12px;
}

.request-access-summary {
  display: grid;
  grid-template-columns: 1fr;
  row-gap: 8px;
}
.request-access-details-box {
  background: #f9f9fb;
  border-radius: 8px;
  padding: 16px;
}

.request-access-nda {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.request-access-nda-text {
  border: 1px solid var(--border-faint, #e9ecef);
  border-radius: 8px;
  padding: 12px;
  max-height: 300px;
  overflow: auto;
  background: var(--white, #fff);
}
.request-access-nda-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px; /* match global body font size */
  font-weight: 400;
}


.request-access-select-all {
  display: flex;
  justify-content: flex-end;
}
.request-access-tabs {
  display: flex;
  gap: 8px;
}
.request-access-tab {
  padding: 6px 12px;
  border: 1px solid var(--border-faint, #e9ecef);
  border-radius: 999px;
  background: #fff;
  color: var(--text-secondary);
}
.request-access-tab.active {
  color: var(--brand-primary-color);
  border-color: var(--brand-primary-color);
}
.request-access-bulk-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: flex-end;
}
.request-access-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.request-access-list-item {
  display: grid;
  grid-template-columns: 28px 1fr 28px;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--border-faint, #e9ecef);
  border-radius: 8px;
  background: var(--white, #fff);
}
.request-access-list-item .item-name {
  font-size: 16px; /* align with system/global font size */
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.request-access-list-item .item-icon img {
  display: block;
}
.request-access-selected h3 {
  margin: 0 0 8px 0;
  font-size: 16px;
}
.request-access-selected-item {
  padding: 8px 0;
  border-bottom: 1px dashed var(--border-faint, #e9ecef);
}

.request-access-comments-section h3 {
  margin: 0 0 8px 0;
  font-size: 16px;
}

.request-access-comments-section textarea {
  font-weight: 400;
  letter-spacing: normal;
}

.request-access-footer {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  padding: 32px 0 20px 0;
}

.request-access-result {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding-top: 24px;
}
.request-access-result .result-icon .iconify {
  font-size: 60px;
  width: 60px;
  height: 60px;
  line-height: 1;
}
.request-access-result .result-text p {
  margin: 4px 0;
  text-align: center;
}

@media (max-width: 767px) {
  /* Mobile: make modal full-screen for optimal space usage */
  #showMoreContentModal .modal-content-main {
    width: 100vw;
    height: 100vh;
    max-width: 100vw;
    max-height: 100vh;
    border-radius: 0;
  }
  #showMoreContentModal .modal-header,
  #showMoreContentModal .modal-body,
  #showMoreContentModal .modal-footer {
    padding-left: 16px;
    padding-right: 16px;
  }
  #showMoreContentModal .modal-body {
    padding: 0px 20px 20px 20px; /* align with request-access-body spacing */
  }
  /* Ensure request access modal uses same mobile padding */
  #showMoreContentModal.request-access-modal-sizing .modal-body {
    padding: 0px 20px 20px 20px;
  }
  .request-access-header h2 {
    font-size: 18px;
  }
  .request-access-list-item {
    grid-template-columns: 28px 1fr 28px; /* keep icons 28px on mobile too */
  }
  .request-access-link[data-tooltip]::after {
    right: -8px;
    left: auto;
    min-width: 200px;
    max-width: calc(100vw - 32px);
  }
  .request-access-link[data-tooltip]::before {
    right: 20px;
  }
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --brand-primary-color: #2266ff;
  --text-primary: #37393f;
  --text-secondary: #6e7079;
  --border: #e7eff6; /* updated border color. Orig: #e6ebf1 */
  --green-color: #519c66;
  --red-color: #e15a5a;
  --faint-gray: #abadb2;
}

body {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
  color: var(--text-primary);
  background-color: #f9f9fb !important;
  background-image: url('/assets/images/bg.svg') !important;
  background-position: top left !important;
  background-repeat: no-repeat !important;
  background-attachment: fixed !important;
  background-size: 100% auto !important;
  padding: 40px;
  min-width: 320px;
  overflow-y: auto;
}

.preloaderMain {
  display: flex;
  justify-content: center;
  align-items: center;
  height: calc(100vh - 80px);
  min-height: 400px;
}

.preloaderImage {
  width: 80px;
  height: 80px;
  animation: fallbackLogoSpin 2s ease-in-out infinite;
  transform-origin: center center;
}

@keyframes fallbackLogoSpin {
  0% {
    transform: rotate(0deg);
  }
  85% {
    transform: rotate(360deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* common css */
.background {
  min-height: 100vh;
  padding: 40px 20px;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Pill Styles */
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 6px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 8px;
  text-align: center;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.liveStatusPill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 8px;
  font-size: 13px;
  font-weight: 400;
  border-radius: 99px;
  text-align: center;
  white-space: nowrap;
  background-color: #dcf2e2;
  color: #0c8b12;
}
.liveStatusPill[data-live-status="off"] {
  background-color: #f6faff;
  color: #5c6370;
}

/* Variants for different statuses */
.pill-critical {
  background-color: #f6faff;
  color: #898ca1;
  border: 1px solid #aab4c9;
}

.pill-high {
  background-color: #f6faff;
  color: #898ca1;
  border: 1px solid #aab4c9;
}

.pill-medium {
  background-color: #f6faff;
  color: #898ca1;
  border: 1px solid #aab4c9;
}

.pill-low {
  background-color: #effff4;
  color: #1d9b3a;
  border: 1px solid #95dc9c;
}

.pill-dark {
  background-color: #f6faff;
  color: #898ca1;
  border: 1px solid #aab4c9;
}

.pill-link {
  background-color: #f0f0f3;
  border-radius: 99px;
  padding: 6px 12px;
  text-decoration: none;
  outline: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 500;
  color: var(--brand-primary-color);
}

.pill-link:hover {
  background-color: rgba(34, 102, 255, 0.08);
}

.pill-link.access-code-btn-disabled,
.pill-link[disabled] {
  cursor: not-allowed;
  color: rgba(34, 102, 255, 0.6);
}

.pill-link.access-code-btn-disabled:hover,
.pill-link[disabled]:hover {
  background-color: #f0f0f3;
}

.pill-link.access-code-btn-disabled .iconify,
.pill-link[disabled] .iconify {
  opacity: 0.6;
}

.pill-link .iconify {
  color: var(--brand-primary-color);
}

.pill-link-outline {
  background-color: transparent;
  border: 1px solid var(--brand-primary-color);
  border-radius: 99px;
  padding: 6px 12px;
  text-decoration: none;
  outline: none;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-primary-color);
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.access-code-btn.access-code-btn-disabled,
.access-code-btn[disabled] {
  cursor: not-allowed;
  opacity: 0.6;
  pointer-events: none;
}

.access-code-btn-wrapper {
  position: relative;
  display: inline-flex;
}

.access-code-btn-wrapper[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 10px);
  left: 16px;
  transform-origin: left;
  background: #1d2233;
  color: #fff;
  padding: 4px 4px;
  border-radius: 6px;
  font-size: 12px;
  line-height: 1.4;
  white-space: normal;
  text-align: center;
  box-shadow: 0 4px 12px rgba(23, 32, 56, 0.18);
  display: block;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
  z-index: 4;
  min-width: 240px;
  max-width: 360px;
}

.access-code-btn-wrapper[data-tooltip]::before {
  content: "";
  position: absolute;
  bottom: calc(100% + 4px);
  left: 28px;
  transform-origin: left;
  border-width: 6px;
  border-style: solid;
  border-color: #1d2233 transparent transparent transparent;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
  z-index: 3;
}

.access-code-btn-wrapper[data-tooltip]:hover::after,
.access-code-btn-wrapper[data-tooltip]:hover::before,
.access-code-btn-wrapper[data-tooltip]:focus-within::after,
.access-code-btn-wrapper[data-tooltip]:focus-within::before {
  opacity: 1;
}

.request-access-link[data-tooltip] {
  position: relative;
}

.request-access-link[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: #1d2233;
  color: #fff;
  padding: 4px 4px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  white-space: normal;
  text-align: center;
  box-shadow: 0 4px 12px rgba(23, 32, 56, 0.18);
  display: block;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
  z-index: 4;
  min-width: 240px;
  max-width: 360px;
}

.request-access-link[data-tooltip]::before {
  content: "";
  position: absolute;
  top: calc(100% + 4px);
  right: 28px;
  border-width: 6px;
  border-style: solid;
  border-color: transparent transparent #1d2233 transparent;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
  z-index: 3;
}

.request-access-link[data-tooltip]:hover::after,
.request-access-link[data-tooltip]:hover::before {
  opacity: 1;
}

.pill-link-outline:hover {
  background-color: rgba(34, 102, 255, 0.05);
}

.pill-in-progress {
  background-color: #F6FAFF;
  color: #9596a0;
  border: 1px solid #c1c4ca;
}

.pill-certified {
	background-color: #E4F1FF;
	color: #347FFF;
	border: 1px solid #88B2FF;
}

.pill-not-started {
	background-color: #f6faff;
	color: #898ca1;
	border: 1px solid #aab4c9;
}

h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-primary);
}

h2 {
  font-size: 24px;
  margin-bottom: 20px;
  font-weight: 700;
  color: var(--text-primary);
}
h3 {
  font-size: 20px;
  margin-bottom: 20px;
  font-weight: 700;
  color: var(--text-primary);
}

h4 {
  font-size: 16px;
  margin-bottom: 20px;
  font-weight: 700;
  color: var(--text-primary);
}

p {
  font-size: 16px;
  margin-bottom: 16px;
  line-height: 1.5;
  color: var(--text-secondary);
}

.card {
  background-color: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  padding: 48px;
  border: 1px solid var(--border);
}
.iconify {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
a {
  color: var(--brand-primary-color);
  text-decoration: none;
  transition: color 0.3s;
}

a:hover {
  color: darken(var(--brand-primary-color), 10%);
}

/*trust status related css */
#trustStatus {
  display: none;
}
.status {
  max-width: 1100px;
  margin: 0 auto;
  display: none;
  flex-direction: column;
  align-items: flex-end;
  margin-bottom: 10px;
  width: '100%';
}

/* trust details related css */
#companyDetailsSection {
  display: none;
  flex-direction: column;
}
#companyDetailsSection .content h1 {
  max-width: 100%;
}
#companyDetailsSection .header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  flex-wrap: wrap;
  gap: 32px;
  width: 100%;
}
#companyDetailsSection .logo-name-main {
  display: flex;
  align-items: center;
  gap: 15px;
}
#companyDetailsSection .logo-name-main .logo-main {
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: 70px;
  max-width: 140px;
}
#companyDetailsSection .logo-name-main .logo-main img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
#companyDetailsSection .logo-name-main .fallback-logo-main {
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: 70px;
  max-width: 140px;
}
#companyDetailsSection .logo-name-main .fallback-logo-main img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

#companyDetailsSection .company-name {
  font-size: 16px;
  color: var(--text-secondary);
  font-weight: 500;
  position: relative;
  padding-left: 15px;
  line-height: 1.5;
}

#companyDetailsSection .company-name:before {
  content: '';
  height: 24px;
  width: 3px;
  background-color: #bec0cb;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

#companyDetailsSection .links {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
}

#companyDetailsSection .policy-link,
#companyDetailsSection .email-link {
  color: var(--brand-primary-color);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  transition: color 0.3s;
  font-weight: 500;
}
#companyDetailsSection .policy-link .iconify,
#companyDetailsSection .email-link .iconify {
  color: var(--brand-primary-color);
}

#companyDetailsSection .policy-link:hover,
#companyDetailsSection .email-link:hover {
  color: var(--brand-primary-color);
}

#companyDetailsSection .detailsHeadingMain {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
#companyDetailsSection .detailsHeadingMain h1 {
  margin-bottom: 0px;
}
#companyDetailsSection .detailsHeadingMain h2 {
  margin-bottom: 20px;
}

#companyDetailsSection .intro-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
#companyDetailsSection .intro {
  margin-bottom: 20px;
  white-space: pre-wrap;
}

#companyDetailsSection .show-more-btn {
  font-size: 12px;
  color: var(--brand-primary-color);
  background: transparent;
  border: none;
  cursor: pointer;
  margin-top: 8px;
  margin-bottom: 20px;
}

/* compliance related css */
#compliancesSection {
  display: none;
  flex-direction: column;
}
#compliancesSection .content h2 {
  max-width: 100%;
}
#compliancesSection .cert-container {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(calc(25% - 20px), 1fr));
}
#compliancesSection .cert-item {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  position: relative;
}
#compliancesSection .cert-item .cert-security-icon {
  position: absolute;
    top: 10px;
    right: 10px;
  z-index: 10;
  cursor: default;
  pointer-events: auto;
}

#compliancesSection .cert-item .cert-security-tip {
  position: absolute;
  top: 6px;
  right: 34px;
  background: #1f2937;
  color: #fff;
  font-size: 12px;
  line-height: 1;
  padding: 6px 8px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  display: none;
  white-space: nowrap;
}

#compliancesSection .cert-item .cert-security-icon:hover + .cert-security-tip {
  display: block;
}
#compliancesSection .cert-name-title-main {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
#compliancesSection .cert-name-title-main .cert-name {
  margin: 0px;
  text-align: center;
}
#compliancesSection .cert-name-title-main .cert-title-main {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 42px;
}
#compliancesSection .cert-name-title-main .cert-title {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-secondary);
  margin: 0px;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
}

#compliancesSection .cert-item:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
#compliancesSection .cert-item .cert-item-img-main {
  display: flex;
  width: 84px;
  height: auto;
  justify-content: center;
}
#compliancesSection .cert-item .cert-item-img-main img {
  width: 100%;
  max-width: 84px;
}

.access-code-btn-wrapper {
  position: relative;
  display: inline-block;
}

.access-code-tooltip {
  position: absolute;
  top: 100%; /* place below the button */
  left: 0;   /* anchor to left edge of button */
  transform: none; /* avoid centering that can clip */
  background: #1f2937;
  color: #fff;
  font-size: 12px;
  line-height: 1;
  padding: 6px 8px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  display: none;
  white-space: nowrap;
  margin-top: 10px; /* spacing below the button */
  z-index: 10;
  /* max-width: 280px; safety cap */
}

.access-code-btn-wrapper:hover .access-code-tooltip {
  display: block;
}

/* Policy status tooltips */
.policy-item .policy-item-row,
.policyNameListItem {
  position: relative;
  display: flex;
  align-items: center;
}
.policy-status-tip {
  position: absolute;
  top: -6px;
  right: 24px;
  background: #1f2937;
  color: #fff;
  font-size: 12px;
  line-height: 1;
  padding: 6px 8px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  display: none;
  white-space: nowrap;
  z-index: 10;
}
.upload-status-tip {
  position: absolute;
  top: -6px;
  right: 24px;
  background: #1f2937;
  color: #fff;
  font-size: 12px;
  line-height: 1;
  padding: 6px 8px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  display: none;
  white-space: nowrap;
  z-index: 10;
}
.policy-status-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin-left: auto;
}
.policy-status-wrap .iconify:hover + .policy-status-tip {
  display: block;
}
.upload-status-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin-left: auto;
}
.upload-status-wrap .iconify:hover + .upload-status-tip {
  display: block;
}
/* controls related css */
#controlsSection {
  display: none;
  flex-direction: column;
}
#controlsSection .content h2 {
  max-width: 100%;
}

#controlsSection .controls-container {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(calc(33.33% - 20px), 1fr));
}

#controlsSection .control-item {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-sizing: border-box;
}
#controlsSection .control-item:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
#controlsSection .control-header {
  display: flex;
  align-items: center;
  gap: 10px;
}
#controlsSection .control-header .iconify {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--text-primary);
}
#controlsSection .control-header .control-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
}
#controlsSection .control-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
#controlsSection .control-details .control-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-block;
  max-width: 100%;
  color: var(--text-secondary);
  font-size: 15px;
}
#controlsSection .control-list-item {
  display: flex;
  gap: 8px;
  align-items: center;
  position: relative;
}

/* Make primary button hug text within request access footer */
.request-access-footer .access-code-btn-primary {
  width: auto;
  min-width: 80px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.controlNameListItem {
  position: relative;
}

.control-status-tip {
  position: absolute;
  top: -6px;
  left: 22px;
  background: #1f2937;
  color: #fff;
  font-size: 12px;
  line-height: 1;
  padding: 6px 8px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  display: none;
  white-space: nowrap;
  z-index: 10;
}

#controlsSection .control-list-item .iconify:hover + .control-status-tip,
.controlNameListItem .iconify:hover + .control-status-tip {
  display: block;
}

#controlsSection .control-list-item-more {
  display: flex;
  font-size: 12px;
  font-weight: 400;
  color: var(--green-color);
  align-items: center;
  line-height: initial;
  margin-top: 8px;
}

#controlsSection .control-item-last {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
}
#controlsSection .control-item-last .line1 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
}
#controlsSection .control-item-last .line2 {
  font-size: 12px;
  font-weight: 400;
  color: var(--brand-primary-color);
  cursor: pointer;
  text-decoration: none;
  line-height: 1;
}
#controlsSection .control-item-last .line2:hover {
  text-decoration: underline;
}

#showAllControls {
  cursor: pointer;
}
/* policy related css */
#policiesDocumentsSection {
  display: none;
  flex-direction: column;
}
#policiesDocumentsSection .headingAndRequestMain {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: flex-start;
}
#policiesDocumentsSection .requestMain {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
#policiesDocumentsSection .content h2 {
  max-width: 100%;
}
#policiesDocumentsSection .policies-container {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(calc(33.33% - 20px), 1fr));
}
#policiesDocumentsSection .policy-item {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-sizing: border-box;
  justify-content: center;
}
#policiesDocumentsSection .policy-item:hover,
#policiesDocumentsSection .policy-item-last:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
#policiesDocumentsSection .policy-item-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}
#policiesDocumentsSection .policy-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}
#policiesDocumentsSection .policy-icon img {
  width: 100%;
  height: 100%;
  display: block;
}
#policiesDocumentsSection .policy-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap; /* 1-line ellipsis in normal mode */
  color: var(--text-primary);
  font-size: 15px;
}
#policiesDocumentsSection .policy-item-row .iconify {
  margin-left: auto;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}
#policiesDocumentsSection .policy-item-last .policy-more-link {
  align-items: center;
  width: 100%;
  height: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
#policiesDocumentsSection .policy-item-last .line1 {
  font-size: 16px;
  font-weight: 700;
}
#policiesDocumentsSection .policy-item-last .line2 {
  font-size: 12px;
  font-weight: 400;
  color: var(--brand-primary-color);
  cursor: pointer;
  text-decoration: none;
  line-height: 1;
}
#uploadsSection .upload-icon img {
  width: 100%;
  height: 100%;
  display: block;
}
.allPoliciesContent .policyNameListItem .policyNameIconMain .policyIcon img {
  width: 100%;
  height: 100%;
  display: block;
}
.allUploadsContent .uploadNameListItem .uploadNameIconMain .uploadIcon img {
  width: 100%;
  height: 100%;
  display: block;
}
#policiesDocumentsSection .policy-item-last .line2:hover {
  text-decoration: underline;
}
#showAllPolicies {
  cursor: pointer;
}
/* uploads related css */
#uploadsSection {
  display: none;
  flex-direction: column;
}
#uploadsSection .headingAndRequestMain {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: flex-start;
}
#uploadsSection .requestMain {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
#uploadsSection .content h2 {
  max-width: 100%;
}
#uploadsSection .uploads-container {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(calc(33.33% - 20px), 1fr));
}
#uploadsSection .upload-item {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-sizing: border-box;
  justify-content: center;
}
#uploadsSection .upload-item:hover,
#uploadsSection .upload-item-last:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
#uploadsSection .upload-item-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}
#uploadsSection .upload-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}
#uploadsSection .upload-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap; /* 1-line ellipsis in normal mode */
  color: var(--text-primary);
  font-size: 15px;
}
#uploadsSection .upload-item-row .iconify {
  margin-left: auto;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}
#uploadsSection .upload-item-last .upload-more-link {
  align-items: center;
  width: 100%;
  height: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
#uploadsSection .upload-item-last .line1 {
  font-size: 16px;
  font-weight: 700;
}
#uploadsSection .upload-item-last .line2 {
  font-size: 12px;
  font-weight: 400;
  color: var(--brand-primary-color);
  cursor: pointer;
  text-decoration: none;
  line-height: 1;
}
#uploadsSection .upload-item-last .line2:hover {
  text-decoration: underline;
}
#showAllUploads {
  cursor: pointer;
}
/* vendor related css */
#vendorsSection {
  display: none;
  flex-direction: column;
}

#vendorsSection .content h2 {
  max-width: 100%;
}

#vendorsSection .vendors-container {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

#vendorsSection .vendor-item {
  display: flex;
  gap: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  flex: 1;
  min-width: 360px;
}

#vendorsSection .vendor-image-main {
  display: flex;
  width: 32px;
  align-items: flex-start;
}
#vendorsSection .vendor-img {
  max-width: 100%;
}
#vendorsSection .vendor-details-main {
  display: flex;
  justify-content: space-between;
  flex: 1;
  gap: 24px;
}
#vendorsSection .name-subcat-main {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
#vendorsSection .name-subcat-main .name {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
  margin: 0px;
  line-height: initial;
}
#vendorsSection .name-subcat-main .subCat {
  font-size: 15px;
  font-weight: 400;
  color: var(--text-secondary);
  margin: 0px;
  line-height: initial;
}
#vendorsSection .vendor-location-main {
  display: flex;
  flex-wrap: wrap;
  flex: 1;
}
#vendorsSection .vendor-location-main .location {
  display: flex;
  flex-wrap: wrap;
  margin: 0px;
  font-size: 14px;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: initial;
}

/* faq related css */
#faqsSection {
  display: none;
  flex-direction: column;
}
#faqsSection .content h2 {
  max-width: 100%;
}

#faqsSection .faqsContent {
  display: flex;
  flex-direction: column;
}

#faqsSection .headingAndRequestMain {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 16px;
}

#faqsSection .requestMain {
	display: flex;
	gap: 16px;
}

.access-code-inline-link {
	border: none;
	background: transparent;
	padding: 0;
	margin: 0;
	font-size: 13px;
	font-weight: 500;
	color: var(--brand-primary-color);
	cursor: pointer;
	text-decoration: underline;
}

.access-code-inline-link[disabled] {
	color: var(--faint-gray);
	cursor: default;
	text-decoration: none;
}

#faqsSection .faq-action-link {
	font-size: 12px;
	font-weight: 500;
	color: var(--brand-primary-color);
	cursor: pointer;
	text-decoration: none;
}

#faqsSection .faq-action-link:hover {
	text-decoration: underline;
}

.faqsMain {
	display: flex;
	gap: 32px;
}

.faq-item {
	cursor: pointer;
	padding-top: 16px;
}

.leftSideFaqs .faq-item:first-child,
.rightSideFaqs .faq-item:first-child {
	padding-top: 0;
}

.faq-question {
	font-size: 16px;
	font-weight: 500;
	color: var(--text-primary);
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-top: 16px;
  padding-bottom: 16px;
	border-bottom: 1px solid var(--border);
}

.faq-question .iconify {
	transition: transform 0.3s ease;
	flex-shrink: 0;
}

.faq-question.active .iconify {
	transform: rotate(45deg);
}

.faq-answer {
	font-size: 14px;
	font-weight: 400;
	color: var(--text-secondary);
	margin-top: 16px;
	display: none;
	padding: 16px;
	border-radius: 8px;
	background-color: #f9f9fb;
}

.leftSideFaqs,
.rightSideFaqs {
	width: 50%;
	display: flex;
	flex-direction: column;
}

@media (max-width: 767px) {
	#faqsSection .headingAndRequestMain {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
		margin-bottom: 16px;
	}

	#faqsSection .headingAndRequestMain h2 {
		margin-bottom: 0;
	}

	.faqsMain {
		flex-direction: column;
		gap: 0;
	}
	.leftSideFaqs,
	.rightSideFaqs {
		width: 100%;
	}
	.rightSideFaqs .faq-item:first-child {
		padding-top: 16px;
	}
}

/* footer section */
#footerSection {
	display: none;
	justify-content: center;
	align-items: center;
	gap: 8px;
	padding: 32px 0;
	background-color: var(--white-color);
}#faqsSection .faqItem {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
#faqsSection .faqItem .faqQuestion {
  margin-bottom: 0px;
}
#faqsSection .faqItem .faqAnswer {
  font-size: 16px;
  margin-bottom: 0px;
}

/* footer css*/
#footerSection {
  display: none;
  justify-content: center;
  align-items: center;
  gap: 8px;
}
#footerSection .footer-text {
  display: flex;
  margin: 0px;
  font-size: 12px;
  color: #6e7079;
  line-height: inherit;
}
#footerSection .footer-logo {
  display: flex;
  width: 96px;
  height: auto;
}
#footerSection .footer-logo a {
  display: initial;
}
#footerSection .footer-logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* scroll to section fab related css*/
/** scroll to section related */
#scrollToTopActionSectionMain {
  display: none;
}
#scrollToTopActionMenu {
  display: none;
}

.fab-main {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: auto;
  height: auto;
}
.fab {
  background-color: var(--brand-primary-color);
  color: #ffffff !important;
  border: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
  border-radius: 99px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8px 16px;
  cursor: pointer;
  z-index: 1000;
  transition: background-color 0.3s;
  font-size: 14px;
  font-weight: 400;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
}

.fab:hover {
  background-color: #1a52cc;
  box-shadow: 0 6px 18px rgba(34, 102, 255, 0.4);
}
.fab-menu {
  position: fixed;
  bottom: 100px;
  right: 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  z-index: 1000;
  background-color: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}
.fab-menu .scrollToSectionACtionItem {
  color: var(--brand-primary-color);
  background-color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
  font-size: 13px;
  font-weight: 400;
  padding: 6px 16px;
  border-radius: 99px;
  transition: background-color 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  white-space: nowrap;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  gap: 10px;
}

.fab-menu .scrollToSectionACtionItem:hover {
  background-color: rgba(34, 102, 255, 0.2);
}

@media (max-width: 1024px) {
  #compliancesSection .cert-container {
    grid-template-columns: repeat(auto-fill, minmax(calc(33.33% - 20px), 1fr));
  }

  #controlsSection .controls-container {
    grid-template-columns: repeat(auto-fill, minmax(calc(50% - 20px), 1fr));
  }
  #policiesDocumentsSection .policies-container {
    grid-template-columns: repeat(auto-fill, minmax(calc(50% - 20px), 1fr));
  }
  #uploadsSection .uploads-container {
    grid-template-columns: repeat(auto-fill, minmax(calc(50% - 20px), 1fr));
  }
}

@media (max-width: 900px) {
  #companyDetailsSection .header {
    gap: 10px;
  }
  #companyDetailsSection .links {
    gap: 10px;
  }
  #compliancesSection .cert-container {
    grid-template-columns: repeat(auto-fill, minmax(calc(50% - 20px), 1fr));
  }
}

/** section wise media query */
@media (max-width: 768px) {
  body {
    padding: 16px;
    font-size: 15px;
  }
  h1 {
    font-size: 36px;
  }
  p {
    font-size: 15px;
  }
  .card {
    padding: 32px;
  }
  #companyDetailsSection .header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  #companyDetailsSection .logo-name-main {
    flex-wrap: wrap;
  }
  #companyDetailsSection .links {
    gap: 10px;
  }
  #companyDetailsSection .intro {
    margin-bottom: 0px;
  }

  #vendorsSection .vendors-container {
    flex-direction: column;
  }
  #vendorsSection .vendor-item {
    min-width: 100%;
    max-width: 100%;
  }
  #vendorsSection .vendor-location-main {
    min-width: 100%;
  }
  #vendorsSection .vendor-details-main {
    justify-content: initial;
    gap: 10px;
    flex-direction: column;
  }
  #vendorsSection .name-subcat-main .subCat {
    font-size: 15px;
  }
  #faqsSection .faqsMain {
    flex-direction: column;
  }
  #faqsSection .leftSideFaqs,
  #faqsSection .rightSideFaqs {
    min-width: auto;
    max-width: 100%;
  }
  #faqsSection .faqItem .faqAnswer {
    font-size: 15px;
  }

  .modal-body {
    padding: 0px 28px 28px 28px;
  }

  #policiesDocumentsSection .headingAndRequestMain {
    margin-bottom: 20px;
  }

  #uploadsSection .headingAndRequestMain {
    margin-bottom: 20px;
  }
}

@media screen and (max-width: 767px) {
  .card {
    padding: 20px;
  }
  #companyDetailsSection .header {
    gap: 16px;
  }
  #companyDetailsSection .logo-name-main {
    gap: 8px;
  }

  #compliancesSection .cert-container {
    grid-template-columns: repeat(auto-fill, minmax(calc(100% - 20px), 1fr));
  }
  #controlsSection .controls-container {
    grid-template-columns: repeat(auto-fill, minmax(calc(100% - 20px), 1fr));
  }

  #policiesDocumentsSection .policies-container {
    grid-template-columns: repeat(auto-fill, minmax(calc(100% - 20px), 1fr));
  }

  #uploadsSection .uploads-container {
    grid-template-columns: repeat(auto-fill, minmax(calc(100% - 20px), 1fr));
  }
  #policiesDocumentsSection .headingAndRequestMain,
  #uploadsSection .headingAndRequestMain {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  #policiesDocumentsSection .requestMain,
  #uploadsSection .requestMain {
    flex-direction: row-reverse;
    align-items: center;
  }
  .fab-menu {
    bottom: 80px;
  }
}

/** * Error Page Styles and media query */
/* error css */
#errorSection {
  display: none;
  flex-direction: column;
  min-height: 400px;
  height: calc(100vh - 160px);
  justify-content: center;
  align-items: center;
}
#errorSection .errorMainContainer {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}
#errorSection .errorMainContainer .errorMain {
  display: flex;
  padding: 20px;
  border-radius: 16px;
  gap: 20px;
  border: 1px solid var(--border);
  box-sizing: border-box;
  background-color: #ffffff;
  flex-wrap: wrap;
}
#errorSection .errorMainContainer .errorImgMain {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 375px;
}
#errorSection .errorMainContainer .errorImgMain img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
#errorSection .errorMainContainer .errorTextMain {
  display: flex;
  justify-content: center;
  flex-direction: column;
  width: 375px;
}
#errorSection .errorMainContainer .errorHeading {
  margin-bottom: 12px;
  font-weight: 400;
}
#errorSection .errorMainContainer .errorSubHeading {
  margin-bottom: 12px;
  font-weight: 600;
  color: var(--text-primary);
}
#errorSection .errorMainContainer .errorText {
  font-size: 14px;
  margin-bottom: 8px;
  color: var(--text-primary);
}

/** media query */
@media (max-width: 900px) {
  #errorSection .errorMainContainer .errorImgMain {
    width: auto;
    flex: 1;
  }
  #errorSection .errorMainContainer .errorTextMain {
    width: auto;
    flex: 1;
  }
}
@media (max-width: 650px) {
  #errorSection .errorMainContainer .errorMain {
    flex-direction: column;
    align-items: center;
  }
  #errorSection .errorMainContainer .errorImgMain {
    width: 100%;
    max-width: 375px;
  }
  #errorSection .errorMainContainer .errorTextMain {
    width: 100%;
    align-items: center;
  }
  #errorSection .errorMainContainer .errorText {
    text-align: center;
  }
}

/* modal css*/
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 2000; /* Sit above icons, tooltips, and FAB */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0, 0, 0); /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
  justify-content: center; /* Center modal content */
  align-items: center; /* Center modal content */
}
.modal-content-main {
  background-color: #fefefe;
  border: 1px solid #e6ebf1;
  width: 90%; /* Could be more or less, depending on screen size */
  border-radius: 8px;
  max-width: 600px;
  box-sizing: border-box; /* Include padding and border in width calculations */
  height: calc(100vh - 80px);
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  position: relative; /* ensure stacking context */
  z-index: 2001; /* above backdrop children */
}
.modal-header {
  padding: 10px;
  background-color: #ffffff;
  position: sticky;
  top: 0;
  z-index: 2002; /* header above modal content if needed */
  border-radius: 8px 8px 0 0;
}
.modal-body {
  padding: 0px 40px 40px 40px;
  overflow-y: auto; /* Enable vertical scrolling */
  flex: 1; /* Allow the body to take up remaining space */
}
.close {
  color: #aaa;
  float: right;
  font-weight: bold;
  display: flex;
}
.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.no-scroll {
  overflow: hidden; /* Disable scrolling */
}

/* allControlsContent */
.allControlsContent {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.allControlsContent h2 {
  margin-bottom: 0px;
}
.allControlsContent .modal-controls-container {
  display: flex;
  gap: 24px;
  justify-content: flex-start;
  flex-direction: column;
}
.allControlsContent .modal-controls-container .modal-control-item {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.allControlsContent .modal-controls-container .modal-control-item-header {
  display: flex;
  align-items: center;
  gap: 10px;
}
.modal-control-item-header .iconify {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--text-primary); /* Use text-primary color */
}
.allControlsContent
  .modal-controls-container
  .modal-control-item-header
  .modal-control-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
}
.allControlsContent .controlNameListMain {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.allControlsContent .controlNameListItem {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding-left: 2px;
}
.allControlsContent .controlNameListItem .controlName {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-block;
  max-width: 100%;
  color: var(--text-secondary);
}

.allControlsContent .controlNameListItem .iconify {
  flex-shrink: 0;
}

/* policy modal content css*/
.allPoliciesContent {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.allPoliciesContent h2 {
  margin-bottom: 0px;
}
.allPoliciesContent .modal-policies-container {
  display: flex;
  gap: 20px; /* Space between cards */
  justify-content: flex-start; /* Align cards to the left */
  flex-direction: column;
}

.allPoliciesContent .policyNameListMain {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.allPoliciesContent .policyNameListItem {
  display: flex;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
}
.allPoliciesContent .policyNameListItem .policyNameIconMain {
  display: flex;
  gap: 16px;
  align-items: center;
  flex: 1;
}
.allPoliciesContent .policyNameListItem .policyNameIconMain .policyIcon {
  height: 28px;
  width: 28px;
  flex-shrink: 0;
}
.allPoliciesContent .policyNameListItem .policyNameIconMain .policyName {
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--text-primary);
}
.allPoliciesContent .iconify {
  flex-shrink: 0;
}

/* uploads modal content css*/
.allUploadsContent {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.allUploadsContent h2 {
  margin-bottom: 0px;
}
.allUploadsContent .modal-uploads-container {
  display: flex;
  gap: 20px; /* Space between cards */
  justify-content: flex-start; /* Align cards to the left */
  flex-direction: column;
}

.allUploadsContent .uploadNameListMain {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.allUploadsContent .uploadNameListItem {
  display: flex;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
}
.allUploadsContent .uploadNameListItem .uploadNameIconMain {
  display: flex;
  gap: 16px;
  align-items: center;
  flex: 1;
}
.allUploadsContent .uploadNameListItem .uploadNameIconMain .uploadIcon {
  height: 28px;
  width: 28px;
  flex-shrink: 0;
}
.allUploadsContent .uploadNameListItem .uploadNameIconMain .uploadName {
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--text-primary);
}
.allUploadsContent .iconify {
  flex-shrink: 0;
}

/* Access Code Modal */
.access-code-modal-content {
  max-width: 480px;
  height: auto;
}

.access-code-modal-body {
  padding: 0px 40px 40px 40px;
}

.access-code-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.access-code-content h2 {
  margin-bottom: 0px;
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
}

.access-code-description {
  margin-bottom: 0px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-secondary);
}

.access-code-input-wrapper {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.access-code-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
}

.access-code-input {
  width: 100%;
  padding: 10px 12px;
  font-family: 'Roboto', sans-serif; /* match app font */
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
  border: 1px solid var(--border);
  border-radius: 8px;
  outline: none;
  transition: border-color 0.2s ease;
  box-sizing: border-box;
  letter-spacing: 0.5px; /* reduce from 2px to avoid monospace feel */
}

.access-code-input::placeholder {
  color: #aab4c9;
  font-weight: 400;
  font-family: 'Roboto', sans-serif; /* ensure placeholder uses same font */
}

.access-code-input:focus {
  border-color: var(--brand-primary-color);
}

.access-code-input.error {
  border-color: var(--red-color);
}

.access-code-error {
  display: none;
  font-size: 14px;
  color: var(--red-color);
  margin: 0;
  line-height: 1.4;
}

.access-code-error.show {
  display: block;
}

.access-code-error-strong {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
}

.access-code-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.access-code-btn-primary {
  width: 100%;
  padding: 10px 16px;
  background-color: var(--brand-primary-color);
  color: #ffffff;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  font-weight: 500;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s ease, opacity 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.access-code-btn-primary:hover:not(:disabled) {
  background-color: #1a52cc;
}

.access-code-btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.access-code-btn-primary.loading {
  opacity: 0.8;
  cursor: wait;
}

.access-code-btn-primary.success {
  background-color: var(--green-color);
}

.access-code-btn-primary .btn-loader .iconify {
  width: 20px;
  height: 20px;
}

.access-code-btn-link {
  background: none;
  border: none;
  color: var(--brand-primary-color);
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  padding: 4px;
  transition: opacity 0.2s ease;
}

.access-code-btn-link:hover {
  opacity: 0.8;
}

@media (max-width: 768px) {
  .access-code-modal-body {
    padding: 0px 28px 28px 28px;
  }
}
