
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');

:root {
  --primary-color: #00816a;
  --primary-light-color: #f1fffd;
  --primary-more-light-color: #edf4fe;
  --secondary-color: #fcf5eb;
  --body-color: #231618;
  --header-width: 280px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  color: var(--body-color);
  font: 400 14px "Roboto", sans-serif;
  overflow-x: hidden;
  background-color: var(--secondary-color);
}

::selection {
  background: #1e1e1e;
  color: #fff;
}

.object-cover{
  object-fit: cover;
}

ul {
  margin-bottom: 0;
}

p {
  line-height: 1.5;
}

p a{
  color: var(--secondary-color);
  text-decoration: 1px underline;
}
p a:hover{
  color: var(--body-color);
  text-decoration: 1px underline;
}

.padding {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

ul {
  padding-left: 0;
  margin-bottom: 0;
}

a,
a:hover {
  text-decoration: none;
}

img, video, iframe, svg {
  width: 100%;
  display: block;
}

.padding {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

/* Login Page */
.login-page{
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  min-height: 100vh;
  width: 100%;
  background-color: var(--secondary-color);
  /* background-image: radial-gradient(circle at 30% 86%, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.03) 8%,transparent 8%, transparent 92%),radial-gradient(circle at 55% 100%, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.03) 8%,transparent 8%, transparent 92%),radial-gradient(circle at 40% 75%, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.03) 6%,transparent 6%, transparent 94%),radial-gradient(circle at 7% 99%, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.03) 6%,transparent 6%, transparent 94%),radial-gradient(circle at 69% 76%, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.03) 6%,transparent 6%, transparent 94%),radial-gradient(circle at 2% 35%, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.03) 6%,transparent 6%, transparent 94%),radial-gradient(circle at 14% 48%, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.03) 6%,transparent 6%, transparent 94%),radial-gradient(circle at 28% 87%, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.04) 4%,transparent 4%, transparent 96%),radial-gradient(circle at 65% 14%, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.04) 4%,transparent 4%, transparent 96%),radial-gradient(circle at 51% 36%, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.04) 4%,transparent 4%, transparent 96%),radial-gradient(circle at 6% 93%, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.04) 4%,transparent 4%, transparent 96%),linear-gradient(135deg, rgb(23, 233, 173),rgb(29, 24, 208)); */
}

.form-signin {
  width: 94%;
  max-width: 520px;
  margin: auto;
  background-color: #fff;
  border: 1px solid rgb(0 0 0 / 20%);
  border-radius: 10px;
}
.form-signin h1 {
  border-bottom: 1px solid rgb(0 0 0 / 20%);
  margin-top: 0px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  /* color: #fff; */
  padding: 1rem;
  text-align: center;
  text-transform: uppercase;
}
.form-signin form {
  padding: 1rem 1.5rem;
}

.form-signin .userType{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.form-signin .userType .custom-radio{
  position: relative;
  flex: 1;
}

.form-signin .userType .custom-radio input{
  position: absolute;
  opacity: 0;
}

.form-signin .userType .custom-radio label{
  padding: 1rem 1rem;
  border: 1px solid var(--bs-border-color);
  border-radius: var(--bs-border-radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 12px;
  cursor: pointer;
  transition: all 300ms ease-in-out;
}

.form-signin .userType .custom-radio input:checked + label{
  background-color:var(--secondary-color);
  color: var(--body-color);
  /* box-shadow: 0 10px 2rem rgba(0, 0, 0, 0.3); */
}

.form-signin .userType .custom-radio label::before,
.form-signin .userType .custom-radio label::after{
  content: '';
  border-radius: 50%;
  transition: all 300ms ease-in-out;
}

.form-signin .userType .custom-radio label::before{
  border: 1px solid var(--body-color);
  width: 14px;
  height: 14px;
}

.form-signin .userType .custom-radio label::after{
  position: absolute;
  left: 50%;
  top: calc(1rem + 4px);
  width: 8px;
  height: 8px;
  background-color: var(--primary-color);
  transform: translateX(-50%);
  opacity: 0;
}

.form-signin .userType .custom-radio input:checked + label::before{
  border-color: var(--primary-color);
}

.form-signin .userType .custom-radio input:checked + label::after{
  opacity: 1;
}

.form-signin .form-floating{
  margin-bottom: 1rem;
  z-index: 1;
}

.form-floating>.form-control, .form-floating>.form-control-plaintext, .form-floating>.form-select, .multiSelectContainer .searchWrapper{
  height: calc(4rem + calc(var(--bs-border-width) * 2));
  font-size: 1.125rem;
}

.form-signin form .form-control:focus {
  border-color: #ced4da;
  box-shadow: 5px 5px 30px rgba(0, 0, 0, 0.2);
}
.form-signin .form-control {
  background: rgba(255, 255, 255, 0.9);
}
.form-signin .form-floating:focus-within {
  z-index: 2;
}

.form-floating>.form-control-plaintext~label, .form-floating>.form-control:focus~label, .form-floating>.form-control:not(:placeholder-shown)~label, .form-floating>.form-select~label{
  color: #fff;
}

.form-floating>.form-control-plaintext~label::after, .form-floating>.form-control:focus~label::after, .form-floating>.form-control:not(:placeholder-shown)~label::after, .form-floating>.form-select~label::after{
  background-color: var(--primary-color);
  inset: 0.9rem 0.375rem;
}

.showPassword {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: all .2s ease;
  color: #969696;
  right: 15px;
  left: auto;
  cursor: pointer;
}

.form-signin form .btn {
  background-color: var(--primary-color);
  color: #fff;
}
.form-signin form .btn:hover, .form-signin form .btn:focus {
  background-color: var(--body-color);
  box-shadow: none;
}

.form-signin .copyright {
  text-align: center;
  color: rgba(0, 0, 0, 0.65);
}

.form-group label{
  font-weight: 500;
  font-size: .875em;
  margin-bottom: 5px;
}
/* Login Page */

/* customize multi select */
.multiSelectContainer {
  padding: 0;
  border: 0;
}
.multiSelectContainer .searchWrapper{
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  border-color: var(--bs-border-color);
}
.multiSelectContainer input{
  width: 100%;
}
/* customize multi select */

/* All pages */
/* Header */
.header{
  width: var(--header-width);
  background-image: linear-gradient(45deg, var(--primary-color), var(--primary-color));
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  color: #fff;
  display: grid;
  grid-template-rows: auto 1fr auto;
  transition: all 0.3s ease;
  z-index: 9;
}
.logo{
  position: relative;
  z-index: 1;
  padding: 1rem;
  text-transform: uppercase;
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  background-color: #57a18f;
}

.navi{
  padding: 2rem;
}

.header.collapsed .navi{
  padding: 10px;
  text-align: center;
}

.navi li:not(:last-of-type){
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.navi a{
  color: rgba(255, 255, 255, 0.75);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
}  

.header.collapsed .navi a{
  justify-content: center;
}

.navi a i{
  width: 20px;
  color: var(--secondary-color);
}
.navi a:hover span{
  color: #fff;
}


.header-bottom{
  padding: 1rem 2rem;
  background-color: rgba(255, 255, 255, 0.05);
  border-top: 1px solid rgba(255, 255, 255, 0.5);
}

.header-bottom ul{
  display: flex;
  flex-direction: column;
}


.header.collapsed {
  width: 52px;
  transition: all 0.3s ease;
}

.header.collapsed .navi a span {
  display: none;
}

.header.collapsed .logo {
  text-align: center;
  font-size: 1.5rem; 
  display: block;
}

.sidebar_toggle {
  border: none;
  width: 20px;
  height: 40px;
  background-color: var(--primary-color);
  color: #fff;
  position: absolute;
  top: 5rem;
  left: var(--header-width);
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  border-radius: 0 5px 5px 0;
}

.header.collapsed + .sidebar_toggle {
  top: 3rem;
  left: 52px;
}

.sidebar_toggle::before,
.sidebar_toggle::after{
  content: '';
  position: absolute;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: transparent;
}

.sidebar_toggle::before{
  top: -10px;
  box-shadow: -5px 5px 0 var(--primary-color);
}

.sidebar_toggle::after{
  bottom: -10px;
  box-shadow: -5px -5px 0 var(--primary-color);
}
/* Header */

.wrapper {
  width: calc(100% - var(--header-width));
  margin-left: auto;
  margin-right: 0;
  min-height: 100vh;
  padding: 2rem;
  transition: all 300ms ease;
}

/* .header.collapsed + .sidebar_toggle + .wrapper{
  width: calc(100% - 52px);
} */

.project-card .inner{
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem;
  gap: 1rem;
  border-radius: 8px;
  background-color: #fff;
  box-shadow: 0 0 0 1px #e5ddd0;
  color: inherit;
  transition: all 300ms ease-in-out;
}

.project-card .inner:hover{
  color: var(--primary-color);
  box-shadow: 0 5px 24px rgba(0, 0, 0, 0.12);
}

.project-card .card-text{
  max-width: calc(100% - 3rem);
}

.icon-circular{
  flex: 0 0 2rem;
  max-width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: var(--primary-light-color);
  transition: all 300ms ease-in-out;
}
.project-card .inner:hover .icon-circular{
  transform: translateX(5px);
  background-color: var(--secondary-color);
}

.project-card .badge{
  right: 10px;
  top: 10px;
  line-height: 0.7;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 50%;
}

.card-foot{
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
  gap: 5px;
}
/* All pages */

/* custom scroller */
.scroller{
  padding-right: 15px;
}

.scroller::-webkit-scrollbar {
  width:5px;
}

/* Track */
.scroller::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px #CFCFCF; 
  border-radius: 10px;
}
 
/* Handle */
.scroller::-webkit-scrollbar-thumb {
  background:#000; 
  border-radius: 10px;
}

/* Handle on hover */
.scroller::-webkit-scrollbar-thumb:hover {
  background: var(--primary-color); 
}
/* custom scroller */

.readmore {
  width: auto;
  margin-top: 1.5rem;
}

.readmore .button {
  width: max-content;
  display: table;
  padding: 10px 1rem;
  color: var(--body-color);
  font-size: 13px;
  text-align: center;
  border: 0;
  box-shadow: 0 0 0 1px var(--third-color);
  background-color: none;
  text-transform: uppercase;
  transition: all ease-in-out 0.3s;
}

.readmore .button:hover {
  color: #fff;
  background: var(--secondary-color);
}

.heading {
  position: relative;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px dashed rgb(0 0 0 / 25%);
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.heading .h3{
  font-weight: 700;
  margin-bottom: 0;
}

/* Footer */
.footer{
  background-color: var(--primary-color);
  color: #fff;
  border-top: 10px solid #fff;
  position: relative;
  z-index: 1;
}

.ecis {
  width: 100%;
  float: right;
  position: relative;
}

.ecis img {
  width: 25px;
  height: 25px;
  display: inline-block;
  vertical-align: middle;
}

.ecis p {
  margin-bottom: 0;
}

.button-top {
  background: rgba(0, 0, 0, 0.3);
  position: absolute;
  cursor: pointer;
  right: 20px;
  bottom: 100px;
  width: 50px;
  height: 50px;
  text-align: center;
  padding: 13px;
  color: #ffffff;
  font-size: 20px;
  border: 1px solid #fff;
  z-index: 9999;
  transition: padding 300ms;
}

.button-top i {
  margin-right: 0;
}

.button-top:hover {
  background: rgba(0, 0, 0, 0.6);
  padding: 10px 13px;
}



/* PDF Model */

.pdf-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.pdf-modal-content {
  position: relative;
  width: 100%;
  max-width: 1225px;
  height: 95%;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
}

.pdf-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: #f5f5f5;
  border-bottom: 1px solid #ddd;
}

.close-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

.pdf-modal-body {
  flex: 1;
  overflow: auto;
  padding: 1rem;
  /* display: flex; */
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #f5f5f5;
}

.pdf-navigation {
  margin-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 300px;
}

.pdf-navigation button {
  padding: 0.5rem 1rem;
}

.pdf-navigation span {
  font-size: 1rem;
}



/* PDF Model */


.table-responsive{
  padding: 20px;
}

.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000; 
}

.loading-message {
  color: white;
  font-size: 1.5rem;
  background: rgba(0, 0, 0, 0.7);
  padding: 20px;
  border-radius: 8px;
  text-align: center;
}


.add-more {
  border: 2px dotted var(--primary-color); 
  padding: 5px 10px;
  display: inline-block;
  text-align: center;
  border-radius: 5px; 
  transition: all 0.3s ease;
}

.add-more:hover{
  background: var(--primary-color);
  color: #fff;
  cursor: pointer;
}
