@import url("https://fonts.googleapis.com/css2?family=Urbanist:wght@100;200;300;400;500;600;700;800;900&display=swap");
.outer-container {
  width: 100%;

  height: 100%;
}
/* :root{
  --h1:#222222;
  --side-bar:#222222;
  --bg-color:white; 
  --border-color:#e5e5e5;
  --input-color:#f9f9fa:
}
.dark-mode {
  --h1:white;
  --side-bar:90949c;
  --bg-color:#0d0d11;
  --border-color:#14141f; 
  --input-color:#343444;
} */
.citation-modal {
  background-color: pink;
}
.citation-header {
  display: flex;
  justify-content: space-between;
}
.container-post {
  max-width: 1240px;
  margin: 0 auto;
  padding: 20px 20px;
}

/* header {
  background-color: white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
}
.logo {
  font-size: 24px;
  font-weight: bold;
}
nav a {
  margin-left: 20px;
  text-decoration: none;
  color: #666;
}
nav a.active {
  color: #0077b6;
  border-bottom: 2px solid #0077b6;
}
nav {
  font-size: 18px;
}
.header-actions {
  display: flex;
  align-items: center;
}
/* .header-actions > * {
  margin-left: 15px;
} */
.create-btn {
  background: #0378a4;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
}
.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #ddd;
}
.header-content2 {
  display: flex;
  gap: 20px;
  align-items: center;
}
*/ .post-options-modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  /* margin: 5% auto !important; */

  background-color: rgba(0, 0, 0, 0.5);
}
@media (max-width: 1024px) {
  .post-options-content {
    width: 95%;
    margin: 22% auto !important;
  }
  .post-options-body {
    padding: 10px !important;
  }
  .post-modal-div {
    align-items: start;
  }
  .post-modal-div1 {
    padding: 20px;
    height: fit-content !important;
    flex-direction: column !important;
  }
  .troy-container {
    width: 100% !important;
  }
  .troy-card {
    width: 100% !important;
  }
  .link-head {
    width: 200px !important;
  }
  .troy-file-details {
    width: 200px;
  }
  .troy-file-info {
    display: block;
  }
  .post-modal-div2 {
    padding: 20px;
    height: fit-content !important;
    flex-direction: column !important;
  }
  .post-modal-div4 {
    height: fit-content !important;
  }
  .select-div {
    flex-direction: column;
    gap: 5px;
    padding: 20px;
  }
  .select-course {
    height: 72px !important;
    width: 100%;
    padding: 20px 20px;
  }
  .post-div-3 {
    height: fit-content !important;
    flex-direction: column !important;
  }
  .input-box {
    width: 130px !important;
  }
  .troy-container {
    flex-direction: column;
  }
  .select-course2 {
    width: 100% !important;
    padding: 10px;
    height: fit-content;
  }
  .post-modal-div5 {
    padding: 10px !important;
  }
  .select-course2 {
    padding: 0;
  }
  .select-course3 {
    width: 100% !important;
  }
}

.post-options-content {
  background-color: #fff;
  margin: 6% auto;

  max-width: 1072px;
  border-bottom: 7px solid #0378a4;
  border-radius: 10px;
  overflow: hidden;
}

.post-options-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #ddd;
  font-size: 24px;
  font-weight: 600;
  color: var(--input-color);
  background-color: var(--body-bg);
  padding: 30px;
  height: 90px;
}
.post-options-body {
  padding: 40px;
  max-height: 70vh;
  overflow-y: auto;
  background-color: var(--body-bg);
}

.post-option-heading {
  font-family: Urbanist;
  font-size: 24px;
  font-weight: 600;
  line-height: 30px;
  text-align: left;
  color: var(--h1);
}

.post-options-close {
  font-size: 24px;
  cursor: pointer;
}

.post-options-section {
  margin-bottom: 20px;
  padding: 15px;
  border-radius: 4px;
}

.post-options-select {
  width: 100%;
  padding: 8px;
  margin: 5px 0;
  border: 1px solid var(--border-color);
  border-radius: 4px;
}
/* Container for both inputs */
.input-container {
  display: flex;
  gap: 16px; /* Space between the inputs */
}

/* Input box styling */
.input-box {
  position: relative;
  display: flex;
  align-items: center;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  width: 172px;
  height: 56px;
  padding: 10px;
  background-color: var(--input-color);
}

/* Input field styling */
.input-box input {
  border: none;
  outline: none;
  background: transparent;
  flex: 1;
  font-size: 14px;
  color: var(--p);
}

/* Placeholder color */
.input-box input::placeholder {
  color: #aaa;
}
.post-modal-div {
  display: flex;
  align-items: center;
}
.post-modal-div1 {
  display: flex;
  justify-content: space-between;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  height: 100px;
  padding-left: 30px;
  padding-right: 30px;
  margin-bottom: 30px;
}
.post-modal-div2 {
  display: flex;
  justify-content: space-between;
  border: 1px solid #e5e5e5;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  height: 100px;
  padding-left: 30px;
  padding-right: 30px;
}
.post-modal-div4 {
  width: 100%;

  justify-content: space-between;
  border: 1px solid #e5e5e5;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  height: fit-content;
  padding: 30px;
  margin-bottom: 30px;
}
.post-modal-div5 {
  width: 100%;

  justify-content: space-between;
  border: 1px solid #e5e5e5;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;

  padding: 30px;
}
.post-in-profile {
  color: var(--h1);
  font-family: Urbanist;
  font-size: 20px;
  font-weight: 600;
  line-height: 24px;
  text-align: left;
}
.post-checkbox {
  width: 26px;
  height: 25px;
  margin-right: 10px;
}
.post-div-3 {
  display: flex;
  align-items: center;
  gap: 10px;
}
.post-div-3 p {
  font-family: Urbanist;
  font-size: 18px;
  font-weight: 500;
  line-height: 21.6px;
  text-align: left;
  color: #5a5a5a;
}
.select-course {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 20px;
  width: 288px;
  height: 70px;
  background-color: var(--input-color);
  border: 2px solid var(--border-color);
  border-radius: 10px;
}

.select-course2 {
  display: flex;

  align-items: center;
  padding: 0 20px;
  width: 430px;
  height: 70px;
  background-color: var(--input-color);
  border: 2px solid var(--border-color);
  border-radius: 10px;
}
.select-course3 {
  display: flex;

  align-items: center;
  padding: 0 20px;
  width: 430px;
  height: 70px;
  background-color: var(--input-color);
  border: 1px solid var(--border-color);
  border-radius: 10px;
}
.select-algebra {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;

  height: 70px;
  background-color: var(--input-color);
  border: 2px solid var(--border-color);
  border-radius: 10px;
  width: 100%;
}
.upload-text {
  font-family: Urbanist;
  font-size: 14px;
  font-weight: 600;
  line-height: 16.8px;
  text-align: left;
}
.upload-text2 {
  margin-top: 10px;
  color: #5a5a5a;
  font-family: Urbanist;
  font-size: 12px;
  font-weight: 400;
  line-height: 14.4px;
  text-align: left;
}
.upload-img {
  margin-right: 10px;
}
.select-algebra p {
  font-family: Urbanist;
  font-size: 18px;
  font-weight: 600;
  line-height: 21.6px;
  text-align: left;
  color: #5a5a5a;
}
.select-div {
  height: fit-content;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.select-course p {
  font-family: Urbanist;
  font-size: 18px;
  font-weight: 600;
  line-height: 21.6px;
  text-align: left;
  color: #5a5a5a;
}

/* Icon styling */
.input-box .icon {
  margin-left: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.input-box .icon img {
  width: 16px;
  height: 16px;
  display: block;
}

.post-options-footer {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.allow-comments-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  font-family: Arial, sans-serif;
}

.toggle-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;

  margin-bottom: 20px;
}

.toggle-text {
  text-align: left;
}

.toggle-title {
  font-family: Urbanist;
  font-size: 20px;
  font-weight: 600;
  line-height: 24px;
  text-align: left;
}

.toggle-description {
  font-family: Urbanist;
  font-size: 18px;
  font-weight: 400;
  line-height: 22px;
  letter-spacing: 0.01em;
  text-align: left;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  color: #5a5a5a;
  margin-top: 10px;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 35px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 30px;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  border-radius: 24px;
  transition: 0.4s;
}

.toggle-slider::before {
  position: absolute;
  content: "";
  height: 30px;
  width: 30px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  border-radius: 50%;
  transition: 0.4s;
}

.toggle-switch input:checked + .toggle-slider {
  background-color: #0378a4;
}

.toggle-switch input:checked + .toggle-slider::before {
  transform: translateX(26px);
}

.publish-btn {
  width: 100%;
  background-color: #0378a4;
  color: white;
  font-size: 16px;
  font-weight: bold;
  height: 60px;
  border-radius: 32px;
  border: none;

  cursor: pointer;
  transition: background-color 0.3s;
}

.post-options-publish {
  background-color: #0378a4;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Urbanist", sans-serif;
  background-color: var(--body-bg);
}
.container-post {
  max-width: 1240px;
  margin: 0 auto;
  padding: 20px 20px;
}
.header {
  width: 1240px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 50px;
  margin-top: 30px;
}
.back-button {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
}
.header-buttons {
  display: flex;
  width: 275px;
}
/* .btn {
        padding: 8px 16px;
        border-radius: 20px;
        border: none;
        cursor: pointer;
        font-weight: 600;
    } */

.preview {
  background-color: var(--engagement-item);
  color: #0378a4;
  border: 1px solid #0378a4;
  width: 135px;
  height: 56px;
  border-top-right-radius: 27px;
  border-bottom-right-radius: 27px;
  font-family: Urbanist;
  font-size: 18px;
  font-weight: 700;
  line-height: 29.55px;
  cursor: pointer;
}
.edit {
  background-color: var(--engagement-item);
  color: #0378a4;
  border: 1px solid #0378a4;
  width: 135px;
  height: 56px;
  border-top-left-radius: 27px;
  border-bottom-left-radius: 27px;

  font-family: Urbanist;
  font-size: 18px;
  font-weight: 700;
  line-height: 29.55px;
  cursor: pointer;
}

.publish {
  background-color: #0378a4;
  color: white;
  width: 205px;
  height: 56px;
  border: none;
  cursor: pointer;
  border-radius: 27px;
  font-size: 18px;
}
.save-draft {
  background-color: var(--engagement-item);
  color: #0378a4;
  border: 1px solid #0378a4;
  width: 205px;
  height: 56px;
  border-radius: 27px;
  font-size: 18px;
}
.dropdown {
  background: none;
  border: none;
  font-size: 16px;
  cursor: pointer;
  color: #0378a4;
}
.cover-image {
  border: 1px dashed #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--input-color);
  gap: 15px;
  width: 400px;
  height: 80px;
  font-size: 24;

  margin-bottom: 20px;
  border-radius: 8px;
  color: #888;
}
.cover-image img {
  width: 35px;
  height: 28px;
}
.cover-image p {
  font-size: 24px;
  font-weight: 700;
}
.input-group input {
  height: 90px;
  border-radius: 10px;
  background: var(--input);
  font-size: 18px;
  border: 1px solid #e5e5e5;
  color: var(--input-txt-clr);
  padding: 10px;
}
.input-group input::placeholder {
  padding: 0px;
}
.input-group1 input {
  width: 100%;
  margin-bottom: 20px;
  height: 90px;
  border-radius: 10px;
  background: var(--input-color);
  font-size: 18px;
}
.editablecontent_item {
  padding-left: 20px !important;
}
.editablecontent_item::placeholder {
  padding: 0px;
  color: #828282 !important;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 24px;
  margin-bottom: 25px;
  margin-top: 25px;
}
input,
textarea {
  width: 100%;

  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: "Urbanist", sans-serif;
}
.content {
  margin-bottom: 20px;
  height: 90px;
  border-radius: 10px;
  background: var(--input-color);
  font-size: 18px;
  color: #828282;
}

textarea {
  min-height: 90px;
  background: var(--input-color);

  font-size: 18px;
}
.tip {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #ddd;
  height: 100px;
  border-radius: 4px;
  padding: 10px;
  margin-top: 20px;
  margin-bottom: 50px;
  color: #5a5a5a;

  font-size: 24px;
}
.tip span {
  color: #0378a4;
}
.footer-post {
  display: flex;

  align-items: center;
  margin-top: 20px;
  gap: 30px;
}
.footer img {
  width: 30px;
  height: 30px;
}
.Anyone {
  display: flex !important;
  justify-content: center;
  color: #0378a4;
  align-items: center;
  gap: 5px;
  font-family: Urbanist;
  font-size: 18px;
  font-weight: 600;
  line-height: 24.61px;
  letter-spacing: 0.01em;
  text-align: left;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
}

.main {
  width: 1240px;
  border: 1px solid var(--border-color);
  padding: 50px;
  background-color: var(--top-posts-bg);
  border-radius: 10px;
  margin-bottom: 200px;
}
.empty {
  height: 1px;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  margin: auto;
  background-color: rgba(0, 0, 0, 0.5);
}
.modal-body1 {
  padding: 50px;
  height: 70vh;
  overflow-y: auto;
  background-color: var(--bg-color);
}

.modal-content {
  background-color: #fff;
  margin: 5% auto;

  width: 90%;
  max-width: 790px;
  border-radius: 8px;
  overflow: hidden;

  border-radius: 10px;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #ddd;
  font-size: 24px;
  font-weight: 600;
  color: var(--h1);
  background-color: var(--bg-color);
  padding: 20px;
  height: 90px;
}

.close {
  color: #0378a4;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  font-family: Urbanist;
  font-size: 20px;
  font-weight: 600;
  line-height: 24px;
  text-align: left;
  color: var(--h1);
}

.form-group select {
  width: 100%;
  height: 70px;
  font-size: 18px;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 10px;
}

.form-group {
  margin-bottom: 20px;
}

/* .form-group label {
  display: block;
  margin-bottom: 8px;
  color: #333;
  font-size: 20px;
  font-weight: 600;
} */

.textarea {
  padding: 20px;
  font-size: 18px;
  color: #5a5a5a;
}

.custom-select {
  position: relative;
  width: 100%;
}

.custom-select select {
  width: 100%;
  padding: 20;
  font-size: 18px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background-color: var(--input-color);
  appearance: none;
  color: #6d6d6d;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
}

.custom-select select:focus {
  outline: none;
  border-color: #0378a4;
}

.select-arrow {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #6b7280;
}

/* Styling for options */
.custom-select select option {
  padding: 30px 30px;
  font-size: 16px;
}

.switch-group label {
  font-size: 20px;
  font-weight: 600;
}

.switch-group {
  font-size: 18px;
  color: #5a5a5a;

  display: flex;
  justify-content: space-between;
  align-items: center;
}

.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.4s;
}

input:checked + .slider {
  background-color: #0378a4;
}

input:checked + .slider:before {
  transform: translateX(26px);
}

.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

#publishNowBtn {
  width: 100%;
  height: 60px;
  padding: 10px;
  background-color: #0378a4;
  color: white;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  font-size: 16px;
}

#publishNowBtn:hover {
  background-color: #025d7e;
}
.checkout {
  display: flex;
  gap: 10px;
  align-items: center;
}
.checkbox {
  width: 30px;
}
.option-div {
  padding: 20px;
  font-size: 18px;
  color: #6b7280;
}

#specialText {
  width: 100%;
  height: 245px;
  padding: 20px;
  color: #5a5a5a;
  border: 1px solid #ddd;
  border-top-right-radius: 8px;
  border-top-left-radius: 8px;
  font-size: 18px;
  resize: vertical;
}
#specialText textarea {
  width: 100%;
  height: 200px;
  padding: 20px;
  color: #5a5a5a;
  border: 1px solid #ddd;
  border-top-right-radius: 8px;
  border-top-left-radius: 8px;
  font-size: 18px;
  resize: vertical;
}
.operations1 {
  display: flex;
  align-items: center;
  gap: 10px;
}
.operations {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  height: 65px;
  padding: 20px;
  color: #5a5a5a;
  border: 1px solid #ddd;
  border-bottom-right-radius: 8px;
  border-bottom-left-radius: 8px;
  font-size: 18px;
  resize: vertical;
}

.modal-footer {
  padding: 20px;
  text-align: right;
}

.btn2 {
  background-color: var(--engagement-item);
  color: #0378a4;
  border-color: #0378a4;
  width: 135px;
  height: 56px;
  border: 1px solid #0378a4;
  cursor: pointer;
  border-radius: 27px;
  font-size: 18px;
}

.Apply {
  background-color: #0378a4;
  color: white;
  width: 135px;
  height: 56px;
  border: none;
  cursor: pointer;
  border-radius: 27px;

  font-size: 18px;
}

.matrix-row-colum {
  width: 100%;
}
.button-div {
  display: flex;
  gap: 20px;
}
.input-citation {
  display: flex;
  gap: 20px;
}
.input-citation-outer-div {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.citation-action img {
  width: 30px;
  height: 30px;
}
.imges {
  display: flex;
  gap: 20px;
  align-items: center;
}

.imges img {
  height: 25px;
  width: 20px;
}
#gydeCitation {
  font-family: "Urbanist";
  font-size: 18px;
  font-weight: 600;
  line-height: 21.6px;
  background-color: var(--input);
  width: 169px;
  height: 72px;
  border-radius: 5.5px;
  border: 1px solid #828282;
  opacity: 0px;
  cursor: pointer;
  color: #828282;
}
#mendeleyCitation {
  background-color: var(--input);
  font-family: Urbanist;
  font-size: 18px;
  font-weight: 600;
  line-height: 21.6px;
  border: 1px solid #828282;
  color: #828282;
  width: 207px;
  height: 72px;

  border-radius: 5.5px;
  border: 1.11px 0px 0px 0px;
  opacity: 0px;
  cursor: pointer;
}
.citation-button {
  padding: 10px 20px;
  border: 1px solid #ccc;
  background: none;
  cursor: pointer;
  border-radius: 4px;
  font-weight: bold;
  margin-right: 10px;
}

.citation-button.active {
  background-color: #e5e5e5;
  border: 1px solid #0378a4;
  color: #0378a4;
}

.filter-button {
  background: none;
  border: none;
  cursor: pointer;
}

.citation-list {
  margin-top: 20px;
}

.citation-entry {
  display: flex;
  justify-content: space-between;
  width: 100%;

  top: 582px;
  left: 413px;
  gap: 0px;
  opacity: 0px;
}

.citation-entry p {
  margin: 5px 0;
}

.see-more {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 52px;
  border: 1px solid #0378a4;
  color: #0378a4;
  font-family: Urbanist;
  font-size: 16px;
  font-weight: 700;
  background-color: var(--engagement-item);

  border-radius: 26px;
}
.style {
  width: 100%;
  display: flex;

  justify-content: space-between;
}
.style p {
  margin-top: 20px;
  margin-bottom: 20px;
  font-family: Urbanist;
  font-size: 24px;
  font-weight: 600;
  line-height: 28.8px;
  text-align: left;
}
.style button {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
  width: 320px;
  margin-top: 20px;
  margin-bottom: 20px;

  height: 72px;
  border-radius: 8px;
  gap: 0px;

  border: 1px solid #5a5a5a;
  color: #5a5a5a;
  background-color: var(--engagement-item);
  font-family: Urbanist;
  font-size: 18px;
  font-weight: 600;
  line-height: 21.6px;
}
.style button span {
  font-family: Urbanist;
  font-size: 18px;
  font-weight: 400;
  line-height: 21.6px;
  text-align: left;
}

.citation-settings {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

.citation-style,
.citation-language {
  width: 45%;
}

.citation-style label,
.citation-language label {
  display: block;
  font-weight: bold;
  margin-bottom: 8px;
}

.style-button,
.language-button {
  width: 100%;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #0378a4;
  color: #0378a4;
  background-color: #fff;
  cursor: pointer;
  font-weight: bold;
}
.para2 p {
  font-family: Urbanist;
  font-size: 18px;
  font-weight: 600;
  line-height: 28px;
  letter-spacing: 0.01em;
  text-align: right;
  color: #5a5a5a;
}
.para2 h5 {
  font-family: Urbanist;
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
  letter-spacing: 0.01em;
  text-align: left;
  color: #5a5a5a;
}
.organic div {
  font-family: Urbanist;
  font-size: 18px;
  font-weight: 600;
  line-height: 28px;
  letter-spacing: 0.01em;
  text-align: right;
  color: #5a5a5a;
}
.organic h4 {
  font-family: Urbanist;
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
  letter-spacing: 0.01em;
  text-align: right;
  color: #5a5a5a;
}
.para p {
  font-family: Urbanist;
  font-size: 18px;
  font-weight: 600;
  line-height: 28px;
  letter-spacing: 0.01em;
  text-align: left;
  color: #5a5a5a;
}
.para h5 {
  top: 582px;
  left: 413px;
  gap: 0px;
  opacity: 0px;
  font-family: Urbanist;
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
  letter-spacing: 0.01em;
  text-align: left;
  color: #5a5a5a;
}
.warn {
  font-family: Urbanist;
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
  letter-spacing: 0.01em;
  text-align: left;
  color: #5a5a5a;
}
.para-inner {
  display: flex;
  justify-content: space-between;
}
.para {
  width: 100%;
}
.checkbox {
  display: flex;
  width: 80%;
  gap: 10px;
}
#gydeCitation.active,
#mendeleyCitation.active {
  color: #0378a4 !important;
  border-color: #0378a4 !important;
}

#gydeInputs,
.mendeley-inputs {
  display: hidden;
  margin-top: 20px;
}
#gydeInputs input {
  height: 70px;
  border-radius: 10px;
  font-size: 18px;
  margin-top: 10px;
  margin-bottom: 10px;
}

/* Show elements based on the active button */
.gyde-active #gydeInputs {
  display: block;
}

.mendeley-active .mendeley-inputs {
  display: block;
}
.hidden {
  display: none;
}

/* Popup Modal */
.popup-modal {
  position: fixed;
  top: 70%;
  right: 20%;

  transform: translate(-50%, -50%);
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  width: 300px;
  padding: 20px;
  z-index: 1000;
  display: none; /* Initially hidden */
}

.popup-modal.hidden {
  display: none;
}

.popup-modal-content {
  text-align: left;
}

.popup-item-post {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px;
  font-family: Urbanist;
  font-size: 18px;
  font-weight: 400;
  line-height: 21.6px;
}

.popup-item img {
  width: 20px;
  height: 20px;
  opacity: 0.7;
}

.popup-item span {
  font-size: 14px;
}

.popup-description {
  width: 188px;
  margin-left: 25px;
  font-family: Urbanist;
  font-size: 18px;
  font-weight: 400;
  line-height: 21.6px;
  text-align: left;

  color: #5a5a5a;
}

.popup-divider {
  height: 1px;
  background-color: #eee;
  margin: 8px 0;
}

.popup-close-btn {
  margin-top: 20px;
  padding: 10px 20px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.popup-close-btn:hover {
  background-color: #0056b3;
}
.troy-container {
  width: 920px;
  margin: 0 auto;
  display: flex;
  gap: 50px;
  margin-bottom: 30px;
  margin-top: 30px;
}
.troy-card {
  width: 430px;
  background-color: #0378a40d;
  border-radius: 8px;
  padding: 16px;
  flex: 1;
}

.troy-file-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.troy-file-info {
  display: flex;
  align-items: center;
  gap: 12px;
}
.troy-file-icon {
  width: 30px;
}
.troy-file-details p {
  margin: 0;
}
.troy-file-name {
  font-family: Urbanist;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: 0.01em;
}
.troy-file-size {
  font-family: Urbanist;
  font-size: 14px;
  font-weight: 400;
  line-height: 16.8px;
  letter-spacing: 0.01em;
  text-align: left;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  color: #8a8a8a;
}
.troy-delete-button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: background-color 0.3s;
}

.troy-delete-icon {
  width: 20px;
  height: 20px;
  fill: #6b7280;
}
.troy-link {
  font-size: 14px;
  font-weight: 400;
  line-height: 16.8px;
  letter-spacing: 0.01em;
  text-align: left;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  color: #0378a4;
  text-decoration: none;
}
.link-head {
  font-family: Urbanist;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: 0.01em;
  text-align: left;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  color: #5a5a5a;
}
.troy-link:hover {
  text-decoration: underline;
}
.preview-lbl {
  font-family: "Urbanist";
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 24px;
  margin-bottom: 25px;
  margin-top: 25px;
  color: #222222;
}

#preview-content {
  background: #f9f9fa;
  border: 1px solid #e5e5e5;
  /* height: 300px; */
  padding: 10px;
  border-radius: 5px;
}

.format-btn {
  background: none;
  border: none;
  padding: 5px;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.2s;
}

.format-btn:hover {
  background-color: rgba(0, 0, 0, 0.1);
}

.format-btn.active {
  background-color: rgba(0, 0, 0, 0.2);
}

#content_container {
  min-height: 200px;
  border: 1px solid #e5e5e5;
  padding: 10px;
  margin-bottom: 10px;
  overflow-y: auto;
  color: var(--input-txt-clr) !important;
  background-color: var(--input-color);
}

@media (max-width: 1024px) {
  .citation-para-txt {
    width: 100%;
  }
  .input-citation {
    flex-direction: column;
    gap: 20px;
  }
  .style {
    flex-direction: column;
    gap: 20px;
  }

  .header {
    width: 95%;
  }
  #content_container {
    min-height: 168px !important;
  }
  .modal-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .btn2 {
    width: 100%;
  }
  .Apply {
    width: 100%;
  }
  .header-buttons {
    width: 215px;
  }
  .modal-body1 {
    padding: 10px;
    height: fit-content;
  }
  .modal-content {
    width: 95%;
    margin: 20% auto;
    overflow-y: scroll;
  }
  .operation {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    padding: 5px;
    display: block;
    height: fit-content;
  }
  .operations1 {
    margin-top: 10px;
    margin-bottom: 10px;
  }
  .modal-header {
    height: 70px;
    font-family: Urbanist;
    font-size: 22px;
    font-weight: 600;
    line-height: 30px;
  }
  .main {
    width: 100%;
    display: block;
    padding: 10px;
  }
  .cover-image {
    width: 199px;
    height: 44px;
    margin: auto;
  }
  .cover-image p {
    font-family: Urbanist;
    font-size: 14px;
    font-weight: 700;
    line-height: 16.8px;
  }
  .input-group input {
    height: 52px;
  }
  textarea {
    height: 325px;
  }
  .content {
    height: 52px !important;
  }
  .anyone-p {
    display: none;
  }
  .edit {
    width: 107px;
    height: 52px;
  }
  .preview {
    width: 107px;
    height: 52px;
  }

  .container-post {
    width: 95%;
    margin: auto;
    padding: 0px !important;
  }
  .cover-image img {
    width: 19px;
    height: 15px;
  }

  label {
    font-size: 16px;
    margin-top: 10px;
    margin-bottom: 10px;
  }
  .save-draft {
    width: 100%;
  }
  .publish {
    width: 100%;
  }
  .tip {
    font-family: Urbanist;
    font-size: 16px;
    font-weight: 600;
    line-height: 25px;
    display: flex;
    justify-content: center;
  }
  .footer-post {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

.edit.active,
.preview.active {
  background-color: #0378a4;
  color: white;
}

#preview-div {
  display: flex !important;
  flex-direction: row !important;
  gap: 20px !important;
  margin-top: 20px !important;
}
@media (max-width: 1024px) {
  #preview-div {
    flex-direction: column !important;
  }
}

#preview-html {
  flex: 4; /* Takes up equal space */
  padding: 20px;
  min-height: 200px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

#preview-content {
  flex: 8; /* Takes up equal space */
  padding: 20px;
  min-height: 200px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: var(--input);
  color: var(--p);
}

.cover-image {
  cursor: pointer;
  position: relative;
  transition: opacity 0.3s;
  background-color: var(--input);
}

.cover-image:hover {
  opacity: 0.8;
}

#coverImagePreview {
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

#topic {
  width: 250px;
  height: 50px;
  border-radius: 10px;
  padding: 10px;
  border: 1px solid #e5e5e5;
  background: var(--input);
  color: var(--input-txt-clr);
}
.anyo-drp-dropdownii {
  position: relative;
  display: inline-block;
  font-family: Urbanist;
}

.anyo-drp-btnii {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #0378a4;
  gap: 5px;
  font-size: 18px;
  font-weight: 600;
  line-height: 24.61px;
  cursor: pointer;
  /* background-color: #fff; */
  padding: 10px;
  transition: background-color 0.3s ease;
}

.anyo-drp-content-iii {
  display: none; /* Hidden by default */
  position: absolute;
  background-color: var(--body-bg);
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  margin-top: 5px;
  min-width: 150px;
  z-index: 1;
  list-style: none;
  padding: 0;
}

.anyo-drp-content-iii li {
  padding: 10px 15px;
  color: #0378a4;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.anyo-drp-content-iii.anyo-drp-show {
  display: block; /* Show when active */
}

#openModalTrigger {
  cursor: pointer;
}
/* Autofill styles for dark mode */
.input-group input:-webkit-autofill,
.input-group select:-webkit-autofill,
.input-group textarea:-webkit-autofill {
  background-color: var(--input) !important; /* Background color for autofill */
  color: var(--h1) !important; /* Ensure text color is readable */
  -webkit-text-fill-color: var(--h1) !important;
  box-shadow: 0 0 0px 1000px var(--input) inset !important; /* Force background color */
  transition: background-color 5000s ease-in-out, color 5000s ease-in-out; /* Smooth transition */
}

@media (min-width: 768px) {
  .sidebar {
    display: none;
  }
}
.checkbox-citi {
  width: 20px;
  height: 20px;
}

.citi-cnt-mdl-card {
  background: var(--body-bg);
  width: 100%;
  border-radius: 8px;
}

.citi-cnt-mdl-citation-item {
  display: flex;
  gap: 12px;
  margin-bottom: -20px;
}

.citi-cnt-mdl-checkbox {
  margin-top: 4px;
  width: 16px;
  height: 16px;
}

.citi-cnt-mdl-citation-content {
  flex: 1;
  margin-top: -4px;
}

.citi-cnt-mdl-citation-title {
  font-family: "Urbanist";
  font-size: 18px;
  font-weight: 600;
  color: var(--p);
  margin-bottom: 4px;
  width: 375px;
}

.citi-cnt-mdl-citation-details {
  display: flex;
  justify-content: end;
  font-size: 14px;
  color: #666;
  /* width: 300px; */
  position: relative;
  top: -50px;
}

.citi-cnt-mdl-journal-info {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding-left: 16px;
  border-left: 1px solid #ddd;
}

.citi-cnt-mdl-see-more {
  width: 100%;
  height: 50px;
  margin: 16px 0;
  border: 1px solid #0378a4;
  border-radius: 33px;
  background: var(--input);
  cursor: pointer;
  font-family: "Urbanist";
  color: #0378a4;
  font-size: 16px;
  font-weight: 700;
  line-height: 19.56px;
  letter-spacing: 0.01em;
}

.citi-cnt-mdl-citation-inputs {
  margin: 24px 0;
}

.citi-cnt-mdl-input-row {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}

.citi-cnt-mdl-input-group {
  flex: 1;
}

.citi-cnt-mdl-input-label {
  display: block;
  margin-bottom: 8px;
  font-family: "Urbanist";
  font-size: 24px;
  font-weight: 600;
  line-height: 28.8px;
  text-align: left;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  color: var(--h1);
}

.citi-cnt-mdl-input-group input {
  background-color: var(--input);
}
.citi-cnt-mdl-input-field {
  width: 100%;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background-color: #f5f5f5;
  cursor: default;
}

.citi-cnt-mdl-info-text {
  font-size: 14px;
  color: #666;
  margin-bottom: 24px;
}

.citi-cnt-mdl-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.citi-cnt-mdl-btn {
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
}

.citi-cnt-mdl-btn-outline {
  border: 1px solid #ddd;
  background: white;
}

.citi-cnt-mdl-btn-primary {
  background: #0284c7;
  color: white;
  border: none;
}
.citi-cnt-mdl-citation-item input {
  width: 30px;
  height: 50px;
}
input[type="checkbox"].rembr-fild-checkbox {
  appearance: none;
  width: 30px;
  height: 30px;
  border: 1px solid #ddd;
  border-radius: 4px;
  cursor: pointer;
  background-color: var(--input);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

input[type="checkbox"].rembr-fild-checkbox:checked {
  background-color: #0378a4;
  border-color: #0378a4;
}

input[type="checkbox"].rembr-fild-checkbox:checked::before {
  content: "✓";
  font-size: 16px;
  color: white;
  text-align: center;
}
.citi-cnt-mdl-citation-descp {
  font-family: "Urbanist" !important;
  font-size: 18px !important;
  font-weight: 400 !important;
  color: var(--p) !important;
  margin-top: 11px;
}
.citi-cnt-mdl-journal-info div:first-child {
  font-family: "Urbanist";
  font-size: 18px;
  font-weight: 600;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  margin-bottom: 12px;
}

.citi-cnt-mdl-journal-info div:last-child {
  font-family: "Urbanist";
  font-size: 18px;
  font-weight: 400;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
}

#gydeCitation.active {
  border: 1px solid #0378a4;
  color: #0378a4;
}

#mendeleyCitation.active {
  border: 1px solid #0378a4;
  color: #0378a4;
}
.post-modal3{
  margin-bottom: 20px;
}
.citation-button1.active{
  border: 1px solid #0378A4;
  color: #0378A4
}

.citation-button2.active {
  border: 1px solid #0378a4;
  color: #0378a4;
}

@media (min-width: 768px) {
  .sidebar {
    display: none;
  }
}
