@import url("./fonts.css");
@import url("./responsive.css");

* {
  margin: 0;
  padding: 0;
  font-family: 'Plus Jakarta Sans';
}

html {
  scroll-behavior: smooth;
}

.warp {
  width: 100%;
  min-height: 100vh;
  overflow: visible;
  background-color: #F2F4FA;
  display: flex;
  align-items: stretch;
  position: relative;
}

:root {
  --golden: #D9B528;
  --green: #1B9999;
  --grdn: linear-gradient(180deg, rgba(1, 153, 102, 0.7) 0%, rgba(9, 80, 115, 0) 100%);
  --height: 800px;
  --text: #66789C;
  --shadow: #E0E6F6;
  --blue: #3C65F5;
}

.text-success {
  color: var(--green) !important;
}

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

.text-pink {
  color: #EC4899;
}

.text-golden {
  color: #D9B528;
}

.login_section {
  width: 100%;
  min-height: 700px;
  height: 100vh;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.login_section .overlay_div {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 500px;
  z-index: 0;
  background: url('./../imgs/bg.svg') no-repeat;
  background-position: top;
  background-size: cover;
}

.login_section .login_div {
  width: 40%;
  height: 800px;
  background-color: #fff;
  position: relative;
  z-index: 1;
  border-radius: 15px;
  padding: 20px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-direction: column;
}

.login_section .login_div .logo {
  width: 300px;
  height: 300px;
  padding: 10px;
}

.login_section .login_div .logo img {
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.login_section .login_div form {
  width: 80%;
  height: auto;
  padding: 20px;
  margin-top: 50px;
}

.login_section .login_div form .forgot_div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}

.form-label {
  font-size: 0.9rem !important;
  color: var(--text);
}

.form-control {
  border: thin solid #E0E6F6 !important;
}

.form-control::placeholder {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text);
}

.form-check-label {
  color: var(--text);
  font-size: 0.9rem !important;
}

.login_section .login_div form .forgot_div a {
  color: var(--blue);
  font-size: 0.9rem;
  font-weight: 500;
}

.sign_up {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
}

.btn-success {
  background-color: var(--green) !important;
  border: none;
  border-radius: 5px !important;
  padding: 10px 20px;
  font-weight: 600;
}

.btn-success:is(:hover, :focus) {
  box-shadow: none !important;
}

.sidebar {
  height: 100vh;
  width: 70px;
  padding: 6px 10px;
  z-index: 99;
  background-color: var(--green);
  position: sticky;
  top: 0;
  /* overflow-y: auto; */
  flex-shrink: 0;
  transition: .5s ease;
}

.sidebar.open {
  padding: 6px 14px;

}

.sidebar.open {
  width: 250px;
}

.sidebar ul li span {
  opacity: 0;
}

.sidebar.open ul li span {
  opacity: 1;
}


.sidebar .logo_details img {
  width: 100%;
  margin: 10px 0;
}

.sidebar.open .logo_details img {
  width: 100%;
  margin: 10px 0;
}

.sidebar .logo_details .sidebar-brand-link {
  display: block;
  width: 40px;
  overflow: hidden;
  border-radius: 4px;
}

.sidebar.open .logo_details .sidebar-brand-link {
  width: 170px;
}

.sidebar .logo_details .sidebar-brand-logo {
  width: 170px;
  max-width: none;
  height: auto;
  display: block;
}


.sidebar.open .logo_details {
  height: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
}

.sidebar .logo_details #btn,
.sidebar .logo_details #btn2 {
  font-size: 1.8rem !important;
  cursor: pointer;
  transition: all .5s ease;
  color: #fff;
  background-color: transparent;
  border: 0;
  outline: 0;
  width: 100%;
}


.sidebar ul svg {
  color: #fff;
  height: 45%;
  line-height: 25px;
  min-width: 50px;
  font-size: 1rem;
  text-align: center;
}

.sidebar .nav-list {
  height: 100%;
  margin-top: 40px;
}

.sidebar .nav-list li {
  position: relative;
  list-style: none;
  display: block;
  position: relative;
}

.sidebar ul li a {
  display: flex;
  align-items: center;
  text-decoration: none;
  width: 100%;
  position: relative;
  transition: all .5s ease;
}

.sidebar.open ul li a {
  height: 50px;

}

.sidebar ul li.active {
  background-color: #fff !important;
}

.sidebar ul li.active a svg {
  color: var(--green) !important;
}

.sidebar li {
  position: relative;
  z-index: 1;
  border-radius: 8px;
  display: flex;
  margin: 10px 0;
  justify-content: flex-start;
}

.sidebar li::after {
  border-radius: 8px;
  content: '';
  background-color: #fff;
  width: 0%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  position: absolute;
  z-index: -1;
  transition: 0.3s ease-in-out;
}

.sidebar li:hover::after {
  width: 100%;
}

.sidebar li a .link_name {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: auto;
}

.sidebar li.active a .link_name {
  color: var(--green) !important;
}

.sidebar li:hover a .link_name,
.sidebar li:hover a i,
.sidebar li:hover a svg {
  transition: 0.3s ease-in-out;
  color: var(--green);
}

.sidebar li.drop:after {
  border-radius: 8px;
  content: '';
  background-color: #fff;
  width: 100%;
  height: 0%;
  top: 0;
  left: 0;
  right: 0;
  position: absolute;
  z-index: -1;
  transition: 0.3s ease-in-out;
}

.sidebar li.drop:hover::after {
  height: 100%;
}

.sub_sidebar_menu {
  margin-left: 20px;
  padding-bottom: 10px;
  display: none;
}

.sub_sidebar_menu li a {
  height: auto !important;
  padding: 3px;
  color: #1B9999;
  transition: all .5s ease;
  font-weight: 500;
}

.sub_sidebar_menu li:hover a {
  margin-left: 10px;
}

.sidebar .nav-list li:hover .sub_sidebar_menu {
  display: block;
}

.sidebar.open~.home_sectoin {
  position: relative;
  width: calc(100% - 250px);
  position: relative;
  z-index: 200;
}

.sidebar~.home_sectoin {
  width: calc(100% - 70px);
}

.home_sectoin {
  min-height: 100vh;
}

/* heaer   */
.home_sectoin header {
  width: 100%;
  height: 80px;
  background-color: #fff;
  display: flex;
  justify-content: end;
  align-items: center;
}

.home_sectoin header ul {
  display: flex;
  list-style: none;
  align-items: center;
  min-width: 300px;
}

.home_sectoin header ul li {
  margin: 0 10px;
}

.home_sectoin header ul li svg {
  font-size: 1.4rem;
  color: var(--text);
}

.home_sectoin header ul li a {
  position: relative;
}

.home_sectoin header ul li a::after {
  content: '';
  width: 10px;
  height: 10px;
  background-color: #E45959;
  top: -5px;
  right: 0;
  position: absolute;
  border-radius: 100px;
}

.home_sectoin header ul .profile {
  display: flex;
  justify-content: space-between;
}

.home_sectoin header ul .profile .img {
  width: 40px;
  height: 40px;
  border-radius: 100px;
  box-shadow: 0 0 5px 0 var(--shadow);
}

.home_sectoin header ul .profile h5 {
  font-size: 1rem;
  padding: 0 10px;
  margin-bottom: -5px;
}

.home_sectoin header ul .profile span {
  font-size: 0.9rem;
  padding: 0 10px;
  color: var(--text);
}

.signout {
  border: 0;
  outline: 0;
  background-color: transparent;
}

.signout:focus {
  border: none !important;
  box-shadow: none !important;
}

/* main */
main {
  width: 100%;
  min-height: 100vh;
  height: auto;
  padding: 40px;
}

.heade_title {
  font-weight: 700;
  font-size: 2.2rem;
}

main .bedcrum {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  background-color: #fff;
  padding: 10px;
  border-radius: 10px;
}

main .bedcrum li {
  margin: 0 15px;
  list-style: none;
  position: relative;
}

main .bedcrum li svg {
  color: var(--text);
  margin: 0 5px;
}

main .bedcrum li.active::after {
  content: '\203A';
  position: absolute;
  left: -15px;
  top: 40%;
  transform: translateY(-50%);
  font-size: 1.6rem;
  color: var(--text);
}

main .bedcrum li span {
  color: #000 !important;
}

main .bedcrum li.active span {
  color: var(--green) !important;
}

.card {
  width: 98%;
  margin: 20px auto;
  border-radius: 10px;
  min-height: 200px;
  box-shadow: 0 0 10px 0 var(--shadow);
}

.wedge svg {
  font-size: 2.5rem;
  margin: 20px 0;
}

.wedge h4 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 0;
}

.wedge p {
  color: var(--text);
}

.table thead th {
  border: 0 !important;
  color: var(--text);
  font-weight: 500 !important;
}



footer {
  width: 95%;
  margin: 0 auto;
  border-top: 1px solid #E0E6F6;
  position: relative;
  padding: 20px 30px;
  display: flex;
  justify-content: space-between;
}

footer p {
  color: var(--text);
}

footer p a:nth-child(1) {
  color: var(--green);
  font-weight: 500;

}

footer p a:nth-child(2) {
  color: var(--golden);
}

.links {
  display: flex;
}

.links li {
  margin: 0 10px;
  list-style-type: none;
}

.links li a {
  color: var(--text);
}


/* default chagnes */
select.dt-input {
  border: 1px solid var(--green) !important;
  margin-right: 10px;

}

select.dt-input~label {
  color: var(--green) !important;
  font-size: 0.8rem !important;
}


input.dt-input {
  margin-left: 10px;
  border: 1px solid var(--green) !important;
}

.dt-info {
  color: var(--green) !important;
  font-weight: 500;
  font-size: 0.8rem !important;
}

.dt-paging-button.current {
  border: 1px solid var(--green) !important;
  font-weight: 500 !important;
  background: transparent !important;
}

div.dt-container .dt-paging .dt-paging-button.current,
div.dt-container .dt-paging .dt-paging-button.current:hover {
  color: var(--green) !important;
}

.card table thead {
  background-color: var(--green) !important;
}

.card table thead tr th span {
  color: #fff !important;
  padding-left: 10px;
  text-transform: uppercase !important;
  font-weight: 600;
}

div.dt-container.dt-empty-footer tbody>tr>* {
  border-bottom: 1px solid #eee !important;

}

.card.mainTable {
  min-height: 70vh !important;
}

.div.dt-container {
  height: 500px !important;
}

.modal .modal-dialog {
  z-index: 999;
}

.modal-backdrop.show {
  opacity: 0;
  z-index: -1 !important;
}

.modal {
  border: none !important;
}

.modal-header {
  background-color: var(--green);
}

.modal-title {
  color: #fff !important;
}

.dropdown-item:focus,
.dropdown-item:hover {
  background-color: var(--green) !important;
  color: #fff !important;
}

/* Admin-side global UI fixes */
.table-responsive,
.table-responsive-sm,
.table-responsive-md,
.table-responsive-lg,
.table-responsive-xl {
  display: block !important;
  width: 100% !important;
  overflow: visible !important;
  -webkit-overflow-scrolling: auto !important;
}

table.table.table-responsive,
table.table-responsive {
  display: table !important;
}

html,
body,
.warp,
.home_sectoin {
  max-width: 100%;
  overflow-x: hidden;
}

@media (max-width: 768px) {
  .btn,
  button,
  .dropdown-item,
  .form-control,
  select,
  input,
  textarea {
    min-height: 44px;
    font-size: 16px !important;
  }

  .card,
  .card-body,
  .widget-content,
  .widget-content-area {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .table th,
  .table td {
    white-space: normal;
    word-break: break-word;
  }
}