@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");

@font-face {
  font-family: "Roboto", serif;
  src: url("../fonts/Roboto/static/Roboto-Black.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Helvetica", serif;
  src: url("../fonts/Helvetica/Helvetica.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Helvetica", serif;
  src: url("../fonts/Helvetica/Helvetica-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "Metropolis", serif;
  src: url("../fonts/Metropolis/Metropolis-Regular.otf");
  font-weight: normal;
  font-style: normal;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  overflow-x: hidden;
}

:root {
  --color-primary: #555555;
  --color-secandory: #ededed;
  --color-white: #ffffff;
  --font-inter: "Inter", serif;
  --font-helvetica: "Helvetica", serif;
  --font-metropolis: "Metropolis", serif;
  --font-roboto: "Roboto", serif;
}

/* login page  */
.login-container {
  width: 100%;
  height: 100vh;
  display: flex;
}

.login-container .form-side {
  flex: 1;
}

.login-container .image-side {
  flex: 1;
  overflow: hidden;
  background-color: #0b4b77;
}

.login-container .image-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.delete-btn {
    background-color: transparent;
    border: 1px solid red;
    color: red;
    padding: 6px 12px;
    font-size: 14px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

.delete-btn:hover {
    background-color: red;
    color: white!important;
}

.toggle-status-btn {
    background-color: transparent;
    border: 1px solid;
    padding: 6px 12px;
    font-size: 14px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

/* Active - Green */
.toggle-status-btn.btn-success {
    color: green;
    border-color: green;
}

.toggle-status-btn.btn-success:hover {
    background-color: green;
    color: white;
}

/* Inactive - Gray */
.toggle-status-btn.btn-danger {
    color: gray;
    border-color: gray;
}

.toggle-status-btn.btn-danger:hover {
    background-color: gray;
    color: white;
}


.login-container .form-side {
  background-color: #f8f8f8f2;
  display: flex;
  justify-content: center;
  align-items: center;
}

.login-container .form-side .form-wrapper {
  width: 100%;
  max-width: 570px;
  background-color: var(--color-white);
  border-radius: 6px;
  box-shadow: 4px 4px 4px 0px #0000001a;
  padding: 30px;
}

.login-container h2 {
  color: var(--color-primary);
  font-size: 25px;
  line-height: 28.75px;
  text-align: center;
  font-family: var(--font-helvetica);
  font-weight: 700;
}

.logo-text{
  font-family: var(--font-helvetica);
  font-weight:400;
  font-size: 26px;
  line-height: 18.4px;
  color: #737373;
}


.login-container p {
  font-size: 16px;
  line-height: 19.36px;
  text-align: center;
  color: var(--color-primary);
  font-family: var(--font-inter);
  margin: 10px 0px;
}

.login-container label {
  color: var(--color-primary);
  font-size: 16px;
  font-weight: 700;
  line-height: 18.4px;
  font-family: var(--font-helvetica);
}

.login-container input {
  margin-top: 5px;
  width: 100%;
  outline: none;
  padding: 15px 15px;
  color: #767676;
  font-size: 16px;
  border: 1px solid var(--color-primary);
  border-radius: 5px;
  font-family: var(--font-helvetica);
  font-weight: 400;
  margin-bottom: 20px;
}

.login-container input[type="submit"] {
  background-color: var(--color-primary);
  color: white;
  cursor: pointer;
  margin-top: 15px;
  margin-bottom: 15px;
}

.login-container .form-footer-text {
  color: var(--color-primary);
  font-family: var(--font-helvetica);
  font-weight: 400;
  line-height: 18.4px;
  display: block;
  margin: auto;
  text-align: center;
  text-decoration: none;
}

.login-container .form-footer-text span {
  font-weight: 700;
}

.rem-forg-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.rem-forg-wrapper div:first-child {
  display: flex;
  align-items: center;
  column-gap: 5px;
}

.rem-forg-wrapper input {
  display: inline;
  margin: 0;
  padding: 0;
  width: fit-content;
  accent-color: var(--color-primary);
}

.rem-forg-wrapper label {
  font-family: var(--font-helvetica);
  font-weight: 700;
  font-size: 16px;
  line-height: 18.4px;
}

.rem-forg-wrapper a {
  font-family: var(--font-helvetica);
  font-weight: 400;
  font-size: 16px;
  line-height: 18.4px;
  text-decoration: underline;
  color: var(--color-primary);
}

.form-wrapper .avatar {
  margin: auto;
  height: 100px;
  width: 100px;
  border-radius: 50%;
  background-color: #737373;
  margin-bottom: 20px;
  display: grid;
  place-items: center;
}

.form-wrapper .avatar h2 {
  font-size: 40px;
  font-family: var(--font-helvetica);
  font-size: 40px;
  line-height: 45px;
}

/* Header  */
.header {
  width: 100%;
  height: 77px;
  box-shadow: 0px 4px 10px 0px #0080ff1a;
  background-color: var(--color-white);
  display: flex;
  position: relative;
  z-index: 10;
}

.logo-wrapper {
  width: 224px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 25px;
  border-right: 1px solid #edf6ff;
}

.hamburger-icon {
  cursor: pointer;
}

.hamburger-mobile {
  display: none;
}

.header-content-wrapper {
  flex: 1;
  /* border: 1px solid brown; */
  display: flex;
  align-items: center;
  padding-right: 66px;
}

.header-content {
  width: 100%;
  margin-left: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.user-content-container {
  width: fit-content;
  display: flex;
  column-gap: 7px;
}

.user-content-container .user-image {
  height: 36px;
  width: 36px;
  overflow: hidden;
  border-radius: 50%;
}

.user-content-container .user-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.user-content-container .user-details h2,
.user-content-container .user-details h4 {
  font-family: var(--font-helvetica);
  font-weight: 400;
  font-size: 16px;
  line-height: 18.4px;
  color: #737373;
}

.user-content-container .user-details h4 {
  font-size: 14px;
}

.search-icons-container {
  width: fit-content;
  display: flex;
  gap: 17px;
}

.search-icons-container .icon-container {
  background-color: #f8f8f8;
  height: 36px;
  width: 36px;
  display: grid;
  place-content: center;
  cursor: pointer;
  border-radius: 50%;
}

.search-bar-wrapper {
  width: 130px;
  padding-left: 17px;
  padding-top: 8px;
  padding-bottom: 8px;
  border: 1px solid #ededed;
  border-radius: 5px;
  display: flex;
  column-gap: 10px;
  transition: all 0.3s ease-in-out;
}

.search-bar-wrapper:focus-within,
.search-bar-wrapper.expanded {
  width: 400px; 
}

.search-bar-wrapper .search-icon {
  height: 20px;
  width: 20px;
}

.search-bar-wrapper input[type="text"] {
  width: 100%;
  border: none;
  outline: none;
  font-family: var(--font-helvetica);
  font-weight: 400;
  font-size: 16px;
  line-height: 18.4px;
  color: #d3d3d3;
}

.search-bar-wrapper input[type="text"]::placeholder {
  color: #d3d3d3;
}

.content-wrapper {
  width: 100%;
  height: calc(100dvh - 77px);
  display: flex;
}

.content-wrapper .side-navigation {
  width: 224px;
  /* border: 1px solid black; */
  height: 100%;
  background-color: var(--color-white);
  padding: 36px 0px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.side-navigation .nav-link {
  display: flex;
  column-gap: 13px;
  padding-left: 25px;
  padding-top: 8px;
  padding-bottom: 8px;
  text-decoration: none;
  font-family: var(--font-helvetica);
  font-weight: 400;
  font-size: 14px;
  line-height: 16.1px;
  color: var(--color-primary);
  position: relative;
  transition: all 0.3s ease;
}

.side-navigation .nav-link::before {
  position: absolute;
  top: 2px;
  left: 0;
  content: url("../images/icons/link-bar.png");
  display: none;
}

.side-navigation .nav-link:hover::before {
  display: inline-block;
}

.side-navigation .nav-link:hover {
  background-color: #f8f8f8;
}

.nav-link.link-active {
  background-color: #f8f8f8;
}

.nav-link.link-active::before {
  display: inline-block;
}

.footer-links-wrapper .divider {
  margin-left: 25px;
  font-family: var(--font-helvetica);
  font-weight: 400;
  font-size: 10px;
  line-height: 11.5px;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.footer-links-wrapper .divider::after {
  content: "";
  border: 1px solid var(--color-primary);
  display: inline-block;
  width: 100%;
}

.dropdown-icon {
  height: 6px;
  position: absolute;
  right: 19px;
  top: 13px;
}

.dropdown-link-body {
  display: none; 
  flex-direction: column;
  padding-left: 52px;
  overflow: hidden;
  transition: height 0.3s ease;
}

.dropdown-active 
{
  display: flex !important;
}

.dropdown-link-body a {
  font-family: var(--font-helvetica);
  font-weight: 400;
  font-size: 12px;
  line-height: 24px;
  color: var(--color-primary);
  text-decoration: none;
}

.dropdown-active {
  height: fit-content;
}

.content-wrapper .content-container {
  flex: 1;
  height: 100%;
  background-color: #f8f8f8;
  padding-left: 38px;
  padding-top: 13px;
  padding-right: 59px;
}

/* content container  */

.greetings-banner {
  width: 100%;
  padding-top: 21px;
  padding-left: 46px;
  padding-right: 25px;
  padding-bottom: 18px;
  background-color: white;
  background-image: url("../images/greetings-background.png");
  background-size: contain;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.greetings-banner h2,
.greetings-banner h4 {
  font-family: var(--font-helvetica);
  font-weight: 700;
  font-size: 25px;
  line-height: 28.75px;
  color: var(--color-primary);
}
.greetings-banner h4 {
  font-size: 14px;
  font-size: 14px;
}

.greetings-banner div h4 {
  font-weight: 400;
  font-size: 16px;
}

.stat-cards-wrapper {
  width: 100%;
  margin-top: 22px;
  display: flex;
  justify-content: space-between;
}

.stat-card {
  background-color: var(--color-white);
  border-radius: 20px;
  box-shadow: 0px 2px 10px 0px #0080ff1a;
  padding-top: 24px;
  padding-left: 26px;
  padding-bottom: 9px;
  padding-right: 9px;
  max-width: 23%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.stat-card h3 {
  font-family: var(--font-roboto);
  font-weight: 400;
  font-size: 16px;
  line-height: 18.75px;
}

.stat-card h2 {
  font-family: var(--font-roboto);
  font-weight: 500;
  font-size: 30px;
  color: var(--color-primary);
}

/* .stat-card div:nth-child(2) {
  display: flex;
  flex-direction: column;
  
} */

.bottom-card-text {
  font-family: var(--font-roboto);
  font-weight: 400;
  font-size: 12px;
  line-height: 9.38px;
  color: #7f7f7f;
  display: flex;
  align-items: center;
  gap: 5px;
}
.bottom-card-text span {
  display: flex;
  background-color: #18d26b;
  color: #7f7f7f;
  padding: 1px 2px;
  border-radius: 4px;
  gap: 5px;
}

.bottom-card-text span img {
  height: 8px;
}

.chart-todo-wrapper {
  width: 100%;
  display: flex;
  margin-top: 22px;
  display: flex;
  gap: 20px;
}

.chart-wrapper,
.todo-wrapper {
  flex: 1;
  border-radius: 10px;
  background-color: var(--color-white);
  height: 400px;
}

.todo-header,
.chart-header {
  width: 100%;
  padding-top: 25px;
  padding-left: 29px;
  padding-right: 29px;
  padding-bottom: 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 0.5px solid var(--color-primary);
}

.todo-header h3,
.chart-header h3 {
  font-family: var(--font-helvetica);
  font-weight: 700;
  font-size: 16px;
  line-height: 18.4px;
  color: var(--color-primary);
}

.todo-header div,
.chart-header div {
  padding: 5px 10px;
  display: flex;
  border: 1px solid var(--color-primary);
  border-radius: 5px;
  align-items: center;
  gap: 10px;
  font-family: var(--font-helvetica);
  font-weight: 400;
  font-size: 16px;
  line-height: 18.4px;
  color: var(--color-primary);
}

.apexcharts-canvas {
  overflow: hidden !important;
}

.todo-body {
  padding: 0 23px;
}

.todo {
  padding: 13px 0px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 0.5px solid #555555;
}

.todo h3,
.todo h4 {
  font-family: var(--font-helvetica);
  font-weight: 400;
  font-size: 16px;
  line-height: 18.4px;
  color: var(--color-primary);
}

.todo div:nth-child(1) input[type="checkbox"] {
  height: 15px;
  width: 15px;
  accent-color: var(--color-primary);
}

.todo div:nth-child(1) {
  display: flex;
  align-items: center;
  gap: 10px;
}

/*Table Page */
.table-container {
  width: 100%;
  border-radius: 10px;
  box-shadow: 4px 4px 5px 0px #00000014;
  padding: 22px;
  background-color: var(--color-white);
}

.table-container .filter-search-wrapper {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.filter-search-wrapper .search-table {
  width: 390px;
}

.filter-search-wrapper div:first-child {
  font-family: var(--font-roboto);
  display: flex;
  font-size: 16px;
  color: var(--color-primary);
  column-gap: 20px;
}

.filter-search-wrapper div:first-child select {
  border: none;
  background-color: white;
  outline: none;
  color: var(--color-primary);
  font-size: 16px;
  font-family: var(--font-roboto);
}

.table-wrapper {
  width: 100%;
}

.table-wrapper table {
  font-family: var(--font-roboto);
  margin-top: 40px;
  width: 100%;
  border-collapse: collapse;
}

.table-wrapper table thead tr th,
.table-wrapper table tbody tr td {
  text-align: left;
  padding: 15px;
  border-bottom: 0.5px solid #c0c0c0;
}

.table-wrapper table thead tr th {
  font-weight: 500;
  font-size: 14px;
  line-height: 16.41px;
  color: var(--color-primary);
}
.table-wrapper table tbody tr td,
.table-wrapper table tbody tr span {
  font-weight: 400;
  color: var(--color-primary);
}

.table-wrapper table tbody tr td:nth-of-type(1) {
  color: black;
}

.table-wrapper table tbody tr td span {
  padding: 6px 20px;
  background-color: #f4f4f4;
  border-radius: 5px;
}

.action-cell a {
  text-decoration: none;
  margin: 0 3px;
}

.pagination-wrapper {
  float: right;
  margin-top: 20px;
  display: flex;
  gap: 10px;
}

.btn-pagination {
  display: inline-block;
  padding: 11px 20px;
  background-color: #f0f0f0;
  border-radius: 5px;
}

.btn-pagination.disabled {
  background-color: #fdf6f6;
  cursor: not-allowed;
}

/* add user page */
.form-container {
  width: 100%;
  border-radius: 10px;
  box-shadow: 4px 4px 5px 0px #00000014;
  padding: 22px;
  background-color: var(--color-white);
}

.page-heading {
  font-family: var(--font-helvetica);
  color: var(--color-primary);
  font-size: 20px;
  line-height: 22px;
}

.two-col-form {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  /* border: 1px solid red; */
  margin-top: 15px;
}

.two-col-form > div {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.two-col-form > div label,
.quill-label {
  font-family: var(--font-roboto);
  font-size: 14px;
  line-height: 16.41px;
  color: var(--color-primary);
  font-weight: 500;
}

.quill-label {
  display: inline-block;
  margin-top: 15px;
}

.two-col-form > div input , 
.two-col-form > div select {
  font-size: 14px;
  line-height: 16.41px;
  font-weight: 400;
  color: var(--color-primary);
  padding: 10px;
  outline: none;
  background-color: #F8F8F8;
  border: 1px solid #D3D3D3;
  border-radius: 10px;
}

.two-col-form .error-message
{
  color: red;
  font-size: 10px;
  font-family: var(--font-roboto);
}

.two-col-form > div input[type="file"] {
  padding-top: 8px;
  padding-bottom: 8px;
}

.two-col-form > div input[type="file"]::-webkit-file-upload-button {
  font-size: 14px;
  margin: none;
}


.form-submit-button {
  margin-top: 15px;
  float: right;
  font-family: var(--font-roboto);
  font-size: 14px;
  line-height: 16px;
  color: var(--color-primary);
  font-weight: 500;
  background-color: var(--color-white);
  padding: 10px 15px;
  border: 1px solid var(--color-primary);
  border-radius: 10px;
  cursor: pointer;
}