@import url("https://fonts.googleapis.com/css2?family=Elms+Sans:ital,wght@0,100..900;1,100..900&display=swap");
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.13.1/font/bootstrap-icons.min.css");

:root {
  --font: "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --primary-color: #179db5;
  --seconday-color: #083763;
  --acent1: #88b9c5;
  --acent3: #618099;
  --acent4: #bac5c7;
}
body {
  font-size: 0.825rem;
}

* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
  font-family: var(--font);
}

.icon {
  display: flex;
  justify-content: center;
  align-items: center;
}

.gray {
  color: #717879;
}

/*--------------------------Dashboard design----------------------------*/
.main-app {
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

.main-app .side-panel {
  width: 20%;
  height: 100%;
  transition: all 0.3s ease-in-out;
}

.main-app .side-panel-popup {
  transition: all 0.3s ease-in-out;
  width: 270px !important;
  top: 0px;
  left: -300px;
  z-index: 50;
}

.main-app .side-panel-popup .close-btn {
  top: 5px;
  right: 10px;
  background-color: #c7dff591;
  height: 30px;
  width: 30px;
  border-radius: 5px;
}

/*-------------------------side panel----------------------------------*/
.side-panel {
  --edge-height: 9.2%;
  height: 100%;
  position: relative;
  background-color: white;
  box-shadow: 4px 3px 20px 0px rgba(0, 0, 0, 0.274);
}
.side-panel-logo {
  height: var(--edge-height);
  background-color: #eaf8fa;
}
.wide-screen-side-panel {
  position: relative;
  z-index: 500;
}
.wide-screen-side-menu {
  position: relative;
  z-index: 400;
}

.side-panel .side-panel-logo .logo img {
  height: 40px;
}

.side-panel .side-panel-logo .logo span {
  font-size: 20px;
}
/* ========================================= */
/* side-panel-manu */
/* ========================================= */

.side-panel-manu {
  padding-top: 10px;
  height: calc(100% - (var(--edge-height) * 2));
  overflow-y: scroll;
}

.side-panel-manu .heading {
  color: var(--seconday-color);
}

.side-panel-manu ul li {
  transition: all 0.3s ease-in-out;
}

.side-panel-manu ul .nav-li {
  /* background-color: #e6f2fa; */
  /* padding: 12px 5px; */
  border-radius: 5px;
}

.side-panel-manu ul .nav-li:hover {
  background-color: #e6f2fa;
}

.side-panel-manu ul .nav-li a {
  gap: 12px;
  color: var(--seconday-color);
  font-size: 16px;
}

.side-panel-manu ul .nav-li a i {
  font-size: 18px;
  color: var(--acent3);
}

.side-panel-manu ul .nav-li a .link span {
  right: 5px !important;
  transition: all 0.3s ease-in-out;
}

.side-panel-manu ul .collapse ul .sub-nav-li {
  /* padding: 8px 5px; */
}

.side-panel-manu ul .collapse ul .sub-nav-li a {
}

.side-panel-manu ul .collapse ul .sub-nav-li a {
  color: var(--seconday-color) !important;
}

.side-panel-manu ul .collapse ul .sub-nav-li a i {
  color: var(--acent3) !important;
}

.side-panel-manu a:-webkit-any-link {
  color: var(--seconday-color) !important;
  padding: 8px 5px;
  cursor: pointer;
  font-size: 15px;
}

/* ========================================= */
/*side-panel-footer*/
/* ========================================= */
.side-panel-footer {
  height: var(--edge-height);
}
.side-panel-footer .card-links {
  border: 1px solid rgb(250, 71, 71);
  background-color: white;
  text-align: center;
  border-radius: 4px;
  &:hover {
    /* background-color: #57a4ac; */
    /* color: white; */
    cursor: pointer;
  }
}
.side-panel-footer .card-links a {
  color: #39777e;
  text-decoration: none;
  font-size: 16px;
  color: rgb(250, 71, 71);
  &:hover {
    color: rgb(250, 71, 71);
    cursor: pointer;
  }
}

/*---------------------------------main --------------------*/

.main-app main {
  width: 80%;
  background-color: #eff7f8;
  transition: all 0.3s ease-in-out;
}

.main-app .main-page {
  width: 100%;
  overflow-x: hidden;
}

.main-page .page-title {
  /* color: #506a80; */
  color: rgb(59, 59, 59);
}

.main-page .page-title .sub-page {
  /* color: #506a80; */
  color: rgb(121, 120, 120);
  font-size: 16px;
}

.main-page .page-title i {
  /* color: #506a80; */
  color: rgb(59, 59, 59);
}

main .main-page {
  padding: 50px 20px;
  height: 91%;
  overflow-y: scroll;
}

main .header-section {
  background-color: white;
  height: 9%;
  box-shadow: 15px 1px 15px 1px rgba(0, 0, 0, 0.274);
  position: relative;
  z-index: 2;
  /* margin:0px 10px; */
}

.header-section .side-collapse-btn .icon {
  height: 30px;
  width: 30px;
  border-radius: 3px;
  border: 1px solid var(--seconday-color);
  color: var(--seconday-color);
  font-size: 15px;
  cursor: pointer;
}
.refresh-btn {
  height: 30px;
  width: 30px;
  border-radius: 3px;
  border: 1px solid var(--primary-color);
  color: white;
  background-color: var(--primary-color);
  font-size: 15px;
  cursor: pointer;
}
.finance-btn {
  border: 1px solid var(--seconday-color);
  color: var(--seconday-color);
  height: 30px;
  border-radius: 3px;
}
.header-section .responsive-collapse-btn {
  display: none;
}

.header-section .responsive-collapse-btn .icon {
  background-color: #e6f2fa;
  height: 35px;
  width: 40px;
  border-radius: 5px;
  color: var(--seconday-color);
  font-size: 18px;
  cursor: pointer;
}
.session-btn {
  background-color: #aeedf8;
  color: #02282e;
  height: 30px;
  border-radius: 3px;
}

/* ========================================= */
/* User Accounts */
/* ========================================= */
.header-section .header-acount-container .admin-btn {
  color: var(--seconday-color);
  font-size: 15px;
  display: inline-block;
}
.header-acount-container .admin-btn .user-icon {
  height: 35px;
  width: 35px;
}
.header-acount-container .admin-btn .user-icon img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.user-account {
  position: relative;
}
.user-account .user-info .name {
  font-size: 14px;
  font-weight: 600;
  color: var(--seconday-color);
}
.user-account .user-info .user-type {
  font-size: 14px;
  color: var(--acent3);
}
.user-account .user-dropdown {
  content: "";
  position: absolute;
  right: 12px;
  top: 40%;
  right: -10%;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid var(--pag-text);
  pointer-events: none;
  z-index: 10;
}
.admin-dropdown {
  border: 0px;
  min-width: 200px !important;
  transform: translate(870px, 56px) !important;
}
.admin-dropdown li a {
  font-size: 15px;
  color: var(--seconday-color);
  &:hover {
    color: var(--seconday-color);
  }
}
.admin-dropdown li a:focus {
  background-color: var(--primary-color);
}
.admin-dropdown .logout-btn {
  color: rgb(250, 71, 71);
  &:hover {
    color: rgb(250, 71, 71);
  }
}

/*----------------------------------------dashboard page------------------------*/

.dash-card-wrapper {
  background-color: white;
  border-radius: 5px;
  /* height: 150px; */
}

.dash-card-wrapper .dash-card .icon img {
  height: 60px;
}

.dash-card-wrapper .dash-card .info h6 {
  color: rgb(43, 42, 42);
  /* font-weight: normal !important; */
}

.dash-card-wrapper .dash-card .info span {
  font-size: 25px;
  color: rgb(29, 145, 29);
  font-weight: bold;
}

.dash-card .card-links {
  border: 1px solid #57a4ac;
  text-align: center;
  border-radius: 4px;
  &:hover {
    background-color: #57a4ac;
    color: white;
    cursor: pointer;
  }
  &:hover a {
    color: white;
  }
  &:hover a i {
    color: white;
  }
}
.dash-card .card-links a {
  color: #39777e;
  text-decoration: none;
  font-size: 16px;
  &:hover {
    background-color: #57a4ac;
    color: white;
  }
}
.stock-alert-cards {
  border: 1px solid #57a4ac;
  background-color: #57a4ac;
  text-align: center;
  border-radius: 4px;
}
.stock-alert-cards a {
  color: #39777e;
  text-decoration: none;
  font-size: 15px;
  color: white;
}
.stock-alert-cards-outline {
  border: 1px solid #57a4ac;
  text-align: center;
  border-radius: 4px;
}
.stock-alert-cards-outline a {
  color: #39777e;
  text-decoration: none;
  font-size: 15px;
}
.prograss-bar .progress {
  height: 8px;
}

.prograss-bar .progress .progress-bar {
  background-color: rgb(255, 163, 70) !important;
}

.prograss-bar p {
  font-size: 13px;
}

.prograss-bar p span svg {
  height: 25px;
  stroke: green;
}

.filter-header-title h6 {
  font-weight: 600;
}

/* charts section  */

/* attendance-chart */
.chart-card {
  background-color: white;
  padding: 10px;
  border-radius: 10px;
  box-shadow: 1px 2px #bac5c7;
}

#attendanceChart {
  height: 230px !important;
}

#admissionChart {
  height: 230px !important;
}

#feesChart3 {
  height: 270px !important;
  /* margin: auto; */
  display: block;
}

/*-----------------------------Data view area---------------------*/

.data-view-section .data-wrapper {
  width: 100%;
  overflow-x: scroll;
}

.data-view-section .data-wrapper table {
  width: 100%;
  border-collapse: collapse;
  white-space: nowrap;
}
.data-view-section .data-wrapper table tr {
  border-bottom: 1px solid rgb(223, 222, 222) !important;
}
.data-view-section .data-wrapper table tr td {
  border: none !important;
}

.data-view-section .data-wrapper .data-table {
  width: 100%;
  border-collapse: collapse;
  white-space: nowrap;
}

.data-wrapper .data-table .data-title {
  width: fit-content;
  /* max-width: 100%; */
  background-color: #bac5c7;
  padding: 10px 8px;
}

.data-wrapper .data-table .data-title h6 {
  width: 100%;
  font-size: 17px;
}

.data-wrapper {
  background-color: white;
  box-shadow: 1px 2px #bac5c7;
  border-radius: 10px;
  /* padding: 15px 10px; */
}

.data-wrapper table tr .data-size {
  /* width: 400px !important; */
  /* height: 500px; */
}

.data-wrapper table thead tr th {
  font-size: 15px;
}

.data-wrapper table tr td {
  white-space: nowrap;
  /* Prevent text from wrapping to new line */
  overflow: hidden;
  /* Hide overflowing text */
  text-overflow: ellipsis;
  /* Add "..." when text is cut off */
  max-width: 150px;
  font-size: 15px;
  /* Set width to trigger ellipsis */
}

.data-wrapper table tr td p {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 100px;
}

.data-wrapper table tr td .stu-info {
  display: flex;
  justify-content: center;
  align-items: center;
}

.data-wrapper table tbody tr {
  vertical-align: middle;
}

.data-wrapper table tr td .stu-img {
  height: 30px;
  width: 30px;
  display: flex;
  /* justify-content: center; */
  align-items: center;
  border-radius: 50%;
  overflow: hidden;
  gap: 10px;
  background-color: var(--acent4);
  /* padding: 0px 5px; */
  /* padding-top:5px; */
}

.data-wrapper table tr td .stu-img img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.data-wrapper table tr td .stu-info .stu-name p:nth-child(2) {
  font-weight: bold;
}

.data-wrapper {
  border-radius: 10px;
  overflow: hidden;
}

.table thead tr {
  border-bottom: 1px solid gray !important;
  padding: 5px;
  text-align: left;
}

.table tbody tr {
  text-align: left;
}

.table > :not(:last-child) > :last-child > * {
  border-bottom-color: rgb(167, 167, 167);
}

table tr td .phone-info .icon i {
  -webkit-text-stroke: 1px green;
  color: transparent;
}

table tr td .icon {
  display: flex !important;
  justify-content: start !important;
}

table tr td .add-info .icon i {
  -webkit-text-stroke: 1px blue;
  color: transparent;
}

table tr td .date-info .icon i {
  -webkit-text-stroke: 1px rgb(32, 32, 34);
  color: transparent;
}

table tr td .fee-rec i {
  /* -webkit-text-stroke: 1px blue; */
  font-size: 21px;
  color: rgb(84, 84, 243);
}

table tr td .edit-icon i {
  /* -webkit-text-stroke: 1px var(--primary-color); */
  font-size: 18px;
  color: var(--primary-color);
}

table tr td .del-icon i {
  /* -webkit-text-stroke: 1px ; */
  font-size: 18px;
  color: rgb(250, 71, 71);
}

table tr td .view-icon {
  font-size: 18px;
  color: var(--seconday-color);
  /* border: 1px solid var(--seconday-color); */
}

table tr td .action-icon .icon {
  font-size: 18px;
  color: var(--seconday-color);
  cursor: pointer;
}

table tr td .view-btn:focus {
  box-shadow: none;
}
.data-view {
  background-color: rgb(149, 250, 149);
  color: green;
  cursor: pointer;
  font-size: 15px;
}

.filter-dropdown {
  border: 0px;
  /* min-width: 200px !important; */
}
.filter-dropdown li .dropdown-item {
  font-size: 15px;
  color: var(--seconday-color);
  &:hover {
    color: var(--seconday-color);
    cursor: pointer;
  }
  &:focus {
    background-color: none !important;
  }
}
.filter-dropdown .filter-optio li .dropdown-item {
  &:hover {
    color: var(--seconday-color);
    cursor: pointer;
  }
  &:focus {
    background-color: none !important;
  }
}

/* =====================style check box=========================  */

/* Container */
.data-view-section table .custom-checkbox {
  display: flex;
  align-items: center;
  /* gap: 8px; */
  font-size: 18px;
  cursor: pointer;
  /* margin: 20px; */
  user-select: none;
}
.data-view-section table .checkbox-container .s-no {
  font-size: 18px;
}

/* Hide default checkbox */
.data-view-section table .custom-checkbox input {
  display: none;
}

/* Custom box */
.data-view-section table .custom-checkbox .checkmark {
  width: 18px;
  height: 18px;
  border: 2px solid #5a5a5a;
  border-radius: 2px;
  display: inline-block;
  position: relative;
  transition: 0.3s;
}

/* When checked */
.data-view-section table .custom-checkbox input:checked + .checkmark {
  background: var(--primary-color);
  border-color: var(--primary-color);
}

/* Tick */
.data-view-section table .custom-checkbox input:checked + .checkmark::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 6px;
  height: 12px;
  border: solid #fff;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}

/* Hover effect */
.data-view-section table .custom-checkbox .checkmark:hover {
  border-color: var(--primary-color);
}

/* Download table */
.download-page .data-wrapper table tr .download-td-size {
  max-width: 300px;
  width: 300px;
}

/*--------------------------form section---------------------------*/

.form-section-container .formtitle {
  color: rgb(75, 75, 75);
}

.form-section-container {
  background-color: white;
  padding: 15px 15px;
  border-radius: 10px;
}

.form-section-container .form-inputs {
  padding: 0px 20px;
}

.form-section-container .form-inputs .input .sym-input {
  border: 1.2px solid rgb(118, 118, 118) !important;
  border-radius: 2px;
  height: 45px;
}

.form-control {
  border: 1.2px solid rgb(118, 118, 118) !important;
  border-radius: 2px;
  height: 45px;
  font-size: 0.825rem;
  &:focus {
    box-shadow: none !important;
  }
}
.form-control::placeholder {
  font-size: 0.825rem !important;
  font-weight: normal;
  font-family: var(--font) !important;
  border-radius: 2px !important;
}
.form-section-container .form-inputs .input input:focus {
  outline: none !important;
}

.form-section-container .form-inputs .input textarea:focus {
  outline: none !important;
}

.form-section-container .form-inputs .input textarea:hover {
  border-color: none !important;
}

.form-section-container .form-inputs .input .sym-input .icon {
  width: 40px;
  height: 100%;
  color: var(--acent3);
}

.submit-btn {
  background-color: #179db5;
  color: white;
  display: inline-block;
}
.reset-btn {
  background-color: rgb(80, 80, 80);
  color: white;
}
.submit-btn:hover,
.reset-btn:hover {
  color: white;
}
.reset-btn:hover {
  color: white;
}
.gen-btn {
  background-color: #abeefa;
  color: #023a44;
}
.gen-btn:hover {
  background-color: #77e6fa;
  color: #023a44;
}
.exl-btn {
  background-color: rgb(141, 253, 141);
  color: rgb(2, 117, 2);
}
.exl-btn:hover {
  background-color: rgb(110, 255, 110);
  color: rgb(2, 117, 2);
}
.pdf-btn {
  background-color: rgb(248, 168, 168);
  color: rgb(107, 2, 2);
}
.pdf-btn:hover {
  background-color: rgb(252, 132, 132);
  color: rgb(107, 2, 2);
}
.prt-btn {
  background-color: rgb(185, 185, 185);
  color: black;
}
.prt-btn:hover {
  background-color: rgb(129, 129, 129);
  color: black;
}
.ft-btn {
  font-size: 14px;
}
.ft-btn:hover {
  outline: none !important;
  box-shadow: none !important;
}
.ft-btn:focus {
  outline: none !important;
  box-shadow: none !important;
}
.tax-add-btn {
  height: 40px;
  width: 40px;
  background-color: rgb(141, 253, 141);
  color: rgb(12, 241, 12);
}
.tax-add-btn:hover {
  background-color: rgb(141, 253, 141);
  color: rgb(12, 241, 12);
}
.add-medi-btn {
  background-color: rgb(12, 241, 12);
  color: white;
  border-radius: 75rem;
  padding: 2px 8px;
  font-size: 12px;
  &:hover {
    background-color: rgb(2, 150, 2);
    color: white;
    cursor: pointer;
  }
}

.rev-btn {
  height: 40px;
  width: 40px;
  color: red;
  /* font-size: 14px; */
  background-color: rgb(252, 214, 214);
}
.rev-btn:hover {
  color: red;
  background-color: rgb(250, 179, 179);
}
.update-btn {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  transition: all 0.3s ease-in-out;
}
.update-btn:hover {
  display: inline-block;
  background-color: #025d6d;
  color: white;
  cursor: pointer;
}
.delete-btn {
  display: inline-block;
  background-color: rgb(250, 71, 71);
  color: white;
  transition: all 0.3s ease-in-out;
}
.delete-btn:hover {
  background-color: rgb(248, 21, 21);
  color: white;
  cursor: pointer;
}

.form-section-container .form-inputs .input select {
  height: 47px;
}

.form-section-container .form-inputs .input select:focus {
  outline: none;
}

.form-section-container .form-inputs .input select option {
  /* transition: all 0.3s ease-in-out; */
  color: gray !important;
}

.form-section-container .form-inputs .input select option::selection {
  /* transition: all 0.3s ease-in-out; */
  color: gray !important;
}

.form-section-container .form-inputs .input select option:hover {
  background-color: var(--acent1) !important;
}

.form-section-container .form-inputs .input {
  /* height: 50px; */
}

.form-section-container .form-inputs .upload-img-container {
  /* border: 1px dashed black !important; */
  height: 100px;
}

.form-section-container .form-inputs .upload-img {
  border: 1px dashed rgb(107, 105, 105) !important;
  height: 100px;
}

/* addTeachersModel */

.add-model {
  width: 100vw !important;
}

.add-model .model-width {
  width: 150% !important;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 25px auto;
}

#addSaleModel .model-width {
  max-width: 95% !important;
  width: 95% !important;
}
/* .add-model .model-form {
    width: 180% !important;
    margin: auto;
} */

/* add teachers inputs */
.add-records-input .input {
  height: 45px;
  border-radius: 5px;
  overflow: hidden;
  width: 90%;
  border: 1px solid rgb(118, 118, 118) !important;
}

.add-records-input .records-btns {
  width: 10%;
}

.add-records-input .input .icon {
  width: 50px;
  color: var(--acent3);
  background-color: white;
}

.add-records-input .input input:focus {
  outline: none;
}

.add-records-input .records-btns .btn:focus {
  box-shadow: none !important;
}

.add-records-input .records-btns .btn {
  border: none !important;
}

.add-records-input .records-btns .add-record {
  background-color: var(--primary-color);
  color: white;
}

.add-records-input .records-btns .del-record {
  background-color: rgb(250, 71, 71);
  color: white;
}

/* about teachers or profile page */

.teacher-profile {
  background-color: white;
  border-radius: 10px;
  box-shadow: 1px 2px #bac5c7 !important;
  overflow: hidden;
}

.teacher-profile .card-title {
  background-color: #4caf50;
  color: white;
  text-align: center;
  padding: 25px 0px;
  height: 120px;
}

.teacher-profile .profile-img {
  height: 120px;
  width: 120px;
  border-radius: 50%;
  overflow: hidden;
  transform: translatey(-50px);
  margin: auto;
  border: 4px solid var(--acent4);
}

.teacher-profile .profile-img img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.teacher-profile .add-section i {
  color: var(--seconday-color);
}

.profile-info-wrapper {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 1px 2px #bac5c7 !important;
}

.profile-info-wrapper .profile-title {
  background-color: var(--acent3);
  padding: 10px 12px;
}

.profile-info-wrapper .profile-title h5 {
  color: white;
}

.profile-info-wrapper .profile-title h5 i {
  -webkit-text-stroke: 1px white;
  color: transparent;
}

.profile-info-wrapper .profile-info-container {
  padding: 10px 25px;
}

.profile-info-container .info-container .info-details p {
  color: rgb(100, 100, 100);
  padding-left: 30px;
}

.profile-info-container .info-container i {
  color: var(--acent3);
}

/* Course  page  */

.course-card-wrapper .card-container {
  border-radius: 10px;
  overflow: hidden;
}

.course-card-wrapper .card-container .img {
  border-radius: 10px;
  height: 150px;
}

.course-card-wrapper .card-container .img .card-depart {
  z-index: 2;
  /* background-color: var(--primary-color); */
  top: 20px;
  right: 10px;
  background-color: #083763d2;
  color: white;
  font-size: 13px;
}

.course-card-wrapper .card-container .img img {
  height: 100%;
  object-fit: cover;
  width: 100%;
  transition: all 0.3s ease-in-out;
  transform: scale(1.2);
}

.course-card-wrapper .card-container:hover img {
  transform: scale(1.3);
}

.course-card-wrapper .card-container .date-info .duration {
  font-size: 14px;
  color: #445a6b;
}

.course-card-wrapper .card-container .course-name .heading {
  color: rgb(22, 22, 22);
}

.course-card-wrapper .card-container .course-details p {
  line-height: 1;
  font-size: 16px;
  color: rgb(71, 71, 71);
}

/*------------------------Video page----------------------*/
.Video-page .data-wrapper table tr td {
  max-width: 200px;
}

/*------------------------Download page----------------------*/
.download-page .data-wrapper table tr td {
  max-width: 200px;
}

/*------------------------Download page----------------------*/
.video-file-page .data-wrapper table tr td {
  max-width: 220px;
}

/*-----------------------data-view-table------------------------------*/

.data-view-table {
  background-color: white;
  border-radius: 10px;
  box-shadow: 1px 2px #bac5c7;
  overflow: hidden;
}

.data-view-table .data-view-title {
  background-color: var(--seconday-color);
  color: white;
  padding: 8px;
}

.data-view-table table tbody tr .img {
  width: 100px;
}

.data-view-table table tbody tr .img img {
  height: 200px;
  border-radius: 10px;
}

/* ---------------------gallery page image-------------------------*/

.gallery-file-page .data-view-table table tbody tr .img {
  width: 300px;
}

.gallery-file-page .data-view-table table tbody tr .img img {
  height: 100px;
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid gray;
}

/*-----------------------Video page iframe--------------------------*/

.video-file-page .data-view-table table tbody tr .img {
  width: 300px;
}

.video-file-page .data-view-table table tbody tr .img iframe {
  height: 100px;
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid gray;
}

/*--------------------News page img---------------------*/

.news-record-page .data-view-table table tbody tr .img {
  width: 300px;
}

.news-record-page .data-view-table table tbody tr .img img {
  height: 100px;
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid gray;
}

/* Bill Page  */
.medicine-table {
  /* overflow: hidden; */
}
.medicine-table .data-title {
  border-radius: 5px 5px 0px 0px;
  background-color: #bac5c7;
  padding: 10px 8px;
}
.table-title {
  border-radius: 5px 5px 0px 0px;
  background-color: #bac5c7;
  padding: 10px 8px;
}
/* Sales Medicine  */

.customer-total-inputs {
  border: none;
  background-color: transparent;
  color: black;
  font-weight: bold;
}
.customer-total-inputs:focus {
  outline: none;
  border: none;
  background-color: transparent;
}

/* filter-section */
.filter-section {
  background-color: white;
  border-radius: 10px;
  /* overflow: hidden; */
}
.filter-section .filter-title {
  background-color: #bac5c7 !important;
  padding: 10px 8px;
  border-radius: 10px 10px 0px 0px;
}
.filter-section .filter-title .sub-title h6 {
  color: #09343e;
}

/* Data Tables Css Modification */
.dt-container > :first-child {
  /* background-color: #bac5c7; */
  padding: 5px 10px;
  margin: 0px !important  ;
  display: flex;
  justify-content: space-between;
}
.dt-container :nth-child(3) {
}
.dt-container :nth-child(3) .dt-layout-start {
  padding-left: 10px;
}
.dt-container :nth-child(3) .dt-layout-end {
  /* background-color: #bac5c7; */
  padding-right: 10px;
}
.dt-container > :first-child .dt-layout-start select {
  position: relative;
  appearance: none;
  -webkit-appearance: none;
  background-color: var(--pag-bg);
  border: 1px solid var(--pag-border);
  border-radius: 5px;
  padding: 6px 32px 6px 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--pag-text);
  cursor: pointer;
  outline: none;
  transition: all 0.2s ease;
  margin-right: 5px;
}

.dt-container > :first-child .dt-layout-start .dt-length {
  position: relative;
}
.dt-container > :first-child .dt-layout-start .dt-length::before {
  content: "";
  position: absolute;
  right: 12px;
  top: 40%;
  left: 25%;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid var(--pag-text);
  pointer-events: none;
  z-index: 10;
}

.dt-container > :first-child .dt-layout-start select:focus {
  outline: none;
}
.dt-container > :first-child .dt-layout-start label {
  font-size: 15px;
}
.dt-container > :first-child .dt-layout-end input {
  padding: 8px 20px 8px 40px; /* Space left for search icon, right for clear/shortcut buttons */
  font-size: 15px;
  color: var(--text-main);
  background-color: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: 5px;
  outline: none;
  margin-left: 5px;
  transition: all 0.2s ease-in-out;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}
.dt-container > :first-child .dt-layout-end .dt-search {
  position: relative;
}
.dt-container > :first-child .dt-layout-end .dt-search::before {
  content: ""; /* Leave content empty */
  position: absolute;
  left: 21%;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  pointer-events: none;

  /* Standard modern search icon SVG */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23888888' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.dt-container > :first-child .dt-layout-end label {
  font-size: 15px;
}
.dt-container > :first-child .dt-layout-end input:focus {
  outline: none;
}

div.dt-container div.dt-layout-row {
  margin: 0 !important;
}

/* ================================================== */
/* Data Table Last Row Modify Css  */
/* ================================================== */
.dt-empty-footer > .dt-layout-row:nth-child(3) {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 5px;
  padding-top: 5px;
}

/* Container styling */
.dt-paging nav {
  display: inline-flex;
  gap: 6px;
  background-color: #f8fafc;
  padding: 6px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

/* Base button styling */
.dt-paging-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #475569;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* Hover effect for active/clickable buttons */
.dt-paging-button:not(.disabled):not(.current):hover {
  color: #1e40af;
  background-color: #eff6ff;
  border-color: #bfdbfe;
  transform: translateY(-1px);
}

/* Active / Current Page State */
.dt-paging-button.current {
  color: #ffffff;
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  font-weight: 600;
  box-shadow:
    0 4px 6px -1px rgba(59, 130, 246, 0.2),
    0 2px 4px -1px rgba(59, 130, 246, 0.1);
}

/* Disabled State (First, Previous, Next, Last links when unavailable) */
.dt-paging-button.disabled {
  color: #cbd5e1;
  background-color: #f1f5f9;
  border-color: #e2e8f0;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

/* Optional: Make the arrows look slightly larger and centered */
.dt-paging-button.first,
.dt-paging-button.previous,
.dt-paging-button.next,
.dt-paging-button.last {
  font-size: 1.1rem;
  line-height: 1;
}

/* ==================================================== */
/* Login Page Design */
/* ==================================================== */
.login-page {
  height: 100dvh;
  width: 100vw;
  background-color: #eff7f8;
}
.login-container {
  background-color: white;
  border-radius: 15px;
  height: 90%;
}
.auth-img-container {
  height: 100%;
  background-color: var(--seconday-color);
}
.auth-img-container {
}
.auth-img-container .auth-img {
  height: 450px;
  background-color: #d8d9da2d;
  border-radius: 12px;
}
.auth-img-container .auth-img img {
  height: 100%;
}
.medi-icon {
  top: 300px;
  right: -50px;
  height: 100px;
  width: 100px;
}
.login-form-container .logo {
  height: 100px;
  width: 100px;
}
.login-form-container .logo img {
  height: 100%;
  width: 100%;
}
.login-header h2 span {
  color: var(--primary-color);
  font-weight: 600;
}
.login-header p {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px;
}
.login-form .input input {
  background-color: #e2e2e2;
  border: 0px;
  height: 48px;
  border-radius: 8px;
  &:hover {
    border: none;
    box-shadow: none;
    outline: none;
  }
}
.login-form .input input:focus {
  outline: none;
}
.login-form .input input::placeholder {
  font-size: 15px;
}
.login-form .log-submit-btn button {
  background: linear-gradient(
    45deg,
    var(--primary-color),
    var(--seconday-color)
  );
  color: white;
  border: none;
  border-radius: 5px;
  &:hover {
    box-shadow: none;
    border: none;
  }
  &:focus {
    box-shadow: none;
  }
}

/* General Setting INformation  */
.geninfo-logo {
  border: 1px solid var(--acent1);
  border-radius: 5px;
  padding: 5px;
}

.receipt-btn {
  background-color: #179db5;
  color: white;
  border-radius: 75rem;
  font-size: 12px;
  padding: 2px 8px;
  &:hover {
    background-color: #179db5;
    color: white;
  }
}

.warn-btn {
  background-color: #f39c12;
  color: white;
  border-radius: 75rem;
  font-size: 12px;
  padding: 2px 8px;
  &:hover {
    background-color: #f39c12;
    color: white;
  }
}
.publish-btn {
  background-color: #00a65a;
  color: white;
  border-radius: 75rem;
  font-size: 12px;
  padding: 2px 8px;
  &:hover {
    background-color: #00a65a;
    color: white;
  }
}
.brk-btn {
  background-color: #dd4b39;
  color: white;
  border-radius: 75rem;
  padding: 2px 8px;
  font-size: 12px;
  &:hover {
    background-color: #dd4b39;
    color: white;
  }
}
.salse-btn {
  background-color: rgb(12, 241, 12);
  color: white;
  border-radius: 75rem;
  padding: 2px 8px;
  font-size: 12px;
  &:hover {
    background-color: rgb(12, 241, 12);
    color: white;
  }
}

.info-btn {
  background-color: #083763;
  color: white;
  border-radius: 75rem;
  padding: 2px 8px;
  font-size: 12px;
  &:hover {
    background-color: #062c50;
    color: white;
    cursor: pointer;
  }
}
/* View Model Design */

/* Container styling */
.tax-view-table {
  margin: 20px 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  overflow: hidden;
  background-color: #ffffff;
}

/* Base table styling */
.tax-view-table .table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
  color: #333333;
}

/* Header styling using the dark blue (#0D3964) */
.tax-view-table .table thead tr {
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Header cells */
.tax-view-table .table th {
  padding: 14px 16px;
  text-transform: capitalize;
}

/* Body cells (populated via AJAX) */
.tax-view-table .table tbody td {
  padding: 12px 16px;
  transition: background-color 0.2s ease;
}

/* Zebra striping for readability using a very soft variant of #247C9C */
.tax-view-table .table tbody tr:nth-of-type(even) {
  background-color: rgba(36, 124, 156, 0.05);
}

/* Hover effect to make tracking rows easier */
.tax-view-table .table tbody tr:hover {
  background-color: rgba(
    23,
    156,
    180,
    0.12
  ); /* Dynamic highlight using #179CB4 */
  cursor: pointer;
}

/* Clean up borders if you have the "border" class on the table */
.tax-view-table .table.border {
  border: 1px solid #bbbcbc;
}

/* Adjustments for the empty/first table so it doesn't break layout if empty */
#viewsupplieretails:empty {
  display: none;
}

.invoice-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 30px;
  border-radius: 10px 10px 0 0;
}

.invoice-title {
  font-size: 32px;
  font-weight: bold;
  margin: 0;
}

.company-details {
  text-align: right;
}

.bill-to {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  margin: 20px 0;
}

.filter-title {
  background-color: var(--seconday-color) !important;
  padding: 10px 8px;
  color: white;
}

/* Modal Body general adjustments */
.modal-body {
  background-color: #f8f9fa; /* Light background to make info cards pop */
}

/* Container spacing tweak */
#supplierDetails.px-5 {
  padding-left: 1.5rem !important;
  padding-right: 1.5rem !important;
}

/* Spinner custom color matching your palette */
#supplierLoader .spinner-border.text-primary {
  color: #179cb4 !important;
}
#supplierLoader p {
  color: #247c9c;
  font-weight: 500;
}

/* Info Card styling transformation */
.info-card {
  background: #ffffff;
  border: 1px solid rgba(187, 187, 188, 0.4); /* Subtle version of #BBBCBC */
  border-left: 4px solid #247c9c; /* Distinct structural accent strip */
  border-radius: 6px;
  padding: 12px 16px;
  box-shadow: 0 2px 6px rgba(13, 57, 100, 0.03); /* Tiny depth shadow using #0D3964 */
  transition: all 0.2s ease-in-out;
}

/* Subtle interactive lift on cards */
.info-card:hover {
  border-left-color: #179cb4; /* Palette shift on hover */
  box-shadow: 0 4px 12px rgba(13, 57, 100, 0.06);
  transform: translateY(-1px);
}

/* Label adjustments (text-muted overrides) */
.info-card .text-muted {
  color: #247c9c !important; /* Converts dull gray text into an intentional secondary theme color */
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
  display: block;
}

/* Value paragraphs (the text populated by your AJAX) */
.info-card p {
  margin-bottom: 0 !important;
  color: #0d3964; /* Deep dark blue for high contrast readability */
}

/* Main primary emphasis for Supplier Name & Type */
.info-card p.fs-5 {
  color: #0d3964 !important;
  font-weight: 700 !important;
}

/* Clean fallback border rule if needed */
.info-card p:empty::before {
  content: "-";
  color: #bbbcbc;
}

/* Purhcase View Modle  */
/* Container styling for the summary block */
.purchase-view-table {
  margin: 15px 0;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(13, 57, 100, 0.04); /* Soft shadow using #0D3964 */
  overflow: hidden;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

/* Base table adjustments */
.purchase-view-table .table {
  width: 100%;
  margin-bottom: 0;
  border-collapse: collapse;
  font-size: 14px;
}

/* Complete overhaul of table-bordered lines using your gray (#BBBCBC) */
.purchase-view-table .table-bordered,
.purchase-view-table .table-bordered th,
.purchase-view-table .table-bordered td {
  border: 1px solid rgba(187, 187, 188, 0.5) !important; /* Muted #BBBCBC */
}

/* Key headers (e.g., Supplier Name:, Invoice Number:) */
.purchase-view-table th {
  background-color: rgba(
    13,
    57,
    100,
    0.03
  ) !important; /* Micro-tint of #0D3964 */
  color: #247c9c !important; /* Corporate slate blue for labels */
  font-weight: 600 !important;
  text-align: left;
  padding: 12px 16px !important;
  vertical-align: middle;
  letter-spacing: 0.3px;
}

/* Values loaded dynamically via AJAX */
.purchase-view-table td {
  color: #0d3964 !important; /* Dark blue for crisp readability of user data */
  font-weight: 500;
  padding: 12px 16px !important;
  vertical-align: middle;
  background-color: #ffffff;
}

/* Subtle accent focus on total values or long text blocks at the bottom */
.purchase-view-table tr:nth-last-of-type(-n + 2) th {
  border-left: 3px solid #179cb4 !important; /* Teal indicator strip for Totals & Notes */
}

/* Give explicit emphasis to total amounts or badges if injected */
#view_total_amount,
#tot_stock {
  font-weight: 700 !important;
  color: #0d3964 !important;
}

/* Clean fallback if AJAX takes a moment or fields are empty */
.purchase-view-table td:empty::before {
  content: "-";
  color: #bbbcbc;
}

/* ===================================== */
/* TAX PAGE */
/* ===================================== */
/* Base structural rules for both tax tables */
.tax-details,
#tax-components-table {
  width: 100%;
  margin-bottom: 24px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 14px;
  background-color: #ffffff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(13, 57, 100, 0.04);
}

/* ==========================================================================
   1. MASTER TAX SUMMARY TABLE (.tax-details)
   ========================================================================== */

/* Header using primary deep dark blue (#0D3964) */
.tax-details thead tr.data-title {
  background-color: #0d3964 !important;
}

.tax-details thead th {
  color: #ffffff !important;
  font-weight: 600;
  padding: 14px 16px;
  border-bottom: 3px solid #179cb4; /* Teal accent bar */
}

/* Dynamically injected rows via AJAX (#viewTaxdetails) */
.tax-details tbody td {
  padding: 12px 16px;
  color: #0d3964;
  font-weight: 600; /* Bold numbers for primary financial data */
  border-bottom: 1px solid rgba(187, 187, 188, 0.4); /* Soft #BBBCBC border */
}

/* Striping with micro tint of #247C9C */
.tax-details.table-striped tbody tr:nth-of-type(odd) {
  background-color: rgba(36, 124, 156, 0.04);
}

/* Hover tracking state */
.tax-details.table-hover tbody tr:hover {
  background-color: rgba(23, 156, 180, 0.08) !important;
}

/* ==========================================================================
   2. DETAILED COMPONENTS TABLE (#tax-components-table)
   ========================================================================== */

/* Header using corporate secondary color (#247C9C) to show hierarchy */
#tax-components-table thead tr {
  background-color: #247c9c !important;
}

#tax-components-table thead th {
  color: #ffffff !important;
  font-weight: 500;
  padding: 10px 14px;
  font-size: 13px;
  letter-spacing: 0.3px;
  border-bottom: 2px solid #bbbcbc;
}

/* Alignment rules for data logic */
#tax-components-table th:first-child,
#tax-components-table td:first-child {
  text-align: center;
  width: 70px;
}

/* Component breakdowns cells (#viewTexComponents) */
#tax-components-table tbody td {
  padding: 10px 14px;
  color: #444444; /* Slightly softer for secondary details */
  font-weight: 400;
  border-bottom: 1px dotted rgba(187, 187, 188, 0.6); /* Dotted dividing line */
}

/* Hover tracking state using subtle theme tint */
#tax-components-table.table-hover tbody tr:hover {
  background-color: rgba(36, 124, 156, 0.06) !important;
}

/* ==========================================================================
   GLOBAL UTILITIES (Fallback states)
   ========================================================================== */
.tax-details tbody td:empty::before,
#tax-components-table tbody td:empty::before {
  content: "-";
  color: #bbbcbc;
}

/* ==========================================================================
   RACK PAGE
   ========================================================================== */
/* Base structural rules for both rack view tables */
.rack-details,
.rack-shelf-details {
  width: 100%;
  margin-bottom: 24px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 14px;
  background-color: #ffffff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(13, 57, 100, 0.04);
}

/* ==========================================================================
   1. MASTER RACK SUMMARY TABLE (.rack-details)
   ========================================================================= */

/* Header using primary deep dark blue (#0D3964) */
.rack-details thead tr.data-title {
  background-color: #0d3964 !important;
}

.rack-details thead th {
  color: #ffffff !important;
  font-weight: 600;
  padding: 14px 16px;
  border-bottom: 3px solid #179cb4; /* Teal accent bar */
}

/* Dynamically injected rows via AJAX (#viewRackDetails) */
.rack-details tbody td {
  padding: 12px 16px;
  color: #0d3964;
  font-weight: 600; /* Distinct weight for primary inventory hubs */
  border-bottom: 1px solid rgba(187, 187, 188, 0.4); /* Soft #BBBCBC border */
}

/* Striping with micro-tint of your corporate blue */
.rack-details.table-striped tbody tr:nth-of-type(odd) {
  background-color: rgba(36, 124, 156, 0.04);
}

/* Smooth hover tracking */
.rack-details.table-hover tbody tr:hover {
  background-color: rgba(23, 156, 180, 0.08) !important;
}

/* ==========================================================================
   2. DETAILED RACK SHELF/LEVEL TABLE (.rack-shelf-details)
   ========================================================================= */

/* Header using corporate secondary color (#247C9C) to denote nested data */
.rack-shelf-details thead tr {
  background-color: #247c9c !important;
}

.rack-shelf-details thead th {
  color: #ffffff !important;
  font-weight: 500;
  padding: 10px 14px;
  font-size: 13px;
  letter-spacing: 0.3px;
  border-bottom: 2px solid #bbbcbc;
}

/* Data structural alignments */
.rack-shelf-details th:first-child,
.rack-shelf-details td:first-child {
  text-align: center;
  width: 70px;
}

/* Shelf/Level breakdown rows (#viewLevelDetails) */
.rack-shelf-details tbody td {
  padding: 10px 14px;
  color: #444444; /* Balanced secondary gray contrast */
  font-weight: 400;
  border-bottom: 1px dotted rgba(187, 187, 188, 0.6); /* Clean dotted divider */
}

/* Hover tracking state using a light theme tint */
.rack-shelf-details.table-hover tbody tr:hover {
  background-color: rgba(36, 124, 156, 0.06) !important;
}

/* ==========================================================================
   CLEAN FALLBACKS
   ========================================================================= */
.rack-details tbody td:empty::before,
.rack-shelf-details tbody td:empty::before {
  content: "-";
  color: #bbbcbc;
}

/* Search Box  */
:root {
  --primary-color: #57a4ac; /* Modern Indigo */
  --text-main: #1f2937;
  --text-muted: #9ca3af;
  --bg-input: #ffffff;
  --border-color: #57a4ac;
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
  font-family:
    system-ui,
    -apple-system,
    sans-serif;
}

.search-box input {
  padding: 8px 44px 8px 44px; /* Space left for search icon, right for clear/shortcut buttons */
  font-size: 15px;
  color: var(--text-main);
  background-color: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: 5px;
  outline: none;
  transition: all 0.2s ease-in-out;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

/* Modern focus ring effect */
.search-box input:focus {
  background-color: #ffffff;
  border-color: var(--primary-color);
}

/* Left magnifying glass icon */
.search-icon {
  position: absolute;
  left: 14px;
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  pointer-events: none;
  transition: color 0.2s;
}

.search-box input:focus ~ .search-icon {
  color: var(--primary-color);
}

/* Hide shortcut when user is typing or when input is focused */
.search-box input:focus ~ .search-shortcut,
.search-box input:not(:placeholder-shown) ~ .search-shortcut {
  display: none;
}

.export-btn {
  border: 1px solid var(--seconday-color);
  background-color: var(--seconday-color);
  text-align: center;
  border-radius: 4px;
  color: white;
  padding: 8px 10px;
  font-size: 15px;
  font-family:
    system-ui,
    -apple-system,
    sans-serif;
}

.excelexp-btn {
  background-color: rgb(29, 145, 29);
  transition: all 0.3s ease-in-out;
  &:hover {
    cursor: pointer;
    background-color: rgb(17, 85, 17);
    color: white;
  }
}
.pdfexp-btn {
  background-color: rgb(160, 1, 1);
  &:hover {
    cursor: pointer;
    background-color: rgb(97, 1, 1);
    color: white;
  }
}
.prtexp-btn {
  transition: all 0.3s ease-in-out;
  &:hover {
    background-color: #02282e;
    cursor: pointer;
    color: white;
  }
}

.filter-btn {
  background-color: #179db5;
  transition: all 0.3s ease-in-out;
  &:hover {
    background-color: #0e6d7e;
    cursor: pointer;
    color: white;
  }
}

/* Pagination Format design  */
:root {
  --pag-bg: #ffffff;
  --pag-border: #57a4ac;
  --pag-text: #4a5568;
  --pag-text-muted: #a0aec0;
  --pag-primary: #57a4ac; /* Modern Indigo */
  --pag-primary-light: #e0e7ff;
  --pag-hover: #f7fafc;
  --pag-radius: 8px;
}

/* Container Layout */
.modern-pagination-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  background-color: var(--pag-bg);
  font-family:
    system-ui,
    -apple-system,
    sans-serif;
}

/* Left Grouping: Info & Select */
.pagination-info-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pagination-label,
.pagination-text {
  font-size: 14px;
  color: var(--pag-text);
}

/* Modern Styled Select Dropdown */
.select-wrapper {
  position: relative;
}

.pagination-limit {
  appearance: none;
  -webkit-appearance: none;
  background-color: var(--pag-bg);
  border: 1px solid var(--pag-border);
  border-radius: 5px;
  padding: 6px 32px 6px 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--pag-text);
  cursor: pointer;
  outline: none;
  transition: all 0.2s ease;
}

.pagination-limit:focus {
  border-color: var(--pag-primary);
  box-shadow: 0 0 0 3px var(--pag-primary-light);
}

/* Custom dropdown arrow icon */
.select-wrapper::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid var(--pag-text);
  pointer-events: none;
}

/* Responsive adjustment for small screens */
@media (max-width: 640px) {
  .modern-pagination-container {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }
  .pagination-info-group {
    flex-direction: column;
    gap: 8px;
  }
}

/* ================================================== */
/* Validation Class  */
/* ================================================== */

.has-success .help-block,
.has-success .control-label,
.has-success .radio,
.has-success .checkbox,
.has-success .radio-inline,
.has-success .checkbox-inline,
.has-success.radio label,
.has-success.checkbox label,
.has-success.radio-inline label,
.has-success.checkbox-inline label {
  color: #3c763d;
}
.has-success .form-control {
  border-color: #3c763d;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}
.has-success .form-control:focus {
  border-color: #2b542c;
  -webkit-box-shadow:
    inset 0 1px 1px rgba(0, 0, 0, 0.075),
    0 0 6px #67b168;
  box-shadow:
    inset 0 1px 1px rgba(0, 0, 0, 0.075),
    0 0 6px #67b168;
}
.has-success .input-group-addon {
  color: #3c763d;
  background-color: #dff0d8;
  border-color: #3c763d;
}
.has-success .form-control-feedback {
  color: #3c763d;
}
.has-warning .help-block,
.has-warning .control-label,
.has-warning .radio,
.has-warning .checkbox,
.has-warning .radio-inline,
.has-warning .checkbox-inline,
.has-warning.radio label,
.has-warning.checkbox label,
.has-warning.radio-inline label,
.has-warning.checkbox-inline label {
  color: #8a6d3b;
}
.has-warning .form-control {
  border-color: #8a6d3b;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}
.has-warning .form-control:focus {
  border-color: #66512c;
  -webkit-box-shadow:
    inset 0 1px 1px rgba(0, 0, 0, 0.075),
    0 0 6px #c0a16b;
  box-shadow:
    inset 0 1px 1px rgba(0, 0, 0, 0.075),
    0 0 6px #c0a16b;
}
.has-warning .input-group-addon {
  color: #8a6d3b;
  background-color: #fcf8e3;
  border-color: #8a6d3b;
}
.has-warning .form-control-feedback {
  color: #8a6d3b;
}
.has-error .help-block,
.has-error .control-label,
.has-error .radio,
.has-error .checkbox,
.has-error .radio-inline,
.has-error .checkbox-inline,
.has-error.radio label,
.has-error.checkbox label,
.has-error.radio-inline label,
.has-error.checkbox-inline label {
  color: #a94442;
}
.has-error .form-control {
  border-color: #a94442;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}
.has-error .form-control:focus {
  border-color: #843534;
  -webkit-box-shadow:
    inset 0 1px 1px rgba(0, 0, 0, 0.075),
    0 0 6px #ce8483;
  box-shadow:
    inset 0 1px 1px rgba(0, 0, 0, 0.075),
    0 0 6px #ce8483;
}
.has-error .input-group-addon {
  color: #a94442;
  background-color: #f2dede;
  border-color: #a94442;
}
.has-error .form-control-feedback {
  color: #a94442;
}

/* Css For Salse Report Model  */

.fetch-records p {
  color: #083763 !important;
}

.search-btn {
  background-color: #179db5;
  color: white;
  border-radius: 3px;
  transition: all 0.3s ease-in-out;
  &:hover {
    cursor: pointer;
    background-color: #137b8d;
    color: white;
  }
}

/* Purchaes Page  */
/* Container Box */
.purchase-view-container {
  background: #ffffff;
  border: 1px solid #eef2f5;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  padding: 24px;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;
}

/* Header styling */
.purchase-view-header h4 {
  font-size: 18px;
  color: #1e293b;
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
}

/* 2-Column Grid for large displays, falls back to 1-column on mobile */
.purchase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* Individual Data Blocks */
.purchase-group {
  display: flex;
  flex-direction: column;
  padding: 8px 0;
}

/* Force specific elements to span across both columns */
.purchase-group.full-width {
  grid-column: span 2;
  border-top: 1px dashed #e2e8f0;
  padding-top: 16px;
  margin-top: 8px;
}

/* Labels (Small, Muted text) */
.purchase-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #64748b;
  font-weight: 600;
  margin-bottom: 4px;
}

/* Values (Darker, clean text) */
.purchase-value {
  font-size: 14px;
  color: #0f172a;
  font-weight: 500;
}

/* Financial amount highlight styling */
.amount-highlight {
  font-weight: 600;
  color: #0284c7; /* Vibrant corporate blue */
}

/* Cleaner look for Notes text */
.notes-text {
  color: #475569;
  font-style: italic;
  background-color: #f8fafc;
  padding: 12px;
  border-radius: 6px;
  display: block;
  margin-top: 4px;
}

/* Responsive fix for smaller CRM viewports */
@media (max-width: 768px) {
  .purchase-grid {
    grid-template-columns: 1fr;
  }
  .purchase-group.full-width {
    grid-column: span 1;
  }
}

/* For Page Loader Bar  */
.pace .pace-progress {
  background: #319795 !important;
  height: 2px;
}

/* Change the color of the glowing trail/shadow effect at the front edge of the bar */
.pace .pace-progress-inner {
  box-shadow:
    0 0 10px #319795,
    0 0 5px #319795 !important;
}

/* Change the color of the little circular loading spinner (if your theme includes it) */
.pace .pace-activity {
  border-top-color: #319795 !important;
  border-left-color: #319795 !important;
}

/* --- Toastr Custom Dashboard Theme --- */

/* Main Container Customization */
#toast-container > div {
  background-image: none !important; /* Removes Toastr's default low-res icons */
  opacity: 1 !important;
  box-shadow: 0 4px 12px rgba(8, 55, 99, 0.15) !important; /* Smooth shadow using --seconday-color */
  border-radius: 6px !important;
  color: #ffffff !important;
  padding: 15px 15px 15px 20px !important;
  font-family: inherit;
}

/* 1. SUCCESS Notifications (Uses Primary Color & Light Accent) */
#toast-container > .toast-success {
  background-color: var(--primary-color, #179db5) !important;
  border-left: 6px solid var(--seconday-color, #083763) !important;
  padding-left: 15px;
}

/* 2. ERROR Notifications (Uses Deep Secondary & Accent3) */
#toast-container > .toast-error {
  background-color: var(--seconday-color, #083763) !important;
  border-left: 6px solid #e74c3c !important; /* Kept standard red alert border, or change to var(--acent3) */
}

/* 3. INFO & WARNING Notifications (Uses Accent colors) */
#toast-container > .toast-info {
  background-color: var(--acent3, #618099) !important;
  border-left: 6px solid var(--acent1, #88b9c5) !important;
}

#toast-container > .toast-warning {
  background-color: var(--acent1, #88b9c5) !important;
  border-left: 6px solid var(--seconday-color, #083763) !important;
  color: var(
    --seconday-color,
    #083763
  ) !important; /* Darker text for readability on light light-blue */
}

/* Title & Message text adjustments */
#toast-container .toast-title {
  font-weight: 700 !important;
  font-size: 14px !important;
  margin-bottom: 4px;
}

#toast-container .toast-message {
  font-size: 13px !important;
  opacity: 0.95 !important;
}

/* Close Button color adjustments */
#toast-container .toast-close-button {
  color: var(--acent4, #bac5c7) !important;
  text-shadow: none !important;
  opacity: 0.6;
}

#toast-container .toast-close-button:hover {
  color: #ffffff !important;
  opacity: 1;
}
