:root {
  --primary-dark: #1a1a1a;
  --secondary-dark: #2d2d2d;
  --accent-red: #ff3333;
  --darker-red: #a00505;
  --text-light: #ffffff;
  --text-gray: #cccccc;
}

body {
  background-color: var(--primary-dark);
  color: var(--text-light);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.navbar {
  background-color: var(--secondary-dark) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-brand, .nav-link {
  color: var(--text-light) !important;
}
.nav-link:hover {
  color: var(--accent-red) !important;
}

.profile-image {
  width: 400px;
  border-radius: 50%;
  border: 4px solid var(--accent-red);
  box-shadow: 0 0 20px rgba(255, 51, 51, 0.3);
  object-fit: cover;
  transition: transform 0.3s ease;
}

.icons {
  display: block;
  gap: 10px; /* Space between icons */
  margin-top: 1rem;
}
.profile-image:hover {
  transform: scale(1.02);
}

h1, h2, h3, h4, h5 {
  color: var(--text-light);
  /* margin-top: 1.5rem; */
  margin-bottom: 1rem;
}

a {
  color: var(--accent-red) !important;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #ff6666 !important;
}

.container {
  background-color: var(--secondary-dark);
  border-radius: 10px;
  padding: 1rem;
  margin-top: 2rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.box:before {
  border-radius: 4px;
  color: var(--text-light);
  font-size: 11px;
  position: relative;
  bottom: 2.5px;
  padding: 2.2px;
}

.conference:before {
  background: var(--accent-red);
  content: "Conference";
}

ul {
  list-style-type: none;
  padding-left: 0;
}

li {
  margin: 1rem 0;
  padding: 0.5rem;
  border-left: 3px solid transparent;
  transition: border-left-color 0.2s ease;
}


#navbar-toggle-cbox {
  display: none;
}
.publication-buttons .btn {
  color: white !important; /* Ensure the text color is white */
}
#navbar-toggle-cbox:checked ~ .collapse {
  display: block;
}

@media (max-width: 768px) {
  /* TODO */
  .container {
      padding: 1rem;
  }
  
}

.big-icon {
  width: 2.5rem;
  height: 2.5rem;
  margin-right: 1%;
  fill: var(--accent-red);
}
.big-icon:hover {
  fill: var(--darker-red);
  transition: fill 0.2s ease;
}


#navbar-toggle-cbox:checked~.collapse {
  display: block;
}

li {
  margin: 0;
  padding: 0.2em;
}


.award {
  color: #c43535;
  font-style: italic
}

.box:before {
  border-radius: 4px;
  color: var(--text-light);
  font-size: 12px;
  position: relative;
  bottom: 2.5px;
  padding: 2.2px
}

.conference:before {
  background: #0050fd;
  content: "Conference"
}

.journal:before {
  background: #bf0000;
  content: "Journal"
}

.technical-report:before {
  background: #6b6b6b;
  content: "Technical Report"
}

.preprint:before {
  background: #6b6b6b;
  content: "Preprint"
}

.thesis:before {
  background: #480ad8;
  content: "Thesis"
}

.workshop:before {
  background: #00d9ff;
  content: "Workshop"
}

.talk:before {
  background: #ffb236;
  content: "Talk"
}

.bibtex-content {
  display: none;
  margin-top: 10px;
  padding: 10px;
  border: 1px solid #dee2e6;
  border-radius: 5px;
}

.toggle-bibtex:checked + .bibtex-content {
  display: block;
}

.toggle-bibtex {
  display: none;
}

.btn:focus + .bibtex-content,
.bibtex-content:target {
  display: block;
}

.close-bibtex {
  display: block;
  margin-top: 10px;
  color: #007bff;
  text-decoration: none;
}

.close-bibtex:hover {
  text-decoration: underline;
}





/* Markdown-friendly styles (scoped) */
#post-md h1, 
#post-md h2, 
#post-md h3, 
#post-md h4, 
#post-md h5, 
#post-md h6 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
  color: var(--text-light);
}

#post-md p {
  margin-bottom: 1rem;
  line-height: 1.6;
  color: var(--text-gray);
}

#post-md ul, 
#post-md ol {
  padding-left: 1.5rem; /* restore indentation */
  margin-bottom: 1rem;
  list-style-type: disc; /* bullets back */
}

#post-md ol {
  list-style-type: decimal; /* numbered lists */
}

#post-md li {
  margin: 0.1rem 0;
  border-left: none; /* remove your blog publication styling */
}

#post-md blockquote {
  border-left: 4px solid var(--accent-red);
  padding-left: 1rem;
  color: var(--text-gray);
  font-style: italic;
  margin: 1rem 0;
}

#post-md code {
  background: var(--secondary-dark);
  padding: 0.1em 0.4em;
  border-radius: 4px;
  font-family: monospace;
  color: var(--accent-red);
}

#post-md pre code {
  display: block;
  padding: 1rem;
  overflow-x: auto;
}