:root {
  --clr-primary: #2e8b57;
  --clr-primary-light: #439768;
  --clr-primary-lighter: #c0dccd;
  --clr-primary-lightest: #eaf3ee;
  --clr-primary-dark: #20613d;
  --clr-primary-darker: #050e09;

  --clr-accent: #313131;
  --clr-accent-light: #464646;
  --clr-accent-lightest: #eaeaea;
  --clr-accent-dark: #2c2c2c;
  --clr-accent-darker: #050505;

  --text-clr-gray-300: #7e90a1;
  --text-clr-gray-500: #4c5b69;

  --clr-offset: #03c988;

  --text-clr-gray-300: #7e90a1;
  --text-clr-gray-500: #4c5b69;

  --clr-gray-100: #f7f7f7;
  --clr-gray-200: #e7e7e7;
  --clr-gray-300: #dbdbdb;
  --clr-gray-400: #cfcfcf;
  --clr-gray-500: #c4c4c4;
  --clr-gray-600: #b8b8b8;
  --clr-gray-700: #acacac;
  --clr-gray-800: #a0a0a0;
  --clr-gray-900: #949494;
  --clr-gray-d100: #888888;
  --clr-gray-d200: #7a7a7a;
  --clr-gray-d300: #6d6d6d;
  --clr-gray-d400: #525252;
  --clr-gray-d500: #292929;

  --radius-100: 0.3rem;
  --radius-200: 0.5rem;
  --radius-400: 0.7rem;
  --radius-600: 0.9rem;
  --radius-800: 1.2rem;
  --radius-c100: 2rem;
  --radius-half: 50%;

  --font-primary: "Outfit", sans-serif;
  --font-secondary: "Jost", sans-serif;
}

* {
  scrollbar-color: #555 #fff;
  scrollbar-width: thin;
}

*,
*::after,
*::before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

input,
textarea,
button {
  font: inherit;
  display: inline-block;
}

.material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 300, "GRAD" 0, "opsz" 48;
  opacity: 0;
  visibility: hidden;
  transition: all 300ms ease-in-out;
  pointer-events: none;
}

.material-symbols-outlined.show {
  opacity: 1;
  visibility: visible;
}

.material-symbols-rounded {
  font-variation-settings: "FILL" 0, "wght" 300, "GRAD" 0, "opsz" 48;

  opacity: 0;
  visibility: hidden;
  transition: all 300ms ease-in-out;
}

a {
  display: inline-block;
  text-decoration: none;
  width: max-content;
}

img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-secondary);
}

h1,
h2,
h3 {
  max-width: 100%;
  letter-spacing: 0.1rem;
  color: var(--clr-primary-darker);
  width: max-content;
}

h4 {
  color: var(--clr-gray-d400);
}

p {
  font-size: 1.5rem;
  /* font-weight: 500; */
  color: var(--clr-gray-d300);
  line-height: 1.6;
}

li {
  color: var(--clr-gray-d300);
}

div {
  font-weight: 400;
  color: var(--clr-gray-d500);
}

ul {
  list-style: none;
  font-size: 1.5rem;
  color: var(--clr-gray-d500);
  line-height: 1.6;
}

.cta {
  width: 15rem;
  min-height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background-color: var(--clr-primary-lightest);
  color: var(--clr-primary);
  font-size: 1.6rem;
  position: relative;
  border-radius: var(--radius-c100);
  z-index: 1;
  overflow: hidden;
  transition: all 300ms ease-in-out;
}

.cta:hover {
  background-color: var(--clr-primary);
  color: white;
}

.cta-alt {
  min-width: 15rem;
  min-height: 3.5rem;
  padding: 0.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  border: 0.2rem solid var(--clr-accent-lightest);
  color: var(--clr-accent);
  font-size: 1.6rem;
  position: relative;
  border-radius: var(--radius-c100);
  z-index: 1;
  overflow: hidden;
  transition: all 300ms ease-in-out;
}

.cta-alt:hover {
  background-color: var(--clr-accent);
  color: white;
}

.note {
  display: flex;
  align-items: center;
  align-items: center;
  gap: 1rem;
}

.note.warning {
  color: orange;
}

.note.success {
  color: #22a699;
}

.note.error {
  color: rgb(255, 0, 51);
}

.wrapper {
  width: 100%;
  display: flex;
  align-items: flex-start;
}

.back-btn {
  min-width: 10rem;
  min-height: 3rem;
  border: 0.1rem solid var(--text-clr-gray-500);
  color: var(--text-clr-gray-500);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  border-radius: 1.5rem;
  padding: 0 1rem;
  transition: all 300ms ease-in-out;
}

.back-btn span {
  font-size: 2rem;
  transition: all 300ms ease-in-out;
}

.back-btn:hover {
  background-color: var(--text-clr-gray-500);
  color: white;
}

.back-btn:hover span {
  color: white;
}

.clr-green {
  color: #59ce8f;
}
.clr-gray {
  color: var(--clr-gray-900);
}
.clr-red {
  color: #d4094d;
}
.bg-green {
  background-color: #59ce8f;
}
.bg-gray {
  background-color: var(--clr-gray-900);
}
.bg-red {
  background-color: #d4094d;
}

.m-1 {
  margin: 1rem;
}

.m-2 {
  margin: 2rem;
}

.m-3 {
  margin: 3rem;
}

.mt-1 {
  margin-top: 1rem;
}

.mt-2 {
  margin-top: 2rem;
}

.mt-3 {
  margin-top: 3rem;
}
.mb-1 {
  margin-bottom: 1rem;
}

.mb-2 {
  margin-bottom: 2rem;
}

.mb-3 {
  margin-bottom: 3rem;
}

.mv-1 {
  margin: 1rem 0;
}
.mv-2 {
  margin: 2rem 0;
}

.mv-3 {
  margin: 3rem 0;
}

.mh-1 {
  margin: 0 1rem;
}

.mh-2 {
  margin: 0 2rem;
}

.mh-3 {
  margin: 0 3rem;
}

.b-d2 {
  border-color: var(--clr-gray-400);
}

.w-50 {
  width: 50% !important;
}

.w-60 {
  width: 60% !important;
}

.w-70 {
  width: 70% !important;
}

.w-80 {
  width: 80% !important;
}

.spinner {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 9px solid;
  border-color: #dbdcef;
  border-right-color: #474bff;
  animation: spinner-d3wgkg 1s infinite linear;
}

@keyframes spinner-d3wgkg {
  to {
    transform: rotate(1turn);
  }
}

.heading {
  width: 100%;
  min-height: 6rem;
  border-radius: var(--radius-400);
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--clr-gray-100);
}

.heading .links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.heading a {
  min-width: 10rem;
  height: 4rem;
  border: 0.1rem solid var(--clr-accent-darkest);
  color: var(--clr-accent-darkest);
  gap: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
  border-radius: 2rem;
  transition: all 300ms ease-in-out;
  border: 0.1rem solid var(--clr-gray-700);
  color: var(--text-clr-gray-500);
}

.heading a:hover {
  background-color: var(--clr-accent-darker);
  color: white;
}

.spinner {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 9px solid;
  border-color: #dbdcef;
  border-right-color: #474bff;
  animation: spinner-d3wgkg 1s infinite linear;
}

@keyframes spinner-d3wgkg {
  to {
    transform: rotate(1turn);
  }
}

section {
  width: 100%;
  margin: 0 auto;
  min-height: 40vh;
  display: flex;
  align-items: center;
  padding: 6rem;
}

body {
  height: 100vh;
  font-family: var(--font-primary);
  font-size: 1.5rem;
}

form {
  width: 50%;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  /* z-index: 1; */
  padding: 2.5rem;
  position: relative;
  border-radius: var(--radius-400);
  /* box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 8px; */
  position: relative;
  background-color: white;
  align-items: flex-start;
  border: 0.2rem solid var(--clr-gray-100);
}

form .form-heading {
  width: 100%;
  display: flex;
  flex-direction: column;
}

form .form-heading a {
  min-width: 10rem;
  min-height: 3rem;
  border: 0.1rem solid var(--text-clr-gray-500);
  color: var(--text-clr-gray-500);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 0 1rem;
  border-radius: 1.5rem;
  transition: all 300ms ease-in-out;
  margin-bottom: 1rem;
}
form .form-heading a span {
  font-size: 2rem;
  transition: all 300ms ease-in-out;
}
form .form-heading a:hover {
  background-color: var(--text-clr-gray-500);
  color: white;
}
form .form-heading a:hover span {
  color: white;
}

form .form-error {
  width: 100%;
  border-radius: var(--radius-200);
  background-color: rgb(250, 235, 238);
  color: #f72c5b;
  display: flex;
  align-items: center;
  font-weight: 500;
  gap: 1rem;
  padding: 0 1rem;
  height: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

form .form-error.show {
  width: 100%;
  border-radius: var(--radius-200);
  background-color: rgb(250, 235, 238);
  color: #f72c5b;
  display: flex;
  align-items: center;
  font-weight: 500;
  gap: 1rem;
  padding: 0 1rem;
  height: 4rem;
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

form .input-cluster {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2rem;
  border-radius: var(--radius-200);
  background-color: #fbfbfb;
}

form .cluster-heading {
  width: 100%;
  height: 3rem;
  display: flex;
  align-items: center;
  color: var(--text-clr-gray-500);
  font-size: 1.9rem;
  font-weight: 800;
  justify-content: space-between;
}

form .cluster-heading a {
  min-width: 10rem;
  height: 4rem;
  border: 0.1rem solid var(--clr-accent-darkest);
  color: var(--clr-accent-darkest);
  gap: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
  border-radius: 2rem;
  transition: all 300ms ease-in-out;
  border: 0.1rem solid var(--clr-gray-d400);
  color: var(--text-clr-gray-500);
  font-weight: 400;
  font-size: 1.5rem;
}

form .cluster-heading a:hover {
  background-color: var(--clr-accent-darker);
  color: white;
}

form .form-group {
  width: 100%;
  display: flex;
  gap: 1rem;
}

form .input-group {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  gap: 0.5rem;
}

form .input-group > label {
  color: var(--text-clr-gray-500);
  font-size: 1.4rem;
  display: flex;
  align-items: center;
}
form .input-group > .label-heading {
  font-weight: 600;
}

form .input-group label::first-letter {
  text-transform: uppercase;
}

form .input-group .input-error {
  font-size: 1.3rem;
  color: #e72929;
}

form .input-group input:not([type="checkbox"]),
form .input-group select,
form .input-group textarea {
  width: 100%;
  height: 3.5rem;
  border: 0.1rem solid var(--clr-gray-700);
  outline: 0.2rem solid transparent;
  padding: 0 1rem;
  transition: all 300ms ease-in-out;
  border-radius: var(--radius-200);
  font-size: 1.5rem;
  background-color: transparent;
}

form .input-group textarea {
  padding: 1rem;
}

form .input-group input:hover,
form .input-group select:hover,
form .input-group textarea:hover {
  border-color: rgb(157, 193, 246);
  outline-color: rgb(216, 232, 255);
}

form .input-group input:disabled,
form .input-group select:disabled,
form .input-group textarea:disabled {
  pointer-events: none;
}

form .input-group input:focus,
form .input-group select:focus,
form .input-group textarea:focus {
  border-color: rgb(60, 133, 244);
  outline-color: rgb(186, 212, 248);
}

form .input-group input::placeholder {
  color: var(--clr-gray-700);
}

form .input-group input.error-border,
form .input-group select.error-border,
form .input-group textarea.error-border {
  border-color: #fc54a2;
  outline-color: #fee6f1;
}

form .input-group input.success-border,
form .input-group select.success-border,
form .input-group textarea.success-border {
  border-color: #77d970;
}

form .input-group input:read-only {
  border: none;
  outline: none;
  background-color: var(--clr-gray-200);
  color: var(--text-clr-gray-300);
}

form .input-group textarea {
  max-width: 100%;
  min-height: 10rem;
  max-height: 30rem;
}

form .input-group input[type="file"] {
  height: 5rem;
  display: flex;
  align-items: center;
  position: relative;
}

form .input-group input[type="file"]::file-selector-button {
  margin-right: 20px;
  border: none;
  margin-top: 1rem;
  background: var(--text-clr-gray-300);
  padding: 5px 10px;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease-in-out;
  border-radius: var(--radius-200);
  font-family: var(--font-primary);
}
form .input-group input[type="file"]::file-selector-button:hover {
  background: #0d45a5;
}

form .input-group input#listing-videos::file-selector-button {
  background-color: var(--text-clr-gray-500);
}

form .btn-group {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
}

form .check-group {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  border: 0.1rem solid transparent;
  padding: 1rem;
  border-radius: var(--radius-600);
}

form .nice-select {
  width: 100%;
  height: 3.5rem !important;
  border-radius: var(--radius-200);
  border: 0.1rem solid var(--clr-gray-700);
  background-color: transparent;
  display: flex;
  align-items: center;
}

form button {
  width: 100%;
  height: 4rem;
  background-color: var(--clr-primary-darker);
  border: none;
  outline: none;
  color: white;
  transition: all 300ms ease-in-out;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  border-radius: var(--radius-200);
  margin: 2rem 0;
  position: relative;
}

form button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* form button::after {
  content: "";
  position: absolute;
  top: 0;
  right: ;
  width: 2rem;
  height: 2rem;
  background-color: var(--clr-primary-darker);

} */

form button:hover {
  opacity: 0.9;
}

form .show-sm {
  display: none !important;
}

.form-alt-link {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  color: var(--clr-accent);
}

/* IMAGE PREVIEWS */
.img-previews {
  width: 100%;
  height: 10rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  overflow: auto;
  padding: 0.5rem;
  border-radius: var(--radius-600);
}

.img-previews .note {
  border-radius: var(--radius-600);
}

.img-previews .note.hide {
  display: none;
}

.img-previews .preview {
  width: 9rem;
  height: 9rem;
  border-radius: var(--radius-200);
  overflow: hidden;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 5px 0px,
    rgba(0, 0, 0, 0.1) 0px 0px 1px 0px;
}

/* DATA FILTER TAB AND BUTTON */
.header-group {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1.5rem;
}

.filter {
  align-self: flex-start;
  position: relative;
}

.filter-btn {
  width: 13rem;
  height: 3.5rem;
  border-radius: var(--radius-c100);
  background-color: var(--clr-primary);
  display: flex;
  align-items: center;
  justify-content: center;

  gap: 1rem;
  color: white;
  margin-left: 3rem;
  cursor: pointer;
  transition: all 300ms ease-in-out;
}

.filter-btn:hover {
  background-color: var(--clr-primary-dark);
}

.filter .filter-form {
  position: absolute;
  bottom: 0%;
  right: 0;
  transform: translate(100%, calc(100% - 3rem));
  visibility: hidden;
  opacity: 0;
  width: 27rem;
  background-color: white;
  transition: all 300ms ease-in-out;
  box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px,
    rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
}

.filter .filter-form.open {
  transform: translate(100%, 100%);
  visibility: visible;
  opacity: 1;
}

/* TABLES */
.table-container {
  max-width: 100%;
}

.table-container .table-heading {
  width: 100%;

  color: var(--clr-primary);
  min-height: 4rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  /* background-color: var(--clr-gray-100); */
  font-size: clamp(1.8rem, 4vw, 2.3rem);
  font-weight: 500;
}

.table-container table {
  width: 100%;
  height: auto;
  /* border-spacing: 0 0.7rem; */
  border-collapse: collapse;
  margin: 0 auto;
  text-align: left;
}

.table-container table caption {
  min-height: 4rem;
  text-align: left;
  font-weight: 700;
  line-height: 4rem;
  padding: 0 1rem;
}

.table-container table caption h3 {
  color: var(--text-clr-gray-500);
}

.table-container table td {
  width: fit-content;
  color: var(--clr-gray-d200);
  /* font-family: var(--font-primary); */
  font-size: 1.4rem;
}

.table-container table td.pag {
  display: flex;
  margin-top: 2rem;
}

.table-container table td,
.table-container table th {
  font-size: 1.4rem;
  padding: 1rem 1rem;
}

.table-container table th {
  word-wrap: break-word;
  padding: 1rem 1rem;
}

.table-container table div.sortArrow {
  color: #00c897 !important;
  border-top: 0.4em solid #00c897 !important ;
}

.table-container table tr:not(tr.fancySearchRow) {
  border-bottom: 0.1rem solid var(--clr-gray-100);
}

.table-container table tr.fancySearchRow {
  padding: 0;
}
.table-container table tr.fancySearchRow input {
  margin: 0.5rem 0;
  height: 3.5rem;
}

.table-container table th {
  color: #1d1a31;
  font-weight: 500;
}

.table-container table thead tr:nth-child(1) {
  background-color: #f5efff;
}

.table-container table.data-table thead tr:nth-child(2) {
  background-color: #f5efff;
}

.table-container table.data-table thead tr:nth-child(1) {
  background-color: unset;
}

.table-container table tfoot tr {
  border-bottom: none !important;
}

table input {
  width: 30rem !important;
  border: none;
  outline: none;
  height: 4rem;
  border: 0.1rem solid var(--clr-gray-300);
  padding: 0 1rem;
  transition: all 300ms ease-in-out;
  border-radius: var(--radius-400);
  margin: 1rem 0;
}

table input:hover {
  border-color: var(--clr-primary-lighter);
}

table input:focus {
  border-color: var(--clr-primary-light);
}

.table-container .img {
  width: 4rem;
  height: 4rem;
  border-radius: var(--radius-200);
  overflow: hidden;
  cursor: pointer;
}

.table-container table tr td a {
  padding: 0.5rem 1rem;
  text-align: center;
  line-height: 1.4rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0.3rem 0;
  font-size: 1.4rem;
  border-radius: var(--radius-100);
  transition: all 300ms ease-in-out;
}

.table-container table tr td a > span {
  font-size: 1.6rem;
}

.table-container table tr td a:hover {
  transform: translateY(-5%);
}

.table-container .table-actions {
  width: 10rem;
  height: 3rem;
  position: relative;
  /* z-index: 10; */
}

.table-container .table-actions .label {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  color: rgb(90, 88, 88);
  background-color: white;
  border-radius: 1.2rem;
  border: 0.1rem solid var(--clr-gray-400);
  cursor: pointer;
}

.table-container .table-actions .expand {
  font-size: 1.4rem;
  transition: all 300ms ease-in-out;
  transform: rotate(180deg);
}

.table-container .table-actions .expand.turn {
  color: var(--clr-primary-light);
  transform: rotate(0);
}
.table-container .table-actions .drop-down {
  position: absolute;
  left: 00%;
  top: 0;
  transform: translate(-50%, calc(-100% + 0.5rem));
  opacity: 0;
  visibility: hidden;
  width: calc(100% + 13rem);
  min-height: 5rem;
  max-height: 20rem;
  overflow: auto;
  border: 0.2rem solid var(--clr-gray-100);
  background-color: white;
  display: flex;
  flex-direction: column;

  padding: 0.5rem;
  border-radius: 1rem;
  gap: 0.5rem;
  z-index: 900;
  transition: all 300ms ease-in-out;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

.table-container .table-actions .drop-down.dropped {
  transform: translate(-50%, calc(-100%));
  opacity: 1;
  visibility: visible;
}

.table-container .table-actions .drop-down a {
  width: 100%;
  height: 3.5rem;
  border-radius: var(--radius-200);
  display: flex;
  align-items: center;

  justify-content: flex-start;
  text-align: left;
  gap: 0.5rem;
  color: var(--text-clr-gray-500);
  font-weight: 400;
}

.table-container .table-actions .drop-down a:hover {
  background-color: var(--clr-gray-300);
}

.table-container .table-actions .drop-down a span {
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 48;
}

.table-container td .status {
  min-width: 7rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-200);
  font-weight: 500;
}

.table-container td .delivered {
  background-color: rgb(209, 247, 209);
  color: rgb(6, 186, 69);
}

.table-container td .pending {
  background-color: rgb(254, 249, 225);
  color: rgb(243, 142, 47);
}

.table-container .active {
  color: #00c897;
  background-color: #d1f7ed;
}
.table-container .inactive {
  color: #3a3b3a;
  background-color: #dad7d7;
}

.table-container .status.archived {
  background-color: #e9e9e9;
  color: var(--text-clr-gray-300);
}

.table-container .status.unarchived {
  background-color: #d6fbf7;
  color: #219c90;
}

.table-container .action-view {
  color: #005899;
}

.table-container .action-view span {
  transform: rotate(-45deg);
  transition: all 300ms ease-in-out;
}

.table-container .action-view:hover span {
  transform: rotate(0deg);
}

/* POPUP */
.popup {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.829);
  -webkit-backdrop-filter: blur(0.5rem);
  backdrop-filter: blur(0.5rem);
  overflow-y: auto;
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transition: all 100ms ease-in-out;
}

.popup.show {
  opacity: 1;
  visibility: visible;
}

.popup .close-popup-btn {
  position: absolute;
  right: 0.5rem;
  top: 0.5rem;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgb(218, 12, 53);
  color: white;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  transition: all 300ms ease-in-out;
  font-size: 2rem;
  cursor: pointer;
  border-radius: var(--radius-half);
}

.popup .close-popup-btn span {
  font-size: 1.4rem;
}

.popup .popup-container {
  margin: 40px auto;
  width: 100%;
  max-width: 50rem;
  display: flex;
  flex-direction: column;
  background-color: white;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-400);
  padding: 2rem;
  gap: 2rem;
  transform: translateY(-1rem);
  opacity: 0;
  visibility: hidden;
}

.popup.show .popup-container {
  transform: translateY(0rem);
  opacity: 1;
  visibility: visible;
  transition: 100ms all 300ms ease-in-out;
}

.popup .close-popup-btn:hover {
  background-color: rgb(183, 7, 43);
}

.popup .popup-heading {
  width: 100%;
  height: 5rem;
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  font-weight: 600;
  color: #2a3335;
  text-align: left;
  border-bottom: 0.1rem solid var(--clr-gray-100);
}

.popup .popup-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: var(--text-clr-gray-500);
}

.popup .popup-btn-group {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2rem;
  margin-top: 1rem;
}

.popup .popup-img {
  width: 100%;
  height: 80%;
}
.popup .popup-img img {
  object-fit: contain;
}

.popup .popup-btn-group a {
  min-width: 9rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: white;
  border-radius: var(--radius-200);
  transition: all 300ms ease-in-out;
  padding: 0 1rem;
}

.popup .popup-btn-group a.cancel {
  border: 0.1rem solid var(--text-clr-gray-300);
  color: var(--text-clr-gray-300);
}
.popup .popup-btn-group a.cancel:hover {
  background-color: var(--text-clr-gray-300);
  color: white;
}

.popup .popup-btn-group a.accept {
  background-color: #16c47f;
  color: white;
}
.popup .popup-btn-group a.accept:hover {
  background-color: #069c60;
  color: white;
}

/* SIDE NAVIGATION */
.sidenav {
  width: 25rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: fixed;
  left: 0;
  top: 0;
  transition: all 300ms ease-in-out;
  background-color: white;
  overflow-y: auto;
  border-right: 0.2rem solid var(--clr-gray-100);
  scrollbar-gutter: stable;
}

.sidenav::-webkit-scrollbar-thumb {
  background-color: var(--clr-gray-300);
  border-radius: var(--radius-800);
}

.close-sidenav {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: #e82561;
  position: absolute;
  right: 0.5rem;
  top: 0.5rem;
  display: none;
  font-size: 2rem;
  transition: all 400ms ease-in-out;
  cursor: pointer;
  color: white;
}

.close-sidenav:hover {
  background-color: #cf0a45;
}

.sidenav.close {
  transform: translateX(-100%);
}

.sidenav .logo {
  width: 70%;
  height: 6rem;
}

.sidenav .logo img {
  object-fit: contain;
}

.logout {
  width: 90%;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 3rem;
  gap: 0.5rem;
  border-radius: var(--radius-200);
  color: white;
}

.logout:hover {
  background-color: var(--clr-primary-light);
}

.logout span:first-child {
  font-size: 1.4rem;
  transition: all 300ms ease-in-out;
}

.logout:hover span {
  transform: rotate(180deg);
}

.nav-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  list-style: none;
  margin-top: 2rem;
}

.list-item {
  width: 90%;
  transition: all 300ms ease-in;
  position: relative;
  min-height: 4.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: var(--radius-c100);
}

.list-item:hover {
  background-color: var(--clr-gray-300);
}

.list-item .link {
  width: 90%;
  height: 100%;
  display: flex;
  align-items: center;
  font-size: 1.4rem;
  color: var(--clr-gray-d300);
  position: relative;
  overflow: hidden;
}

.list-item:hover .link {
  color: var(--text-clr-gray-500);
}

.list-item .link span {
  width: 3rem;
  font-size: 1.8rem;
  color: var(--clr-gray-d300);
}

.list-item:hover .link span {
  color: var(--text-clr-gray-500);
}

/* DROP DOWN */

.list-item.drop-btn .expand {
  width: unset;
  position: absolute;
  top: 50%;
  right: 1%;
  transform: translateY(-50%) rotate(0);
  transition: all 300ms ease-in-out;
  font-size: 1.4rem;
}

.list-item.drop-btn .expand.turn {
  color: #005899;
  transform: translateY(-50%) rotate(180deg);
}

.list-item.drop-btn .link {
  height: 4rem;
  font-size: 1.4rem;
}

.list-item.drop-btn .drop-down {
  width: 90%;
  align-self: flex-end;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  margin-right: 1rem;
  max-height: 0rem;
  visibility: hidden;
  transition: all 300ms linear;
}

.list-item.drop-btn .drop-down.dropped {
  margin-top: 1rem;
  max-height: 20rem;
  visibility: visible;
  margin-bottom: 1rem;
}

.list-item.drop-btn .drop-down:not(.dropped) li {
  visibility: hidden;
  transition: all 100ms linear;
}

.list-item.drop-btn .drop-down li {
  width: 100%;
  height: 4rem;
  display: flex;
  align-items: center;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-1%);
  transition: all 300ms ease-in;
  background-color: var(--clr-accent-lightest);
  border-radius: var(--radius-c100);
}

.list-item.drop-btn .drop-down.dropped li {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.list-item.drop-btn .drop-down li a {
  font-size: 1.4rem;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--clr-gray-d500);
}

.list-item.drop-btn .drop-down li span {
  font-size: 1.4rem;
}

.list-item.drop-btn .drop-down li:hover {
  background-color: var(--clr-gray-d500);
}

.list-item.drop-btn .drop-down li:hover a {
  color: white;
}

.topnav {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 6rem;
  padding: 0 4rem;
  box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 2px 0px;
  /* margin-bottom: 1rem; */
  border-bottom: 0.2rem solid var(--clr-gray-100);
  background-color: white;
}

.topnav .start {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.topnav .team-name {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--text-clr-gray-500);
}

.burger {
  background-color: white;
  font-size: 2rem;
  width: 4rem;
  height: 4rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: var(--radius-100);
  cursor: pointer;
  transition: all 200ms ease-in-out;
  padding: 0.6rem;
  color: var(--clr-primary-darker);
}

.burger span {
  font-size: 2.5rem;
}

.link-container {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.link-container a {
  color: white;
}

.topnav .edge {
  display: flex;
  align-items: center;
  margin-right: 2rem;
  gap: 1.5rem;
}

.topnav .links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.topnav .links a {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-half);
  color: var(--clr-primary-light);
  /* box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 0px 1px; */
  display: flex;
  align-items: center;
  justify-content: center;
}

.topnav .links a span {
  font-size: 2.3rem;
}

.topnav .user-profile {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  /* border: 0.1rem solid var(--clr-gray-300); */
  /* background-color: var(--clr-primary-lightest); */
  padding: 0.3rem;
  cursor: pointer;
  transition: all 300ms ease-in;
  position: relative;
}

.topnav .profile-btn {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.topnav .profile-img {
  width: 2rem;
  height: 2rem;
  border-radius: var(--radius-half);
  overflow: hidden;
}

.topnav .profile-img img {
  width: 4rem;
  height: 4rem;
  object-fit: cover;
}

.topnav .profile-name {
  color: var(--clr-accent);
  font-size: 1.6rem;
}

.topnav .profile-name::first-letter {
  text-transform: uppercase;
}

.topnav .user-profile .expand {
  font-size: 1.6rem;
  color: var(--clr-gray-900);
  transition: all 300ms ease-in-out;
}
.topnav .user-profile .expand.turn {
  transform: rotate(180deg);
}

.topnav .user-profile .drop-down {
  width: 14rem;
  min-height: 12rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 01rem;
  justify-content: center;
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 50%);
  opacity: 0;
  visibility: hidden;
  background-color: white;
  z-index: 100;
  border-radius: var(--radius-600);
  overflow: hidden;
  padding: 1rem;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
  margin-right: 3rem;
  transition: all 500ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.topnav .user-profile .drop-down.dropped {
  transform: translate(-50%, 107%);
  opacity: 1;
  visibility: visible;
}

.topnav .user-profile .drop-down a {
  width: 100%;
  height: 3rem;
  color: var(--clr-accent-dark);
  color: var(--clr-accent);
  border: 0.1rem solid var(--clr-accent-lighter);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  transition: all 300ms ease-in-out;
  border-radius: var(--radius-400);
}

.topnav .user-profile .drop-down a:hover {
  background-color: var(--clr-accent);
  color: white;
}

.topnav .user-profile .drop-down a span {
  font-size: 1.5rem;
  transition: all 300ms ease-in-out;
  transform: rotate(-45deg);
}

.topnav .user-profile .drop-down a:hover span {
  visibility: visible;
  opacity: 1;
  display: block;
  transform: rotate(0deg);
  margin-left: 1rem;
  color: white;
}

/* MAIN CONTENT CONTAINER */
.main-content-container {
  width: calc(100% - 25rem);
  margin-left: 25rem;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 300ms ease-in-out;
  background-image: linear-gradient(to top, #e6e9f0 0%, #eef1f5 100%);
}

.main-content-container.expand {
  width: 100%;
  margin-left: 0;
}

.main-content-container .main-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  width: 100%;
  /* padding: 3rem; */
  height: calc(100vh - 6rem);
  overflow-y: auto;
  scrollbar-gutter: stable;
  position: relative;
  padding: 2rem;
}

@media (max-width: 900px) {
  .table-container {
    width: 100%;
    overflow-x: auto;
  }
}
@media (max-width: 768px) {
  .w-50,
  .w-60,
  .w-70,
  .w-80 {
    width: 100% !important;
  }
  .popup .popup-container {
    width: 95%;
  }

  .table-container table tr td a {
    margin: 0.5rem;
  }

  .sidenav {
    transform: translateX(-100%);
    z-index: 999;
    background-color: white;
  }
  .main-content-container .main-content {
    padding: 1rem;
  }

  form {
    width: 75%;
  }

  .close-sidenav {
    display: flex;
  }

  .sidenav.close {
    transform: translateX(0%);
  }

  .main-content-container {
    width: 100%;
    margin-left: 0;
  }

  .main-content-container.expand {
    width: 100%;
    margin-left: 0;
  }

  .popup .close-popup-btn {
    top: 1rem;
    right: 1rem;
  }
}

@media (max-width: 500px) {
  form {
    width: 100%;
    padding: 1rem;
  }

  form .form-group {
    flex-direction: column;
  }

  form .show-sm {
    display: flex !important;
  }

  form .hide-sm {
    display: none !important;
  }

  .sidenav {
    width: 30rem;
  }

  .heading {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }

  .heading .back-btn {
    align-self: flex-end;
  }

  .inline-nav {
    flex-direction: column;
  }

  .inline-nav .nav-link {
    min-width: 100%;
    justify-content: flex-start;
  }
}
