@import url("https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,100..700;1,100..700&family=Michroma&family=Poppins: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;1,900&display=swap");

:root {
  --base-clr: #11121a;
  --line-clr: #42434a;
  --hover-clr: #222533;
  --text-clr: #e6e6ef;
  --accent-clr: #5e63ff;
  --secondary-text-clr: #b0b3c1;
  --checkbox-checked-color: black;
  --theme-color: black;
}

:root {
  --line-border-fill: #3498db;
  --line-border-empty: #e0e0e0;
}

* {
  margin: 0;
  padding: 0;
}



.fc-button {
  background-color: var(--theme-color);
  border: 1px solid var(--theme-color);
  color: #fff;
}

/* Hide the default checkbox */
input[type="checkbox"] {
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  width: 25px !important;
  height: 25px !important;
  background-color: #dddcdc !important;
  border: none !important;
  position: relative !important;
  cursor: pointer !important;
  vertical-align: middle !important;
  padding: 13px 13px !important;
}

/* Hover effect */
input[type="checkbox"]:hover {
  background-color: #ccc !important;
}

/* Checked state */
input[type="checkbox"]:checked {
  background-color: var(--checkbox-checked-color) !important;
}

/* Checkmark creation using ::after */
input[type="checkbox"]::after {
  content: "" !important;
  position: absolute !important;
  display: none !important;
}

/* Show the checkmark when checked */
input[type="checkbox"]:checked::after {
  display: block !important;
  left: 9px !important;
  top: 5px !important;
  width: 5px !important;
  height: 10px !important;
  border: solid white !important;
  border-width: 0 3px 3px 0 !important;
  transform: rotate(45deg) !important;
}

body input,
textarea,
select {
  padding: 15px 20px;
  border-radius: 25px;
  background: rgba(220, 220, 220, 0.075) !important;
  box-shadow: rgba(0, 0, 0, 0.09) 0px 3px 12px;
  font-family: "Josefin Sans", sans-serif;
}

.progress-container {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-bottom: 30px;
  max-width: 100%;
  width: 70%;
}

.progress-container::before {
  content: ""; /* Mandatory with ::before */
  background-color: var(--line-border-empty);
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  height: 4px;
  width: 94%;
  z-index: -1;
}

.progress {
  background-color: black;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  height: 4px;
  width: 0%;
  z-index: -1;
  transition: 0.4s ease;
}

.circle {
  background-color: #fff;
  color: #999;
  border-radius: 50%;
  height: 60px;
  width: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--line-border-empty);
  transition: 0.4s ease;
  font-size: 21px;
  position: relative;
  top: 27px;
}

.circle.active {
  border-color: var(--theme-color);
  background-color: var(--theme-color);
  color: white;
  font-weight: 600;
  font-size: 21px;
}

.btn {
  background-color: var(--line-border-fill);
  color: #fff;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  font-family: inherit;
  padding: 8px 30px;
  margin: 5px;
  font-size: 14px;
}

.btn:active {
  transform: scale(0.98);
}

.btn:focus {
  outline: 0;
}

.btn:disabled {
  background-color: var(--line-border-empty);
  cursor: not-allowed;
}

.form-control input {
  box-shadow: unset !important;
  border-radius: unset !important;
}

.ql-snow * {
  background-color: white;
}

.ql-toolbar.ql-snow {
  background-color: white;
}

select {
  padding-right: 2rem;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath fill='%23444' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 0.6rem auto;
}

html {
  font-family: "Josefin Sans", sans-serif;
  line-height: 1.5rem;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  color: var(--text-clr);
  display: grid;
  grid-template-columns: auto 1fr;
  background-color: #f3f4f6;
}

#sidebar {
  box-sizing: border-box;
  height: 100vh;
  width: 280px;
  padding: 5px 1em;
  background-color: var(--base-clr);
  z-index: 1000 !important;
  position: sticky;
  top: 0;
  align-self: start;
  transition: 300ms ease-in-out;
  overflow: hidden;
  text-wrap: nowrap;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px,
    rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
  overflow-y: scroll;
}

#sidebar {
  overflow-y: scroll;
  /* enable vertical scrolling */
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE 10+ */
}

/* Chrome, Safari, Opera */
#sidebar::-webkit-scrollbar {
  display: none;
}

#sidebar.close {
  padding: 5px;
  width: 59px;
}

#sidebar ul {
  list-style: none;
}

#sidebar ul li {
  font-size: 17.5px;
}

#sidebar > ul > li:first-child {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 16px;

  .logo {
    font-weight: 600;
  }
}

#sidebar ul li.active a {
  color: var(--accent-clr);

  svg {
    fill: var(--accent-clr);
  }
}

#sidebar a,
#sidebar .dropdown-btn,
#sidebar .logo {
  border-radius: 0.5em;
  padding: 0.85em;
  text-decoration: none;
  color: var(--text-clr);
  display: flex;
  align-items: center;
  gap: 1em;
}

.dropdown-btn {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  font: inherit;
  cursor: pointer;
}

#sidebar svg {
  flex-shrink: 0;
  fill: var(--text-clr);
}

#sidebar a span,
#sidebar .dropdown-btn span {
  flex-grow: 1;
}

#sidebar a:hover,
#sidebar .dropdown-btn:hover {
  background-color: var(--hover-clr);
}

#sidebar .sub-menu {
  display: grid;
  grid-template-rows: 0fr;
  transition: 300ms ease-in-out;

  > div {
    overflow: hidden;
  }
}

#sidebar .sub-menu.show {
  grid-template-rows: 1fr;
}

.dropdown-btn svg {
  transition: 200ms ease;
}

.rotate svg:last-child {
  rotate: 180deg;
}

#sidebar .sub-menu a {
  padding-left: 2em;
}

#toggle-btn {
  margin-left: auto;
  padding: 1em;
  border: none;
  border-radius: 0.5em;
  background: none;
  cursor: pointer;

  svg {
    transition: rotate 150ms ease;
  }
}

/* #toggle-btn:hover{
  background-color: var(--hover-clr);
} */

main p {
  color: #333;
  margin-top: 5px;
  margin-bottom: 15px;
}

.container {
  border: 1px solid var(--line-clr);
  border-radius: 1em;
  margin-bottom: 20px;
  padding: min(3em, 15%);

  h2,
  p {
    margin-top: 1em;
  }
}

/* On mobile: hidden by default using `close` class */
@media (max-width: 500px) {
  #sidebar.close {
    transform: translateX(-100%);
  }
}

@media (max-width: 500px) {
  #sidebar.close {
    transform: translateX(-100%);
  }

  body {
    grid-template-columns: 1fr;
    /* Remove sidebar column */
  }

  main {
    grid-column: 1 / -1;
    /* Make main span full width */
  }
}

@media (max-width: 500px) {
  body {
    grid-template-columns: 1fr;
    /* sidebar hidden, wrapper full */
  }

  #sidebar.close {
    transform: translateX(-100%);
    position: fixed;
    z-index: 1000;
  }

  .main-wrapper {
    grid-column: 1 / -1;
  }
}

.change-pass-modal {
  display: none;
  /* hidden by default */
  position: fixed;
  z-index: 9999;
  /* high enough */
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.6);
}

.change-pass-modal .modal-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 30px;
  border-radius: 8px;
  width: 350px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  position: relative;
}

.change-pass-modal .close {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 24px;
  cursor: pointer;
  color: black !important;
}

.change-pass-modal .close:hover {
  color: #000;
}

.change-pass-modal form {
  display: flex;
  flex-direction: column;
}

.change-pass-modal form label {
  margin: 10px 0 5px;
}

.change-pass-modal form input {
  margin-bottom: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 14px;
  padding: 15px;
  box-sizing: border-box !important;
}

.change-pass-modal form button {
  padding: 10px;
  background-color: black;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  color: white;
  width: fit-content;
  padding: 10px 20px;
  margin-top: 10px;
}

.change-pass-modal form button:hover {
  background-color: rgba(0, 0, 0, 0.685);
}

.modal-content label {
  color: black !important;
}

.modal-content h2 {
  color: black !important;
  margin-bottom: 10px;
}

.message-forum-wrap a {
  color: white;
}

#editor ul li {
  color: black !important;
}

.ql-editor li[data-list="ordered"] {
  color: black !important;
}

.ql-editor li[data-list="un"] {
  color: black !important;
}

.ql-editor li[data-list] {
  color: black !important;
}

.ql-snow .ql-editor h1 {
  color: black !important;
}

.ql-snow .ql-editor h2 {
  color: black !important;
}
.ql-snow .ql-editor h3 {
  color: black !important;
}

.add-threads-wrap label {
  color: black !important;
  font-size: 21px;
  padding-bottom: 20px;
}

.add-threads-wrap input {
  background-color: transparent;
  border: 1px solid #ccc;
  padding: 15px 25px;
  outline: none !important;
}

.feildwrapper {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-bottom: 20px;
}

.feildwrapper div {
  display: flex;
  flex-direction: column;
  width: 49%;
}

.ql-editor {
  min-height: 200px !important;
}

.common-btn {
  width: 150px;
  border: none;
  background-color: black;
  color: white;
  padding: 15px 0px;
  margin-top: 20px;
  cursor: pointer;
  font-weight: 600;
  font-family: "Josefin Sans", sans-serif;
  font-size: 17px;
  border-radius: 8px;
}

.search-c-wrapper {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  padding-bottom: 20px;
}

.search-c-wrapper input {
  padding: 8px 15px;
  outline: none;
  border: 1px solid #cfcfcf;
  border-radius: 50px;
}

.loader-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.89);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.boxes {
  height: 32px;
  width: 32px;
  position: relative;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  -webkit-transform-origin: 50% 50%;
  transform-origin: 50% 50%;
  margin-top: 32px;
  -webkit-transform: rotateX(60deg) rotateZ(45deg) rotateY(0deg) translateZ(0px);
  transform: rotateX(60deg) rotateZ(45deg) rotateY(0deg) translateZ(0px);
}
.boxes .box {
  width: 32px;
  height: 32px;
  top: 0px;
  left: 0;
  position: absolute;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
}

.boxes .box:nth-child(1) {
  -webkit-transform: translate(100%, 0);
  transform: translate(100%, 0);
  -webkit-animation: box1 1s linear infinite;
  animation: box1 1s linear infinite;
}
.boxes .box:nth-child(2) {
  -webkit-transform: translate(0, 100%);
  transform: translate(0, 100%);
  -webkit-animation: box2 1s linear infinite;
  animation: box2 1s linear infinite;
}
.boxes .box:nth-child(3) {
  -webkit-transform: translate(100%, 100%);
  transform: translate(100%, 100%);
  -webkit-animation: box3 1s linear infinite;
  animation: box3 1s linear infinite;
}
.boxes .box:nth-child(4) {
  -webkit-transform: translate(200%, 0);
  transform: translate(200%, 0);
  -webkit-animation: box4 1s linear infinite;
  animation: box4 1s linear infinite;
}

.boxes .box > div {
  background: rgb(255, 254, 254);
  --translateZ: 15.5px;
  --rotateY: 0deg;
  --rotateX: 0deg;
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.658);
  top: auto;
  right: auto;
  bottom: auto;
  left: auto;
  -webkit-transform: rotateY(var(--rotateY)) rotateX(var(--rotateX))
    translateZ(var(--translateZ));
  transform: rotateY(var(--rotateY)) rotateX(var(--rotateX))
    translateZ(var(--translateZ));
}

.boxes .box > div:nth-child(1) {
  top: 0;
  left: 0;
  background: rgba(255, 255, 255, 0.486);
}
.boxes .box > div:nth-child(2) {
  background: rgb(255, 255, 255);
  right: 0;
  --rotateY: 90deg;
}
.boxes .box > div:nth-child(3) {
  background: rgba(255, 255, 255, 0.411);
  --rotateX: -90deg;
}
.boxes .box > div:nth-child(4) {
  background: #dbe3f413;
  top: 0;
  left: 0;
  --translateZ: -90px;
}

@keyframes box1 {
  0%,
  50% {
    transform: translate(100%, 0);
  }
  100% {
    transform: translate(200%, 0);
  }
}

@keyframes box2 {
  0% {
    transform: translate(0, 100%);
  }
  50% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(100%, 0);
  }
}

@keyframes box3 {
  0%,
  50% {
    transform: translate(100%, 100%);
  }
  100% {
    transform: translate(0, 100%);
  }
}

@keyframes box4 {
  0% {
    transform: translate(200%, 0);
  }
  50% {
    transform: translate(200%, 100%);
  }
  100% {
    transform: translate(100%, 100%);
  }
}
















/* Base button setup */
main button {
  position: relative;
  overflow: hidden !important;
  z-index: 0;
}

/* Pseudo-element for blinking shine effect */
main button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  height: 100%;
  width: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.6), transparent);
  z-index: 1;
  pointer-events: none;
  transition: none;
}

/* Trigger animation only on hover */
main button:hover::before {
  animation: blinkSlide 1.5s forwards;
}

/* Keyframes for the slide animation */
@keyframes blinkSlide {
  0% {
    left: -100%;
  }
  50% {
    left: 100%;
  }
  100% {
    left: 100%;
  }
}


.complete-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999;
}
.complete-modal .modal-content {
  background: #fff;
  padding: 30px;
  width: 500px;
  margin: 100px auto;
  border-radius: 8px;
  position: relative;
  box-sizing: border-box;
}
.complete-modal .close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  cursor: pointer;
  font-size: 22px;
}


.complete-modal button{
  font-family: "Josefin Sans", sans-serif !important;
  font-size: 16px;
  margin-top: 10px;
}