body {
  margin: 0;
  background-color: var(--secondary-bg);
  background-image: radial-gradient(
    var(--primary-color) 0.5px,
    var(--secondary-bg) 0.5px
  );
  background-size: 15px 15px;
}

/** Overwriting bootstrap's row margins **/

#root .row {
  margin-left: unset;
  margin-right: unset;
}

/** ----------------------------------- **/
.app-header {
  background: var(--main-bg);
  color: var(--primary-color);
  font-weight: 500;
}

.appbar-link {
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  color: var(--text-color);
  margin-left: 30px;
  margin-top: 10px;
}

.appbar-link:hover {
  color: var(--accent);
}
.app-drawer {
  background: var(--main-bg);
  color: var(--ui-divider-color);
}

.mobile-menu-icon {
  font-size: 25px;
  color: var(--accent);
  margin-top: 10px;
}

.mobile-drawer-links {
  color: var(--text-color);
  font-size: 1.5rem;
  font-weight: 700;
  align-items: center;
  text-align: center;
  padding: 10px;
}

.drawer-buttons {
  color: var(--primary);
  background-color: var(--secondary);
  border: 2px solid var(--secondary);
}
.drawer-buttons:hover {
  background-color: var(--secondary);
}

.drawer-list {
  color: var(--text-color);
  margin-bottom: 10px;
}

.toggle-drawer-button {
  color: var(--accent);
  cursor: pointer;
  margin-left: -10px;
}

.logo {
  font-size: 20px;
  font-weight: 900;
  cursor: pointer;
  color: var(--text-color);
}

.util-button {
  color: var(--primary-color);
  cursor: pointer;
  margin-right: 5px;
  transition: all 0.24s ease;
}

.util-button:hover {
  color: var(--ui-button-hover-color);
}

.dialog-menu {
  background: linear-gradient(135deg, var(--gradient-100), var(--gradient-200));
}

.dialog-buttons {
  cursor: pointer;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-color);
  background: none;
}

.request-tracker {
  background-color: var(--secondary);
}

.request-tracker span {
  background-color: var(--accent);
}

.highlight-text {
  background: linear-gradient(134deg, var(--accent) 0%, var(--text-color) 100%);
  background-clip: text;
  color: transparent;
}

.profile-body {
  height: 92.8vh;
  width: 100%;
  background-color: var(--secondary-bg);
}

.profile-container {
  color: var(--text-color);
  padding: 3%;
  background: linear-gradient(
    134deg,
    var(--gradient-100) 0%,
    var(--gradient-200) 100%
  );
}

.profile-edit-picture {
  background-color: var(--accent);
  padding: 7px;
  color: var(--text-color);
  cursor: pointer;
  border: 2px solid var(--accent);
  border-radius: 20px;
}

.profile-icons {
  color: var(--accent);
}

.profile-inputs {
  color: var(--text-color);
  width: 70%;
}

.input-labels {
  font-weight: 700;
  color: var(--text-color);
  text-align: left;
  margin-left: 15%;
}

.input-labels-list {
  background: none;
  color: var(--text-color);
  font-size: 1rem;
  font-weight: 700;
  margin-left: 15%;
  overflow-x: hidden;
}

.scrollbar-list::-webkit-scrollbar {
  width: 7px;
}

.scrollbar-list::-webkit-scrollbar-track {
  box-shadow: inset 0 0 3px grey;
  border-radius: 5px;
}

.scrollbar-list::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 5px;
}

option {
  background-color: var(--accent);
}

.menu-list::-webkit-scrollbar {
  width: 7px;
}

.menu-list::-webkit-scrollbar-track {
  box-shadow: inset 0 0 3px grey;
  border-radius: 5px;
}

.menu-list::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 5px;
}
.organigram-container {
  min-height: 99%;
}

.organigram-container::-webkit-scrollbar {
  height: 10px;
}

.organigram-container::-webkit-scrollbar-track {
  box-shadow: inset 0 0 3px grey;
  border-radius: 5px;
}

.organigram-container::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 5px;
}

.reset-link {
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--accent);
  cursor: pointer;
}

.vision-link:hover {
  color: var(--accent);
}

.menu {
  --color: var(--primary-color);
  width: 20px;
  height: 20px;
  padding: 0;
  margin-left: 10px;
  margin-right: 20px;
  outline: none;
  position: relative;
  border: none;
  background: none;
  cursor: pointer;
  -webkit-appearence: none;
  -webkit-tap-highlight-color: transparent;
}
.menu svg {
  width: 48px;
  height: 48px;
  top: -6px;
  left: -14px;
  stroke: var(--color);
  stroke-width: 4px;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  display: block;
  position: absolute;
}
.menu svg path {
  transition:
    stroke-dasharray var(--duration, 0.85s) var(--easing, ease) var(--delay, 0s),
    stroke-dashoffset var(--duration, 0.85s) var(--easing, ease)
      var(--delay, 0s);
  stroke-dasharray: var(--array-1, 26px) var(--array-2, 100px);
  stroke-dashoffset: var(--offset, 126px);
  transform: translateZ(0);
}
.menu svg path:nth-child(2) {
  --duration: 0.7s;
  --easing: ease-in;
  --offset: 100px;
  --array-2: 74px;
}
.menu svg path:nth-child(3) {
  --offset: 133px;
  --array-2: 107px;
}
.menu.active svg path {
  --offset: 57px;
}
.menu.active svg path:nth-child(1),
.menu.active svg path:nth-child(3) {
  --delay: 0.15s;
  --easing: cubic-bezier(0.2, 0.4, 0.2, 1.1);
}
.menu.active svg path:nth-child(2) {
  --duration: 0.4s;
  --offset: 2px;
  --array-1: 1px;
}
.menu.active svg path:nth-child(3) {
  --offset: 58px;
}

.icon-text-button-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px;
  color: var(--second);
  cursor: pointer;
  flex-direction: column;
}

.icon-text-button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 45px;
  height: 45px;
  text-align: center;
  font-size: 1rem;
  color: var(--ui-button-text-color);
  background-color: var(--accent-bg);
  border-radius: 100%;
  padding: 20px;
  transition: all 0.24s ease-in-out;
}

.icon-text {
  text-align: center;
  color: var(--primary-color);
  font-size: 0.75rem;
  margin-top: 2px;
  font-weight: 500;
}

.drawer-title {
  color: var(--ui-drawer-title-color);
  font-size: 1rem;
  font-weight: 400;
  padding: 0 15px;
  margin: 15px 0;
  cursor: default;
  letter-spacing: 0.04rem;
  display: flex;
  align-items: center;
}

.drawer-title svg {
  cursor: pointer;
}

.text-icon-button-wrapper {
  width: 230px;
  max-width: 230px;
  display: flex;
  justify-content: start;
  align-items: center;
  margin: 10px;
  color: var(--ui-button-text-color);
  cursor: pointer;
  flex-direction: row;
  background-color: var(--accent-bg);
  padding: 10px;
  border-radius: 5px;
}

.button-text {
  font-size: 1.1rem;
  margin-left: 5px;
}
.nav-drawer {
  box-shadow: none;
}
.nav-items {
  color: var(--primary-color);
  font-size: 1rem;
  font-weight: 700;
  margin: 5px 0 5px 10px;
}

.menu-item-list .MuiTreeItem-content {
  width: 100%;
}

.quick-nav-edit-wrapper {
  height: 500px;
  display: flex;
  align-items: center;
  flex-direction: column;
}

/*** --- Flip Animation for UI elements --- ***/

@keyframes flip {
  0% {
    transform: rotateY(0);
  }
  100% {
    transform: rotateY(180deg);
  }
}

@keyframes flipBack {
  0% {
    transform: rotateY(180deg);
  }
  100% {
    transform: rotateY(0);
  }
}

.icon-text-button:hover .icon {
  animation: flip 0.5s ease forwards;
}

.icon-text-button .icon {
  animation: flipBack 0.5s ease forwards;
}

.icon-text-button:hover {
  background-color: var(--ui-icon-text-button-hover);
}

/* Style for LIST elements */
.table {
  border-color: var(--ui-border-color);
}

.table-responsive.request-table-wrapper {
  border-radius: 10px 10px 0 0;
}

.table > :not(caption) > * > * {
  border-color: var(--ui-border-color);
}
.list-title-row {
  color: var(--primary-color);
  font-size: 1.5rem;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1%;
}

thead {
  white-space: nowrap;
  background: var(--accent-bg);
}

td {
  max-width: 250px;
  min-width: 200px;
  vertical-align: middle;
}

th[scope="row"] {
  vertical-align: middle;
}
#myTable th[scope="col"] > *,
#myTable th[scope="col"] > * > * {
  width: 100%;
}

th[scope="row"] > span {
  padding-left: 5px;
}

th[scope="col"] > span {
  padding-left: 5px;
}

.table-responsive .table > :not(:last-child) > :last-child > * {
  border-color: var(--ui-border-color);
}

td,
th {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--primary-color);
}

.table-responsive {
  border-radius: 10px;
  border: 2px solid var(--ui-border-color);
  background-image: linear-gradient(
    to bottom,
    var(--accent-bg) 10px,
    var(--main-bg) 11px
  );
  background-size: 100% 100%;
  position: relative;
}

.table-hover tr:hover {
  background-color: var(--ui-table-hover-color);
  color: unset;
}

.table-hover tr {
  background-color: unset;
  color: unset;
}

.table-hover thead tr:hover {
  background-color: unset;
  color: unset;
}

/* - Style for Approver LIST elements - */

.approver-table tr > td:last-child,
.approver-table tr > th:last-child {
  min-width: 75px;
  max-width: 75px;
  text-align: center;
  overflow: unset;
  padding: unset;
}
.approver-table tr > td:last-child {
  border-left: 1px solid var(--ui-border-color);
  font-weight: 400;
}
.approver-table tr > td:nth-last-child(2),
.approver-table tr > th:nth-last-child(2) {
  min-width: 70px;
  max-width: 75px;
}

table.approver-table {
  margin-bottom: unset;
}

table.approver-table thead tr > th {
  font-weight: 400;
}

table.approver-table tbody tr > td {
  font-weight: 300;
}

table.approver-table tbody tr > td.approver-list-conclusion {
  text-align: end;
  font-weight: 400;
  color: #fff;
  background: var(--progress);
  height: 2.5rem;
  padding: 0 1rem;
  border: unset;
}

table.approver-table tbody tr > td.citizen-response {
  text-align: end;
  font-weight: 400;
  color: #fff;
  background: var(--caution);
  height: 2.5rem;
  padding: 0 1rem;
  border: unset;
}

.approver-row-highlight {
  background: var(--ui-table-hover-color);
}

/* Approvers List Buttons */

.menu-flux-button {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: unset;
  color: var(--primary-color);
  width: 100%;
  height: 57px;
  border: none;
  font-size: 1rem;
  font-weight: 400;
  transition: 0.24s ease;
}

.menu-flux-container:hover .menu-flux-button {
  color: var(--primary-color);
  background: var(--accent-bg);
}

.menu-flux-container {
  position: relative;
  display: inline-block;
  width: 100%;
}

.menu-flux {
  visibility: hidden;
  position: absolute;
  overflow: hidden;
  right: 100%;
  top: -1px;
  min-width: 180px;
  box-shadow: -3px 3px 8px 0px rgba(0, 0, 0, 0.1);
  z-index: 999;
  font-size: 1rem;
  border-radius: 5px 0 5px 5px;
  display: flex;
  align-items: center;
  flex-direction: column;
  border: 1px solid var(--ui-border-color);
  transition:
    visibility 0s,
    opacity 0.3s ease,
    transform 0.3s ease;
  opacity: 0;
  transform: translateX(20px);
}

.menu-flux-item {
  position: relative;
  white-space: nowrap;
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-decoration: none;
  color: var(--primary-color);
  font-weight: 400;
  border: unset;
  width: 100%;
  height: 40px;
  cursor: pointer;
  font-size: 1rem;
  transition: 0.24s ease;
  padding: 0 20px;
  background: var(--accent-bg);
}

.menu-flux-item:hover {
  color: white;
}
/* - Style for Documents LIST elements - */

.table.documents-table {
  margin-bottom: unset;
  padding: unset;
  overflow-y: clip;
}

.documents-table tr:last-child > td {
  border: unset;
}

.documents-table tbody tr td:not(:last-child) span {
  max-width: 95%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.documents-table tbody tr td:not(:only-of-type):last-child {
  min-width: 10px;
  max-width: 15px;
  text-align: center;
  overflow: unset;
  padding: unset;
  border-left: 1px solid var(--ui-border-color);
}

.documents-table tbody tr > td:only-of-type {
  border-left: unset;
}

.documents-table th[scope="row"],
.documents-table th[scope="col"] {
  width: 40px;
  vertical-align: middle;
}

.documents-table tr:last-child th[scope="row"] {
  border-bottom: unset;
}

.documents-table th {
  font-weight: 400;
}

.documents-table thead tr:not(:only-child):first-child th {
  border-bottom: unset;
  padding: 0.5rem 0.5rem 0 0.5rem;
}

.documents-table thead tr:not(:only-child):nth-child(2) th {
  padding: 0 0.5rem 0.5rem 0.5rem;
  min-height: 43px;
  vertical-align: middle;
}

.documents-table tbody {
  font-weight: 300;
}

.documents-area-wrapper {
  display: flex;
  justify-content: space-between;
}

.documents-area-wrapper > div:nth-child(1) {
  padding: 0 0.5rem 0 0;
}

.documents-area-wrapper > div:nth-child(2) {
  padding: 0 0 0 0.5rem;
}

.documents-area-wrapper > div:only-child {
  padding: 0;
}

/* Menu documents buttons */

.additional-documents-button {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: unset;
  color: var(--primary-color);
  width: fit-content;
  min-width: 50px;
  padding: 0 0.5rem;
  height: 45px;
  border: none;
  font-size: 1rem;
  font-weight: 400;
  border-left: 1px solid var(--ui-border-color);
  transition: 0.24s ease;
}

.additional-documents-button:hover {
  color: var(--primary-color);
  background: var(--accent-bg);
}

.table.first.documents-table tbody td,
.table.first.documents-table tbody th {
  padding: 0 0 0 0.5rem;
  height: 45px;
}

.documents-table
  tbody
  tr
  td:not(:last-child)
  .additional-documents-button
  span {
  max-width: unset;
  overflow: hidden;
  text-overflow: unset;
  white-space: nowrap;
}
.menu-documents-button {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: unset;
  color: var(--primary-color);
  width: 100%;
  height: 45px;
  border: none;
  font-size: 1rem;
  font-weight: 400;
  transition: 0.24s ease;
}

.menu-documents-container:hover .menu-documents-button {
  color: var(--primary-color);
  background: var(--accent-bg);
}

.menu-documents-container {
  position: relative;
  display: inline-block;
  width: 100%;
}

.menu-documents {
  visibility: hidden;
  position: absolute;
  overflow: hidden;
  right: 100%;
  top: -1px;
  z-index: 999;
  font-size: 1rem;
  display: flex;
  align-items: center;
  flex-direction: row;
  border: 1px solid var(--ui-border-color);
  transition:
    visibility 0s,
    opacity 0.3s ease,
    transform 0.3s ease;
  opacity: 0;
  transform: translateX(20px);
}

.menu-documents-item {
  position: relative;
  white-space: nowrap;
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--primary-color);
  font-weight: 400;
  border: unset;
  width: 50px;
  height: 45px;
  cursor: pointer;
  font-size: 1rem;
  transition: 0.24s ease;
  background: var(--accent-bg);
}

.menu-documents-item:hover {
  background: var(--ui-list-button-background);
}

/* Show the documents menu when hovering over the container */
.menu-documents-container:hover .menu-documents {
  visibility: visible;
  opacity: 1;
  transform: translateX(0);
}

.menu-documents-container:hover .menu-documents-item {
  opacity: 1;
}

/* - Style for Comments LIST elements - */

.table.comments-table {
  margin-bottom: unset;
  padding: unset;
}

.comments-table tr:last-child > td {
  border: unset;
}

table.comments-table thead tr > th {
  font-weight: 400;
}

table.comments-table tbody tr > td {
  font-weight: 300;
}

.comments-small-text {
  font-size: 0.9rem;
  margin: 0 0.5rem;
}

.message-container {
  width: 100%;
}

.message-container span {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 3;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2em;
  max-height: 2.4em;
  white-space: normal;
  font-size: 0.9rem;
}
/* - Style for Audit LIST elements - */

.table.audit-table {
  margin-bottom: unset;
  padding: unset;
}

.audit-table tr:last-child > td {
  border: unset;
}

table.audit-table thead tr > th {
  font-weight: 400;
}

table.audit-table tbody tr > td {
  font-weight: 300;
}

table.audit-table tbody tr > td:last-child {
  max-width: 400px;
}

table.audit-table tbody tr > td:last-child > span {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2em;
  max-height: 3.6em;
  white-space: normal;
}

/* Tabs Bootstrap override */

.nav-link:not(.active) {
  color: var(--primary-color);
}

.nav-link:not(.active):hover,
.nav-link:not(.active):focus {
  color: var(--accent-color);
}
.nav-pills .nav-link.tab.active,
.nav-pills .show > .tab.nav-link {
  background-color: var(--ui-accordion-expanded-bg);
  color: var(--primary-color);
}
/* Specific button styles */
.progressBtn {
  color: var(--progress);
}

.progressBtn:hover {
  background: var(--progress);
}

.cautionBtn {
  color: var(--caution);
}

.cautionBtn:hover {
  background: var(--caution);
}

.riskBtn {
  color: var(--risk);
}

.riskBtn:hover {
  background: var(--risk);
}

.neutralBtn {
  color: #737373;
}

.neutralBtn:hover {
  background: #737373;
}

.secondBtn {
  color: var(--second);
}

.secondBtn:hover {
  background: var(--second);
}

/* Show the menu when hovering over the container */
.menu-flux-container:hover .menu-flux {
  visibility: visible;
  opacity: 1;
  transform: translateX(0);
}

.menu-flux-container:hover .menu-flux-item {
  opacity: 1;
}

/* - Style for STATUS Element of a List - */

.showStatus {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 40px;
  border-radius: 3px;
  background: var(--ui-idle-status-bg);
  color: var(--ui-idle-status-color);
  overflow: hidden;
}

/* Style for BUTTONS elements */

.table-buttons-row {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  padding: 10px;
  background-color: var(--accent-bg);
  z-index: 1;
}

.table-button {
  padding: 5px 10px;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ui-list-button-color);
  font-weight: 500;
  background: unset;
  border: unset;
  border-radius: 5px;
  transition: all 0.24s ease;
}

.table-button:hover {
  background: var(--ui-list-button-background);
}

.table-buttons-col {
  display: flex;
  align-items: center;
  gap: 5px;
}

.delete-filters-button,
.delete-beneficiary-button {
  padding: 5px 10px;
  height: 31px;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--d-risk-text);
  font-weight: 500;
  background: var(--d-risk);
  border: 1.5px solid var(--d-risk);
  border-radius: 5px;
  transition: all 0.24s ease;
}

.delete-beneficiary-button {
  position: absolute;
  top: 1rem;
  right: 3rem;
  height: 35px;
}

.add-beneficiary-button,
.action-button {
  height: 2.5rem;
  font-size: 1rem;
  display: flex;
  align-items: center;
  padding: 0 1rem;
  background-color: var(--ui-send-request-button);
  color: var(--b-text-color);
  border-radius: 5px;
  border: unset;
  transition: all 0.24s ease;
  white-space: nowrap;
  text-decoration: unset;
}

.add-beneficiary-button {
  gap: 0.5rem;
}

.add-beneficiary-button:hover,
.action-button:hover {
  opacity: 0.85;
}

.delete-filters-button:hover,
.delete-beneficiary-button:hover {
  border: 1.5px solid var(--d-risk-text);
}

a.upload-button:hover,
a.action-button:hover {
  color: var(--b-text-color);
}

.search-button {
  height: 31px;
  width: 45px;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--d-progress-text);
  font-weight: 500;
  background: var(--d-progress);
  border: 1.5px solid var(--d-progress);
  border-radius: 5px;
  transition: all 0.24s ease;
}

.search-button:hover {
  border: 1.5px solid var(--d-progress-text);
}

.title-button {
  font-size: 16px;
  font-weight: 400;
  border-radius: 3px;
  padding: 5px 10px;
  flex-shrink: 0;
  color: var(--ui-list-button-color);
  border: 1px solid var(--b-bg-color);
  background: var(--b-bg-color);
  transition: all 0.24s ease;
  height: 35px;
  display: flex;
  gap: 5px;
  align-items: center;
}

.title-button:hover {
  color: var(--ui-list-button-color);
  border: 1px solid var(--ui-list-button-color);
}

/* --- General styling for text --- */

.text-color {
  color: var(--primary-color);
}

/* --- Request header card --- */

.card.request-card {
  border-radius: 10px 10px 0 0;
  border-width: 2px 2px 1px 2px;
  border-color: var(--ui-border-color);
  border-style: solid;
  background: var(--main-bg);
  color: var(--text-color);
  min-height: calc(10rem + 64px);
}

.card-header.request-card-header {
  min-height: 64px;
  font-size: 1.25rem;
  color: var(--primary-color);
  font-weight: 400;
  background-color: var(--accent-bg);
  border-bottom: 1px solid var(--ui-border-color);
}

.card-header.request-card-header:first-child {
  border-radius: 6px 6px 0 0;
}

/* --- Request status bar [Desktop] --- */

.status-bar-wrapper {
  display: flex;
  width: 100%;
  padding: 0 15%;
  align-items: center;
  justify-content: center;
}

.status-bar {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  height: 3px;
}

.status-dot {
  width: 30px;
  height: 30px;
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 100px;
  color: var(--ui-status-bar-dot-color);
  position: relative;
  font-size: 1rem;
}

.status-dot::before,
.status-dot::after {
  position: absolute;
  width: max-content;
  left: 50%;
  text-align: center;
  font-size: 1rem;
  font-weight: 500;
  white-space: nowrap;
}

.status-dot::before {
  top: -1rem;
  transform: translate(-50%, -100%);
  color: var(--primary-color);
}

.status-dot:nth-child(2):before {
  content: "În lucru";
}

.status-dot:nth-child(3):before {
  content: "Finalizată";
}

.status-dot::after {
  bottom: -1rem;
  font-weight: 400;
  transform: translate(-50%, 100%);
  color: var(--ui-status-bar-dot-color);
}

.status-dot:nth-child(1) {
  background: var(--primary-color);
  color: var(--main-bg);
}

/* --- Style for pagination Elements --- */

.choose-page-wrapper fieldset {
  border: unset;
  border-radius: 5px 0 0 5px;
}

.choose-page-wrapper input {
  background: var(--accent-bg);
  color: var(--primary-color);
  border-radius: 5px 0 0 5px;
}

.choose-page-button {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ui-list-button-color);
  background: var(--accent-bg);
  font-size: 1rem;
  border-radius: 0 5px 5px 0;
  border: unset;
}

.pagination-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pagination-buttons-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: fit-content;
}

.entities-number {
  font-size: 1rem;
  color: var(--ui-list-button-color);
  font-weight: 500;
}

.left-pagination-button,
.right-pagination-button {
  height: 40px;
  width: 45px;
  color: var(--ui-list-button-color);
  background: var(--accent-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  border: unset;
}
.left-pagination-button {
  border-radius: 5px 0 0 5px;
}

.right-pagination-button {
  border-radius: 0 5px 5px 0;
}

.pagination-display {
  height: 40px;
  min-width: 50px;
  color: var(--ui-list-button-color);
  background: var(--accent-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 500;
}
.choose-page-button,
.left-pagination-button,
.right-pagination-button {
  transition: all 0.24s ease;
}
.choose-page-button:hover,
.left-pagination-button:hover,
.right-pagination-button:hover {
  background: var(--ui-list-button-background);
}

.left-pagination-button:disabled,
.right-pagination-button:disabled {
  background: var(--ui-list-button-background);
  opacity: 0.5;
}

/* Style for Reason List */

.reason-list-wrapper {
  display: flex;
  justify-content: flex-start;
}

.reason-list-wrapper > div {
  padding: 0 0.5rem;
}

.reason-list-wrapper > div:last-of-type {
  padding: 0 0 0 0.5rem;
}

.reason-list-wrapper > div:first-of-type {
  padding: 0 0.5rem 0 0;
}

.reason-list-wrapper .card {
  background: var(--main-bg);
  border: 1px solid var(--ui-border-color);
  border-radius: unset;
}

.reason-list-wrapper .card-header {
  background: var(--progress);
  color: var(--b-text-color);
}

.reason-list-wrapper .card-header:first-child {
  border-radius: unset;
  height: 3rem;
  display: flex;
  align-items: center;
}

.reason-list-wrapper .card-body {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.reason-list-wrapper .card-body > div {
  display: flex;
}

.reason-list-wrapper .card-body > div > span:first-child {
  font-weight: 400;
  white-space: nowrap;
  margin-right: 0.5rem;
}

.reason-list-wrapper .card-body > div > span:nth-child(2) {
  font-weight: 300;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.reason-list-button {
  height: 2rem;
  width: 100%;
  background-color: var(--main-bg);
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 400;
  transition: all 0.24s ease;
}

.reason-list-button:hover {
  color: var(--b-text-color);
  background: var(--primary-color);
}

/* Style for Request before submission */

.depositor-first-info-wrapper {
  display: flex;
}

.depositor-first-info-wrapper > div {
  padding: 0 1rem;
}

hr.depositor-hr,
hr.beneficiary-hr {
  color: var(--ui-hr-color);
  width: 100%;
  opacity: 1;
}

.depositor-hr:first-of-type {
  margin-left: -1rem;
}

.depositor-hr:last-of-type {
  margin-right: -1rem;
}

.select-depositor-wrapper {
  display: flex;
  align-items: center;
  margin: 0 1rem;
}

.depositor-avatar {
  background-color: var(--main-bg);
  border-radius: 100%;
  width: 4.5rem;
  height: 4.5rem;
  background-image: url("data:image/svg+xml,%3Csvg width='500' height='500' viewBox='0 0 500 500' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='500' height='500' fill='white'/%3E%3Cpath d='M250 250C263.64 250 276.721 244.574 286.365 234.916C296.01 225.258 301.429 212.159 301.429 198.5C301.429 184.841 296.01 171.742 286.365 162.084C276.721 152.426 263.64 147 250 147C236.36 147 223.279 152.426 213.635 162.084C203.99 171.742 198.571 184.841 198.571 198.5C198.571 212.159 203.99 225.258 213.635 234.916C223.279 244.574 236.36 250 250 250ZM231.638 269.312C192.063 269.312 160 301.42 160 341.05C160 347.649 165.344 353 171.933 353H328.067C334.656 353 340 347.649 340 341.05C340 301.42 307.938 269.312 268.362 269.312H231.638Z' fill='%23868EA4'/%3E%3C/svg%3E");
  border: 1px solid var(--ui-status-bar-dot-color);
  background-size: cover;
  background-position: center;
  margin-right: 1rem;
}

/* Select depositor button */

.depositor-button-wrapper {
  height: 3.5rem;
  width: 15rem;
  border: 1px dashed var(--ui-interactive-button);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.24s ease;
}

.depositor-button-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 1px solid var(--ui-interactive-button);
  border-radius: 0.5rem;
  opacity: 0;
  transition: opacity 0.24s ease;
  pointer-events: none;
}

.depositor-button {
  height: 65%;
  width: 91%;
  font-size: 1rem;
  background: var(--ui-interactive-button);
  color: var(--b-text-color);
  border: unset;
  border-radius: 0.3rem;
  transition: all 0.24s ease;
  cursor: pointer;
}

.depositor-button-wrapper:hover::before {
  opacity: 1;
  transition-delay: 0.12s;
}

.depositor-button-wrapper:hover {
  border-color: transparent;
}

.depositor-button-wrapper:hover .depositor-button {
  height: 100%;
  width: 100%;
}

.depositor-button-wrapper::before {
  transition:
    opacity 0.24s ease,
    border-color 0.24s ease;
}

.depositor-button-wrapper:hover::before {
  opacity: 1;
  transition-delay: 0.12s;
}

.depositor-button-wrapper::before {
  transition: opacity 0.24s ease 0s;
}

.depositor-button-wrapper:hover {
  border-color: transparent;
  transition: border-color 0.24s ease;
}

.depositor-button-wrapper:hover .depositor-button {
  height: 100%;
  width: 100%;
}

.depositor-second-info-wrapper {
  display: flex;
}

.depositor-second-info-wrapper > div {
  padding: 0 1rem;
}

.depositor-second-info-wrapper .card {
  border-radius: 10px 10px 0 0;
  color: var(--primary-color);
  background: var(--main-bg);
}

.depositor-second-info-wrapper .card-header {
  height: 3rem;
  background: var(--accent-bg);
  display: flex;
  align-items: center;
}

.depositor-second-info-wrapper .card-header:first-child {
  border-radius: 9px 9px 0 0;
}

.vertical-input-column {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 1rem;
}

.input-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.input-spacing {
  padding-right: 1rem;
}

.input-spacing > * {
  width: 100%;
}

.input-spacing:last-child {
  padding-right: unset;
}

/* Style for navigation buttons */
.navigation-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navigation-button {
  height: 2.5rem;
  padding: 0 1rem;
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-radius: 5px;
  border: unset;
  color: var(--primary-color);
  background-color: var(--ui-hr-color);
  letter-spacing: 0.025rem;
  transition: all 0.24s ease;
}

.navigation-button:hover {
  opacity: 0.85;
}

.navigation-button-steps {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.navigation-button.quit-request {
  background-color: var(--risk);
  color: var(--b-text-color);
}

.navigation-button.send-request {
  background-color: var(--ui-send-request-button);
  color: var(--b-text-color);
  margin-left: 1rem;
}

/* Style for Request Steb-Bar */

.step-dot {
  width: 30px;
  height: 30px;
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 100px;
  color: var(--ui-status-bar-dot-color);
  position: relative;
  font-size: 1rem;
}

.step-dot-name {
  position: absolute;
  width: max-content;
  left: 50%;
  text-align: center;
  font-size: 1rem;
  font-weight: 500;
  white-space: nowrap;
  top: -1rem;
  transform: translate(-50%, -100%);
  color: var(--primary-color);
}

/* Disclaimer wrapper */

.disclaimer-wrapper {
  display: flex;
  min-height: 4rem;
  align-items: center;
  background: var(--main-bg);
  border-width: 1px 2px;
  border-color: var(--ui-border-color);
  border-style: solid;
  padding: 1rem;
  color: var(--primary-color);
  font-size: 1.1rem;
  font-weight: 400;
}

/* TABLE List wrapper */

.list-wrapper {
  background: var(--main-bg);
  border-radius: 10px;
  height: fit-content;
  border: 2px solid var(--ui-border-color);
}

.list-wrapper > div:last-child {
  height: 5rem;
  padding: 0 1rem;
}

.list-wrapper > div:first-child {
  margin: unset;
}

.list-wrapper td {
  height: 3.7rem;
}

.list-wrapper .table-responsive {
  border: unset;
}

/* Table list wrapper scrollbar style changes */

.list-wrapper .table-responsive::-webkit-scrollbar-thumb {
  border-radius: unset;
  -webkit-box-shadow: unset;
  background-color: var(--ui-list-button-color);
}

.list-wrapper .table-responsive::-webkit-scrollbar-track {
  -webkit-box-shadow: unset;
  border-radius: unset;
  background: var(--accent-bg);
}

.list-wrapper .table-responsive::-webkit-scrollbar {
  border-radius: 10px;
  width: 10px;
  height: 10px;
}

.list-wrapper .table-hover {
  cursor: pointer;
}

/* Status buttons on LIST elemets */

.list-status-button {
  padding: 0.25rem 0.75rem;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ui-list-button-color);
  font-weight: 400;
  background: var(--ui-list-button-background);
  border: unset;
  border-radius: 5px;
  transition: all 0.24s ease;
}

.list-wrapper .badge {
  margin: 0 0.075rem;
}

/* Popup title styling */

.MuiDialogContent-root h5 {
  margin-bottom: 1rem;
}

/* Icon style and position for Popups */

.popup-icon {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.popup-icon path {
  fill: var(--primary-color);
}

/* Service Types items styling for Popups */
.swiper-container-categories {
  display: flex;
  align-items: center;
  overflow-x: auto;
  padding: 1rem 0;
  scroll-behavior: smooth;
}

.swiper-container-categories::-webkit-scrollbar-thumb {
  border-radius: unset;
  -webkit-box-shadow: unset;
  background-color: var(--ui-list-button-color);
}

.swiper-container-categories::-webkit-scrollbar-track {
  -webkit-box-shadow: unset;
  border-radius: unset;
  background: var(--accent-bg);
}

.swiper-container-categories::-webkit-scrollbar {
  border-radius: 10px;
  width: 10px;
  height: 5px;
}

.service-types-heading {
  font-size: 1.25rem;
  color: var(--primary-color);
}

.swiper-category {
  flex-shrink: 0;
  margin-right: 1rem;
}

.service-type-item {
  height: 7.5rem;
  width: 9rem;
  margin-right: 1rem;
  background-color: var(--ui-list-button-background);
  border-radius: 5px;
  transition: all 0.24s ease;
  color: var(--primary-color);
  flex-shrink: 0;
  scroll-snap-align: start;
  border: unset;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

.service-type-item > svg {
  font-size: 1.75rem;
}
.service-type-item:hover {
  box-shadow: inset 0 0 0 1px var(--ui-button-text-color);
  color: var(--ui-button-text-color);
}

.services-wrapper {
  display: flex;
  flex-direction: column;
  height: 18rem;
  gap: 1rem;
  overflow-y: auto;
  scroll-behavior: smooth;
  padding-right: 0.5rem;
}

.services-wrapper > * {
  width: 100%;
  height: 60px;
  display: flex;
  background: var(--ui-list-button-background);
  transition: all 0.24s ease;
  color: var(--primary-color);
  flex-shrink: 0;
  align-items: center;
  padding: 0 1rem;
  border-radius: 3px;
  position: relative;
  cursor: pointer;
  border: unset;
}

.services-wrapper > *:hover {
  box-shadow: inset 0 0 0 1px var(--ui-button-text-color);
  color: var(--ui-button-text-color);
}

.services-wrapper > *::after {
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath fill='%23008abf' d='M440.6 273.4c4.7-4.5 7.4-10.8 7.4-17.4s-2.7-12.8-7.4-17.4l-176-168c-9.6-9.2-24.8-8.8-33.9 .8s-8.8 24.8 .8 33.9L364.1 232 24 232c-13.3 0-24 10.7-24 24s10.7 24 24 24l340.1 0L231.4 406.6c-9.6 9.2-9.9 24.3-.8 33.9s24.3 9.9 33.9 .8l176-168z'/%3E%3C/svg%3E");
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
  width: 20px;
  height: 20px;
  cursor: pointer;
  color: var(--primary-color);
}

.services-wrapper > *:hover::after {
  opacity: 1;
  transform: translateY(-50%) translateX(5px);
}

.services-wrapper::-webkit-scrollbar-thumb {
  border-radius: unset;
  -webkit-box-shadow: unset;
  background-color: var(--ui-list-button-color);
}

.services-wrapper::-webkit-scrollbar-track {
  -webkit-box-shadow: unset;
  border-radius: unset;
  background: var(--accent-bg);
}

.services-wrapper::-webkit-scrollbar {
  border-radius: 10px;
  width: 10px;
  height: 10px;
}

.service-types-heading {
  font-size: 1.25rem;
  color: var(--primary-color);
}

/* Button styling for Popups */

.popup-buttons {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-direction: row;
  gap: 0.5rem;
  margin: 1rem 0 0 0;
  position: sticky;
  bottom: -1rem;
  left: 0;
  background: var(--ui-modal-bg);
  width: 100%;
  padding: 0.75rem 0;
}

.popup-button {
  font-size: 1rem;
  font-weight: 400;
  border-radius: 5px;
  padding: 0.5rem 1.5rem;
  flex-shrink: 0;
  border: unset;
  transition: all 0.24s ease;
  gap: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--ui-send-request-button);
  color: white;
}

.popup-button:hover {
  opacity: 0.8;
}

.popup-button.red {
  background-color: var(--risk);
}

.popup-button.green {
  background-color: var(--progress);
}

.popup-button.orange {
  background-color: var(--caution);
}

/* Select Visible columns from a List styling [Modal] */

.modal-columns {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100svh;
  overflow: auto;
  overflow-y: clip;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content-columns {
  background: var(--main-bg);
  color: var(--primary-color);
  margin: 7% auto;
  padding: 1rem;
  width: 80%;
  max-width: 500px;
  border-radius: 4px;
}

.modal-content-columns h2 {
  font-size: 1.25rem;
  padding: 1rem 0;
}

#columnChecklist {
  max-height: 400px;
  overflow-y: auto;
  padding: 0 0.5rem 0 0px;
}

#columnChecklist::-webkit-scrollbar-thumb {
  border-radius: unset;
  -webkit-box-shadow: unset;
  background-color: var(--ui-list-button-color);
}

#columnChecklist::-webkit-scrollbar-track {
  -webkit-box-shadow: unset;
  border-radius: unset;
  background: var(--accent-bg);
}

#columnChecklist::-webkit-scrollbar {
  border-radius: 10px;
  width: 10px;
  height: 10px;
}

#columnChecklist div {
  margin-bottom: 0.75rem;
  background: var(--ui-list-button-background);
  padding: 1rem;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.24s ease;
}

#columnChecklist div:last-child {
  margin-bottom: unset;
}

#columnChecklist div:hover {
  box-shadow: inset 0 0 0 1px var(--ui-button-text-color);
  color: var(--ui-button-text-color);
}

/* External top navbar styling */

.app-menu-button {
  position: relative;
  text-decoration: none;
  white-space: nowrap;
}

.app-menu-button:hover {
  color: var(--primary-color);
}

.app-menu-button::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -16px;
  width: 0;
  height: 3px;
  background-color: var(--primary-color);
  transition: width 0.3s;
}

.app-menu-button.active::after {
  width: 100%;
}

/* Service types styling */

.service-types-wrapper {
  display: flex;
  justify-content: center;
  overflow: hidden;
  margin: 1rem 0;
}

.service-types-inner-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(259px, 1fr));
  gap: 0.25rem;
  max-width: 100%;
  justify-content: start;
  border-radius: 10px;
  overflow: hidden;
}

@media (max-width: 500px) {
  .service-types-inner-wrapper {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }

  .service-type-button {
    font-size: 1rem;
  }
}
.service-type-button {
  width: 100%;
  aspect-ratio: 1;
  color: var(--primary-color);
  background: var(--main-bg);
  border: unset;
  transition: all 0.24s ease;
  font-size: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-weight: 500;
}

.app-bar-children {
  width: 100%;
  justify-content: left;
}

.app-bar-children:hover {
  color: var(--primary-color);
}
.app-bar-children.active::after {
  width: 100%;
}
.service-type-button > *:first-child {
  font-size: 3.25rem;
}

.service-type-button:hover {
  color: var(--b-text-color);
  background: var(--ui-interactive-button);
}

/*--- Styling for Top Footer element [Desktop]--- */

.top-footer {
  background-color: var(--ui-interactive-button);
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 5rem;
  margin-top: -2.5rem;
  margin-bottom: 1rem;
  border-radius: 10px;
}

.top-footer-wrapper {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
}

.top-footer-item,
.top-footer-item-icon {
  display: flex;
  align-items: center;
}

.top-footer-item {
  gap: 1rem;
}

.top-footer-item-icon {
  justify-content: center;
  flex-shrink: 0;
  width: 3rem;
  aspect-ratio: 1;
  background-color: var(--b-text-color);
  color: var(--ui-interactive-button);
  font-size: 1.5rem;
  border-radius: 5px;
}

.top-footer-item-content {
  font-size: 1rem;
  color: var(--b-text-color);
}

.final-line-wrapper {
  position: relative;
  margin: 2rem 0;
}

.final-line {
  width: 100%;
  height: 1px;
  background-color: var(--ui-footer-line-color);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  border-radius: 10px;
}

.back-to-top-button {
  margin-right: 2rem;
  display: flex;
  background-color: var(--main-bg);
  width: 3rem;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2px solid var(--ui-footer-line-color);
  color: var(--ui-footer-line-color);
  transition: all 0.24s ease;
}

.back-to-top-button:hover {
  color: var(--ui-interactive-button);
  background-color: var(--ui-footer-line-color);
}

/* Styling for mobile resolutions */

@media (max-width: 768px) {
  .top-footer-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
  }
}

@media (max-width: 576px) {
  .top-footer {
    border-radius: unset;
  }
}
/** --- Styling for Service Catalogue --- **/

.service-catalogue-wrapper {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 32rem;
  border-radius: 10px;
  border: 1px solid var(--ui-border-color);
  background: var(--main-bg);
  padding: 2rem 2rem 1.25rem;
}

.filters-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.filters-wrapper > * {
  width: 40%;
}

.service-catalogue-wrapper .main-search-wrapper {
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-catalogue-wrapper .main-search-wrapper fieldset {
  border-radius: 40px 0 0 40px;
}

.service-catalogue-wrapper .main-search-wrapper .search-button-catalogue {
  border-radius: 0 40px 40px 0;
  min-width: 3.5rem;
  height: 40px;
  color: var(--primary-color);
  border: 1px solid var(--ui-input-border);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-bg);
  border-left: unset;
}

.service-catalogue-wrapper .main-search-wrapper .remove-filters-catalogue {
  height: 40px;
  aspect-ratio: 1;
  color: var(--primary-color);
  border: 1px solid var(--ui-input-border);
  background: var(--accent-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 1rem;
  border-radius: 40px;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.service-catalogue-wrapper
  .main-search-wrapper
  .remove-filters-catalogue:hover {
  color: #b4474a;
  border: 1px solid #b4474a;
  background: #f1bbbd;
}
.sort-by-letter {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin: 2rem 0 1rem;
}
.sort-by-letter .pagination {
  flex-wrap: wrap;
}
.sort-by-letter button {
  background: unset;
  border: unset;
  font-size: 1.25rem;
  color: var(--primary-color);
}

.sort-by-letter button[disabled] {
  opacity: 0.5;
}

.service-catalogue-wrapper .no-items-available {
  font-size: 1.25rem;
  color: var(--primary-color);
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 15rem;
}
.service-catalogue-items-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.service-catalogue-items-wrapper .service-card {
  height: 5.125rem;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
  border-radius: 5px;
  border: 1px solid var(--ui-interactive-button);
  background: var(--main-bg);
  color: var(--primary-color);
  cursor: pointer;
  transition: background 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.service-catalogue-items-wrapper .service-card:hover {
  background: var(--ui-interactive-button);
  color: var(--b-text-color);
}

.service-catalogue-items-wrapper .service-card > *:not(span):first-child {
  font-size: 2rem;
}

.service-catalogue-items-wrapper .service-card > span {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.5;
  max-height: calc(1.5em * 3);
  text-align: left;
}

.service-catalogue-wrapper .pagination-wrapper {
  justify-content: center;
  margin-top: 1.5rem;
}

.service-catalogue-wrapper .pagination-wrapper .left-pagination-button,
.service-catalogue-wrapper .pagination-wrapper .right-pagination-button,
.service-catalogue-wrapper .pagination-wrapper .pagination-display {
  color: var(--primary-color);
}

/* Responsive layout for mobile devices */
@media (max-width: 768px) {
  .service-catalogue-items-wrapper {
    grid-template-columns: 1fr;
  }

  .filters-wrapper > * {
    width: 45%;
  }

  .service-catalogue-wrapper .main-search-wrapper {
    padding: 0 2.5%;
  }
}

@media (max-width: 500px) {
  .service-catalogue-wrapper {
    border-radius: unset;
    padding: 2rem 1rem 1.25rem;
  }

  .filters-wrapper {
    justify-content: space-between;
  }

  .filters-wrapper > * {
    width: 50%;
  }
}

/* Styles for Launch Service Page */

.launch-service-wrapper {
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  background: var(--main-bg);
  color: var(--primary-color);
  min-height: 20rem;
  overflow: hidden;
  border: 1px solid var(--ui-border-color);
}

.launch-service-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  justify-content: flex-start;
  padding: 1rem 2rem;
  background: var(--accent-bg);
  height: 6rem;
  border-bottom: 1px solid var(--ui-border-color);
}

.launch-service-header > span {
  font-weight: 500;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.5;
  max-height: calc(1.5em * 3);
  text-align: left;
}

.launch-service-icon {
  height: 4rem;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--b-text-color);
  background: var(--ui-interactive-button);
  font-size: 1.75rem;
  border-radius: 5px;
}

.launch-service-buttons {
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem;
}

.launch-service-buttons > div {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.launch-service-content {
  min-height: 15rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.launch-service-wrapper .row > * {
  padding: unset;
  margin: 0.25rem 0;
}

.launch-service-info {
  margin-bottom: 2rem;
}

.launch-service-button {
  height: 40px;
  padding: 0 1rem;
  color: var(--primary-color);
  background: var(--ui-accordion-expanded-bg);
  border: 2px solid var(--ui-accordion-expanded-bg);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-radius: 0.25rem;
  opacity: 1;
  transition: all 0.3s ease;
}

.launch-service-button:hover {
  opacity: 0.75;
}

.launch-service-button-start,
.homepage-button {
  height: 40px;
  padding: 0 1rem;
  color: var(--b-text-color);
  background: var(--ui-interactive-button);
  border: 2px solid var(--ui-interactive-button);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-radius: 0.25rem;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.homepage-button {
  width: calc(50% - 1rem);
  display: flex;
  align-items: center;
  justify-content: center;
}

a.homepage-button {
  text-decoration: unset;
}

a.homepage-button:hover {
  color: var(--b-text-color);
}

.launch-service-button-start:hover,
.homepage-button:hover {
  opacity: 0.75;
}

@media only screen and (max-width: 768px) {
  .launch-service-wrapper h5,
  .launch-service-wrapper .row > * {
    text-align: center;
  }

  .launch-service-wrapper .row > * {
    margin: 0.5rem;
  }

  .launch-service-documents button,
  .launch-service-documents .nav-item {
    width: 100%;
    text-align: center;
  }
}

@media only screen and (max-width: 576px) {
  .launch-service-buttons {
    gap: 0.5rem;
    flex-direction: column;
    height: unset;
  }

  .launch-service-buttons > div {
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
  }

  .launch-service-buttons button {
    width: 100%;
    justify-content: center;
  }
}

/** HOMEPAGE STYLING **/
.home-page.container {
  margin-top: 1rem;
  margin-bottom: 2rem;
  padding: 0;
}
.home-first-wrapper {
  width: 100%;
  height: 60svh;
  display: flex;
  margin: 5rem 0 0 0;
  max-height: 400px;
}

.home-first-wrapper .first-section {
  width: 40%;
}

.home-first-wrapper .first-section h1 {
  font-size: 1.5rem;
}

.home-first-wrapper .first-section h2 {
  font-size: 1rem;
  font-weight: 400;
}

.home-first-wrapper .first-section div:nth-child(1) {
  height: 50%;
}

.second-wrapper .login-message {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.second-wrapper .login-icon {
  margin-left: 1rem;
  font-size: 2.4rem;
}

.second-wrapper .login-buttons-wrapper {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: right;
  gap: 1rem;
  margin-top: 0.5rem;
}

.home-first-wrapper .first-section > div:nth-child(1) {
  background: var(--ui-home-page-description);
  margin-top: 1.5rem;
  padding: 1rem 1.5rem;
  width: 130%;
  z-index: 1;
  position: relative;
  border-radius: 5px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  flex-direction: column;
  color: #4a4a4a;
}

.home-first-wrapper .first-section .second-wrapper {
  display: flex;
  background: var(--secondary-bg);
  color: var(--primary-color);
  padding: 1rem;
  margin-top: 1rem;
  height: fit-content;
  margin-right: 1rem;
}
.home-first-wrapper .second-section {
  background-size: cover;
  background-position: center;
  width: 60%;
  height: 100%;
  border-radius: 10px;
}

.home-second-wrapper > h1 {
  font-size: 1.5rem;
  width: fit-content;
  padding: 1rem 0;
  background: var(--secondary-bg);
  margin-top: 1rem;
  color: var(--primary-color);
}

.home-second-wrapper .grid-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.home-second-wrapper .service-card {
  display: flex;
  background-color: var(--main-bg);
  border-radius: 5px;
  overflow: hidden;
  height: 10rem;
}

.home-second-wrapper .service-card:hover {
  cursor: pointer;
}

.home-second-wrapper .service-card-icon {
  width: 30%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ui-interactive-button);
  color: var(--b-text-color);
  font-size: 4rem;
}

.home-second-wrapper .service-card-content {
  width: 70%;
  padding: 1rem;
  line-height: 1.2;
}

.home-second-wrapper .service-card-content > h1 {
  font-size: 1.25rem;
  color: var(--ui-home-page-h1);
}

.home-second-wrapper .service-card-content > span {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--ui-home-page-span);
}

.service-card-content {
  transition: background-color 0.3s ease;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.home-second-wrapper .service-card .service-card-content h1,
.service-card .service-card-content span {
  transition: 0.3s ease;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-second-wrapper .service-card:hover .service-card-content h1,
.service-card:hover .service-card-content span {
  color: var(--b-text-color);
}

.home-second-wrapper .service-card-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background-color: var(--ui-interactive-button);
  z-index: -1;
  transition: width 0.3s ease;
}

.home-second-wrapper .service-card:hover .service-card-content::before {
  width: 100%;
}

.mobile-hero-wrapper {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.mobile-hero-wrapper .first-section {
  height: 15vh;
  height: 15svh;
  width: 100%;
  background: var(--ui-interactive-button);
  min-height: 120px;
}

.mobile-hero-wrapper .second-section {
  height: fit-content;
  width: 100%;
  padding: 1rem;
  background: var(--main-bg);
  color: var(--primary-color);
  border-radius: 0 0 10px 10px;
}

.mobile-hero-wrapper .second-section .hero-image {
  width: 100%;
  height: 20vh;
  height: 20svh;
  min-height: 180px;
  border-radius: 10px;
  /* background-image: url("../images/Homepage/background.png"),
    url("../images/Homepage/background.jpg"); */
  background-size: cover;
  background-position: center;
  margin-top: -10vh;
  margin-top: -10svh;
  margin-bottom: 1rem;
}

.mobile-hero-wrapper h1 {
  font-size: 1.5rem;
}

.mobile-hero-wrapper h2 {
  font-size: 1rem;
  font-weight: 400;
}

.mobile-hero-wrapper .login-prompt {
  padding: 1rem;
  margin: 2.5rem 1rem 0 1rem;
  background-color: var(--ui-home-page-description);
  display: flex;
  flex-direction: column;
  border-radius: 5px;
}

.mobile-hero-wrapper .login-prompt span {
  font-size: 1rem;
  color: #4a4a4a;
  font-weight: 500;
}

.mobile-hero-wrapper .login-prompt .icon-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  margin-top: -2rem;
  margin-bottom: 0.5rem;
  color: var(--ui-interactive-button);
}

.mobile-hero-wrapper .login-prompt .icon-wrapper:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4rem;
  height: 4rem;
  background-color: var(--ui-home-page-description);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
}

.mobile-hero-wrapper .login-prompt .icon-wrapper .fa-icon {
  position: relative;
  z-index: 1;
}

.mobile-hero-wrapper .login-buttons-wrapper {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: right;
  gap: 1rem;
  margin-top: 1rem;
}

.mobile-hero-wrapper .login-buttons-wrapper .homepage-button {
  height: 40px;
  padding: 0 1rem;
  color: var(--b-text-color);
  background: var(--ui-interactive-button);
  border: 2px solid var(--ui-interactive-button);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-radius: 0.25rem;
  opacity: 1;
  transition: opacity 0.3s ease;
  justify-content: center;
  width: 50%;
  text-align: center;
  line-height: 1;
}

@media (max-width: 768px) {
  .home-second-wrapper .grid-wrapper {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .home-second-wrapper {
    padding: 0 1rem;
  }
}

/* Styles for Auth Page */

.auth-form-container {
  background-size: cover;
  height: 65vh;
  height: 65svh;
  border-radius: 0.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (max-width: 1000px) {
  .auth-form-container {
    min-width: 100%;
    height: 100vh;
    background-position: center;
    border-radius: 0;
  }
}

/* Styles for Skeletons */

.skeleton-container {
  margin-top: 66px;
}

.service-types-wrapper-loading {
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.service-types-inner-wrapper-loading {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(259px, 1fr));
  gap: 0.25rem;
  max-width: 100%;
  justify-content: start;
  border-radius: 10px;
  overflow: hidden;
}

@media (max-width: 500px) {
  .service-types-inner-wrapper-loading {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }
}

@media (min-width: 1400px) {
  .service-types-inner-wrapper-loading {
    grid-template-columns: repeat(5, 1fr);
  }
}

/** App scrollbar overall styling **/

::-webkit-scrollbar {
  border-radius: 10px;
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-thumb {
  border-radius: unset;
  -webkit-box-shadow: unset;
  background-color: var(--ui-list-button-color);
}

::-webkit-scrollbar-track {
  -webkit-box-shadow: unset;
  border-radius: unset;
  background: var(--accent-bg);
}

/*Upload file classes*/

.upload-button {
  height: 2.5rem;
  font-size: 1rem;
  display: flex;
  align-items: center;
  padding: 0 1rem;
  background-color: var(--ui-send-request-button);
  color: var(--b-text-color);
  border-radius: 5px;
  border: unset;
  transition: all 0.24s ease;
  white-space: nowrap;
  gap: 5px;
}

.upload-button.green {
  background-color: var(--progress);
  color: var(--b-text-color);
}
.upload-button:hover {
  opacity: 0.85;
}

/** Style for rows with inputs and content **/

.row-content {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.row-content .MuiAutocomplete-root,
.row-content .MuiInputBase-root {
  flex: 2 1 15%;
}

.row-content .MuiAutocomplete-root[style],
.row-content .MuiInputBase-root[style] {
  flex: initial;
}

.row-content .MuiFormControl-root.MuiTextField-root {
  min-width: 100px;
}

/** Styling for custom alerts containers **/

.alert {
  padding: 0.75rem;
  border-radius: 4px;
  font-weight: 500;
  gap: 0.5rem;
  display: flex;
  align-items: center;
}
.alert.orange {
  background: var(--d-caution);
  color: var(--d-caution-text);
}

.alert.red {
  background: var(--d-risk);
  color: var(--d-risk-text);
}

.alert.blue {
  background: var(--d-second);
  color: var(--d-second-text);
}

.alert.green {
  background: var(--d-progress);
  color: var(--d-progress-text);
}

/** Pulse animation **/

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.6;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.action-button.green {
  background-color: var(--progress);
  color: var(--b-text-color);
}
.action-button.red {
  background-color: var(--risk);
  color: var(--b-text-color);
}
.action-button.orange {
  background-color: var(--caution);
  color: var(--b-text-color);
}

/** Upload input specific buttons **/

.delete-input-file-button {
  width: 2rem;
  height: 2rem;
  color: var(--d-risk-text);
  background: transparent;
  border: unset;
  border-radius: 3px;
  transition: 0.3s all ease;
}

.delete-input-file-button:hover {
  background: var(--d-risk);
}

.view-input-file-button {
  width: 2rem;
  height: 2rem;
  color: var(--primary-color-text);
  background: transparent;
  border: unset;
  border-radius: 3px;
  transition: 0.3s all ease;
}

.view-input-file-button:hover {
  background: var(--b-bg-color);
}

.input-file-buttons {
  position: absolute;
  right: 1.25rem;
  top: 0.25rem;
  display: flex;
  align-items: center;
}
.tooltip.show {
  z-index: 2000;
}

/* Styles for FAQ Section */

.faq-tabs {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-tab {
  cursor: pointer;
  padding: 0.7rem 1.5rem;
  border: none;
  border-radius: 5px;
  background-color: var(--main-bg);
  transition: background-color 0.3s;
  flex-shrink: 0;
  text-align: start;
  color: var(--ui-status-bar-dot-color);
}

.faq-tab.active {
  background-color: var(--ui-interactive-button);
  color: var(--b-text-color);
  font-weight: 500;
}

.faq-tab-content {
  display: none;
}

.faq-tab-content.active {
  display: block;
}

.faq-accordion {
  margin: 0 auto;
}

.faq-accordion-item {
  border: none;
  border-radius: 10px;
  overflow: hidden;
  margin-top: 0.75rem;
  background-color: transparent;
}

.faq-accordion-item:last-child {
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

.faq-accordion-header {
  background-color: var(--accent-bg);
  padding: 0.9rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background-color 0.3s;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.faq-accordion-header h3 {
  margin: 0;
  font-size: 1rem;
  color: var(--text-color);
  padding: 0;
}

.faq-accordion-icon {
  font-size: 1rem;
  transition: transform 0.3s;
}

.faq-accordion-icon.rotate {
  transform: rotate(180deg);
}

.faq-accordion-content {
  max-height: 0;
  overflow: hidden;
  padding: 0 15px;
  background-color: var(--accent-bg);
  color: var(--ui-status-bar-dot-color);
  font-size: 0.9rem;
  line-height: 1.6;
  font-weight: 300;
  transition:
    max-height 0.3s ease,
    padding 0.3s ease;
}

.faq-accordion-content p {
  margin: 0;
  padding: 10px 0;
}

.faq-accordion-content.open {
  max-height: 100px;
}

.faq-section {
  min-height: calc(100vh - 100px);
  display: grid;
  grid-template-columns: 3fr 8fr;
  gap: 1rem;
}

@media screen and (max-width: 768px) {
  .faq-section {
    grid-template-columns: 1fr;
    min-height: fit-content;
    gap: 0;
  }
}

.faq-categories-section {
  background-color: var(--main-bg);
  padding: 2rem;
  border: 2px solid var(--ui-border-color);
  border-radius: 8px;
}

.faq-right-section {
  background-color: var(--main-bg);
  padding: 1rem;
  border: 2px solid var(--ui-border-color);
  border-radius: 8px;
}

@media screen and (max-width: 768px) {
  .faq-tabs {
    flex-direction: row;
    overflow-x: auto;
    max-width: 100%;
    margin-left: 10px;
  }

  .faq-categories-section {
    padding: 2rem 0;
    overflow: auto;
  }

  .faq-categories-section h5 {
    padding: 0 1rem;
  }

  .faq-tabs::-webkit-scrollbar {
    display: none;
  }
}

.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  margin-bottom: 1rem;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.faq-skeleton-content {
  padding: 1rem 0;
}

/* Swiper images slider styling */

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.tiff-viewer-react {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

._MBibI {
  color: var(--ui-button-text-color);
  border-color: none;
  border: 1px solid var(--accent);
  background-color: var(--main-bg);

  margin: 5px;
}
