/* LAYOUT STYLE */
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}
html {
  overflow-y: hidden;
}

.card-login .card-body {
  background-color: #fabfe143;
  border: 1.5px solid #ff10f0;
  border-radius: 8px;
}
.card-register {
  background-color: none !important;
  border: transparent;
}
.grid-container {
  height: 100vh;
  display: grid;
  grid-template-columns: 250px 1fr;
  grid-template-rows: 70px 1fr;
  transition: grid-template-columns 0.5s ease;
  grid-template-areas:
    "side header"
    "side main";
}
input.form-control[readonly]:focus {
  outline: none;
  border-color: transparent;
  box-shadow: none;
  background-color: #e9ecef;
}

input.form-control[readonly] {
  outline: none;
  border-color: transparent;
  box-shadow: none;
  background-color: #ffffff;
}
.input-border-highlight {
  border: 2px solid #007bff !important;
  background-color: #f9f9f9;
  transition: border-color 0.3s, background-color 0.3s;
}

.table-btn:disabled:hover {
  cursor: not-allowed;
}
p {
  line-height: 1.5;
  margin: 0 !important;
}
.icon {
  font-size: 1.5em;
  margin: 0 10px;
}
.bg-primary-buttons {
  background-color: #2c9ff1;
}
.bg-primary-buttons:hover {
  background-color: #0096ff;
}
.bg-danger-buttons {
  background-color: #ec8280;
}
.bg-danger-buttons:hover {
  background-color: #d65a58;
}
.bg-success-buttons {
  background-color: #64c986;
}
.bg-success-buttons:hover {
  background-color: #32b43c;
}
.header {
  background-color: #eeabd1;
  grid-area: header;
}

.content-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}
.header .header-box {
  display: flex;
  align-items: center;
  justify-content: end;
  height: 65px;
  margin-right: 2em;
}
.header .header-box li {
  list-style: none;
}
.header-title-con {
  margin-top: 5px;
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
  height: 11em;
  /* filter: blur(4px); */
}
/* .header-title-proj {
  margin-top: 5px;
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
  height: 3em;
} */
.header-title-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  height: fit-content;
  margin: 15px 0;
}
.header-details {
  display: flex;
  justify-content: center;
  align-items: self-start;
  height: fit-content;
  margin-bottom: 15px;
}
.detail-ROP {
  font-family: "Old English Five", sans-serif;
  font-size: x-large;
  margin-bottom: 10px;
}
.detail-address {
  font-family: "Crimson Text", serif;
  font-size: x-large;
}
.blur-overlay {
  position: relative;
}
.blur-overlay::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(
    248,
    246,
    246,
    0.599
  ); /* Optional: background color for better visibility */
  backdrop-filter: blur(3px); /* Apply blur effect */
  z-index: 1;
  pointer-events: none; /* Prevent interaction with the overlay */
}
.btn-container {
  display: flex;
}
.sub-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 10px;
}
.search-lbl {
  position: relative;
  bottom: -12px;
}
.search-lbl .input-search {
  background-color: #007bff3a;
  width: 0px;
  font-weight: bold;
  transition: width 0.8s, border-radius 1s;
  border-radius: 50%;
  border-color: transparent;
  outline-color: #007bff;
  padding: 10px 22px 8px 20px;
  color: lightblue;
  cursor: pointer;
}
.search-lbl .input-search:focus {
  border-radius: 5%/150%;
  width: 420px;
  color: #000;
}
.search-lbl .search-icon {
  height: 38px;
  display: inline-block;
  position: absolute;
  left: 3px;
  bottom: -6px;
  transition: 0.4s;
}

/* Management panel searc*/
.search-lbl-management {
  position: relative;
  bottom: 12px;
}
.search-lbl-management .input-search {
  background-color: #007bff3a;
  width: 0px;
  font-weight: bold;
  transition: width 0.8s, border-radius 1s;
  border-radius: 50%;
  border-color: transparent;
  outline-color: #007bff;
  padding: 10px 22px 8px 20px;
  color: lightblue;
  cursor: pointer;
}
.search-lbl-management .input-search:focus {
  border-radius: 5%/150%;
  width: 450px;
  color: #000;
}
.search-lbl-management .search-icon {
  height: 38px;
  display: inline-block;
  position: absolute;
  left: 3px;
  bottom: -6px;
  transition: 0.4s;
}

.input-search:focus + .search-icon {
  opacity: 0;
}
.header-btn-dashboard {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 1em;
}
.header-title-con .btn {
  width: 6rem;
  height: 3.5rem;
}
.header-title {
  width: 100%;
  margin-left: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.title-header-nav {
  font-family: "Times New Roman", Times, serif;
  font-size: 1.2em;
  position: relative;
}
.container-close {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2px 0;
  border-bottom: 1px solid gainsboro;
  margin-bottom: 15px;
  background-color: #f3f5f6a4;
}

.Completed {
  padding: 3px;
  background-color: #64c986 !important;
}
.In-progress {
  padding: 2px;
  background-color: #dbdd93 !important;
  text-wrap: nowrap;
}
.Cancelled {
  padding: 2px;
  background-color: #e47b6fb4 !important;
  text-wrap: nowrap;
}

/* Transition class for fading in */
.fade-in {
  opacity: 0;
  transition: opacity 0.5s;
}

.fade-in.show {
  opacity: 1;
}

/* Transition class for hiding elements */
.fade-out {
  opacity: 1;
  transition: opacity 0.5s;
}

.fade-out.hide {
  opacity: 0;
}
/* #toggleSidebar {
    cursor: pointer;
} */
.title-header {
  display: flex;
  text-align: center;
  cursor: default;
  /* font-weight: bold;
    font-size: medium; */
  text-wrap: wrap;
  color: #333333;
  margin: 5px 5px 20px 5px;
  /* text-shadow: -1px -1px 0 #f0c7d1, 1px -1px 0 #ecc0da, -1px 1px 0 #f3b6c4,
        1px 1px 0 #f3b6c4; */
  font-family: "Times New Roman", Times, serif;
}
/* .cityLogo {
  width: 7.5em;
} */
.side-bar {
  /* position: relative; */
  background-color: #edbfd9;
  grid-area: side;
  transition: width 0.1s ease;
}
.icon-bar {
  position: absolute;
  top: 0.5em;
  right: -1em;
  font-size: 2em;
  color: #fde4f2;
}

.btn-icon {
  background-color: #f6e1ed;
  padding: 10px;
  width: 2.5em;
  font-size: 2.3em;
  color: #4a4a4a;
}
.btn .btn-compose {
  margin: 20px 0 30px 0;
  display: flex;
  justify-content: center;
  width: 100%;
}
.btn-add-route {
  padding: 8px 2px;
  display: flex;
  justify-content: center;
  text-align: center;
  width: 95px;
  font-weight: bold;
  border-style: none;
  text-decoration: none;
  color: #333333;
  border-radius: 8px;
  margin: 10px 10px;
  transition: padding 0.3s ease, color 0.3s ease, box-shadow 0.3s ease,
    transform 0.3s ease;
}
.div-table-btn {
  font-weight: bold;
  display: flex;
  gap: 10px;
}
.table-btn {
  padding: 3px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  border-style: none;
  text-decoration: none;
  color: #333333;
  border-radius: 8px;
  transition: padding 0.3s ease, color 0.3s ease, box-shadow 0.3s ease,
    transform 0.3s ease;
}

.routingNumberInput {
  margin: 0 0 10px 0;
}
.btn-add-route:hover {
  color: #000;
  transform: scale(1.03);
}
.btn-sidebar-route {
  text-wrap: nowrap;
  padding: 15px 5px;
  width: 100%;
  height: 100%;
  text-decoration: none;
  font-weight: bold;
  color: #333333;
  border-radius: 10px 80px 0 0;
  transition: padding 0.3s ease, color 0.3s ease, box-shadow 0.3s ease,
    opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.btn-sidebar-route:hover {
  background-color: #f2cde1;
  color: #000;
  transform: scale(1.03);
}

.btn-add-route:hover {
  color: #333333;
  transform: scale(1.05);
}
/* .add-route-list {
    display: flex;
    flex-direction: column;
    text-wrap: nowrap;
    width: max-content;

    transition: padding 0.3s ease, color 0.3s ease, box-shadow 0.3s ease,
        transform 0.3s ease;
} */
/* .add-route-list:hover {
    transform: scale(1.03);
} */

.btn-compose button {
  margin: 10px;
  width: 80%;
  height: 3.5em;
  border-radius: 10px;
}
.selection-container {
  display: flex;
  align-items: center;
  margin: 10px 10px 0px 10px;
  border: solid 1px #ffffff56;
  position: relative;
}
.btn-selection {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: left;
  cursor: pointer;
}
.btn-selection .img-btn {
  width: 40px;
  margin-right: 5px;
  padding: 5px;
  background-color: #f4b8da;
  border-radius: 8px;
  cursor: pointer;
  /* box-shadow: -5px -3px 111px -12px rgba(0, 0, 0, 0.72);
    -webkit-box-shadow: -5px -3px 111px -12px rgba(0, 0, 0, 0.72);
    -moz-box-shadow: -5px -3px 111px -12px rgba(0, 0, 0, 0.72); */
}

.notification-alert-circle {
  position: absolute;
  top: -5px; /* Adjust position relative to the icon */
  right: 10px;
  background-color: red;
  color: white;
  font-size: 12px;
  font-weight: bold;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

/* .form-control:disabled,
.form-control[readonly] {
    background-color: transparent !important;
} */

/* td button {
    margin: 0 5px;
} */

.main-compose {
  position: relative;
  background-color: #ffffff;
  grid-area: main;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  grid-template-areas: "c1";
  padding: 5px;
}
.main-submitted {
  position: relative;
  background-color: #ffffff;
  grid-area: main;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  grid-template-areas: "c1";
  padding: 5px;
  height: 100%;
  overflow-y: hidden;
  /* display: none; */
}

.area-blur {
  overflow-y: auto;
  height: 90vh;
}

.container-compose {
  display: flex;
  flex-direction: column;
  width: 1fr;
  padding: 15px;
}

.comtainer-compose-admin {
  border: solid 2.1px #616060ae;
}
.container-userManagement {
  overflow-x: auto;
}
.container-print {
  display: flex;
  flex-direction: column;
  width: 1fr;
  /* padding: 20px; */
  visibility: hidden;
}
.system-name {
  font-size: 2.1em;
}
.container-status {
  /* height: 100vh; */
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-template-rows: 1fr;
  transition: grid-template-columns 0.5s ease;
  gap: 15px;
  margin-top: 2em;
}
.status-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border: 1px solid #f19ed2;
  background-color: #dca6c827;
  box-shadow: -1px 14px 7px -6px rgba(0, 0, 0, 0.57);
  -webkit-box-shadow: -1px 14px 7px -6px rgba(0, 0, 0, 0.57);
  -moz-box-shadow: -1px 14px 7px -6px rgba(0, 0, 0, 0.57);
  border-radius: 8px;
  padding: 15px;
}

.header-status-label {
  display: flex;
  justify-content: center;
  padding: 5px;
  width: 100%;
  border-bottom: 1px solid #f19ed2;
  font-size: 1.7em;
}
.status-content {
  display: flex;
  flex-direction: column;
  font-size: 1.5em;
  padding: 20px 10px 20px 10px;
}
.container-submitted {
  display: flex;
  flex-direction: column;
  width: 1fr;
}
#header-trans {
  text-align: center;
  background-color: transparent;
  border: none;
  outline: none;
}
.btn-trans {
  cursor: pointer;
}
/* .header-trans-documents {
    padding: 0 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
} */
.update-inputs {
  width: 100%;
  padding-right: 10px;
}

.secondary-container {
  width: 100%;
  border: solid 1px black;
}
.card-secondary-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
}
select {
  width: 100%;
  padding: 8px;
  /* margin-top: 5px; */
  border-radius: 4px;
  border: 1px solid #ccc;
}
#date {
  width: 100%;
  padding: 0px 0px 0px 1px;
  border-radius: 4px;
}

.display-hide {
  display: none;
}
/* Small screens */
@media (max-width: 600px) {
  .header-box .title-header {
    font-size: 1.5rem;
  }
}

/* Medium screens */
@media (min-width: 601px) and (max-width: 1024px) {
  .header-box .title-header {
    font-size: rem;
  }
}

/* Large screens */
@media (min-width: 1025px) {
  .header-box .title-header {
    font-size: 2.5rem;
  }
}

/* SUBMITTED PANEL */
table {
  width: 100%;
  border-collapse: collapse;
  font-family: Arial, sans-serif;
  --bs-table-bg: transparent !important;
}
/* table,
th,
td {
    border: 1px solid black;
} */
th,
td {
  border-collapse: collapse; /* Ensures borders are merged */
  border-spacing: 10px;
  font-size: 12px;
}
.td-subject {
  max-width: 200px;
  text-wrap: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.button-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
.table tr th {
  padding: 15px 0 10px 6px;
  font-size: 1.1em;
  background-color: #e2e2e23b;
}

.container-trans {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 1fr;
}

.trans-body {
  background-color: #ffffff;
  grid-area: main;
  display: grid;
  /* grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
    grid-template-areas:
        "lines documents"
        "lines documents";
    column-gap: 30px; */
  padding: 5px;
  position: relative;
}

.trans-documents {
  height: 100%;
  z-index: 2;
}
.trans-documents-updateform {
  margin-bottom: 10px;
}
.container-submitted-child {
  position: absolute;
  padding: 20px;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  backdrop-filter: blur(5px);
  width: 85%;
  height: 80%;
  z-index: 10;
  overflow-y: scroll;
  border: solid 1px black;
  border-radius: 5px;
  background-color: #ffffff;
  transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
  opacity: 0;
  visibility: hidden;
}
.input-form {
  display: flex;
  flex-direction: column;
  /* height: 100vh; */
}
/* .table-scrollable-container { */
/* position: absolute; */
/* max-height: 100vh; */
/* overflow-y: auto;
    overflow-x: hidden; */
/* } */
/* .subject-input {
    background-color: #fff;
    border: none;
    padding: 1px 0;
} */
.adjust-input {
  background-color: #fff;
  border: none;
  padding: 1px 0;
}
.form-routing {
  height: 100%;
  padding: 30px 0;
  border: 1px solid #b6b5b5bb;
}
.table-scrollable-container .table {
  width: 100%;
  table-layout: fixed; /* Optional: Ensures columns have a fixed width */
}
.container-submitted-child.active {
  opacity: 1;
  visibility: visible;
}
.display-hide {
  opacity: 0; /* Hides the container */
  visibility: hidden; /* Prevents interaction */
  backdrop-filter: none; /* No blur effect when hidden */
}

/* Optional: Add styling for the button to toggle the container */
#open-document {
  position: relative;
  z-index: 10; /* Ensure the button is above the blurred content */
  /* Additional styling for the button */
}

.container-trans-release {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50%;
  /* height: 80%; */
  z-index: 11;
  padding: 1.5em;
  border: solid 1px #f1dce9;
  background-color: #fff;
  min-width: 500px;
  /* transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out; */
  /* opacity: 0; */
  /* visibility: hidden; */
  /* box-shadow: -3px 14px 15px -10px rgb(75, 75, 75);
    -webkit-box-shadow: -3px 14px 15px -10px rgb(75, 75, 75);
    -moz-box-shadow: -3px 14px 15px -10px rgb(75, 75, 75); */
}
.container-submitted-child-document {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 95%;
  height: 95%;
  z-index: 11;
  padding: 1.5em;
  border: solid 1px #f1dce9;
  background-color: #fff;
  min-width: 900px;
  overflow-y: scroll;
}
.container-trans-receive {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  backdrop-filter: blur(5px);
  width: 80%;
  height: 80%;
  z-index: 11;
  padding: 5px;
  border: solid 1px black;
  background-color: #ccc;
  /* transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out; */
  /* opacity: 0; */
  /* visibility: hidden; */
}

.container-upload {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 95%;
  height: 95%;
  z-index: 11;
  padding: 1.5em;
  border: solid 1px #f1dce9;
  background-color: #fff;
  min-width: 900px;
  overflow: auto;
}
.container-upload-function {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: max-height 0.5s ease, opacity 0.5s ease;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, opacity 0.5s ease;
  opacity: 0;
}

.container-upload-function.show {
  max-height: 500px;
  opacity: 1;
}

.container-upload-button {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 30px;
  margin-bottom: 25px;
  width: 650px;
  background-color: #f3f5f67a;
  border: 1px dashed #0101017b;
  border-radius: 8px;
}

.btn-upload-documents {
  padding: 10px 20px;
  display: flex;
  justify-content: center;
  text-align: center;
  font-weight: bold;
  border-style: none;
  text-decoration: none;
  border-radius: 8px;
  margin: 10px 10px;
  transition: padding 0.3s ease, color 0.3s ease, box-shadow 0.3s ease,
    transform 0.3s ease;
}

.title-upload {
  font-size: 1.8em;
  padding-bottom: 10px;
}
.file-upload-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  border: 1px dashed #f3f5f6;
  padding: 12px 20px;
  margin-bottom: 20px;
  border-radius: 5px;
  width: fit-content;
  background-color: #f8f9fa;
  transition: background-color 0.3s;
}

.file-upload-container .fa-folder-plus {
  font-size: 4.7em;
  color: #afc7ede7;
}
.document-file-documentId {
  border: none;
  border-bottom: 1px solid #5f5d5daf;
  text-align: center;
  width: 100%;
  font-weight: bold;
}

.upload-file-detail {
  font-size: 0.8em;
}

.file-upload-container:hover {
  background-color: #e9ecef66;
}

.file-upload-container i {
  font-size: 1.5em;
  color: #5a5a5a;
}

.file-upload-label {
  padding: 5px;
  margin-top: 25px;
  /* border: 2px solid #bdc1c4f6; */
  border-radius: 8px;
  font-size: 1.3em;
  color: #5983d6;
  cursor: pointer;
}
.file-upload-label:hover {
  color: #5045e4b3;
  text-underline-offset: 5px;
  text-decoration: underline;
}

input[type="file"] {
  display: none;
}
.file-option-btn {
  position: relative;
  display: inline-block;
}

.options-dropdown {
  position: absolute;
  top: 20px;
  right: 0;
  background-color: #fff;
  border: 1px solid #ccc;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1;
  display: none;
}

.options-dropdown button {
  display: block;
  width: 100%;
  padding: 8px;
  border: none;
  background: none;
  text-align: left;
  cursor: pointer;
  font-size: 14px; /* Adjust this value to your desired font size */
}

.options-dropdown button:hover {
  background-color: #f0f0f0;
}

.container-document-files {
  /* height: 100vh; */
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 1fr;
  transition: grid-template-columns 0.5s ease;
  gap: 50px;
  margin-top: 2em;
}

.documents-files-card {
  position: relative;
  /* display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; */
  /* border: 1px solid #f19ed2; */

  background: linear-gradient(-135deg, transparent 1.5em, #f3f5f6cc 0);
  background-repeat: no-repeat;
  /* border-radius: 5px;
    box-shadow: -1px 14px 7px -6px rgba(0, 0, 0, 0.321);
    -webkit-box-shadow: -1px 14px 7px -6px rgba(0, 0, 0, 0.347);
    -moz-box-shadow: -1px 14px 7px -6px rgba(0, 0, 0, 0.378); */
  border-radius: 5px;
  padding: 15px;
}

.documents-files-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  display: inline-block;
}

.status-submitted::after {
  width: 2em;
  height: 2em;
  background: #7bc2d2;
  background: linear-gradient(-135deg, transparent 1.5em, #edbfd9 0);
}

.header-document-label {
  display: flex;
  justify-content: center;
  padding: 5px;
  width: 100%;
  border-bottom: 1px solid #f19ed2;
  font-size: 1.7em;
}
.header-document-label .fa-ellipsis {
  font-size: 0.8em;
  margin-top: 10px;
}
.header-document-label .fa-file {
  font-size: 1em;
  margin-top: 10px;
}
.file-option-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
}
.documentScannedPreview {
  min-height: 100vh;
}
.document-content {
  display: flex;
  flex-direction: column;
  font-size: 1.5em;
  padding: 20px 10px 20px 10px;
  width: 100%;
}
.document-detail {
  font-size: 0.6em;
}
.document-detail-sub {
  font-size: 0.5em;
}
.header-trans-release {
  display: flex;
  /* flex-direction: column; */
  justify-content: end;
  align-items: end;
  padding: 10px;
}
.release-title {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 20px 0;
}
.body-trans-release {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 10px 30px;
  /* margin-top: 1.1em; */
}
.barcode-input-release {
  border: solid 1px #a3a0a0;
  border-radius: 3px;
  width: 100%;
  height: 40px;
  font-size: 1.1em;
  font-weight: bold;
  padding: 3px 15px;
}
.remark-input {
  border: solid 1px #a3a0a0;
  border-radius: 3px;
  height: 40px;
  font-size: 1.2em;
  font-weight: bold;
  padding: 3px 15px;
}
.release-btn-selection {
  display: flex;
  align-items: center;
  justify-content: end;
  /* margin-top: 1.5em; */
}
.progress-menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 10px;
}

/* Individual item styling */
.progress-item {
  display: flex;
  align-items: center;
}
.progress-item .progress-checkbox {
  margin-right: 5px;
  width: 20px;
  height: 20px;
}

/* .progress-menu .progress-status {
    display: flex;
    flex-direction: column;
} */

/* .release-btn-selection .release-btn {
    border: none;
    border-radius: 8px;
    margin: 15px 25px 25px 0;
    padding: 10px;
    width: 5.5rem;
    height: 2.5rem;
} */

.header-trans-receive {
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: end;
  padding: 10px;
}
.receive-title {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}
.body-trans-receive {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 4em;
}
.barcode-input-receive {
  width: 80%;
  height: 50px;
}
.receive-btn-selection {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 4em;
}
.receive-btn-selection .receive-btn {
  margin: 10px;
  width: 8rem;
  height: 4rem;
}
.lbl-trans {
  display: flex;
  flex-direction: column;
  justify-content: start;
  width: 100%;
}

/* DASHBOARD !!!!! */
.button-container {
  display: flex;
  gap: 10px;
}

.button-container .btn {
  flex: none; /* Ensure buttons don't stretch */
  margin: 0; /* Remove default margin */
  padding: 8px 16px; /* Add padding for better look */
}

.button-container form {
  display: flex; /* Keep the delete button within the form inline */
}

/* SCROLL BAR DESIGN */

::-webkit-scrollbar {
  width: 12px; /* Width of the scrollbar */
  height: 12px; /* Height of the scrollbar (for horizontal scrollbars) */
}

::-webkit-scrollbar-track {
  background: #f1f1f1; /* Background color of the track */
  border-radius: 6px; /* Rounded corners */
}

::-webkit-scrollbar-thumb {
  background: #dcd7d7; /* Color of the thumb */
  border-radius: 6px; /* Rounded corners */
  border: 2px solid #f1f1f1; /* Adds space around thumb and matches track background */
}

::-webkit-scrollbar-thumb:hover {
  background: #555; /* Color of the thumb on hover */
}

.management-panel-sub {
  overflow-y: auto;
}

/* SCROLL BAR DESIGN END */
.invalid-input {
  border: 1px solid #fa404091; /* You can customize the border style here */
}
.nav-menu {
  position: relative;
  display: flex;
}
.nav-menu a {
  position: relative;
  font-size: 1.3em;
  color: #000;
  text-decoration: none;
  border: solid 1px 1px 0 0 #575555;
  border-radius: 8px 8px;
}

.nav-menu #marker {
  position: absolute;
  left: 0;
  height: 4px;
  width: 0;
  background: #000;
  bottom: 1px;
  transition: 0.5s;
  border-radius: 4px;
}
.nav-menu .new-entry {
  display: flex;
  width: 100%;
  justify-content: end;
}
.container-actions {
  display: flex;
  justify-content: end;
  align-items: baseline;
}
.management-panel {
  overflow-y: auto;
  height: 90vh;
  margin-bottom: 1.5em;
}

/* Modal for long values */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
  display: flex;
  flex-direction: column;
  background-color: #fefefe;
  margin: 15% auto;
  padding: 10px;
  border: 1px solid #888;
  width: 50%;
}
.modal-close-btn {
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  width: 100%;
}
.modal-content-body {
  border-top: #a3a0a0 solid 1px;
  padding: 20px;
}
.close {
  color: #888686;
  float: right;
  font-size: 20px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

/* SYSTEM MODULES STYLES */
.systemModules {
  /* padding: 10px 50px 0px 50px; */
  height: 100vh;
}
.container-module {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.2em;
  gap: 150px;
}
.module-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border: 1px solid #f19ed2;
  border-radius: 8px;
  padding: 15px;
  min-width: 400px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-open-module {
  padding: 8px 2px;
  display: flex;
  justify-content: center;
  text-align: center;
  width: 200px;
  font-weight: bold;
  border-style: none;
  text-decoration: none;
  color: #333333;
  border-radius: 8px;
  margin: 20px 10px;
  transition: padding 0.3s ease, color 0.3s ease, box-shadow 0.3s ease,
    transform 0.3s ease;
}
.header-module-label {
  display: flex;
  justify-content: center;
  text-align: center;
  padding: 5px;
  width: 100%;
  border-bottom: 1px solid #f19ed2;
}
.header-module-img {
  border: black 1px solid;
  width: 370px;
  height: 150px;
}
.header-module-img .module-img {
  width: 100%;
  height: 100%;
}
.module-content {
  display: flex;
  flex-direction: column;
  /* padding: 20px 10px 20px 10px; */
}

/* ADMIN PANEL  */

.search-bar-admin {
  display: flex;
  align-items: center;
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 1px 15px;
  background-color: #fff;
  /* width: 400px; */
}
.search-bar-admin button {
  border: none;
  outline: none;
  background-color: transparent;
  border-left: 0.8px solid #aaaaaad0;
  padding-left: 5px;
}
.search-bar-admin i {
  color: #aaa;
  margin-right: 10px;
}

.search-bar-admin input {
  border: none;
  outline: none;
  flex-grow: 1;
  padding: 3px;
  font-size: 16px;
  background-color: transparent;
}

.search-bar input::placeholder {
  color: #bbb;
}
.container-actions-admin {
  display: flex;
  justify-content: end;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.container-actions-admin .btn-admin {
  height: 100%;
  padding: 5px 8px;
  border-radius: 5px;
  border: none;
  color: #fefefe;
  width: 75px;
}
.wrapper-button-admin {
  display: flex;
}
.wrapper-admin {
  display: flex;
  justify-content: center;
  align-items: start;
  height: 100vh;
}

.container-admin-header {
  position: absolute;
  margin-top: 10px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 95%;
  height: 100%;
  z-index: 11;
  padding: 1.1em;
  border: solid 1px #f1dce9;
  background-color: #fff;
  min-width: 500px;
  overflow-y: scroll;
  /* transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out; */
  /* opacity: 0; */
  /* visibility: hidden; */
  /* box-shadow: -3px 14px 15px -10px rgb(75, 75, 75);
    -webkit-box-shadow: -3px 14px 15px -10px rgb(75, 75, 75);
    -moz-box-shadow: -3px 14px 15px -10px rgb(75, 75, 75); */
}
.container-admin-content {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}
.th-small {
  width: 80px;
}
.th-admin {
  text-align: center;
}
.checkbox-editmanagement {
  text-align: center;
  vertical-align: middle;
}
.Management-input {
  padding: 10px;
}
.admin-table tr th {
  padding: 3px 0;
  font-size: 1em;
}
.container-trans-receive {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  backdrop-filter: blur(5px);
  width: 80%;
  height: 80%;
  z-index: 11;
  padding: 5px;
  border: solid 1px black;
  background-color: #ccc;
}

.header-content-admin {
  display: flex;
  /* flex-direction: column; */
  justify-content: space-between;
  align-items: end;
  padding: 10px 0;
}
.header-content-body {
  display: flex;
  justify-content: space-between;
  align-items: end;
  padding: 10px;
}
.release-title {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 20px 0;
}
/* .body-trans-release {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 10px 30px;
    border: 1px solid black;
  
} */
.barcode-input-release {
  border: solid 1px #a3a0a0;
  border-radius: 3px;
  width: 100%;
  height: 40px;
  font-size: 1.1em;
  font-weight: bold;
  padding: 3px 15px;
}
.remark-input {
  border: solid 1px #a3a0a0;
  border-radius: 3px;
  height: 40px;
  font-size: 1.2em;
  font-weight: bold;
  padding: 3px 15px;
}
.release-btn-selection {
  display: flex;
  align-items: center;
  justify-content: end;
  /* margin-top: 1.5em; */
}
.progress-menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 10px;
}

/* EDIT MANAGEMENT */
.container-actions-admin {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.container-detail {
  display: flex; /* Change to flex initially */
  flex-direction: column;
  justify-content: start;
  padding: 10px;
  border: 1px solid gainsboro;
  margin: 10px 0;
  max-height: 0; /* To enable the transition effect */
  opacity: 0; /* Start fully transparent */
  overflow: hidden; /* Hide overflow content */
  transition: max-height 0.5s ease, opacity 0.5s ease; /* Transition effect */
}

.container-detail.show {
  max-height: 400px; /* Adjust this value based on content height */
  opacity: 1; /* Fully opaque */
}

.btn-dropdown-toogle-div {
  display: flex;
}

.btn-toggle-manage {
  border-style: none;
  width: 50px;
}

.container-detail-sub {
  display: flex;
  /* flex-direction: column; */
  justify-content: start;
  align-items: start;
  margin: 10px 0;
  gap: 1.5em;
}

.container-detail-user {
  display: flex;
  /* flex-direction: column; */
  justify-content: start;
  align-items: start;
  padding: 10px;
  border: 1px solid gainsboro;
  margin: 10px 0;
  gap: 1.5em;
}
.detail-user-edit {
  display: flex;
  flex-direction: column;
  align-items: start;
  margin-bottom: 10px;
}
/* .detail-user-edit input {
    border-color: #aaa;
} */
.container-detail-child {
  flex: 1; /* Allows each child to grow and fill available space equally */
  min-width: 200px; /* Minimum width for responsiveness; adjust as needed */
}
/* .detail-user-edit p {
    width: 80px;
    margin: 0;
} */
.detail-user-edit input {
  flex: 1;
  padding: 1px 10px;
  width: 100%;
  border: 0.8px solid #aaaaaad0;
}
.detail-user-edit select {
  flex: 1;
  padding: 2px 10px;
  width: 100%;
  border: 0.8px solid #aaaaaad0;
}
.header-content-edit {
  display: flex;
  justify-content: space-between;
  align-items: end;
  padding: 10px 0;
}
.filter-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 5px;
  padding: 1px 0;
  background-color: #fff;
  /* width: 400px; */
  gap: 25px;
}
.filter-wrapper-btn {
  display: flex;
  justify-content: end;
  align-items: center;
  border-radius: 5px;
  padding: 1px 0;
  background-color: #fff;
  width: 400px;
  gap: 25px;
}
.row-selection {
  display: flex;
  align-items: center;
}
.row-selection i {
  margin-right: 8px;
}
.control-rows {
  border: none;
  width: 120px;
  margin: 0;
}
.control-rows:focus {
  border: none;
  outline: none;
}
.row-selection select {
  padding: 5px;
  border-radius: 4px;
}
.wrapper-drop-form-control {
  display: flex;
  align-items: center;
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 1px 15px;
  background-color: #fff;
  width: 250px;
}
.wrapper-drop-form-control i {
  color: #aaa;
}
.drop-control-form {
  border: none;
  outline: none;
  width: 200px;
  margin: 0;
}
.drop-control-form :focus {
  border: none;
  outline: none;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.35;
  visibility: hidden;
}
input[type="checkbox"] {
  cursor: pointer;
}
.card {
  background-color: none !important;
  border-radius: 0 !important;
  background-color: none !important;
  border: 0 !important;
  --bs-card-bg: none !important;
  --bs-card-spacer-y: none !important;
}

.card-header {
  margin-bottom: 1em !important;
}
.form-control {
  background-color: #ffffff9e;
}
#documentContainer {
  max-height: 80%;
}
.btn-close-documents-view {
  border-style: none;
}
.table-btn-document {
  padding-left: 50px;
}

/* NOTIFICATION PANEL */

.notification-panel {
  background-color: #fff;
  border: 1px solid #ddd;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  font-family: Arial, sans-serif;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.notification-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px;
  background-color: #f4f4f4;
  border-bottom: 1px solid #ddd;
}

.notification-header h3 {
  margin: 0;
  font-size: 16px;
  color: #333;
}

.clear-btn {
  background: none;
  border: none;
  color: #007bff;
  cursor: pointer;
  font-size: 14px;
}

.notification-body {
  max-height: calc(100vh - 65px); /* Adjusts height based on the navbar */
  overflow-y: auto;
}

.notification-item {
  display: flex;
  padding: 10px;
  border-bottom: 1px solid #eee;
  align-items: baseline;
}
.notification-item:nth-child(odd) {
  border-top: 1px solid #00000046;
  border-bottom: 1px solid #00000046;
  background-color: #f5f5f5;
}

.notification-item:last-child {
  border-bottom: none;
}

.notification-icon {
  flex-shrink: 0;
  margin-right: 10px;
  font-size: 20px;
}

.fa-envelope-open {
  color: #007bff;
}

.fa-envelope {
  color: #ff0062;
}

.notification-content {
  flex-grow: 1;
}

.notification-message {
  margin: 0;
  font-size: 14px;
  color: #555;
}

.notification-time {
  font-size: 12px;
  color: #999;
}

.notification-footer {
  padding: 10px 15px;
  text-align: center;
  background-color: #f4f4f4;
  border-top: 1px solid #ddd;
}

.view-all {
  font-size: 14px;
  color: #007bff;
  text-decoration: none;
}

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

.message-header {
  display: flex;
  justify-content: space-between;
  max-width: 100%;
}
.message-header .fa-trash-can {
  height: 100%;
  color: #ff0062;
  font-size: 1.3em;
}

.bell-icons {
  display: flex;
  gap: 10px; /* Adjust spacing between icons */
}

.bell-icon {
  font-size: 2rem; /* Adjust size as needed */
  animation: rotate-bell 2s ease-in-out infinite; /* Smooth rotation animation */
  transform: rotate(var(--rotate-start));
}

/* Add keyframes for rotation */
@keyframes rotate-bell {
  0% { transform: rotate(0deg); }
  50% { transform: rotate(30deg); }
  100% { transform: rotate(0deg); }
}

/* NOTIFICATION STYLE */

.toast-info .toast-message {
  display: flex;
  align-items: center;
}
.toast-info .toast-message i {
  margin-right: 10px;
}
.toast-info .toast-message .notification-content {
  display: flex;
  flex-direction: row;
  align-items: center;
}

/* SPINNER */
#loading-spinner {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
}

/* Search Filter */
.filter-container {
  display: flex;
  justify-content: end;
  align-items: end;
  padding: 10px 0;
  margin-right: 10px;
  border-bottom: 1px solid #00000011;
}

.filter-div-wrap {
  display: flex;
  align-items: center;
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 1px 15px;
  background-color: #fff;
  /* width: 400px; */
}
.filter-div-wrap #options {
  padding: 0;
  border: none;
  outline: none;
  border-right: 1px solid #000;
  border-radius: 0%;
}
.filter-div-wrap button {
  border: none;
  outline: none;
  background-color: transparent;
  border-left: 0.8px solid #aaaaaad0;
  padding-left: 5px;
}
.filter-div-wrap .dateFilter {
  border: none;
  outline: none;
  background-color: transparent;
  margin-left: 30px;
}
.filter-div-wrap input {
  border: none;
  outline: none;
  flex-grow: 1;
  padding: 3px;
  font-size: 16px;
  background-color: transparent;
}


/* Routing History Module Styles */ 

.doc-track-timeline-wrapper {
    background-color: #fcfcfc;
    border-radius: 8px;
    padding: 30px 20px; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.08); 
}

.doc-track-timeline-container {
    position: relative;
}

/* Vertical Line */
.doc-track-timeline-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 17px; 
    height: 100%;
    width: 2px;
    background-color: #e0e0e0; 
}

.doc-track-event {
    display: flex;
    margin-bottom: 35px; /* Increased margin to accommodate the status badge above the card */
    position: relative;
    opacity: 0; /* Hidden initially for entrance animation */
}

/* ---------------------------------------------------- */
/* --- 2. MARKER & ICON STYLING (MODIFIED POSITIONING) --- */
/* ---------------------------------------------------- */

/* NEW CONTAINER: Marker Group (optional, but good for organization) */
.doc-track-marker-group {
    position: absolute;
    height: 100%;
    width: 40px; 
}

/* NEW: Status Header positioning */
.doc-track-status-header {
    position: absolute;
    top: 0px; 
    left: 35px; 
    z-index: 10;
}

.doc-track-marker {
    position: absolute;
    left: 8px; 
    top: 3px;
    width: 20px;
    height: 20px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* HIDE the old marker dot */
.doc-track-marker-dot {
    display: none; 
}

/* Base style for all past transaction icons */
.doc-track-past-icon {
    font-size: 1.3rem; 
    color: #495057; 
    background-color: #fcfcfc; 
    border-radius: 50%;
    padding: 2px;
    transition: all 0.3s ease-in-out; 
    border: 2px solid #e0e0e0; 
}

/* Latest/Active Icon Style (In-Progress) */
.doc-track-active-icon {
    font-size: 1.6rem;
    color: #007bff; 
    border-radius: 15px;
}

/* Custom Color Adjustments for specific past icons */

.doc-track-past-icon.fa-clock {
    color: #007bff; 
}

.doc-track-past-icon.fa-envelope-open-text {
    color: #28a745; 
}

.doc-track-past-icon.fa-signature {
    color: #6f42c1; 
}

.doc-track-past-icon.fa-times-circle {
    color: #dc3545; 
    border-color: #dc3545;
    background-color: #fff;
}


/* ---------------------------------------------------- */
/* --- 3. DETAILS CARD & INTERACTIVITY --- */
/* ---------------------------------------------------- */

.doc-track-details-card {
    margin-top: 35px; 
    margin-left: 35px; 
    background: #ffffff;
    border-radius: 5px; 
    border: 1px solid #eee;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
    transition: box-shadow 0.3s ease, transform 0.3s ease; 
}

/* Card Hover Effect */
.doc-track-details-card:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1); 
    transform: translateY(-2px); 
}

/* Past Icon Hover Effect */
.doc-track-past-icon:hover {
    transform: scale(1.1); 
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Active Icon Animation */
.doc-track-latest .doc-track-active-icon {
    animation: pulse-active 1.5s infinite;
}

/* Transaction Title (with Bottom Border) */
.doc-track-transaction-title {
    font-size: 1.3rem;
    font-weight: 700;
    background-color: #dde1de;
    color: #333;
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 5px; 
    margin-bottom: 10px; 
    display: block;
}

/* Remark Link (Inherits color, subtle hover) */
.doc-track-remark-link {
    font-size: 0.85rem;
    color: #17a2b8;
    cursor: pointer;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
}

.doc-track-remark-link i.fas {
    color: inherit; 
}

.doc-track-remark-link:hover {
    color: #0e879c;
    text-decoration: none; 
}

/* ---------------------------------------------------- */
/* --- 4. KEYFRAMES (ANIMATIONS) --- */
/* ---------------------------------------------------- */

/* Card Fade-in & Slide Effect */
@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateX(10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Apply the animation to the event */
.doc-track-event {
    animation: fadeInSlide 0.5s ease-out forwards;
}

/* Stagger the animation timing */
.doc-track-event:nth-child(2) { animation-delay: 0.1s; }
.doc-track-event:nth-child(3) { animation-delay: 0.2s; }
.doc-track-event:nth-child(4) { animation-delay: 0.3s; }
.doc-track-event:nth-child(5) { animation-delay: 0.4s; }


/* Pulse Animation for the Active Icon */
@keyframes pulse-active {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.4); 
    }
    70% {
        box-shadow: 0 0 0 15px rgba(0, 123, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 123, 255, 0);
    }
}

/* ---------------------------------------------------- */
/* --- STATUS BADGE STYLES (Kept for completeness) --- */
/* ---------------------------------------------------- */

.doc-track-status-badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    text-transform: uppercase;
    display: inline-block; 
}

.doc-track-status-completed, .doc-track-status-delivered {
    background-color: #28a745; 
}

.doc-track-status-in-progress, .doc-track-status-forwarded, .doc-track-status-processed { 
    background-color: #007bff; 
}

.doc-track-status-cancelled, .doc-track-status-rejected, .doc-track-status-failed {
    background-color: #dc3545; 
}

.doc-track-status-pending, .doc-track-status-draft, .doc-track-status-for_review {
    background-color: #ffc107; 
    color: #333; 
}


