:root {
  --primary-color: #F0F0F3;
  /* --primary-color: #f5f9ff; */
  --mid-color-1: #ffffff;
  --mid-color-2: #000000;
  --secondary-color: #3355ff;
  --dull-blue: #d8e0ff;
  --dull-black: #585858;
  --pure-blue: #0000ff;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: 'Poppins', sans-serif;
}

code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, "Courier New", monospace;
}

* {
  box-sizing: border-box;
}

a {
  text-decoration: none;
}

.input-error {
  border: 1px solid #ff0000 !important;
}

.border-dull-grey {
  border: 1px solid #cccccc;
}

.bold {
  font-weight: bold;
}

.semi-bold {
  font-weight: 500;
}

.normal-weight {
  font-weight: normal;
}

.light {
  font-weight: 300;
}

.capitalize {
  text-transform: capitalize !important;
}

.uppercase {
  text-transform: uppercase;
}

.dull-black {
  color: var(--dull-black);
}

.secondary-color {
  color: var(--secondary-color);
}

.black {
  color: var(--mid-color-2);
}

.pure-blue {
  color: var(--pure-blue);
}

.fs-0-8 {
  font-size: 0.8rem;
}

.fs-1-2 {
  font-size: 1.2rem;
}

.fs-1-3 {
  font-size: 1.3rem;
}

.pending {
  color: #E9A800;
}

.success,
.active {
  color: #00D93D;
}

.ended {
  color: #000000;
}

.not-started {
  color: var(--secondary-color);
  font-weight: 600;
}

.failure,
.rejected,
.defaulted,
.live {
  color: #E80404;
}

.accepted {
  color: blue;
}

.pending,
.success,
.active,
.ended,
.live,
.accepted,
.failure {
  font-weight: bold;
}

.flex-row {
  display: flex;
  flex-direction: row;
}

.flex-row-center {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.flex-row-left {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
}

.flex-row-right {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
}

.flex-row-space-between {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.flex-row-space-evenly {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
}

.flex-col {
  display: flex;
  flex-direction: column;
}

.flex-col-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.flex-col-left {
  display: flex;
  flex-direction: column;
  justify-content: left;
}

.flex-col-center {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.flex-row-wrap {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  flex-wrap: wrap;
}

.flex-row-wrap-start {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.center {
  justify-content: center;
}

.txt-align-right {
  text-align: right;
}

.txt-align-center {
  text-align: center;
}

.txt-align-left {
  text-align: left;
}

.vert-hor-center {
  align-items: center;
  align-content: center;
}

.vert-hor-items-center {
  align-items: center;
}

.button button {
  background-color: var(--secondary-color);
  color: white;
  width: 100%;
  height: 43px;
  outline: none;
  border: none;
  font-family: inherit;
  margin: 10px 0;
  padding: 0 15px;
  border-radius: 20px;
  cursor: pointer;
  transition: 0.4s;
}

.button button:hover {
  background-color: var(--pure-blue);
}

select:first-child {
  border-top-left-radius: 20px;
}

.horizontal-links {
  width: 100%;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  position: relative;
}

.horizontal-links .link {
  margin-right: 20px;
}

.horizontal-links .link a {
  display: inline-block;
  color: var(--dull-black);
  margin-bottom: -10px;
  transition: color 0.3s;
}

.horizontal-links .link a:hover {
  color: var(--mid-color-2);
}

.horizontal-links .active {
  border-bottom: 3px solid var(--secondary-color);
}

.horizontal-links .active a {
  font-weight: 600;
  color: var(--mid-color-2);
}

/* Payment types */

.membership-fee,
.loan-repayment,
.cash-collateral,
.loan-insurance-fee,
.loan-processing-fee,
.loan-installment,
.default-recovery,
.penalty,
.other-charges,
.pay-loan,
.loan-principal {
  font-weight: 500;
  font-size: 0.8rem;
  background-color: #ffdcdc;
  color: black;
  border-radius: 10px;
  padding: 2px 10px;
  text-transform: capitalize;
  display: inline-block;
  /* width: 100%; */
}

.loan-repayment,
.loan-installment {
  background-color: #ccffdb;
}

.cash-collateral {
  background-color: rgb(159, 255, 159);
}

.membership-fee {
  background-color: rgb(206, 255, 255);
}

.loan-insurance-fee {
  background-color: rgb(206, 226, 255) !important;
}

.loan-installment {
  background-color: rgb(225, 206, 255);
}

.loan-processing-fee {
  background-color: rgb(248, 255, 156) !important;
}

.penalty {
  background-color: rgb(255, 104, 104);
}

.pay-loan {
  background-color: rgb(136, 136, 255);
}

.loan-principal {
  background-color: rgb(230, 192, 255);
}

.default-recovery {
  background-color: rgb(219, 206, 255);
}

/* rows depending on number of childrens */
.c-width-9 .row,
.c-width-5 .row,
.c-width-8 .row {
  padding: 0 10px !important;
}

.no-hover:hover {
  background-color: transparent !important;
  cursor: default !important;
}

.c-width-9 .row div {
  width: calc(100% / 9) !important;
}

.c-width-8 .row div {
  width: calc(100% / 8) !important;
}

.c-width-7 .row div {
  width: calc(100% / 7) !important;
}

.c-width-5 .row div {
  width: calc(100% / 5) !important;
}

.tab-sections {
  margin: 0;
}

.list {
  background-color: var(--mid-color-1);
  border-radius: 10px;
  padding: 5px;
}

.list table {
  width: 100%;
  border-collapse: separate;
}

.list table thead {
  font-size: 0.8rem;
  color: var(--dull-black);
}

.list table tr {
  font-size: 0.8rem;
}

.list table tr td {
  height: 30px;
}

.list table tr td:not(:first-child) {
  text-align: center;
}

.list table tr td select,
.list table tr td input {
  width: 80%;
  border: none;
  outline: none;
  background-color: transparent;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-family: inherit;
  padding: 5px;
}

.list table tr td .h-40 {
  height: 40px;
}

.list table tbody .name .icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #C7C7FF !important;
  margin-right: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  transition: 0.3s;
}

.list table tbody .name .icon i {
  transform: translateY(2px);
  color: black !important;
}

.list table tbody .action i {
  color: var(--dull-black);
  cursor: pointer;
  transition: 0.4s;
  transform: translateY(2px);
}

.list table tbody .action i:hover {
  color: red;
}

.list table tbody .loan {
  margin-bottom: 10px;
}

.list table tbody .loan td {
  border-bottom: 1px solid #ccc;
  border-top: 1px solid #ccc;
  transition: 0.3s;
  height: 37px;
}

.list table tbody .loan td:first-child {
  border-left: 1px solid #ccc;
  border-top-left-radius: 7px;
  border-bottom-left-radius: 7px;
  padding: 0 5px;
}

.list table tbody .loan td:last-child {
  border-right: 1px solid #ccc;
  border-top-right-radius: 7px;
  border-bottom-right-radius: 7px;
}

.list table .with-hover tr:hover td {
  background-color: #dcdcdc;
  cursor: pointer;
}

.list table tbody .with-hover:hover>td .icon,
.list table tbody .loan:hover>td .icon {
  background-color: #a6a6ff !important;
}

.pad-tb-10 td {
  padding: 10px 0;
}

.pad-tb-7 td {
  padding: 7px 0;
}

.pad-tb-8 td {
  padding: 8px 0;
}

.pad-tb-10 .name {
  height: auto;
}

.td-height-37 td {
  height: 37px !important;
}

.no-margin {
  margin: 0 !important;
}

.marg-lr-5 {
  margin: 0 5px;
}

.marg-10 {
  margin: 10px 0 !important;
}

.marg-r-10 {
  margin-right: 10px;
}

.marg-r-20 {
  margin-right: 10px;
}

.marg-b-10 {
  margin-bottom: 10px;
}

.marg-b-20 {
  margin-bottom: 20px;
}

.marg-tb-10 {
  margin: 10px 0 !important;
}

.marg-tb-20 {
  margin: 20px 0 !important;
}

.hide {
  display: none;
}

.disabled {
  cursor: not-allowed !important;
  background-color: rgba(0, 0, 255, 0.3) !important;
}

.disabled-two {
  cursor: not-allowed !important;
  background-color: rgba(255, 98, 98, 0.3) !important;
}

.search-results {
  position: absolute;
  top: 35px;
  border-radius: 5px;
  width: 100%;
  min-height: 50px;
  max-height: 300px;
  overflow-y: auto;
  background-color: var(--mid-color-1);
  padding: 0 5px;
  -webkit-box-shadow: 0px 7px 10px -1px rgba(0, 0, 255, 0.3);
  -moz-box-shadow: 0px 7px 10px -1px rgba(0, 0, 255, 0.3);
  box-shadow: 0px 7px 10px -1px rgba(0, 0, 255, 0.3);
  transition: 0.1s;
  z-index: 2;
}

.search-results table {
  border-collapse: collapse;
  border-spacing: 0 5px;
  width: 100%;
}

.search-results .list tbody tr td:first-child {
  border-left: 1px solid #ccc;
  border-top-left-radius: 7px;
  border-bottom-left-radius: 7px;
  padding: 0 5px;
}

.search-results .list tbody tr td:last-child {
  border-right: 1px solid #ccc;
  border-top-right-radius: 7px;
  border-bottom-right-radius: 7px;
}

.search-results .list tbody tr td {
  border-bottom: 1px solid #ccc;
  border-top: 1px solid #ccc;
  transition: 0.3s;
  height: 35px;
  line-height: 0;
}

.search-results .list tbody tr:hover td {
  background-color: #dcdcdc;
  cursor: pointer;
}

.hidden {
  transform: translateY(5px);
  opacity: 0;
  visibility: hidden;
}


.add-button {
  cursor: pointer;
  width: fit-content;
}

.add-button .icon {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background-color: var(--secondary-color);
  transition: 0.4s;
}

.add-button .icon i {
  transform: translateY(2px);
  color: var(--mid-color-1);
}

.add-button:hover .icon {
  background-color: var(--pure-blue);
}

/* Modal styles */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 9999;
}


.modal .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(7.5px);
  -webkit-backdrop-filter: blur(7.5px);
  transition: 0.4s;
}

.modal .close-button {
  position: absolute;
  top: 80px;
  right: 80px;
  width: 50px;
  height: 50px;
  background-color: var(--mid-color-1);
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s;
}

.modal .close-button i {
  color: var(--dull-black);
  transform: translateY(2px);
}

.modal .close-button:hover {
  background-color: var(--primary-color);
}

.modal .close-button:hover i {
  color: var(--pure-blue);
}

.modal .content-container {
  position: relative;
  width: 50%;
  min-height: 50%;
  max-height: 90%;
  background-color: var(--mid-color-1);
  z-index: 3;
  border-radius: 10px;
  padding: 5px 10px;
  overflow-y: auto;
  transition: 0.3s;
}

.modal .filters-container .filter-check {
  background-color: rgb(221, 221, 221);
  margin-right: 10px;
  height: 30px;
  padding: 5px 10px;
  border-radius: 20px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.modal .filters-container .filter-check:hover:not(.active) {
  background-color: rgb(172, 172, 172);
}

.modal .filters-container .active {
  background-color: var(--secondary-color);
  color: var(--mid-color-1);
  font-weight: normal;
}

.modal .filters-container .icon {
  margin-right: 10px;
}

.modal .filters-container .icon i {
  transform: translateY(2px);
}

.modal .filters-container .inputs input {
  outline: none;
  border: 1px solid #ccc;
  padding: 5px 10px;
  border-radius: 5px;
  font-family: inherit;
}

.modal table {
  width: 100%;
  border-collapse: separate;
}

.modal table thead {
  font-size: 0.8rem;
  color: var(--dull-black);
}

.modal table tr {
  font-size: 0.8rem;
  transition: 0.2s;
}

.modal table tr td {
  height: 35px;
}

.modal table tr:hover:not(thead tr:first-child) {
  background-color: var(--secondary-color);
  color: var(--mid-color-1);
  cursor: pointer;
}

.modal table tr td:not(:first-child) {
  text-align: center;
}

.modal table tr td select,
.modal table tr td input {
  width: 80%;
  border: none;
  outline: none;
  background-color: transparent;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-family: inherit;
  padding: 5px;
}

.modal table tr td .h-40 {
  height: 40px;
}

.modal table tbody .name .icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  /*background-color: var(--secondary-color);*/
  background-color: #C7C7FF;
  margin-right: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.modal table tbody .name .icon i {
  transform: translateY(2px);
  color: white;
}

.modal table tbody .action i {
  color: var(--dull-black);
  cursor: pointer;
  transition: 0.4s;
  transform: translateY(2px);
}

.modal table tbody .action i:hover {
  color: red;
}

.modal table tbody .bordered,
.bordered tr {
  margin-bottom: 10px;
}

.modal table tbody .bordered td,
.bordered tr td {
  border-bottom: 1px solid #ccc;
  border-top: 1px solid #ccc;
}

.modal table tbody .bordered td:first-child,
.bordered tr td:first-child {
  border-left: 1px solid #ccc;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
  padding: 0 5px;
}

.modal table tbody .bordered td:last-child,
.bordered tr td:last-child {
  border-right: 1px solid #ccc;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
}

.modal-hidden .overlay {
  opacity: 0;
}

.modal-hidden .content-container,
.modal-hidden .close-button {
  transform: scale(0.8);
  opacity: 0;
}

.modal-hidden {
  visibility: hidden;
}

/* Date navigation */
.date-nav {
  width: 100%;
  background-color: var(--primary-color);
  border-radius: 7px;
  padding: 2px 10px;
}

.date-nav div:not(.icon) {
  height: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: white;
  margin: 5px;
  border-radius: 5px;
  cursor: pointer;
}

.date-nav div:hover:not(.icon, .active) {
  background-color: rgb(215, 215, 255);
}

.date-nav .active {
  background-color: var(--secondary-color) !important;
}

.date-nav .active p {
  color: var(--mid-color-1);
  font-weight: bold;

}

.date-nav div:not(:first-child) {
  padding: 0 20px;
  text-align: center;
}

.date-nav .icon {
  min-width: auto;
  margin-right: 10px;
}

.date-nav .icon i {
  display: inline-block;
  transform: translateY(2px);
}

.date-nav div p {
  font-size: 0.8rem;
  color: var(--dull-black);
  line-height: 10px;
}

/* Components info.html */
.component-info {
  width: 100%;
  height: 70%;
  background-color: white;
  border-radius: 7px;
  padding: 10px;
  /*box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);*/
}

.component-info .icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #ffcc7c;
  margin-bottom: 10px;
}

.component-info .icon i {
  color: #ab6f00;
  font-size: 30px;
  display: inline-block;
  transform: translateY(5px);
}

.component-info .info-text {
  font-weight: 600;
}

/* Notification handling */

.notification {
  position: fixed;
  top: 70px;
  right: 50px;
  z-index: 99999;
  width: 350px;
  font-size: 0.8rem;
  min-height: 50px;
  background-color: var(--mid-color-1);
  border-radius: 7px;
  padding: 4px 7px;
  font-weight: 500;
  -webkit-box-shadow: 0px 5px 15px -1px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0px 5px 15px -1px rgba(0, 0, 0, 0.2);
  box-shadow: 0px 5px 15px -1px rgba(0, 0, 0, 0.2);
  transition: 0.2s;
}

.notification-content-text {
  width: calc(100% - 70px);
  word-break: break-word;
  color: white;
}

.notification .icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  /* background-color: var(--secondary-color); */
  color: var(--mid-color-1);
  cursor: pointer;
}

.notification .icon i {
  display: inline-block;
  transform: translateY(2px);
}

.error {
  background-color: #ff4242;
  color: var(--mid-color-1) !important;
}

.error ul {
  color: var(--mid-color-1) !important;
}

.error .icon {
  background-color: var(--mid-color-1);
}

.error .icon i {
  color: red;
}

/**/
.success {
  background-color: #00d200;
  color: var(--mid-color-1);
}

.success ul {
  color: var(--mid-color-1) !important;
}

.success .icon {
  background-color: var(--mid-color-1);
}

.success .icon i {
  color: green;
}

.error-txt {
  color: red;
  font-size: 12px;
  margin-top: -1px;
}

/*  */
.info {
  background-color: #cfd200;
  color: var(--mid-color-1);
}

.info ul {
  color: var(--mid-color-1) !important;
}

.info .icon {
  background-color: var(--mid-color-1);
}

.info .icon i {
  color: yellow;
}

/* Image preview */
.image-preview {
  width: 100%;
  height: 100px;
  border-radius: 10px;
  overflow: hidden;
}

.image-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}


.text-decoration-dotted {
  text-decoration: underline dotted;
  color: var(--secondary-color);
}


.cursor-pointer:hover {
  cursor: pointer;
  background-color: var(--primary-color);
}

select {
  text-transform: capitalize !important;
}


.sticky {
  position: -webkit-sticky;
  position: sticky;
  top: 50px;
  z-index: 2;
  background-color: var(--primary-color);
}

.delete-proposal button {
  background-color: rgb(255, 91, 91);
  color: white;
  width: 100%;
  height: 37px;
  outline: none;
  border: none;
  font-family: inherit;
  font-weight: 600;
  margin: 10px 0;
  padding: 0 15px;
  border-radius: 7px;
  cursor: pointer;
  transition: 0.4s;
}

.delete-proposal button i {
  display: inline-block;
  transform: translateY(2px);
  margin-right: 5px;
}

.delete-proposal button:hover {
  background-color: red;
}


.error-div-message {
  position: absolute;
  top: 10px;
  left: 0;
  z-index: 4;
  width: 100%;
  color: red;
  padding: 0 20px;
  background-color: var(--mid-color-1);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  border-radius: 7px;
  font-size: 0.9rem;
  border: 1px solid red;
  transition: 0.2s;
}

.error-div-message .error-message-close .icon {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s;
  border: 1px solid red;
}

.error-div-message .error-message-close .icon i {
  color: red;
  display: inline-block;
  transform: translateY(2px);
}

.error-div-message .error-message-close .icon:hover {
  background-color: rgb(255, 227, 227);
}

.delete-entry-container {
  margin-top: 27px;
}

.delete-entry {
  width: 30px !important;
  height: 30px !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: rgb(255, 112, 112);
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

.delete-entry i {
  display: inline-block;
  transform: translateY(2px);
  color: var(--mid-color-1);
}

.delete-entry:hover {
  background-color: red;
}

.w-2-margin {
  width: calc(100% / 2 - 20px) !important;
}

.w-3-margin {
  width: calc(100% / 3 - 20px) !important;
}

.view-more-details {
  margin: 20px 0;
}

.view-more-details a {
  transition: 0.3s;
}

.view-more-details .icon {
  width: 37px;
  height: 37px;
  border-radius: 50%;
  background-color: var(--secondary-color);
  color: var(--mid-color-1);
  cursor: pointer;
  transition: 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-left: 10px;
  transition: 0.3s;
}

.view-more-details a:hover {
  color: var(--pure-blue);
}

.view-more-details a:hover .icon {
  background-color: var(--pure-blue);
}

.view-more-details .icon i {
  display: inline-block;
  transform: translateY(2px);
}


/* pagination buttons */
.pagination-buttons {
  margin-top: 15px;
}

.pagination-buttons .page-counter {
  margin: 0 10px;
}

.pagination-buttons .pagination-button {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 37px;
  height: 37px;
  cursor: pointer;
  border-radius: 7px;
  background-color: var(--secondary-color);
  transition: 0.3s;
}

.pagination-buttons .pagination-button i {
  display: inline-block;
  transform: translateY(2px);
  color: var(--mid-color-1);
}

.pagination-buttons .pagination-button:hover {
  background-color: var(--pure-blue);
}

/* Close filters */
.close-filters {
  position: absolute;
  top: 0;
  right: -10px;
  height: 20px;
  width: 20px;
  border-radius: 5px;
  background-color: var(--secondary-color);
  color: var(--mid-color-1);
  box-shadow: 0 5px 10px rgba(0, 0, 255, 0.3);
  z-index: 1;
  cursor: pointer;
}

.close-filters i {
  display: inline-block;
  transform: translateY(2px);
}

/* Semi cirle */
.semi-circle {
  position: absolute;
  top: 8px;
  right: 10px;
  /* transform: translate(-50%, 0); */
  height: 25px;
  width: 180px;
  border-radius: 0 0 20px 20px;
  z-index: 1;
  background-color: var(--secondary-color);
  color: var(--mid-color-1);
  box-shadow: 0 5px 10px rgba(0, 0, 255, 0.3);
  cursor: pointer;
}

.semi-circle i {
  display: inline-block;
  transform: translateY(2px);
  margin-left: 10px;
}

.semi-circle p {
  font-size: 0.8rem;
  margin: 0;
}

.filters-drawer {
  height: 0;
  overflow: hidden;
  opacity: 0;
  transition: 0.3s;
}

.open-filters-drawer {
  height: auto;
  opacity: 1;
}

.min-width-field {
  min-width: 170px;
  margin-right: 8px;
}

.hintBoxIndividual {
  width: 100%;
  color: blue;
  padding: 8px;
  margin-bottom: 10px;
  border-radius: 6px;
  background-color: #e4f7ff;
  border: 1px solid blue;
}

.hintBoxIndividualTxt {
  font-size: 14px;
  width: 80%;
}

.hintBoxIndividualRed {
  width: 100%;
  color: red;
  padding: 8px;
  margin-bottom: 10px;
  border-radius: 6px;
  background-color: rgb(255, 236, 236);
  border: 1px solid red;
}

.hintBoxIndividualBlue {
  width: 100%;
  color: blue;
  padding: 8px;
  margin-bottom: 10px;
  border-radius: 6px;
  background-color: rgb(236, 255, 236);
  border: 1px solid blue;
}

.view-loan-tiny-button {
  padding: 5px 15px 5px 15px;
  border-radius: 5px;
  font-size: 13px;
  font-weight: bold;
  font-family: inherit;
  cursor: pointer;
  background-color: blue;
  color: white;
  border: 1px solid blue;
  transition: all .3s;
}

.view-loan-tiny-button:hover {
  background-color: rgb(83, 83, 255);
  border: 1px solid rgb(83, 83, 255);
}

.p-a-r-wrap-one {
  text-align: left;
  flex: 0.3;
  padding: 8px 12px;
  color: gray;
  border-right: 1px solid lightgray;
  font-size: 14px;
}
.p-a-r-wrap-two {
  text-align: center;
  flex: 1;
  color: gray;
  padding: 8px 12px;
  font-size: 14px;
}

.p-a-r-wrap-custom {
  /* text-align: left; */
  background-color: green; 
  border-radius: 6px; 
  color: white; 
  padding: 8px 12px;
  min-width: 60px;
  text-align: center;
}

.p-a-r-hover-color {
  cursor: pointer;
  background-color: white;
}

/* IDR Section specific styles */
#idr-section {
  padding: 0;
}

#idr-section .flex-row-space-evenly {
  margin: 0;
  padding: 0;
}

.p-a-r-hover-color:hover {
  background-color: #f8f8f8;
}

.pay-button,
.pay-button-cancel {
  background-color: var(--secondary-color);
  color: white;
  width: 48%;
  height: 43px;
  outline: none;
  border: none;
  font-family: inherit;
  margin: 15px 0px 10px 0px;
  padding: 0 15px;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.4s;
}

.pay-button-cancel {
  background-color: transparent;
  color: var(--secondary-color);
  border: 1px solid var(--secondary-color);
}

.pay-button:hover {
  background-color: var(--pure-blue);
}

.pay-button-cancel:hover {
  background-color: var(--pure-blue);
  color: white;
  border: 1px solid var(--pure-blue);
}

.navigate-many-loans div {
  cursor: pointer;
  padding: 15px;
  font-size: 16px;
  border: 1px solid lightgray;
  border-radius: 6px;
  margin: 10px 0px 10px 0px;
  background-color: white;
  transition: all .3s;
}

.navigate-many-loans i {
  font-size: 18px;
  margin-right: 20px;
}

.navigate-many-loans div:hover {
  background-color: #f8f8f8;
}

/* MUSTER LIST */
.muster-list {
  background-color: var(--mid-color-1);
  border-radius: 10px;
  padding: 5px;
  overflow: hidden; /* Prevent scroll content from breaking out */
}

/* Container for the table with horizontal scroll */
.muster-list .table-container {
  width: 100%;
  overflow-x: auto; /* Enable horizontal scrolling */
  position: relative; /* For sticky positioning */
}

.muster-list table {
  width: max-content; /* Let the table expand based on content */
  min-width: 100%; /* Ensure it fills container at minimum */
  border-collapse: separate;
}

.muster-list table thead {
  font-size: 0.8rem;
  color: var(--dull-black);
}

.muster-list table tr {
  font-size: 0.8rem;
}

.muster-list table tr td {
  height: 30px;
  padding: 5px 10px; /* Add consistent padding */
}

/* Make first column sticky */
.muster-list table tr td:first-child,
.muster-list table tr th:first-child {
  position: sticky;
  left: 0;
  z-index: 2;
  background-color: var(--mid-color-1);
  /* background-color: #0000ff; */
}


/* Add shadow effect to indicate stickiness */
.muster-list table tr td:first-child::after,
.muster-list table tr th:first-child::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 4px;
  pointer-events: none;
  background: linear-gradient(to right, rgba(0,0,0,0.05), transparent);
}

.muster-list table tr td:not(:first-child) {
  text-align: center;
  
}

.muster-list table tr td select,
.muster-list table tr td input {
  width: 80%;
  border: none;
  outline: none;
  background-color: transparent;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-family: inherit;
  padding: 5px;
}

.muster-list table tr td .h-40 {
  height: 40px;
}

.muster-list table tbody .name .icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #C7C7FF !important;
  margin-right: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  transition: 0.3s;
}

.muster-list table tbody .name .icon i {
  transform: translateY(2px);
  color: black !important;
}

.muster-list table tbody .action i {
  color: var(--dull-black);
  cursor: pointer;
  transition: 0.4s;
  transform: translateY(2px);
}

.muster-list table tbody .action i:hover {
  color: red;
}

.muster-list table tbody .loan {
  margin-bottom: 10px;
}

.muster-list table tbody .loan td {
  border-bottom: 1px solid #ccc;
  border-top: 1px solid #ccc;
  transition: 0.3s;
  height: 37px;
}

.muster-list table tbody .loan td:first-child {
  border-left: 1px solid #ccc;
  border-top-left-radius: 7px;
  border-bottom-left-radius: 7px;
  padding: 0 5px;
}

.muster-list table tbody .loan td:last-child {
  border-right: 1px solid #ccc;
  border-top-right-radius: 7px;
  border-bottom-right-radius: 7px;
}

/* Preserve hover state visuals with sticky column */
.muster-list table .with-hover tr:hover td {
  background-color: #dcdcdc;
  cursor: pointer;
}

/* Ensure sticky column also changes on hover */
.muster-list table .with-hover tr:hover td:first-child {
  background-color: #dcdcdc;
}

.muster-list table tbody .with-hover:hover>td .icon,
.muster-list table tbody .loan:hover>td .icon {
  background-color: #a6a6ff !important;
}

/* Status coloring - keep these styles intact */
.muster-list table tbody td.active {
  color: green;
}

.muster-list table tbody td.pending {
  color: orange;
}

.muster-list table tbody td.rejected {
  color: red;
}

/* For the "bordered" class rows */
.muster-list table tbody tr.bordered td {
  border-bottom: 1px solid #eee;
}

/* Alternating row colors for better readability */
.muster-list table tbody tr:nth-child(odd) {
  background-color: var(--mid-color-1); /* Keep the original background */
}

.muster-list table tbody tr:nth-child(even) {
  background-color: rgba(240, 240, 250, 0.5); /* Slightly different shade */
}

/* Ensure sticky column maintains the row color */
.muster-list table tbody tr:nth-child(odd) td:first-child {
  background-color: var(--mid-color-1);
}

/* .muster-list table tbody tr:nth-child(even) td:first-child {
  background-color: rgba(240, 240, 250, 0.5);
} */

/* Preserve hover effect on all rows */
.muster-list table .with-hover tr:hover td {
  background-color: #dcdcdc !important; /* Important to override the alternating colors */
  cursor: pointer;
}

/* Add subtle row borders for better separation */
.muster-list table tbody tr {
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}


/* BUSINESS TYPE SELECTION */
.business-type-suggestions {
  top: 100%;
  left: 0;
  background: rgb(255, 255, 255);
  border: 1px solid #bcc4e4;
  border-top: none;
  max-height: 200px;
  overflow-y: auto;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.suggestion-item {
  padding: 8px 12px;
  cursor: pointer;
}

.suggestion-item:hover {
  background-color: #647ff3;
}

.d-none {
  display: none;
}

.w-100 {
  width: 100%;
}

.margin-type-selector {
  background-color: #f2f7ff;
  padding: 15px;
  border-radius: 15px;
}
