/**
 * Main CSS stylesheet for application
 */

/* BEGIN: CSS custom properties (variables) */
:root {

  --tender-primary-text-color: #42444A;
  --tender-secondary-text-color: #828282;

  --text-place-holerder-color: #BDBDBD;
  --disable-text-color: #B3B3B3;

  --tender-main-blue: #2F80ED;
  --tender-danger-red: #E23155;
  --tender-sucess-green: #27C8A6;
  --tender-progress-yellow: #FFBF09;
  --tender-dark-grey: #222429;

  --tender-text-hover-color: #0B52B1; /*primary text hover color*/
  --tender-disable-text-hover-color: #b2b2b2;
  --tender-border-color: #E0E0E0;
  --tender-background-grey-color: #F2F2F2;
  --tender-border-bottom-color: #e5e7eb;

  --epi-background-body: var(--tender-background-grey-color);
  --epi-body: var(--tender-primary-text-color); /*  #364A63; */
  --epi-border-color: var(--tender-border-color);
  --epi-border-radius: 0.5rem; /* twice of Bootstrap, for containers such as cards, tables */
  --epi-form-control-border-radius: 0.25rem; /* same as Bootstrap, for form fields and buttons */
  --epi-z-index: 1024; /* must be more than z-index of 1020 for .sticky-top applied to cards and tables */

  /* Override Bootstrap colors */
  --epi-primary: var(--tender-main-blue);
  --epi-secondary: var(--tender-text-hover-color);
  --epi-danger: var(--tender-danger-red);
  --epi-muted: #979CAB;

  /* Effects */
  --epi-checked-active: var(--tender-sucess-green);
  --epi-hover-brightness: 85%;
  --epi-text-color-hover: var(--tender-text-hover-color);



}
/* CLOSE: CSS custom properties (variables) */

/* BEGIN: Containers */
html,
body {
  font-size: 16px; /* fix base font size for easier computation of rem units */
  margin: 0;
  padding: 0;
}

body {
  background: white;
  color: var(--tender-primary-text-color);
}
body.login-page {
  background: var(--epi-background-body);
}

.container {
  padding-bottom: 1rem;
}

.login-wrapper .card {
  border: none;
  border-radius: var(--epi-border-radius);
  box-shadow: 0 1rem 3rem #7090B014;
}
/* CLOSE: Containers */


/* BEGIN: Alerts (including modals, popovers and session messages) */
#shared-modal .modal-description {
  color: var(--epi-muted);
  margin-top: 0;
  padding: 0 1rem
}

#shared-modal .modal-error {
  color: var(--epi-danger);
}

.modal-title {
    margin-bottom: 0;
    line-height: 1.5;
    font-size: 1rem;
    font-weight: bold;
}

.alert { /* override /epi/css/epi.css to make sure long messages do not overlap with close button */
  padding: 0.5rem 2rem 0.5rem 1rem;
}
/* CLOSE: Alerts */

/* BEGIN: Colors (typically used with .dot) */
.status-active,
.status-ready,
.status-closed,
.status-success,
.status-verified,
.status-assessed,
.status-evaluated,
.status-matched {
  background-color: var(--tender-sucess-green); /* bright green (Bootstrap teal) used for completed states */
}

.status-pending,
.status-warning,
.status-processing,
.status-open,
.status-verifying,
.status-assessing,
.status-evaluating,
.status-incomplete { /* --bs-orange looks too close to --bs-red hence using --bs-yellow */
  background-color: var(--tender-progress-yellow); /* bright orange (Bootstrap yellow) used for warning and in-progress states */
}

.status-error,
.status-failure,
.status-missing {
  background-color: var(--tender-danger-red); /* red used for failed states */
}

.status-price-mismatch {
  background-color: var(--tender-primary-text-color) !important;
}

.status-inactive,
.status-unknown {
  background-color: var(--tender-dark-grey); /* gray used for unknown states */
}

.status-unsupported {
  background-color: var(--tender-secondary-text-color); /* lighter gray used for unsupported states */
}

/* set colors of status bi-exclamation-circle-fill */
.badge-active,
.badge-ready, 
.badge-closed, 
.badge-success, 
.badge-verified, 
.badge-assessed, 
.badge-evaluated, 
.badge-matched {
  color: var(--tender-sucess-green) !important; /* bright green (Bootstrap teal) used for completed states */
}

.border-active, .border-ready,.border-closed, .border-success,.border-verified,
.border-assessed,.border-evaluated,.border-matched {
  border-color: var(--tender-sucess-green) !important;
}

.badge-pending, 
.badge-warning,
.badge-processing, 
.badge-open, 
.badge-verifying,
.badge-assessing, 
.badge-evaluating, 
.badge-incomplete  { /* --bs-orange looks too close to --bs-red hence using --bs-yellow */
  color: var(--tender-progress-yellow) !important; /* bright orange (Bootstrap yellow) used for warning and in-progress states */
}

.border-pending, .border-warning, 
.border-processing, .border-open,
.border-verifying, .border-assessing,
.border-evaluating, .border-incomplete {
  border-color: var(--tender-progress-yellow) !important;
}

.badge-error, 
.badge-failure, 
.badge-missing{
  color: var(--tender-danger-red) !important; /* red used for failed states */
}

.badge-price-mismatch {
  color: var(--tender-primary-text-color) !important;
}

.border-error, .border-failure, .border-missing {
  border-color: var(--tender-danger-red) !important;
}

.border-price-mismatch {
  border-color: var(--tender-primary-text-color) !important;
}

.badge-inactive, 
.badge-unknown {
  color: var(--tender-dark-grey) !important; /* gray used for unknown states */
}

.border-inactive, .border-unknown {
  border-color: var(--tender-dark-grey) !important;
} 

.badge-unsupported {
  color: var(--tender-secondary-text-color) !important; /* lighter gray used for unsupported states */
}

.border-unsupported {
  border-color: var(--tender-secondary-text-color) !important;
}

.text-padding {
  padding-top: 8px;
  padding-bottom: 8px;
  padding-left: 16px;
  padding-right: 16px;
}

.color-div {
  background-color: var(--tender-background-grey-color);
  border-color: var(--tender-border-color);
}
/* CLOSE: Colors */

/* BEGIN: Forms */
fieldset {
  border: 1px solid var(--epi-border-color);
  border-radius: var(--epi-border-radius);
  padding: 1rem;
}

textarea.form-control {
  height: 5rem;
  overflow-y: scroll;
}

.dropzone {
  background: #eee;
  border: 0.25rem dashed var(--tender-primary-text-color);
  border-radius: var(--epi-border-radius);
  font-size: 1.5rem;
  height: 12.5rem;
  padding: 1rem;
}

.input-group {
  margin-bottom: 1rem;
}

.input-group-note { /* meant to be placed after div.input-group hence offset margin-top */
  font-size: 0.85rem;
  font-style: italic;
  margin-bottom: 1rem;
  margin-top: -1rem;
}

.form-label.required {
  font-weight: bold;
}
.form-label.required:after {
  content: " *";
}

.form-select { /* override Bootstrap, ensure dropdown does not span entire page width nor exceed small screen width */
  cursor: pointer;
  max-width: 100%;
  width: auto;
  border-color: var(--tender-border-color);
}

.form-control {
  border-color: var(--epi-border-color);
  color: var(--tender-primary-text-color);
  /* padding: 0.75rem; */
  line-height: 1.25;
  font-size: 0.875rem;
}

/* Toggle switches */

.filter-sub-container label.form-check-label {
  padding-left: 0.5rem;
}

.form-switch .form-check-input {
  border-color: var(--epi-border-color);
  cursor: pointer;
  height: 1.5rem;
  width: 3rem;
}
.form-switch .form-check-input:checked {
  background-color: var(--epi-checked-active);
  border-color: var(--epi-checked-active);
}

.form-check-input {
    width: 1.25rem;
    height: 1.25rem;
    margin-top: .125rem;
    vertical-align: top;
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border: 1px solid var(--tender-border-color);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-print-color-adjust: exact;
    color-adjust: exact;
}

.form-check .form-check-input {
    float: left;
    margin-left: -1.25rem;
}

.input-group-text {
    padding: 0.75rem;
    font-size: 0.875rem;
}

/* Clickable icons in fields such as Show Password icon for password fields */
.input-group-text.clickable {
  background: var(--epi-background-body);

}

.input-group-text.clickable:hover {
  background: var(--tender-main-blue);
  color: #fff;
}

/* Override Bootstrap .btn-* classes, must darken button on hover for visual confirmation else bad UX */
.btn {
    font-size: 0.875rem;
    font-weight: bold;
    padding: 0.5rem 1rem;
    text-transform: uppercase;
}
.btn-sm { /* need to redeclare cos .btn overridden above */
  border-radius: 0.2rem;
  font-size: .875rem;
  padding: 0.5rem 0.75rem;
}

.btn-primary {
  filter: none;
  background: var(--tender-main-blue);
}

.btn-primary:hover {
  filter: none;
  background: var(--tender-text-hover-color);
}

.btn-primary.disabled {
  filter: grayscale(100%);
}

.btn-secondary
{
  background-color: var(--tender-background-grey-color);
  border: none;
  color: var(--tender-primary-text-color);
}

.btn-secondary:hover {
  background-color: var(--tender-main-blue);
  color: #fff;
  filter: none;
  /* filter: brightness(var(--epi-hover-brightness)); */ /* no need filter as background/color will change */
}
.btn-secondary.disabled,
.btn-secondary:disabled {
  filter: grayscale(100%);
}

.btn-light:hover {
  filter: brightness(var(--epi-hover-brightness));
}

.btn-light.disabled,
.btn-light:disabled {
  filter: grayscale(100%);
}

/* Custom button class with no background, text color will lighten on hover */
.btn-transparent,
.btn-transparent.disabled,
.btn-transparent:disabled,
.btn-transparent:active,
.btn-transparent:focus {
  background-color: transparent;
  border-color: transparent;
  box-shadow: none;
}

/* .btn.dropdown-toggle:hover {
  color: var(--tender-text-hover-color) !important;
  background-color: white !important;
  filter: none;
  color: var(--tender-text-hover-color); 
} 
*/

.btn-transparent:disabled {
  filter: grayscale(100%);
}
/* CLOSE: Forms */


/* BEGIN: Navigation (includes links, breadcrumbs and tabs) */
a {
  color: var(--epi-primary);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  filter: brightness(var(--epi-hover-brightness));
}

.breadcrumb {
  margin-bottom: 1.25rem;
}

.breadcrumb-item {
    display: flex;
    flex-wrap: wrap;
    padding: 0 0;
    color: var(--tender-primary-text-color);
    list-style: none;
}

.breadcrumb-item.active {
    color: var(--tender-primary-text-color);
}

.breadcrumb-item {
  font-size: 0.75rem;
  text-transform: capitalize;
}

.hover-underline:hover {
  text-decoration: underline;
}

.unclickable {
  color: var(--epi-muted);
  cursor: not-allowed;
  pointer-events: none;
  text-decoration: none;
}

/* Top menubar with dropdown menu */
nav.navbar-top {
  border-bottom: 1px solid var(--epi-border-color);
  margin-bottom: 1.25rem;
}

.navbar-top .navbar-logo {
  height: 2.5rem;
}

.navbar-top .dropdown-menu {
  padding: 0.25rem 0;
  z-index: var(--epi-z-index);
  box-shadow: 0px 8px 20px 0px rgba(224, 224, 224, 0.75);
  -webkit-box-shadow: 0px 8px 20px 0px rgba(224, 224, 224, 0.75);
  -moz-box-shadow: 0px 8px 20px 0px rgba(224,224,224,0.75);
  border: none;
}

.navbar-top a.dropdown-item {
  padding: 0.5rem;
  border-radius: 0.25rem;
	font-size: 0.875rem;
	align-items: center;
  display: flex;
}

.navbar-top a.dropdown-item:hover {
    background: var(--tender-background-grey-color);
    filter: none;
    color: var(--tender-main-blue)
}

.navbar-top .nav-link {
  border-radius: var(--epi-border-radius);
  color: var(--tender-primary-text-color);
}

.navbar-user-menu a.btn.btn-transparent.dropdown-toggle {
    text-transform: none;
    font-size: 0.875rem;
    font-weight: normal;
}

.navbar-user-menu a.btn.btn-transparent.dropdown-toggle:hover {
    /* text-transform: none;
    font-size: 0.875rem;
    font-weight: normal; */
  color: var(--tender-text-hover-color) !important;
  background-color: white !important;
  filter: none;
}

.navbar-top .dropdown-menu li {
    margin: 0.5rem 0.75rem;
}

.navbar .dropdown-item.nav-link span {
    padding: 0 0 0 0.5rem;
    margin-top: 0 !important;
}

.navbar-top a.dropdown-item i {
  font-size: 1rem;
}

.navbar-top li:last-child a.dropdown-item:hover {
  color: var(--tender-danger-red);
}

hr.dropdown-divider {
  opacity: 1;
  border: none;
  background: var(--tender-border-color);
	margin: 0 -0.75rem;
}



/* Horizontal tabs */
ul.nav-tabs {
  border-bottom: none;
}

.nav-tabs-container ul.nav.nav-tabs button.nav-link {
    padding: 0.5rem 0;
    margin-right: 1rem;
}

.nav-tabs .nav-link {
  color: var(--tender-secondary-text-color);
}

.nav-tabs .nav-link.active,
.nav-tabs .nav-link:hover {
  border-bottom: 2px solid var(--epi-primary);
  border-left: 1px solid transparent;
  border-right: 1px solid transparent;
  border-top: 1px solid transparent;
  color: var(--epi-primary);
}

/* Vertical pills */
.nav-pills .nav-link {
  color: var(--tender-primary-text-color);
}
.nav-pills .nav-link.active {
  background-color: var(--epi-background-body);
  color: var(--epi-primary);
}
/* CLOSE: Navigation */


/* BEGIN: Pagination */
.pagination {
  /* override Bootstrap .pagination */
  font-size: 0.875rem;
  margin-bottom: 0;
}

.pagination-wrapper,
.pagination-wrapper label,
.pagination-wrapper .form-select {
  color: var(--tender-primary-text-color);
  font-size: 0.875rem;
}

.page-item .page-link {
  border: none;
  border-color: transparent;
  border-radius: var(--epi-border-radius);
  margin: 0 0.125rem;
  color: var(--tender-primary-text-color);
  padding: 0.25rem 0.5rem;
}

.page-item.disabled .page-link {
  color: var(--disable-text-color);
  pointer-events: none;
  background-color: #fff;
  border-color: var(--disable-text-color); 
}

.page-item.active .page-link {
  /* override Bootstrap */
  background-color: var(--epi-primary);
  border-color: var(--epi-primary);
  border-radius: var(--epi-border-radius);
}

.page-item.curr-page {
  margin-right: 0.25rem;
}
.page-item.curr-page .input-page {
  padding: 0.25rem 0.25rem;
  width: 3rem;
  background: white;
  border: 1px solid var(--epi-border-color);
  border-radius: var(--epi-form-control-border-radius);
  margin-right: 0.25rem;
  text-align: center;
  color: var(--tender-primary-text-color);
}
/* CLOSE: Pagination */


/* BEGIN: Tables */
.table thead.sticky-top {
  background-color: white;
  border-radius: 0.25rem 0.25rem 0 0;
  box-shadow: 0 0 0 1px var(--tender-border-color) inset;
}

/* Search box */
.table-functions .search-field {
  margin-bottom: 0;
}

.search-field {
    border-color: var(--tender-border-color);
    border-radius: var(--epi-form-control-border-radius);
    position: relative;
}

.search-field:focus-within {
    border-color: #86b7fe; /* Bootstrap focus blue */
}

.search-field .form-control {
    padding-right: 0.75rem;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    padding-left: 40px;
    font-size: 0.875rem;
    line-height: 1.25;
    background: none;
    border-radius: var(--epi-form-control-border-radius) !important;
}

.search-field span {
    position: absolute;
    border: none;
}

.search-field .form-control:focus {
    padding-right: 40px;
}

.table-functions .input-group-text, .query-field .input-group-text {
  background: none;
  border-bottom-right-radius: 0;
  border-top-right-radius: 0;
  border-right: none;
}

/* Filters */
.table-filters {
  margin-left: 0.75rem;
}

.table-filters .btn-filter {
  padding: 0.75rem;
  font-size: 0.875rem;
	gap: 0.5rem;
  display: flex;
	line-height: 1.25;
  border: 1px solid var(--epi-border-color);
  border-radius: var(--epi-form-control-border-radius) !important;
}

.table-filters .btn-filter:focus { /* override Bootstrap */
  border-bottom-right-radius: var(--epi-form-control-border-radius) !important;
  border-top-right-radius: var(--epi-form-control-border-radius) !important;
}

.table-filters .dropdown-menu {
  list-style-type: none;
  margin: 0;
  padding: 0.5rem;
  width: 12.5rem;
  z-index: var(--epi-z-index);
	font-size: 0.875rem;
	box-shadow: 0px 8px 20px 0px rgba(224, 224, 224, 0.75);
  -webkit-box-shadow: 0px 8px 20px 0px rgba(224, 224, 224, 0.75);
  -moz-box-shadow: 0px 8px 20px 0px rgba(224,224,224,0.75);
  border: none;
}

.table-filters .dropdown-menu li ul {
  list-style-type: none;
  margin: 0;
  margin-top: 1rem;
  padding: 0;
}

.table-filters .dropdown-menu li.filter-body ul {
    margin-top: 0;
}

.table-filters .btn-copy .bi {
    margin-right: 0.5rem;
}

li.filter-body {
  margin: 0 !important;
}

.filter-sub-container .form-check {
    margin-bottom: 0;
}

.filter-sub-container {
  border: 1px solid var(--tender-border-color);
  padding: 0.5rem;
  border-radius: 0.25rem;
}

.filter-sub-container hr {
  margin: 0.5rem -0.5rem;
  background: var(--tender-border-color);
  opacity: 1;
}

.table-filters .filter-body .form-row {
  margin-bottom: 0.5rem;
}

.table-filters .btn-footer {
  padding: 0.5rem 0;
}

a.clear-filter {
  border-radius: 0.25rem;
  width: 100%;
  padding: 0.5rem;
  display: block;
  margin-top: -0.5rem;
}

a.clear-filter:hover {
  filter: none;
  color: var(--tender-text-hover-color);
  background: var(--tender-background-grey-color);
}

.table-with-pagination.card {
  border: none;
  width: 100%;
}

.table-with-pagination .card-header,
.table-with-pagination .card-footer {
  background-color: white;
  border: none;
  padding: 1rem;
}

.table-with-pagination .card-body {
  border-radius: var(--epi-border-radius);
  padding: 0;
  box-shadow: inset 0 0 0 1px var(--tender-border-color);
}

.table.record-listing th[data-sort-col] .bi {
    font-size: 0.75rem;
    width: 1.3125rem;
    display: inline-block;
    text-align: center;
}

tbody, td, tfoot, th, thead, tr {
    vertical-align: middle;
}

.table.record-listing {
  border-color: var(--epi-border-color);
  margin-bottom: 0;
  font-size: 0.875rem;
}

.table.record-listing thead th {
  color: var(--tender-primary-text-color);
  font-size: 0.875rem;
  vertical-align: middle;
  white-space: nowrap;
  padding: 0.5rem !important;
  border-bottom: 0;
  text-transform: capitalize;
}

.table.record-listing thead th[data-sort-col] {
  padding-bottom: 0.5rem;
}

.table.record-listing thead th[data-sort-col]  a{
  margin-left: 0 !important;
}

.table.record-listing td.actions {
  text-align: right;
}

/* Bulk select column (<th> and <td>) */
.table.record-listing .bulk-select-column {
  font-size: 1rem; /* reduce Bootstrap icon size */
  padding-left: 0;
  text-align: right;
}
.table.record-listing .bulk-select-column .form-check {
  display: inline-block; /* to allow bulk delete icon to be rendered side-by-side with select all checkbox in <th> */
  min-height: auto;
  margin-bottom: 0;
  padding-left: 0;
}
.table.record-listing .bulk-select-column .form-check .form-check-input {
  float: none;
  height: 1.25rem; /* normal size of 1rem is too small */
  margin-left: 0;
  margin-top: 0.1rem; /* in <th>, align bulk delete icon vertically with select all checkbox */
  width: 1.25rem;
}

.table.record-listing .form-switch {
  padding-left: 2.5em;
}

.table.record-listing th .bi,
.table.record-listing td .bi {
  font-size: 1rem;
}
.table.record-listing td .bi {
  margin: 0;
}

/* Table borders */
.table > :not(:first-child) {
  /* Override Bootstrap, remove thick black bottom border of table header row */
  border-top: none;
}

.table.record-listing tbody td {
  border-color: var(--epi-border-color);
}

.table.record-listing tbody tr:last-child td {
  border: none;
}

.table.record-listing tbody td .info-muted{
  color: var(--tender-secondary-text-color);
}

/* Links in th */
th a { /* only for header row and actions column */
  border-radius: 2rem;
  color: var(--tender-primary-text-color);
  padding: 0.5rem;
}

th a.bulk-delete:hover, td.actions a.record-delete:hover{
  background: var(--tender-danger-red);
  color: #fff !important;
}

.table.record-listing td.actions a .bi {
  margin: 0;
  font-size: 1rem;
  width: 1.5rem;
  display: inline-block;
  text-align: center;
}

/* Links in td */
td.actions a, th a.bulk-delete { /* only for header row and actions column */
  border-radius: 2rem;
  color: var(--epi-primary);
  padding: 0.25rem;
  display: inline-block;
}

th a:hover { /* only for header row and actions column */
  color: var(--tender-main-blue);
  background: var(--tender-background-grey-color);
  filter: none;
}

th a {
  display: inline-block;
  border-radius: 50%;
  padding: 0.25rem;
}

th a.bulk-delete,
td.actions a.record-delete {
  color: var(--epi-danger);
}

td.actions a:hover { /* only for header row and actions column */
  background: var(--epi-background-body);
  color: var(--epi-primary);
  filter: none;
}

/* Hidden columns in responsive tables */
[data-show-hidden-columns-target] .dropdown-toggle {
  background: none;
  border: none;
  padding-block: 0;
  padding-inline: 0;
}
[data-show-hidden-columns-target] .dropdown-toggle::before {
  display: none;
}
[data-show-hidden-columns-target] .dropdown-menu {
  padding: 0.5rem;
}

.dropdown-menu {
    padding: 0;
    z-index: var(--epi-z-index);
    box-shadow: 0px 8px 20px 0px rgba(224, 224, 224, 0.75);
    -webkit-box-shadow: 0px 8px 20px 0px rgba(224, 224, 224, 0.75);
    -moz-box-shadow: 0px 8px 20px 0px rgba(224,224,224,0.75);
    border: none;
}  

.dropdown-menu li {
    margin: 0.5rem 0.75rem;
}

/* CLOSE: Tables */

/* BEGIN: Text, Icons Images */
.dot { /* no color is set here so that it can be set with a status-* color class */
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  margin-right: 0.5rem;
}

/* Hide dot for certain statuses */
.dot.status-unknown,
.dot.status-unverified,
.dot.status-unassessed {
  display: none;
}

.icon {
  cursor: pointer;
  font-size: 1.2rem;
}

.logo {
  max-height: 10rem;
}

.title {
  font-size: 1.25rem;
  font-weight: bold;
  text-transform: capitalize;
}

.subtitle {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 1.25rem;
  text-transform: capitalize;
  padding-bottom: 1.25rem;
}

/* Animated ellipsis adapted from https://codepen.io/thetallweeks/pen/yybGra */
.loading:after { /* do not set font-size for .loading as it will change font size of adjacent text */
  animation: ellipsis steps(5, end) 1500ms infinite;
  bottom: -0.5rem;
  color: var(--epi-muted);
  content: "\2026"; /* ASCII code for the ellipsis character */
  display: inline-block;
  font-size: 3rem;
  margin-left: 0.25rem;
  margin-top: -3rem;
  overflow: hidden;
  position: relative;
  vertical-align: bottom;
  width: 0;
}
@keyframes ellipsis {
  to {
    width: 1.25em; /* must be 1.25em not rem to show all 3 dots in the ellipsis */
  }
}
/* CLOSE: Text, Icons Images */


/* BEGIN: Upload */
.upload-progress {
  height: 1.5rem;
  margin-bottom: 5rem;
  margin-top: 3rem;
}
/* CLOSE: Upload */

/* button add  */
.btn-add-record {
    background-color: transparent;
    color: var(--tender-main-blue);
    border: 1px solid var(--tender-border-color);
    padding: 0.75rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.15s;
    letter-spacing: 0;
    line-height: 1.25;
    vertical-align: middle;
    text-transform: capitalize;
}

.btn-add-record i.bi {
  font-size: 1rem;
  line-height: 1;
}

.btn-add-record:hover {
    background-color: var(--tender-main-blue);
    color: white;
    filter: none;
}

.mt-11px {
      margin-top: 11px !important;
}

.btn-light {
    color: #000;
    background-color: #F5F6FA;
    border-color: #F5F6FA;
}

.form-section {
    background: #ffffff;
    border: 1px solid var(--tender-border-color);
    border-radius: 0.5rem;
    padding: 1.5rem;
    font-size: 0.875rem;
}

.section-title {
  font-weight: bold;
  font-size: 1rem;
  line-height: 1.25;
  color: var(--tender-primary-text-color);
  margin-bottom: 0.5rem;
}

.text-batch-success {
    color: var(--tender-sucess-green);
}

.text-batch-danger {
    color: var(--tender-danger-red);
}

.dropdown .btn:hover {
  background-color: var(--tender-text-hover-color);
}

/* Section financial assesment */
.modal-table-financial{
  color: var( --tender-primary-text-color);
}

/* end financial assessment */

.input-group-text {
    padding: 0.75rem;
    font-size: 0.875rem;
}


/* document list */

.document-list .date-title {
  font-size: 16px;
  font-weight: normal;
}

/* login */
span.input-group-text.clickable {
  padding: .375rem .75rem;
  line-height: 1.25;
  transition: 0.3s;
}

/* centering the login card */
.login-wrapper {
  height: calc(100vh - 98px);
  align-items: center;
}

.input-group>.form-control {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.divider {
  color: var(--tender-border-color) !important;
}

.three-dot {
  color: var(--tender-primary-text-color) !important;
}

.tender-view, .submission-view {
  font-size: 0.875rem;
}

.text-tender-danger {
  --bs-text-opacity: 1;
  color: var(--tender-danger-red);
}

/* Modal content*/
.modal-content {
    font-size: 1rem;
}

.modal-header .status{
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.evaluation-view {
  font-size: 14px;
}

.evaluation-column-editor {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.evaluation-column-editor-list {
  max-height: 360px;
  overflow-y: auto;
  margin-top: 8px;
  padding-right: 8px;
  padding-bottom: 8px;
  padding-left: 8px;
  background-color: var(--tender-background-grey-color);
}

.evaluation-column-editor-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid #eef2f6;
}

.evaluation-column-editor-row:last-child {
  border-bottom: 0;
}

.evaluation-column-editor-row-all {
  position: sticky;
  top: 0;
  background: var(--tender-background-grey-color);;
  z-index: 1;
}

.evaluation-column-editor-row-label {
  color: #344054;
  font-size: 14px;
  line-height: 20px;
}

.evaluation-column-editor .form-switch .form-check-input {
  width: 42px;
  height: 24px;
  cursor: pointer;
}

.evaluation-column-editor .form-switch .form-check-input:checked {
  background-color: #2dc3a2;
  border-color: #2dc3a2;
}

.evaluation-column-editor-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.evaluation-table-scroll {
  /* overflow-x: auto;
  overflow-y: hidden; */
  position: relative;
  background-color: #fff;
  border: 1px solid var(--tender-border-color);
  border-radius: var(--epi-border-radius);
  box-shadow: none;
}

.evaluation-freeze-table {
  width: max-content;
  min-width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.evaluation-freeze-table thead th,
.evaluation-freeze-table tbody td {
  background-color: #fff;
  vertical-align: top;
}

.table.record-listing.evaluation-freeze-table thead th {
  border-bottom: 1px solid var(--epi-border-color);
}

.evaluation-table-header-label {
  display: inline-block;
  max-width: 100%;
}

.evaluation-freeze-table.freeze-columns-2 th:nth-child(1),
.evaluation-freeze-table.freeze-columns-2 td:nth-child(1),
.evaluation-freeze-table.freeze-columns-3 th:nth-child(1),
.evaluation-freeze-table.freeze-columns-3 td:nth-child(1) {
  position: sticky;
  left: var(--evaluation-freeze-col-1-left, 0px);
}

.evaluation-freeze-table.freeze-columns-2 th:nth-child(2),
.evaluation-freeze-table.freeze-columns-2 td:nth-child(2),
.evaluation-freeze-table.freeze-columns-3 th:nth-child(2),
.evaluation-freeze-table.freeze-columns-3 td:nth-child(2) {
  position: sticky;
  left: var(--evaluation-freeze-col-2-left, 0px);
}

.evaluation-freeze-table.freeze-columns-2 th:nth-child(2),
.evaluation-freeze-table.freeze-columns-2 td:nth-child(2),
.evaluation-freeze-table.freeze-columns-3 th:nth-child(3),
.evaluation-freeze-table.freeze-columns-3 td:nth-child(3) {
  box-shadow: 1px 0 0 #d0d5dd;
}

.evaluation-freeze-table.freeze-columns-3 th:nth-child(3),
.evaluation-freeze-table.freeze-columns-3 td:nth-child(3) {
  position: sticky;
  left: var(--evaluation-freeze-col-3-left, 0px);
}

.evaluation-freeze-table.freeze-columns-2 tbody td:nth-child(-n+2),
.evaluation-freeze-table.freeze-columns-3 tbody td:nth-child(-n+3) {
  z-index: 2;
}

.evaluation-freeze-table.freeze-columns-2 thead th:nth-child(-n+2),
.evaluation-freeze-table.freeze-columns-3 thead th:nth-child(-n+3) {
  z-index: 4;
}

.evaluation-criteria-text-cell,
.evaluation-scoring-method-cell {
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.evaluation-freeze-table.freeze-columns-2 th:nth-child(1),
.evaluation-freeze-table.freeze-columns-2 td:nth-child(1) {
  width: clamp(220px, 24vw, 320px);
  min-width: clamp(220px, 24vw, 320px);
  max-width: clamp(220px, 24vw, 320px);
}

.evaluation-freeze-table.freeze-columns-2 th:nth-child(2),
.evaluation-freeze-table.freeze-columns-2 td:nth-child(2) {
  width: clamp(200px, 22vw, 300px);
  min-width: clamp(200px, 22vw, 300px);
  max-width: clamp(200px, 22vw, 300px);
}

.evaluation-criteria-text-line + .evaluation-criteria-text-line {
  margin-top: 8px;
}

.evaluation-scoring-method-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.evaluation-scoring-method-row + .evaluation-scoring-method-row {
  margin-top: 8px;
}

.evaluation-scoring-method-points {
  min-width: 32px;
  font-weight: 700;
  color: #3f444d;
  text-align: right;
}

.evaluation-scoring-method-text {
  flex: 1 1 auto;
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.evaluation-score-cell {
  min-width: 120px;
}

@media (max-width: 1100px) {
  .evaluation-freeze-table.freeze-columns-2 th:nth-child(1),
  .evaluation-freeze-table.freeze-columns-2 td:nth-child(1) {
    width: clamp(180px, 26vw, 260px);
    min-width: clamp(180px, 26vw, 260px);
    max-width: clamp(180px, 26vw, 260px);
  }

  .evaluation-freeze-table.freeze-columns-2 th:nth-child(2),
  .evaluation-freeze-table.freeze-columns-2 td:nth-child(2) {
    width: clamp(170px, 24vw, 240px);
    min-width: clamp(170px, 24vw, 240px);
    max-width: clamp(170px, 24vw, 240px);
  }

  .evaluation-score-cell {
    min-width: 104px;
  }
}

.evaluation-score-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #2f6fed;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.evaluation-score-link:hover {
  text-decoration: underline;
}

.evaluation-score-link-high-variance {
  color: #d92d20;
}

.evaluation-score-link-high-variance:hover {
  color: #b42318;
}

.evaluation-criteria-detail-section + .evaluation-criteria-detail-section {
  margin-top: 20px;
}

.evaluation-criteria-detail-title {
  color: #344054;
  font-size: 28px;
  font-weight: 600;
  line-height: 36px;
}

.evaluation-criteria-detail-subtitle {
  margin-top: 8px;
}

.evaluation-criteria-detail-summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-top: 1rem;
}

.evaluation-criteria-detail-score {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.evaluation-criteria-detail-label {
  color: #667085;
  font-size: 12px;
  font-weight: 500;
  line-height: 18px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.evaluation-criteria-scroll {
  max-height: 70vh;
  overflow-y: auto;
  overflow-x: hidden;
}

.evaluation-criteria-detail-value,
.evaluation-criteria-detail-score-value {
  font-weight: 600;
}

.evaluation-criteria-detail-heading {
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 600;
}

.evaluation-criteria-detail-panel,
.evaluation-proof-group {
  padding: 8px;
  background: var(--tender-background-grey-color);
}

.evaluation-proof-group + .evaluation-proof-group {
  margin-top: 12px;
}

.evaluation-proof-document {
  font-weight: 600;
  color: #344054;
}

.evaluation-proof-document-link,
.evaluation-proof-page-link {
  color: #175cd3;
  text-decoration: none;
}

.evaluation-proof-document-link:hover,
.evaluation-proof-page-link:hover {
  color: #1849a9;
  text-decoration: underline;
}

.evaluation-proof-group-body {
  margin-top: 12px;
}

.evaluation-proof-entry + .evaluation-proof-entry {
  margin-top: 12px;
}

.evaluation-proof-page {
  margin-bottom: 4px;
  color: #667085;
  font-size: 12px;
  font-weight: 600;
  line-height: 18px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.evaluation-proof-page-link {
  display: inline-block;
  margin-bottom: 4px;
}

.evaluation-criteria-detail-prewrap {
  white-space: pre-line;
  text-align: justify;
}
.tab-content .tab-pane {
    margin-top: 1.25rem;
}
/* 
.tab-content .tab-pane .subtitle{
    margin: 0;
    padding-bottom: 0;
    font-size: 1rem !important;
} */

.tab-subtitle {
  font-size: 1rem;
  font-weight: bold;
  text-transform: capitalize;
}

.submission-list .subtitle, .document-list .subtitle, .tender-verification .subtitle,
.evaluation-list .subtitle, .assessment-list .subtitle, .file-list .subtitle,
.financial-assesment-view .subtitle, .ptq-list .subtitle, .subtitle-container .subtitle
 {
  margin: 0;
  padding-bottom: 0;
  font-size: 1rem !important;
}


/* tabs */

.subtitle-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.subtitle-detailed-container {
    display: flex;
    flex-direction: column;
}

.submission-actions {
  padding-bottom: 6px;
}

.submission-view .table-wrapper .table-functions, .tender-view .table-wrapper .table-functions {
  margin-top: 16px !important;
}

.financial-assessment-view .btn-copy {
    padding: 0.75rem;
    font-size: 0.875rem;
    display: flex;
    line-height: 1.25;
}

.modal-content .modal-body .evaluation-criteria-detail hr, .modal-content .modal-body hr {
  margin-left: -1rem;
  margin-right: -1rem;
}

<<<<<<< HEAD
.modal-body {
  font-size: 0.875rem;
}


=======
>>>>>>> develop
/* evaluation page */

.evaluation-sortable-header{
  cursor: pointer;
  user-select: none;
}

.overall-score .card.table-with-pagination ,.evaluation-criteria .card.table-with-pagination {
  max-height: calc(100vh - 270px);
  overflow-y: auto;
}

.overall-score .card-body.evaluation-table-scroll ,.evaluation-criteria .card-body.evaluation-table-scroll {
  overflow-x: auto;
  cursor: grab;
}

/* Optional: change cursor when actively dragging */
.overall-score .card-body.evaluation-table-scroll.active-drag, .evaluation-criteria .card-body.evaluation-table-scroll.active-drag {
    cursor: grabbing;
}

.table.record-listing.evaluation-freeze-table thead th:not(:first-child) {
  white-space: normal;
  max-width: 120px;
  word-wrap: break-word;
}

.evaluation-criteria .evaluation-score-cell {
  text-align: center;
  width: 10%;
}

.status-description .text-padding.border-bottom:last-of-type {
    border-bottom: none !important;
}

.evaluation-view .evaluation-table-scroll table th a {
  margin-left: 0px !important;
  display: inline-block;
  border-radius: 50%;
  padding: 0.25rem;
  color: var(--tender-primary-text-color);
}
  
.evaluation-view .evaluation-table-scroll table th .bi {
    font-size: 0.75rem;
    width: 1.3125rem;
    display: inline-block;
    text-align: center;
}

.evaluation-view .evaluation-table-scroll table  th a:hover { /* only for header row and actions column */
  color: var(--tender-main-blue);
  background: var(--tender-background-grey-color);
  filter: none;
}