@import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap");

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  text-transform: capitalize;
  transition: 0.4s linear;
  outline: none;
  border: none;
  text-decoration: none;
  text-transform: unset !important;
  font-family: "Open Sans", sans-serif;
}

:root {
  --main-color: #44b0a0;
  --main2-color: #44b0a0;
  --black-color: #1b1b1b;
  --dark-black-color: #010f1c;
  --white-color: #fff;
  --gray-color: #737887;
  --light-gray: #e5e5e5;
  --box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

html {
  font-size: 65.5%;
  scroll-behavior: smooth;
  transition: 0.1s all;
}

body {
  overflow-x: hidden;
  background: black;
}

a {
  text-decoration: none !important;
}

ol,
ul {
  padding-left: 0;
}

::-webkit-scrollbar {
  width: 0.6rem;
}

::-webkit-scrollbar-track {
  background: var(--white-color);
}

::-webkit-scrollbar-thumb {
  background: #f4f5f6;
}

.login-section {
  padding: 4rem 5%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-color: var(--main-color);
}

.login-section__logo {
  margin-bottom: 2rem;
  text-align: center;
}

.login-section__logo img {
  height: 12rem;
}

.login-section__logo h1 {
  font-size: 2.8rem;
  color: #ffffff;
  text-shadow: 0 0.2rem 0.3rem rgba(0, 0, 0, 0.3);
  margin-top: 1rem;
}

.login-section__container {
  background-color: #ffffff;
  padding: 3rem;
  border-radius: 1rem;
  box-shadow: 0 0 1rem rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 40rem;
  text-align: center;
}

.login-section__form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.login-section__input-group {
  display: flex;
  align-items: center;
  border: 0.1rem solid #ddd;
  border-radius: 0.5rem;
  overflow: hidden;
}

.login-section__input {
  flex: 1;
  padding: 1rem;
  font-size: 1.6rem;
  border: none;
  outline: none;
}

.login-section__icon {
  background-color: #eeeeee;
  padding: 1rem;
  font-size: 1.6rem;
  color: #333333;
}

.login-section__button {
  background-color: #3bb2a4;
  color: #ffffff;
  font-size: 1.6rem;
  border: none;
  padding: 1.2rem;
  border-radius: 0.5rem;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  transition: background-color 0.3s ease;
}

.login-section__button:hover {
  background-color: #359e93;
}

.login-section__footer {
  font-size: 1.2rem;
  margin-top: 1.5rem;
  color: #333333;
}

.login-section__footer a {
  color: #089484;
  text-decoration: none;
}
/*End login section*/

/*Start main-section*/
.main-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.header {
    background: #fff;
    padding: 2rem 5%;
    color: #fff;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10;
}

.header-mobile{
  display: none;
}

.header-toggle{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    margin-left: 15px;
    background: #f3f7ff;
    border-radius: 6px;
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-top img {
  height: 5rem;
}

.activity {
  padding: 2rem 5%;
  margin-top: 8rem; margin-bottom: 12rem;
  flex-grow: 1;
}

.activity-flex-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.activity-flex-header a {
  font-size: 2.5rem;
  color: var(--black-color);
}

.activity h3 {
  margin: 0;
  font-size: 2.2rem;
  color: #333;
  font-weight: 700;
}

.activity-list {
  max-height: 400px;
  overflow-y: auto;
  padding-right: 1rem;
}

.activity-item {
  background: #fff;
  padding: 2rem 1.2rem;
  border-radius: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  box-shadow: 0 0.2rem 0.5rem rgba(0, 0, 0, 0.1);
}

.bottom-nav a {
    color: #fff;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-flow: column;
    gap: .06rem;
    height: 83px;
    font-size: 1.8rem;
    padding: 0 2rem;
    font-weight: 600;
    border-top: 5px solid transparent;
}

.bottom-nav a ion-icon {
  font-size: 2.6rem;
}

.activity-left {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.activity-left-content-date {
  font-weight: 400;
  color: var(--gray-color);
}

.activity-left ion-icon {
  color: #22c55e;
  font-size: 2.6rem;
}

.activity-right {
  font-size: 1.8rem;
  color: #22c55e;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.activity-left-content {
  display: flex;
  align-items: start;
  flex-direction: column;
  gap: 0.4rem;
}

.activity-left-content {
  font-size: 1.4rem;
  font-weight: 500;
}

.activity-status {
  color: #22c55e;
  margin-left: 0.4rem;
}

.header-usd-flexbar-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-usd-flexbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-usd-flexbar .header-usd-flexbar-flex1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #4963D5;
    background: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1.6px solid #F0EEF7;
    padding: .6rem 1.2rem;
    border-radius: 8px;
    height: 45px;
}

.header-usd-flexbar .header-usd-flexbar-flex2 {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    background: #FFBF00;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    border-radius: 8px;
    min-height: 45px;
    cursor: pointer;
    color: #000000;
}

.flas-icon{
  background: #eafff2;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.bottom-nav {
    background: #0c1431;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 1.6rem 0;
    border-radius: 8px;
    position: fixed;
    bottom: -15px;
    width: 90%;
    left: 50%;
    height: 83px;
    z-index: 10;
    transform: translate(-50%, -50%);
}

.bottom-nav i {
  display: block;
  font-size: 1.6rem;
  margin-bottom: 0.3rem;
}

.dropdown {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-10px);
  transition: max-height 0.4s ease, opacity 0.4s ease, transform 0.4s ease;
  background: white;
  position: absolute;
  width: 100%; max-width: 280px;
  right: 23px;
  top: 80px;
  z-index: 999;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-radius: 0 0 10px 10px;
  padding: 0 1rem;
}

#dropdown-menu.active {
  max-height: 500px;
  opacity: 1;
  transform: translateY(0);
  padding: 1rem;
}

.dropdown a {
  color: #737887;
  text-decoration: none;
  display: flex;
  align-items: center;
  padding: 1rem 010px;
  gap: 1rem;
  font-size: 1.6rem;
  border-radius: 6px;
}

.dropdown a:hover {
  background-color: #f3f7ff;
  color: #4963D5;
  font-weight: 600;
}

.dropdown i {
  font-size: 1.5rem;
}

.active {
  display: block;
}

.activity-list::-webkit-scrollbar {
  width: 6px;
}

.activity-list::-webkit-scrollbar-thumb {
  background-color: #192759;
  border-radius: 3px;
  transition: background-color 0.3s;
}

.activity-list::-webkit-scrollbar-thumb:hover {
  background-color: #148f7d;
}

.activity-list::-webkit-scrollbar-track {
  background-color: #f0f2f5;
  border-radius: 3px;
}

.bottom-nav-active {
    color: #587cff !important;
    border-top: 5px solid #587cff!important;
    background: linear-gradient(#0b00ff24, transparent)!important;
}
/*End main-section*/

/*Deposit section*/
.deposit-section{
    padding: 4rem 5%;
    margin-bottom: 10rem;
}

.main-form-container{
    padding: 1rem 5%;
}

.deposit-header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 5%;
    background: var(--white-color);
}

.deposit-header h1{
    margin: 0;
    font-size: 2rem;
    font-weight: 600;
}

.deposit-header ion-icon{
    font-size: 2.5rem;
}

.deposit-section .nav-pills .nav-link.active, .nav-pills .show>.nav-link {
    background-color: #dfedff;
    display: flex;
    height: 70px;
    align-items: center;
    justify-content: center;
    /*flex-direction: column;*/
    padding: 0 2rem;
    font-size: 2rem;
    color: var(--black-color);
    border-radius: 6px;
    border: 1px solid #3d61da;
    font-weight: 600;
    gap: 1rem;
}

.deposit-section .nav-pills{
    display: flex;
    align-items: center;
    gap: 2rem;
    justify-content: center;
}

.deposit-section .nav-pills .nav-link {
    background-color: #fff;
    display: flex; height: 70px;
    align-items: center;
    justify-content: center;
/*    flex-direction: column;*/
    padding: 0 2rem;
    font-size: 2rem;
    color: var(--black-color);
    border-radius: 6px;
    border: 1px solid #3d61da;
    font-weight: 600;
    gap: 1rem;
}

.deposit-section .nav-pills .nav-link img{
    height: 25px;
}

.deposit-section-flex {
  margin-top: 2rem;
}

.deposit-box {
  background: #fff;
  border-radius: 1.2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 2.4rem; margin-bottom: 1.5rem;
}

.deposit-box .field {
  display: flex;
  align-items: center;
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  padding: 1.4rem 1.6rem;
  border-radius: 0.8rem;
  font-size: 1.5rem;
  margin-bottom: 1.6rem;
  color: #333;
}

.deposit-box .field ion-icon {
  font-size: 2rem;
  color: #555;
  margin-right: 1rem;
  flex-shrink: 0;
}

.deposit-box label {
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 0.8rem;
  display: block;
  color: #333;
}

.deposit-box input[type="text"],
.deposit-box input[type="number"],
.deposit-box input[type="password"] {
  width: 100%;
  padding: 1rem 1.2rem;
  font-size: 1.4rem;
  border: 1px solid #ccc;
  border-radius: 0.6rem;
  background: #fff;
  margin-bottom: 1.8rem;
  transition: border 0.2s;
}

#tokenInfo{
  width: 100%;
  padding: 1rem 1.2rem;
  font-size: 1.4rem;
  border: 1px solid #ccc;
  border-radius: 0.6rem;
  background: #fff;
  margin-bottom: 1.8rem;
  transition: border 0.2s;
}

.deposit-box-footer-info{
    text-align: center;
    font-size: 1.4rem;
    margin-top: 1rem;
}

.deposit-box input:focus {
  border-color: #365bd6;
  outline: none;
}

.upload-wrapper {
    border: 2px dashed #6483ed;
    background-color: #f4f0fa;
    border-radius: 0.8rem;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.3s ease;
    margin-bottom: 2rem;
    position: relative;
}

.upload-wrapper:hover {
  border-color: #6483ed0
}

.upload-wrapper ion-icon {
  font-size: 3rem;
  color: #365bd6;
  margin-bottom: 0.8rem;
}

.upload-wrapper span {
  display: block;
  font-size: 1.3rem;
  color: #444;
}

.upload-wrapper input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.deposit-box button {
  width: 100%;
  background: linear-gradient(45deg, #6a88f0, #365bd6);
  color: #fff;
  font-size: 1.5rem;
  padding: 1.2rem;
  border: none;
  border-radius: 0.6rem;
  cursor: pointer;
  transition: background 0.3s ease;
  font-weight: 500;
}

.deposit-box button:hover {
  background-color: #229488;
}

/*End deposit section*/

/*Start passbook section*/
.passbox-section {
      margin-bottom: 15rem;
      padding: 4rem 5%;      
    }

    .filter-row {
      display: flex;
      flex-wrap: wrap;
      gap: 1rem;
      margin-bottom: 2rem;
    }

    .filter-row select {
        padding: 0.6rem 1.2rem;
        border-radius: 0.5rem;
        font-size: 1.6rem;
        transition: all 0.3s ease;
        height: 40px;
    }

    .filter-row select:focus {
      outline: none;
      border-color: #6c63ff;
      box-shadow: 0 0 0 2px rgba(108, 99, 255, 0.2);
    }

    .action-row {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      align-items: center;
      gap: 2rem;
      margin-bottom: 2rem;
    }

    .searchbox {
      flex: 0 0 40rem;
      position: relative;
    }

    .searchbox input {
        width: 100%;
        padding: 1rem 1.2rem;
        border-radius: 0.7rem;
        height: 40px;
        color: var(--black-color);
        font-size: 1.6rem;
        transition: all 0.3s ease;
        background: #fff;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    }

    .searchbox input:focus {
      outline: none;
      border-color: #6c63ff;
      box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.15);
    }

    .searchbox ion-icon {
      position: absolute;
      right: 1rem;
      top: 50%;
      transform: translateY(-50%);
      color: #777;
      font-size: 1.6rem;
    }

    .action-buttons {
      display: flex;
      gap: 1rem;
    }

    .btn-in, .btn-out {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.9rem 1.8rem;
        font-size: 1.6rem;
        border: none;
        border-radius: 0.6rem;
        transition: all 0.3s ease;
        color: #fff;
        height: 40px;
        font-weight: 600;
    }

    .btn-in, .btn-out ion-icon{
        font-size: 1.8rem;
    }

    .btn-in {
      background-color: #587cff;
    }

    .btn-in:hover {
      background-color: #157347;
    }

    .btn-out {
      background-color: #e41717;
    }

    .btn-out:hover {
      background-color: #bb2d3b;
    }

    .passbox-summary-row {
      display: flex;
      flex-wrap: wrap;
      gap: 0;
      background: #fff;
      border-radius: 0.8rem;
      box-shadow: 0 2px 8px rgba(0,0,0,0.05);
      overflow: hidden;
    }

    .passbox-summary-card {
      flex: 1;
      min-width: 250px;
      display: flex;
      align-items: center;
      gap: 1rem;
      padding: 2rem;
      border-right: 1px solid #eee;
      transition: background 0.3s ease;
    }

    .passbox-summary-card:last-child {
      border-right: none;
    }

    .passbox-summary-icon {
      flex-shrink: 0;
      width: 3.5rem;
      height: 3.5rem;
      background-color: #e7f5ec;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 50%;
    }

    .passbox-summary-icon ion-icon {
      font-size: 2.2rem;
      color: #03c607;
    }

    .passbox-summary-card.cash-out .passbox-summary-icon {
      background-color: #fdeaea;
    }

    .passbox-summary-card.cash-out ion-icon {
      color: #e41717;
    }

    .passbox-summary-card.net-balance .passbox-summary-icon {
      background-color: #e9f0ff;
    }

    .passbox-summary-card.net-balance ion-icon {
      color: #587cff;
    }

    .passbox-summary-text p {
      margin: 0;
      font-size: 1.3rem;
      color: #666;
    }

    .passbox-summary-text h3 {
      margin: 0.5rem 0 0 0;
      font-size: 2rem;
      font-weight: 600;
      color: #000;
    }

    /*TABLE*/
    .passbox-table-wrapper {
      background: #fff;
      border-radius: 0.8rem;
      overflow: hidden;
      margin-top: 2rem;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    }

    .passbox-table-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 1.5rem 2rem;
      font-size: 1.4rem;
      color: #666;
      border-bottom: 1px solid #eee;
    }

    .passbox-table-container {
      overflow-x: auto; overflow-y: auto;
      height: 400px;
    }

    .passbox-table {
      width: 100%;
      border-collapse: collapse;
      min-width: 800px;
    }

    .passbox-table th,
    .passbox-table td {
      padding: 1.2rem 1.5rem;
      text-align: left;
      font-size: 1.4rem;
      white-space: nowrap;
    }

    .passbox-table th {
      background: #f5f7fa;
      color: #666;
      font-weight: 600;
    }

    .passbox-table td {
      background: #fff;
      color: #333;
      border-bottom: 1px solid #eee;
    }

    .passbox-table td .passbox-date {
      display: flex;
      flex-direction: column;
      font-size: 1.3rem;
      color: #333;
    }

    .passbox-table td .passbox-date small {
      color: #999;
      font-size: 1.2rem;
    }

    .passbox-table td.passbox-amount.positive {
      color: #03c607;
      font-weight: 600;
    }

    .passbox-table td.passbox-amount.negative {
      color: #dc3545;
      font-weight: 600;
    }

    .passbox-checkbox {
      width: 1.8rem;
      height: 1.8rem;
      accent-color: #0d6efd;
    }

    .passbox-pagination {
      display: flex;
      justify-content: flex-end;
      align-items: center;
      gap: 1rem;
      padding: 1.5rem 2rem;
      font-size: 1.4rem;
      color: #666;
      border-top: 1px solid #eee;
    }

    .passbox-pagination button {
      background: #fff;
      border: 1px solid #ddd;
      padding: 0.5rem 1rem;
      font-size: 1.3rem;
      border-radius: 0.4rem;
      cursor: pointer;
      transition: all 0.2s ease;
    }

    .passbox-pagination button:hover {
      background: #f1f1f1;
    }

    /* Custom Scrollbar */
    .passbox-table-container::-webkit-scrollbar {
      height: 8px;
    }

    .passbox-table-container::-webkit-scrollbar-track {
      background: #f1f1f1;
      border-radius: 10px;
    }

    .passbox-table-container::-webkit-scrollbar-thumb {
      background: #ccc;
      border-radius: 10px;
    }

    .passbox-table-container::-webkit-scrollbar-thumb:hover {
      background: #999;
    }

    .pass-book-edit-btn{
        font-size: 2rem;
        color: rgb(13 110 253);
        background: transparent;

        &:hover{
            transform: scale(1.2);
        }
    }

    .pass-book-del-btn{
        font-size: 2rem;
        color: #e41717;
        background: transparent;
        &:hover{
            transform: scale(1.2);
        }
    }

    .passbook-offcanvas.passbook-section {
      width: 600px;
      max-width: 100%;
      border-top-left-radius: 1rem;
      border-bottom-left-radius: 1rem;
      overflow-y: auto;
    }

    .passbook-offcanvas .offcanvas-header {
      padding: 1.5rem 2rem;
      border-bottom: 1px solid #dee2e6;
    }

    .passbook-offcanvas .offcanvas-title {
      font-size: 1.6rem;
      font-weight: 600;
    }

    .passbook-offcanvas .offcanvas-body {
      padding: 2rem;
      padding-top: 1rem;
    }

    .passbook-form {
      display: flex;
      flex-direction: column;
      gap: 1.8rem;
    }

    .passbook-field {
      display: flex;
      flex-direction: column;
      position: relative;
    }

    .passbook-field label {
      font-size: 1.3rem;
      font-weight: 500;
      margin-bottom: 0.4rem;
      color: #495057;
    }

    .passbook-field input,
    .passbook-field select,
    .passbook-field textarea {
      padding: 1rem;
      font-size: 1.5rem;
      border: 1px solid #ced4da;
      border-radius: 0.5rem;
      background: #fff;
      transition: 0.3s;
      color: #212529;
      width: 100%;
    }

    .passbook-field input:focus,
    .passbook-field select:focus,
    .passbook-field textarea:focus {
      border-color: #0d6efd;
      box-shadow: 0 0 0 0.15rem rgba(13, 110, 253, 0.25);
      outline: none;
    }

    .passbook-attach {
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
    }

    .passbook-attach button {
      background: #f1f3f5;
      border: 1px dashed #0d6efd;
      color: #0d6efd;
      padding: 0.8rem;
      font-size: 1.3rem;
      border-radius: 0.5rem;
      cursor: pointer;
      transition: 0.3s ease;
      text-align: center;
    }

    .passbook-attach button:hover {
      background: #e0e8f9;
    }

    .passbook-attach small {
      font-size: 1.2rem;
      color: #6c757d;
    }

    .passbook-buttons {
      display: flex;
      gap: 1rem;
      margin-top: 2rem;
    }

    .passbook-buttons button {
      flex: 1;
      padding: 1rem;
      font-size: 1.4rem;
      font-weight: 600;
      border: none;
      border-radius: 0.5rem;
      cursor: pointer;
      transition: 0.3s;
    }

    .passbook-buttons .save-btn {
      background: #f1f3f5;
      color: #212529;
    }

    .passbook-buttons .save-btn:hover {
      background: #dee2e6;
    }

    .passbook-buttons .save-add-btn {
      background: #0d6efd;
      color: #fff;
    }

    .passbook-buttons .save-add-btn:hover {
      background: #0b5ed7;
    }

    .passbook-field-icon {
      position: absolute;
      right: 1rem;
      top: 50%;
      transform: translateY(-50%);
      font-size: 2rem;
      color: #adb5bd;
      pointer-events: none;
    }

    /* Scrollbar custom */
    .offcanvas.passbook-section::-webkit-scrollbar {
      width: 5px;
    }

    .offcanvas.passbook-section::-webkit-scrollbar-thumb {
      background: #c2c8d0;
      border-radius: 10px;
    }

    .passbook-offcanvas .offcanvas-body .nav-pills{
        display: flex;
        align-items: center;
        gap: 1rem; padding: 2rem 0;
    }

    /* .passbook-offcanvas .offcanvas-body .nav-pills .nav-link.active, .nav-pills .show>.nav-link{
        background: #dc3545;
        border: 0; color: var(--white-color);
        border-radius: 33px;
        font-size: 1.6rem;
        font-weight: 600;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 1rem 2rem;
    } */

    /* Common active tab base */
.passbook-offcanvas .offcanvas-body .nav-pills .nav-link.active {
    border: 0;
    border-radius: 33px;
    font-size: 1.6rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
}

/* Cash In Active = green */
.passbook-offcanvas .nav-link.cashin-active {
    background: #198754 !important;  /* Bootstrap green */
    color: var(--white-color) !important;
}

/* Cash Out Active = red */
.passbook-offcanvas .nav-link.cashout-active {
    background: #dc3545 !important; /* Bootstrap red */
    color: var(--white-color) !important;
}


    .passbook-offcanvas .offcanvas-body .nav-pills .nav-link {
        background: #eff0f5;
        border: 0; color: var(--black-color);
        border-radius: 33px;
        font-size: 1.6rem;
        font-weight: 500;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 1rem 2rem;
    }

    .passbook-section-upload {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 0.5rem;
      width: 100%;
    }

    .passbook-section-upload .attach-btn {
      width: 100%;
      padding: 1rem;
      border: 1.4px dashed #0d6efd;
      background: #f8f9fa;
      color: #0d6efd;
      font-size: 1.4rem;
      font-weight: 500;
      text-align: center;
      border-radius: 0.5rem;
      cursor: pointer;
      transition: 0.3s;
      user-select: none;
    }

    .passbook-section-upload .attach-btn:hover {
      background: #e7f1ff;
    }

    .passbook-section-upload input[type="file"] {
      display: none;
    }
/*End passbook section*/

/*Start pass section*/
.password-section{
    padding: 4rem 5%;
}
/*End pass section*/

/*Start account statement section*/
.account-statement-section{
    padding: 4rem 5%;
    margin-bottom: 15rem;
}

.account-statement-section .account-statement-section-row1{
    padding : 2rem; border-radius: 8px; background: var(--white-color);
    display: flex; align-items: center;
}

.account-statement-section-inputBox label {
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 0.8rem;
    display: block;
    color: #333;
}

.account-statement-section-inputBox input{
    width: 100%;
    padding: 1rem 1.2rem;
    font-size: 1.4rem;
    border: 1px solid #ccc;
    border-radius: 0.6rem;
    background: #fff;
    margin-bottom: 1.8rem;
    transition: border 0.2s;
}

.account-statement-section-inputBox select{
    width: 100%;
    padding: 1rem 1.2rem;
    font-size: 1.4rem;
    border: 1px solid #ccc;
    border-radius: 0.6rem;
    background: #fff;
    margin-bottom: 1.8rem;
    transition: border 0.2s;
}

.account-statement-section-inputBox button{
    width: 100%;
    background: linear-gradient(45deg, #6a88f0, #365bd6);
    color: #fff;
    font-size: 1.5rem;
    padding: 1.2rem;
    border: none;
    border-radius: 0.6rem;
    cursor: pointer;
    transition: background 0.3s ease;
    font-weight: 500;
}

.account-statement-section-inputBox a{
    width: 104%;
    background: linear-gradient(45deg, #6a88f0, #365bd6);
    color: #fff;
    font-size: 1.5rem;
    padding: 1.2rem;
    border: none;
    border-radius: 0.6rem;
    cursor: pointer;
    transition: background 0.3s ease;
    font-weight: 500;
}

.account-statement-section-inputBox label {
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 0.8rem;
    display: block;
    color: #333;
}

.account-statement-section-inputBox input{
    width: 100%;
    padding: 1rem 1.2rem;
    font-size: 1.4rem;
    border: 1px solid #ccc;
    border-radius: 0.6rem;
    background: #fff;
    margin-bottom: 1.8rem;
    transition: border 0.2s;
}
/*End account statement section*/

/* Add new book section start*/
.addbook-section {
  padding: 4rem 5%;
  background-color: #f9fafb;
  margin-bottom: 15rem;
}

/* Top Inputs */
.addbook-section__top .form-control{
  font-size: 1.6rem;
  height: 50px;
  border-radius: 6px;
  padding: 0.8rem 1.2rem 0.8rem 40px;
  box-shadow: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: none;
}

.addbook-section__top .form-select {
    font-size: 1.6rem;
    height: 50px;
    border-radius: 6px;
    padding: 0.8rem 1.2rem;
    box-shadow: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: none;
}

/* Custom dropdown arrow for select box */
.addbook-section__top .form-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%236c757d' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px 12px;
    padding-right: 2.5rem; /* Make space for the arrow */
    cursor: pointer;
}

.search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: #6c757d; 
  pointer-events: none; 
}

.addbook-section__top .btn {
    font-size: 1.6rem;
    padding: 0.8rem 1.6rem;
    box-shadow: none;
    font-weight: 600;
    height: 50px;
    border-radius: 6px;
}

.addbook-section__top .btn ion-icon{
    font-size: 2rem;
}

/* Content Flex */
.addbook-section__content {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem; /* List ko thoda niche */
}

/* List Styling */
.addbook-section__list {
  flex-grow: 1;
  background: #fff;
  border-radius: 0.8rem;
  overflow: hidden;
}
.addbook-section__item {
  padding: 1.5rem;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.addbook-section__item:last-child {
  border-bottom: none;
}
.addbook-section__item-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.addbook-section__item-left ion-icon {
  font-size: 2.4rem;
  color: #6366f1;
  background-color: #eef2ff;
  padding: 1rem;
  border-radius: 50%;
}
.addbook-section__item h5 {
  font-size: 1.8rem;
  margin: 0; font-weight: 600;
}
.addbook-section__item small {
  font-size: 1.2rem;
  color: #6b7280;
  font-weight: 400;
}
.addbook-section__item div:last-child {
  font-size: 1.4rem;
  font-weight: 600;
}

/* Cards Right Styling */
.addbook-section__cards {
  width: 32rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.addbook-section__card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 0.8rem;
  padding: 2rem;
  text-align: start;
}
.addbook-section__card-icon {
  background-color: #eef2ff;
  padding: 1.6rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
}
.addbook-section__card-icon ion-icon {
  font-size: 3rem;
  color: #6366f1;
}

.addbook-section__card-icon2 {
  background-color: #f0ffee;
  padding: 1.6rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
}
.addbook-section__card-icon2 ion-icon {
  font-size: 3rem;
  color: #0fb304;
}

.addbook-section__card h5 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
    margin: .7rem 0;
}

.addbook-section__card p {
    font-size: 1.4rem;
    color: #6b7280;
    margin-bottom: 1.2rem;
}

.addbook-section__card .btn {
    font-size: 1.6rem;
    padding: 1rem 2rem;
    box-shadow: none;
    border-radius: 6px;
    font-weight: 500;
}

.btn-outline-success {
    color: #0b8603;
    border-color: #0b8603;
}

.addNew-book-modal .modal-header{
    padding: 2rem 5%;
}

.addNew-book-modal .modal-title{
    font-size: 2rem;
    font-weight: 600;
}

.addNew-book-modal .modal-body{
    padding: 2rem 5%;
}

.addNew-book-modal .addNewBook-popup-form input{
    width: 100%;
    height: 50px;
    border: 1.2px solid #d5d5d8;
    border-radius: 6px;
    font-size: 1.6rem;
    font-weight: 600;
    padding: 0 1.6rem;
    color: var(--black-color);
}

.addNew-book-modal .addNewBook-popup-form input:focus{
    border: 1.2px solid #0d6efd;
}

.addNew-book-modal .addNewBook-popup-form button{
    width: 100%;
    height: 45px;
    background: #0d6efd;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--white-color);
    border-radius: 6px;
    margin-top: 1.4rem;
}

.addNew-book-modal .addNewBook-popup-form label{
    font-size: 1.4rem;
    color: var(--gray-color);
    font-weight: 500;
    margin-bottom: 1rem;
}

.addNew-book-modal .modal-header .btn-close{
    transform: scale(1.5);
}
/*End add new book section*/

/*Login page 2*/
.login-page {
  display: flex;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  flex-wrap: wrap;
}

.login-page__left {
  flex: 1;
  background-color: #eaf0ff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem; position: relative;
}

.login-page__carousel {
  width: 100%;
  max-width: 40rem;
}

.login-page__slide {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 2rem;
}

.login-page__slide img {
  width: 80%;
  max-width: 30rem;
  margin-bottom: 2rem;
}

.login-page__slide p {
  font-size: 2rem;
  font-weight: 600;
  color: #333;
}

.login-page__right {
  flex: 1;
  background-color: #fff;
  padding: 4rem 3rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.login-form {
  width: 100%;
  max-width: 36rem;
}

.login-form__logo {
  width: 200px;
  margin-bottom: 1rem;
}

.login-form__title {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 2.4rem;
}

.login-form label {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
  display: block;
  color: #444;
  font-weight: 500;
}

.login-form__input-group {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 0.6rem;
  padding: 1rem;
  background-color: #f9f9f9;
  margin-bottom: 1.6rem;
}

.login-form__input-group img {
  width: 2rem;
}

.login-form__input {
  border: none;
  outline: none;
  font-size: 1.4rem;
  background: transparent;
  flex: 1;
}

.login-form__btn {
    width: 100%;
    padding: 1.2rem;
    font-size: 1.6rem;
    border-radius: 0.6rem;
    border: none;
    background-color: #e0e0e0;
    color: #9e9e9e;
    margin-bottom: 1.6rem;
    font-weight: 600;
    cursor: not-allowed;
}

.login-form__or {
  text-align: center;
  font-size: 1.2rem;
  color: #999;
  margin: 1rem 0;
}

.login-form__alt-login {
    width: 100%;
    padding: 1.2rem;
    border-radius: 0.6rem;
    border: 1px solid #e0e0e0;
    background: transparent;
    margin-bottom: 1.6rem;
    color: #4863d4;
    font-size: 1.6rem;
    font-weight: 600;
}

.login-form__terms {
    font-size: 1.4rem;
    color: #777;
    line-height: 1.7;
    margin: 0;
}

.login-form__terms a {
  color: #3366ff;
  text-decoration: none;
}

.owl-theme .owl-dots {
  display: block !important;
  margin-top: 15px;
  text-align: center;
}

.owl-theme .owl-dot span {
  width: 12px;
  height: 12px;
  background: transparent;
  border: 2px solid #4863d4;
  border-radius: 50%;
  display: inline-block;
  margin: 5px;
  transition: background 0.3s;
}

.owl-theme .owl-dot.active span {
  background: #4863d4;
}

.login-page__left-logo img{
    width: 200px;
    position: absolute;
    top: 35px;
    left: 32px;
}

.otp-label {
      font-size: 1.4rem;
      margin-bottom: 1.4rem;
      color: #444;
      display: block;
    }

.otp-inputs {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.otp-inputs input {
    width: 100%;
    height: 50px;
    font-size: 2rem;
    text-align: center;
    border: 1px solid #ccc;
    border-radius: 0.6rem;
    font-weight: 700;
}
/*End login page2*/

/*PDF Page css*/
.pdf-section{
  
}
.pdf-report-footer{
  display: flex
;
    align-items: center;
    justify-content: end;
    padding: 1.4rem 2%;
    position: fixed;
    bottom: 0;
    right: 0;
    width: 90%;
    background: white;
    border-top: 1px solid #e5e5e5;
}

.pdf-report-footer button{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(93deg, #53b2fe, #065af3);
  height: 55px;
  padding: 1rem 2.6rem;
  color: white;
  font-size: 2rem;
  font-weight: 600;
  border-radius: 6px;
  gap: .6rem;

}

.offcanvas-pdf-report .offcanvas-header{
  padding: 1.2rem 2%;
}

.offcanvas-pdf-report .offcanvas-header h5{
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--black-color);
  margin: 0;
}

.pdf-section-container {
      background: #fff;
      padding: 2rem;
      box-shadow: 0 0.3rem 1rem rgba(0, 0, 0, 0.1);
      border-radius: 0.8rem;
      margin-bottom: 10rem;
    }

    .pdf-section .pdf-header {
      display: flex;
      align-items: center;
      gap: 1.2rem;
      margin-bottom: 2rem;
    }

    .pdf-section .pdf-header img {
      height: 7rem;
    }

    .pdf-section .pdf-header h1 {
      font-size: 2.6rem;
      font-weight: 700;
      color: #2d2d2d;
    }

    .pdf-section .generated {
      font-size: 1.4rem;
      color: #555;
      margin-top: 0.4rem;
    }

    .pdf-section .title {
        font-size: 2.4rem;
        font-weight: 700;
        margin-bottom: 2rem;
    }

    .pdf-section .summary {
      display: flex;
      flex-wrap: wrap;
      gap: 2rem;
      margin-bottom: 2rem;
    }

    .pdf-section .summary-box {
      flex: 1;
      min-width: 20rem;
      background: #f9f9f9;
      padding: 1.6rem;
      border-radius: 0.6rem;
      border: 1px solid #eee;
    }

    .pdf-section .summary-box h4 {
      font-size: 1.4rem;
      margin-bottom: 0.8rem;
      color: #555;
    }

    .pdf-section .summary-box .amount {
      font-size: 1.8rem;
      font-weight: 600;
    }

    .pdf-section .amount.green {
      color: #0ca678;
    }

    .pdf-section .amount.red {
      color: #e03131;
    }

    .pdf-section .entry-count {
      font-size: 1.4rem;
      margin-bottom: 1rem;
      font-weight: 600;
    }

    .pdf-section .responsive-table {
      width: 100%;
      overflow-x: auto;
    }

    .pdf-section table {
      width: 100%;
      border-collapse: collapse;
      min-width: 80rem;
    }

    .pdf-section th,
    .pdf-section td {
      padding: 1.4rem 1.6rem;
      border: 1px solid #e0e0e0;
      text-align: left;
      font-size: 1.7rem;
      white-space: nowrap;
    }

    .pdf-section th {
      background-color: #f1f5f9;
      font-weight: 600;
    }

    .pdf-section td.green {
      color: #0ca678;
      font-weight: 600;
    }

    .pdf-section td.red {
      color: #e03131;
      font-weight: 600;
    }

    .pdf-section .final-row {
      background-color: #f1f5f9;
      font-weight: 600;
    }

    .offcanvas-pdf-report{
      width: 90%;
    }
/*End PDF Page css*/


/*Media quaries*/
@media screen and (max-width: 991px) {
  html {
    font-size: 55%;
  }

  /*.login-page__left {
        display: none;
      }
      .login-page__right {
        flex: 1 1 100%;
        display: none;
      }*/

      .login-page__left{
        display: none;
      }

      .header-usd-flexbar{
        margin-top: 2rem;
      }

      /*#dropdown-menu {
        top: 141px;
      }*/
}

@media screen and (max-width: 991px) {
    .addbook-section__cards {
        width: 100%;
      }

      .header{
        display: none;
      }

      .header-mobile{
        display: block;
      }

      .activity {
          margin-top: 15rem;
        }

      /*.dropdown{
        max-width: 100%;
        left: 0; border-radius: 0;
      }

      #dropdown-menu {
        top: 140px;
      }*/
}

@media screen and (max-width: 768px) {
 .offcanvas.passbook-section {
    width: 100%;
    border-radius: 0;
  }

  .login-page {
      flex-direction: column;
    }

    .login-page__left,
    .login-page__right {
      width: 100%;
      height: auto;
    }

    .login-page__slide img {
      width: 60%;
    }
}

@media screen and (max-width: 650px) {
  .login-section__container {
    padding: 2rem;
  }

  .searchbox {
    flex: 1 1 100%;
  }

  .action-row {
    flex-direction: column;
    align-items: stretch;
  }

  .action-buttons {
    justify-content: flex-start;
  }

  .passbox-summary-row {
        flex-direction: column;
      }
      .passbox-summary-card {
        border-right: none;
        border-bottom: 1px solid #eee;
      }
      .passbox-summary-card:last-child {
        border-bottom: none;
      }

      .addbook-section__add{
        width: 100%;
      }

      .addbook-section__top .btn{
        width: 100%;
        justify-content: center;
        font-size: 2rem;
      }

      .bottom-nav a{
        font-size: 1.6rem;
        gap: .7rem;
      }
}

@media screen and (max-width: 480px) {
  html {
    font-size: 50%;
  }
}

@media screen and (max-width: 350px) {
  .header-usd-flexbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1rem;
    flex-direction: column;
    gap: 1rem;
  }

  .activity {
    margin-top: 18rem;
  }
}
