.table-lowlow,
.table-lowlow>th,
.table-lowlow>td {
  background-color: #50C878 !important;
}

.table-lowlow th,
.table-lowlow td,
.table-lowlow thead th,
.table-lowlow tbody+tbody {
  border-color: #50C878 !important;
}

.table-hover .table-lowlow:hover {
  background-color: #50C878 !important;
}

.table-hover .table-lowlow :hover>td,
.table-hover .table-lowlow :hover>th {
  background-color: #50C878 !important;
}


.table-mediummedium,
.table-mediummedium>th,
.table-mediummedium>td {
  background-color: #FFEA00 !important;
}
.table-mediummedium th,
.table-mediummedium td,
.table-mediummedium thead th,
.table-mediummedium tbody+tbody {
  border-color: #FFEA00 !important;
}


.table-mediumhigh,
.table-mediumhigh>th,
.table-mediumhigh>td {
  background-color: #FFAC1C !important;
}
.table-mediumhigh th,
.table-mediumhigh td,
.table-mediumhigh thead th,
.table-mediumhigh tbody+tbody {
  border-color: #FFAC1C !important;
}


.table-veryhigh,
.table-veryhigh>th,
.table-veryhigh>td {
  background-color: #880808 !important;
  color: #ffffff;
}
.table-veryhigh th,
.table-veryhigh td,
.table-veryhigh thead th,
.table-veryhigh tbody+tbody {
  border-color: #880808 !important
}


.table-highhigh,
.table-highhigh>th,
.table-highhigh>td {
  background-color: #DC143C !important;
  color: #ffffff !important;
}
.table-highhigh th,
.table-highhigh td,
.table-highhigh thead th,
.table-highhigh tbody+tbody {
  border-color: #DC143C !important;
}


.table-lowhigh,
.table-lowhigh>th,
.table-lowhigh>td {
  background-color: #000000 !important;
  color: #ffffff !important;
}

.table-lowhigh th,
.table-lowhigh td,
.table-lowhigh thead th,
.table-lowhigh tbody+tbody {
  border-color: #000000 !important;
}


div.progress-barX {
  list-style: none;
  display: flex;
  padding: 0;
  overflow: hidden;
}

div.progress-barX button {
  flex: 1;
  text-align: center;
  line-height: 2.5;
}

div.progress-barX button:after {
  content: ' ';
  display: block;
  margin: auto;
  height: 6px;
  background-color: black;
  width: 0%;
  /* transition: width 0.6s ease; */
}

div.progress-barX button.active:after {
  width: 15%;
}

.thumbnail-container {
  position: relative;
  /* display: inline-block;
  margin: 10px; */
  overflow: visible
    /* Add some spacing between thumbnails */
}

.thumbnail {
  max-width: 100px;
  /* Adjust the maximum width as needed */
  transition: transform 0.3s ease-in-out;
}

.thumbnail-container:hover .thumbnail {
  transform: scale(3);
  transform-origin: left center;
  z-index: 1
    /* Adjust the scale factor for the desired zoom level */
}


form label {
  font-weight: bold
}



/* Remove default bullets */
ul,
#myUL {
  list-style-type: none;
}

/* Remove margins and padding from the parent ul */
#myUL {
  margin: 0;
  padding: 0;
}

/* Style the caret/arrow */
.caret {
  cursor: pointer;
  user-select: none;
  /* Prevent text selection */
}

/* Create the caret/arrow with a unicode, and style it */
.caret::before {
  content: "\25B6";
  color: black;
  display: inline-block;
  margin-right: 6px;
}

/* Rotate the caret/arrow icon when clicked on (using JavaScript) */
.caret-down::before {
  transform: rotate(90deg);
}

/* Hide the nested list */
.nested {
  display: none;
}

/* Show the nested list when the user clicks on the caret/arrow (with JavaScript) */
.active {
  display: block;
}

.child-nodes {
  display: none;
  padding-left: 30px;
}

.child-nodes.hidden {
  display: block;
}

.pointer {
  cursor: pointer;
}

/* .vertical {
    border-left: 1px solid #dee2e6;
    position:absolute;
    left:50%;
    height: 92%;
  } */

.selection-wrapper {
  position: relative;
  width: 100%;
  display: flex !important;
}

.selection-footer {
  /* position: absolute; */
  bottom: 0;
  right: 0;
  left: 0;
  padding: 10px;
  text-align: center;
}

.buttonselecttree {
  height: 40px;
  margin-top: 30px;
}

.colcustom-1 {
  -ms-flex: 0 0 48%;
  flex: 0 0 48%;
  max-width: 48%;
  margin-right: 10px
}

.colcustom-2 {
  -ms-flex: 0 0 47.6%;
  flex: 0 0 47.6%;
  max-width: 47.6%;
  /* -ms-flex: 0 0 45%;
    flex: 0 0 45%;
    max-width: 45%; */
  margin-left: 15px;
  margin-right: 10px;
}

/* .plus-minus-icon {
    position: relative;
    right: 10px;
  } */

.popup .download-btn {
  position: absolute;
  bottom: 55px;
  right: 10px;
}

.formheader {
  color: black;
  font-size: large;
  font-weight: bold;
  cursor: default;
  pointer-events: none;
}

.nopadding {
  padding-left: 5px !important;
  padding-right: 0 !important;
  margin: 0 !important;
}

.hidden {
  display: none;
}

.actiondeletebtn {
  color: blue !important;
  margin-top: 10px;
  text-align: right !important;
}

.modal-dialog-bottom-right {

  display: -ms-flexbox;
  display: flex;
  margin-right: 0;
  -ms-flex-align: end;
  align-items: flex-end;
  min-height: calc(100% - 1rem);
}

.modal {
  overflow-y: auto !important;
}

.my-class label {
  font-weight: bold;
}

.attachmentpadding {
  margin-left: -15px;
}

.removerightpadding {
  padding-right: 0 !important;
}

.report-radio-box {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  height: 16rem;
  background-color: #e9ecef;
  opacity: 1;
}

.radio-box {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  height: 16rem;
}

.radio-box label {
  padding-bottom: 5px;
}

.radio-box label #text {
  color: black;
}

.sticky-table {
  background-color: #fffdd0;
  width: 95%;
  margin: 10px auto;
  border-collapse: collapse;
}

.sticky-table th,
.sticky-table td {
  border: 1px solid #ddd;
  padding: 10px;
  text-align: left;
}

.sticky-table th {
  background-color: #fffdd0;
}

.modal-signatorytable {
  border: 1px solid #ddd;
  background-color: #FFFFFF;
  width: 100%;
  border-collapse: collapse;
  border-right: 2px solid #ddd;
}

.modal-signatorytable th,
.sticky-table td {
  border: 1px solid #ddd;
  padding: 10px;
  text-align: left;
}

.modal-signatorytable th {
  background-color: rgba(0, 0, 0, 0.05);
}

.modal-signatorytable tbody tr td {
  padding: 5px;
  border-right: 2px solid #ddd;
  border-bottom: 2px solid #ddd;
}

.rejectedmodaltable {
  left: -40%;

}

.row {
    display: flex;
}
.col-md-6 {
    display: flex;
    flex-direction: column;
}
.column1,
.column2 {
    flex-grow: 1;
}

.scrollable {
  display: flex;
  justify-content: flex-end;
  width:40vw;
  overflow: hidden;
}

.phases {
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  scrollbar-width: thin; /* for Firefox */
  scrollbar-color: rgba(0, 0, 0, 0.3) rgba(0, 0, 0, 0.1); /* for Firefox */
  display: flex; /* Use flex for inner container */
}

.phases button {
  white-space: nowrap; /* Prevent text wrapping inside buttons */
  overflow: hidden; /* Hide any overflowing content */
  flex: 0 0 auto; /* Ensure buttons do not grow or shrink */
  min-width: auto; /* Allow buttons to adjust width based on content */
}

/* Style for WebKit browsers (Chrome, Safari) */
.scrollable::-webkit-scrollbar {
  width: 6px;
}

.scrollable::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1);
}

.scrollable::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 3px;
}

/* Media query for devices with screen width up to 768px */
@media (max-width: 768px) {
  .scrollable {
    width: 40vw; /* Adjust width for smaller devices */
  }
}
.arrow-wrapper {
  display: inline-flex;
  width: 40px; /* Adjust the width and height to create a larger circle */
  height: 40px;
  border-radius: 50%;
  background-color: transparent; /* Make the background transparent */
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  cursor: pointer;
  position: relative; /* Required for positioning the pseudo-element */
}
 
.arrow-wrapper:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px; /* Match the width and height of the wrapper */
  height: 40px;
  border-radius: 50%;
  transform: translate(-50%, -50%); /* Center the circle */
  border: 2px solid transparent; /* Create the border and make it invisible */
}
 
.arrow {
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 8px solid transparent; /* Adjust arrow size based on circle size */
  border-right: 8px solid transparent;
}
 
.arrow-down {
  border-top: 8px solid #000; /* Adjust the arrow color and size as needed */
}
 
.arrow-up {
  border-bottom: 8px solid #000;
}
 
.row-container {
  display: flex;
  justify-content: space-between; /* Distribute items along the main axis */
  align-items: center; /* Center items vertically */
  padding: 10px; /* Adjust padding as needed */
}

.button-container {
  /* Adjust styles for the button container */
  margin-left: 10px; /* Optional: Add margin for spacing */
}

.signatory-checkbox-cell {
  display: inline-flex;
  /* margin-block: 20px; */
  width: 40px;
  height: 40px;
  background-color: transparent; /* Make the background transparent */
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  position: relative; /* Required for positioning the pseudo-element */
}

.box-container {
  display: flex;
  justify-content: space-between;
}

.box {
  width: 48%; /* Adjust as needed */
  border: 1px solid #ddd;
  padding: 10px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.left-box {
  margin-right: 2%; /* Adjust as needed */
}

.right-box {
  margin-left: 2%; /* Adjust as needed */
}

.after-delete-attachment, .after-delete-attachment:hover {
  color: black;
  text-decoration: none; 
}

.formset-form.highlight {
  /* background-color: #F6FCFE; */
  background-color: #f7fafb;
  border-radius: 5px;
  padding-bottom: 5px;
  transition: background-color 0.5s ease, border-radius 0.5s ease;
}

.hoverhighlight:hover {
  /* background-color: #F6FCFE; */
  background-color: #ecf3f7;
  border-radius: 5px;
  padding-bottom: 5px;
}

.formset-form.highlight:hover {
  /* background-color: #EDF8FC; */
  background-color: #ecf3f7;
}

.secondary-login {
  background-color: #6c757d; /* Secondary color */
  color: white; /* Text color */
  border: none; /* Remove border */
  padding: 10px 20px; /* Padding */
  border-radius: 5px; /* Rounded corners */
  cursor: pointer; /* Pointer cursor */
  display: block;
}

.button-grey {
  background-color: #6c757d !important; /* Bootstrap Grey */
  border-color: #6c757d !important;
  color: white !important;
}

/* Ensure no color change on hover, focus, or active state */
.secondary-login:hover,
.secondary-login:focus,
.secondary-login:active {
  background-color: #6c757d; /* Keep the same background color */
  color: white; /* Keep the same text color */
  outline: none; /* Remove outline on focus */
  box-shadow: none; /* Prevent shadow effects */
}

.card-body-dashboard {
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  min-height: 490px;
  padding: 1.25rem;
}

.redtab {
  color: black;
  background-image: linear-gradient(to bottom, #f09393, white)!important;
  border-color: #dc3545!important;
}


.tabset button.redtab.active {
  background-image: linear-gradient(to bottom, #f09393, white) !important;
  border: solid #ddd 1px;
  border-bottom: none;
}

.q-item--clickable.selected {
  background-color: #a8a8a8 !important;
}

.dynamictable_css {
  /* position: fixed !important; or relative, absolute, etc., depending on the desired behavior */
  z-index: 9999 !important; /* A high z-index value to ensure it appears above other elements */
  width: 70% !important;
}

.slide-toggle-enter-active, .slide-toggle-leave-active {
  transition: max-height 0.3s ease;
}
.slide-toggle-enter, .slide-toggle-leave-to /* .slide-toggle-leave-active in <2.1.8 */ {
  max-height: 0;
  overflow: hidden;
}

.sidebar-text-size {
  font-size: 18px;
  /* display: flex !important;
  flex-direction: row !important; */
}

.sidebar-items {
  display: flex !important;
  flex-direction: row !important;
  justify-content: flex-start !important;
  /* justify-content: space-around !important; */
  align-items: start;
  width: 100% !important;
  padding: 0px !important;
}

.sidebar-text {
  margin-left: 15px;
}

.sidebar-dropdown-items {
  padding: 0px !important;
  display: flex !important;
  justify-content: flex-start !important;
  flex-direction: row !important;
}


.col.dynamicdiv {
  padding-right:1%;
}

.llm-textbox{
  width: 100%;
  max-height: 756px !important;
  padding: 12px 20px;
  box-sizing: border-box;
  border: 2px solid #ccc;
  border-radius: 4px;
  background-color: #f8f8f8;
  font-size: 16px;
  resize: none;
}

.llm-copy-btn{
  color: #007bff;
  border: none;
  background-color: transparent;
  padding-left: 10px;
}

.custom-tooltip .tooltip-inner {
  background-color: #333333;  /* Background color */
  color: #ffffff;  /* Text color */
  font-size: 14px; /* Font size */
  padding: 8px;    /* Padding inside the tooltip */
  border-radius: 8px; /* Rounded corners */
}


td.q-td.text-left{ /* ensures text for vue table is aligned to the top*/
  vertical-align: top;
}

.landingpagewording {
  font-size: 2.5em;
  font-weight: 600;
  color: #333;
  margin-bottom: 20px;
}

.landing-page {
  max-width: 100%;
  height:100%;
  margin: 0 auto;
  padding: 40px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  justify-items: center; /* Centers the cards horizontally within each grid cell */
  justify-content: center; /* Ensures the grid itself is centered in the container */
  align-items: center; /* Centers the grid items vertically (if necessary) */
}

.landingpagedescription {
  text-align: center;
  font-size: 1.2em;
  margin-bottom: 20px;
}

/* .project-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px; 
  padding: 20px;
  justify-items: center; 
  justify-content: center; 
  align-items: center; 
  height: 100%; 
} */

/* .project-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px; 
  justify-content: space-between;
} */

.project-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* Default: 2 items per row */
  gap: 20px; /* Space between cards */
  width: 100%; /* Ensures the container takes full width */
  height: 100%; /* Ensures the container takes full height */
  object-fit: cover; /* Prevents image distortion */
}

.project-card-link {
  display: block; /* Makes sure the card link occupies the full space */
  width: 100%; /* Ensures the link takes full width of its container */
}

.project-card {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease-in-out;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%; /* Ensures card takes full width */
  height: 100%; /* Ensures card stretches vertically */
}



/* .project-card {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease-in-out;
  text-align: center;
  max-width: 300px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between; 
} */

.project-card:hover,
.project-card:active {
  transform: translateY(-5px); /* Moves the card up slightly on hover or click/tap */
  box-shadow: 0 8px 16px rgba(46, 169, 226, 0.5); /* Increased shadow on hover or click/tap */
  border: 2px solid rgb(46, 169, 226); /* Adds a blue border around the card */
  transition: all 0.3s ease; /* Smooth transition for hover and click/tap effect */
}

.project-image {
  width: 75%;
  height: 75%;
  object-fit: cover;
  border-bottom: 2px solid #f0f0f0;
  margin: 0 auto; /* Centers the image inside the card */
}

.project-info {
  padding: 5px;
  flex-grow: 0; /* Prevents it from growing beyond its content */
  font-size: 1.5em; /* Increase the font size */
  height: 25%; /* Makes the text take up approximately 25% of the card's height */
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.project-info h3 {
  font-size: 1.4em;
  margin-bottom: 5px;
  color: #333;
  font-weight: 600;
}

.project-info p {
  font-size: 1em;
  color: #777;
  margin-bottom: 5px;
}

.error-message {
  border: 2px solid red; /* Red border */
  background-color: #f8d7da; /* Light red background */
  color: #721c24; /* Dark red text color */
  padding: 10px; /* Add some padding for spacing */
  border-radius: 5px; /* Optional: Rounded corners */
  margin: 10px 0; /* Optional: Add space around the message */
  font-weight: bold; /* Make the text bold */
  text-align: center; /* Center-align the text */
}

.topnavbarscaled-wrapper {
  width: 100%; 
}

.toolbar-hamburger {
  width:100%;
}

/* Make Tabs scrollable within the datatables for tabs */
.actions-scrollable {
  display: flex; /* Ensures items are arranged in a row */
  flex-wrap: nowrap; /* Prevents items from wrapping */
  overflow-x: auto; /* Enables horizontal scrolling */
  white-space: nowrap; /* Ensures text does not wrap */
  width: 100%; /* Makes it occupy full width */
  max-width: 100%; 
  padding-bottom: 10px; 
}

.actions-scrollable > * {
  flex: 0 0 auto; 
  white-space: nowrap; 
}

.actions-scrollable::-webkit-scrollbar {
  height: 6px; 
}

.actions-scrollable::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1);
}

.actions-scrollable::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 3px;
}

.logincontainer {
    width: 33.333%; /* Same as Bootstrap's col-sm-4 (4/12 columns) */
    margin-left: auto;
    margin-right: auto;
    margin-top:100px;
}

/* Mobile Footer View */
.mobilebottomnavbar {
  display: none;
}

.approverconfirmationbutton {
  display: flex;
  justify-content: flex-end;
}

.notmobileremoved {
  display: none;
}

#div_id_email {
  padding:5%;
}

/* Modal Styling */
.upload-modal {
  width: 50vw;
  max-width: 600px;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  border-radius: 12px;
}

/* Modal Header */
.upload-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #ddd;
  padding-bottom: 8px;
}

/* Drag & Drop File Upload */
.file-upload {
  width: 100%;
  border: 2px dashed #1976d2; /* Quasar primary color */
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: 0.3s;
}

.file-upload:hover {
  background: rgba(25, 118, 210, 0.1); /* Light hover effect */
}

/* Modal Actions */
.q-card-actions {
  border-top: 1px solid #ddd;
}

.q-card__section {
  padding-left:50px;
}

.upload-study-btn {
  width: 150px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 30px;
  background-color: #007bff !important;
  color: white !important;
  border: 1px solid #007bff !important;
  opacity: 1 !important;
  cursor: pointer;
}

.upload-study-btn[disabled],
.upload-study-btn.q-btn--disable {
  opacity: 1 !important;
  cursor: not-allowed !important;
  background-color: #007bff !important;
  color: white !important;
  border: 1px solid #007bff !important;
}


.q-field__label{
  padding-left:30px;
}

.document-link {
  word-break: break-word;
}

.table-redfont {
  color: red !important;
  font-weight: bold !important;

}