@font-face {
  font-family: "Public Sans";
  src: url("../fonts/public-sans/PublicSans-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Public Sans";
  src: url("../fonts/public-sans/PublicSans-Bold.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
}

.modal-body {
  overflow-x: hidden !important;
}

html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.formRightButton {
  margin-top: 30px;
}

.form-group.required .control-label:after {
  content: "*";
  color: red;
}

.initial,
.notstarted {
  display: inline-block;
  padding: 0.25em 0.4em;
  font-size: 75%;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 0.25rem;
  color: #fff;
  background-color: #6c757d;
}

.managementapprovalpending {
  display: inline-block;
  padding: 0.25em 0.4em;
  font-size: 75%;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 0.25rem;
  color: #fff;
  background-color: #ea7513;
}

.accepted {
  display: inline-block;
  padding: 0.25em 0.4em;
  font-size: 75%;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  color: #fff;
  background-color: #28a745;
  border-radius: 0.25rem;
}

.rejected,
.failed {
  display: inline-block;
  padding: 0.25em 0.4em;
  font-size: 75%;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 0.25rem;
  color: #fff;
  background-color: #dc3545;
}

.processing {
  display: inline-block;
  padding: 0.25em 0.4em;
  font-size: 75%;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 0.25rem;
  color: #fff;
  background-color: #17a2b8;
}

.btnBack {
  color: #6c757d;
  border-color: #6c757d;
  display: inline-block;
  font-weight: 400;
  color: #212529;
  text-align: center;
  vertical-align: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  background-color: transparent;
  border: 1px solid transparent;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 0.25rem;
}

.select2-selection__rendered {
  line-height: 31px !important;
}

.select2-container .select2-selection--single {
  height: calc(2.25rem + 2px) !important;
}

.select2-selection__arrow {
  height: calc(2.25rem + 2px) !important;
}

/* .select2-container {
  z-index: 9999 !important;
} */

.big-checkbox {
  width: 1.5rem;
  height: 1.5rem;
}

.accicon {
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
  cursor: pointer;
}

.collapsed .rotate-icon {
  transform: rotate(-180deg);
}

.rotate-icon {
  transition: transform 0.3s ease;
}

.no-record-found {
  text-align: center;
  padding: 20px;
  border: 1px solid #ccc;
  background-color: #f8f8f8;
  color: #555;
  margin: 20px auto;
  max-width: 300px;
}

.clsRemoveAccItm {
  position: absolute;
  right: 50px;
  bottom: 6.5px;
}

.tblScreeningResult {
  max-height: 300px;
  display: block;
}

.warning {
  background-color: #fffacd;
  border: 2px solid #ffd700;
  padding: 10px;
  margin: 10px;
}

.warning:before {
  content: "\f071";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: #ffd700;
  margin-right: 5px;
}

.info-msg,
.success-msg,
.warning-msg,
.error-msg {
  margin: 10px 0;
  padding: 10px;
  border-radius: 3px 3px 3px 3px;
}

.info-msg {
  color: #059;
  background-color: #bef;
}

.success-msg {
  color: #270;
  background-color: #dff2bf;
}

.warning-msg {
  color: #9f6000;
  background-color: #feefb3;
}

.error-msg {
  color: #d8000c;
  background-color: #ffbaba;
}
.clsDateBs::placeholder {
  color: #999 !important;
  opacity: 0.7 !important;
}

.registeredUser {
  display: inline-block;
  padding: 0.75em 0.4em;
  font-size: 75%;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 0.25rem;
  color: #fff;
  background-color: #6c757d;
}

.white-dot {
  width: 8px;
  /* Adjust size as needed */
  height: 8px;
  /* Adjust size as needed */
  background-color: rgb(92, 92, 92);
  border-radius: 50%;
  display: inline-block;
  margin-right: 4px;
}

.vertical-scroll-table {
  max-height: 70vh;
  overflow-y: auto;
  overflow-x: auto;
  position: relative;
  border: 1px solid #dee2e6;
}

.vertical-scroll-table table {
  margin-bottom: 0;
  width: 100%;
}

.vertical-scroll-table thead {
  position: sticky;
  top: -1px;
  z-index: 10;
  background-color: #f8f9fa;
  border-bottom: 1px solid #dee2e6;
}

.vertical-scroll-table th {
  background-color: inherit;
}

.breadcrumb {
  padding: 5px;
  width: fit-content;
  border-radius: 10px;
  border-color: #9bd2ff;
  display: flex;
  align-items: center;
}

.select2-container--default .select2-selection__choice {
  background-color: var(--bg-light) !important;
  color: black !important;
}

.table-body-wide td {
  padding: 8px 12px;
  vertical-align: middle;
  white-space: nowrap;
}

.table-body-wide input,
.table-body-wide select {
  min-width: 150px;
  width: auto;
  max-width: 100%;
}

.error-acc-title {
  border: 1px solid #dc3545 !important;
  border-left: 6px solid #dc3545 !important;
}

.error-row-table {
  border: 1px solid #dc3545 !important;
  border-left: 6px solid #dc3545 !important;
  border-bottom: 6px solid white !important;
}
.custom-tabs {
  display: flex;
  width: 100%;
  background-color: #f0f0f0;
  border-bottom: 2px solid #ccc;
}

.custom-tab {
  flex: 1;
  text-align: center;
  padding: 12px 0;
  cursor: pointer;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  border-bottom: 3px solid transparent;
  transition: all 0.3s ease;
}

.custom-tab.active {
  border-bottom: 3px solid var(--theme-color);
  background-color: var(--bg-light);
  color: var(--text-color-gray-100);
  font-weight: 600;
}

.custom-tab:hover {
  background-color: #eaeaea;
}

.custom-no-padding {
  padding-right: 0px !important;
  padding-right: 0px !important;
  padding: 0px !important;
}

.custom-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-family: sans-serif;
  font-size: 14px;
}

.custom-badge-success {
  color: #1a7f37;
  background-color: #d1fae5;
}

.custom-badge-error {
  color: #b91c1c;
  background-color: #fee2e2;
}

.custom-badge-warning {
  color: #92400e;
  background-color: #fef3c7;
}

.custom-badge-info {
  color: #0c4a6e;
  background-color: #e0f2fe;
}

.chip {
  display: inline-flex;
  padding: 0 10px;
  padding-right: 30px;
  align-items: center;
  background-color: #e5eff7;
  color: #1a1a1a;
  padding: 8px 12px;
  border-radius: 28px;
  font-size: 16px;
  font-weight: 500;
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  background-color: #c2e4ff;
  color: #333;
  padding: 8px 12px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  gap: 4px;
}

/* Action Buttons Group Styling */
.action-buttons-group {
  display: flex !important;
  gap: 8px !important;
  justify-content: center !important;
  align-items: center !important;
}

.action-btn-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 36px !important;
  height: 36px !important;
  padding: 0 !important;
  border-radius: 4px !important;
  font-size: 16px !important;
  transition: all 0.3s ease !important;
}

.action-btn-icon:hover {
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.action-btn-icon i {
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white !important;
}

.action-btn-icon.btn-info {
  background-color: #007bff !important;
  border-color: #007bff !important;
  color: white !important;
}

.action-btn-icon.btn-info:hover {
  background-color: #0056b3 !important;
  border-color: #0056b3 !important;
}

/* ───── ARAP Fonts ───── */
@font-face {
    font-family: 'ARAP  001';
    src: url('../fonts/ARAP  001 Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'ARAP 009';
    src: url('../fonts/ARAP 009 Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

.font-arap-001 {
    font-family: 'ARAP  001' !important;
}

.font-arap-009 {
    font-family: 'ARAP 009' !important;
}

.dynamic-fields-section {
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    padding: 1.5rem;
    background-color: #f8fafc;
    margin-top: 1.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.dynamic-fields-header {
    border-bottom: 2px solid #3b82f6;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    color: #1e40af;
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

    .dynamic-fields-header i {
        margin-right: 0.5rem;
    }

.btn-doc {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
    vertical-align: middle;
}

/* User Menu Custom Styles */
a.user-menu-custom-hover,
a.dropdown-item.user-menu-custom-hover {
    transition: all 0.2s ease-in-out;
}

html body .dropdown-menu a.dropdown-item.user-menu-custom-hover:hover,
html body .dropdown-menu a.dropdown-item.user-menu-custom-hover:focus,
html body .dropdown-menu a.dropdown-item.user-menu-custom-hover:active,
html body a.user-menu-custom-hover:hover,
html body a.user-menu-custom-hover:focus,
html body a.user-menu-custom-hover:active {
    background: #dfe3e7 !important;
    background-color: #dfe3e7 !important;
    color: #495057 !important;
}

/* TTR Search Specific Styles */
.ttr-tabs-container {
    display: flex;
    gap: 1.5rem;
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
    margin-top: 1rem;
}
.ttr-tab {
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    color: #6c757d;
    padding-bottom: 8px;
    border-bottom: 3px solid transparent;
}
.ttr-tab:hover {
    color: #495057;
}
.ttr-tab.active {
    color: var(--text-color-gray-100, #212529);
    border-bottom: 3px solid var(--theme-color, #212529);
}
.ttr-tab.active[data-status="valid"] {
    color: #198754;
    border-bottom: 3px solid #198754;
}

.ttr-pills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
}
.risk-review-tabs {
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    margin-top: 0;
}
.risk-review-tabs .ttr-tab {
    white-space: nowrap;
}
.ttr-pill {
    border: 1px solid #dee2e6;
    border-radius: 20px;
    padding: 6px 16px;
    color: #495057;
    background-color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}
.ttr-pill:hover {
    background-color: #f8f9fa;
}
.ttr-pill.active-pill {
    background-color: #e6f0ff;
    border-color: #b3d4ff;
    color: #0056b3;
}
.ttr-badge {
    background-color: #e2e8f0;
    color: #212529;
    border-radius: 12px;
    padding: 2px 8px;
    font-size: 14px;
    font-weight: 700;
}
.ttr-pill.active-pill .ttr-badge {
    background-color: #cce5ff;
    color: #002752;
}

/* Soft badge utility classes */
.soft-badge {
    padding: 4px 10px;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.badge-secondary-soft {
    background-color: #e2e8f0;
    color: #0f172a;
    border: 1px solid #cbd5e1;
}
