
.journal-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.journal-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
}
.dark .journal-card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.5),
    0 4px 6px -2px rgba(0, 0, 0, 0.3);
}
.slide-content {
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out,
    margin 0.3s ease-in-out, padding 0.3s ease-in-out,
    border-color 0.3s ease-in-out, visibility 0.3s ease-in-out;
}
.slide-content.dropdown-menu.active {
  max-height: 400px;
  opacity: 1;
  visibility: visible;
}
.slide-content.details-content,
.slide-content.similar-content {
  margin-top: 0;
  padding-top: 0;
  border-top: 1px solid transparent;
}
.slide-content.details-content.active,
.slide-content.similar-content.active {
  max-height: 2000px;
  opacity: 1;
  visibility: visible;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
}
html.dark .slide-content.details-content.active,
html.dark .slide-content.similar-content.active {
  border-top-color: #334155;
}
html:not(.dark) .slide-content.details-content.active,
html:not(.dark) .slide-content.similar-content.active {
  border-top-color: #e2e8f0;
}

input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  border: 1px solid #94a3b8;
  background-color: #f1f5f9;
}
html.dark input[type="checkbox"] {
  border: 1px solid #64748b;
  background-color: #334155;
}
input[type="checkbox"][data-state="include"] {
  background-color: #2563eb !important;
  background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 8.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e") !important;
}
input[type="checkbox"][data-state="exclude"] {
  background-color: #ef4444 !important;
  background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg' stroke='white' stroke-width='2.5' stroke-linecap='round'%3e%3cpath d='M4 4l8 8M12 4l-8 8'/%3e%3c/svg%3e") !important;
}


/* Export Field Checkboxes */
.export-field {
  appearance: none;
  -webkit-appearance: none;
  position: relative;
}

.export-field:checked {
  background-color: #2563eb !important;
  border-color: #2563eb !important;
}

.export-field:checked::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.35rem;
  height: 0.6rem;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: translate(-50%, -60%) rotate(45deg);
}
