/* Check YT: https://youtu.be/AmY3db_Qs94?t=157
and change to dark mode.
Replace all color values with the respective HSL values. */
/* :root {
  --bg: hsl(0, 0%, 90%);
  --fg: hsl(0, 0%, 10%);
}

@media (prefers-color-scheme:dark) {
  :root {
    --bg: hsl(0, 0%, 10%);
    --fg: hsl(0, 0%, 90%);
  }
} */

html {
  scroll-behavior: smooth;
  scroll-padding-top: 40px;
}

a {
  color: #1772d0;
  text-decoration: none;
  word-wrap: break-word;
}

a:focus,
a:hover {
  color: #f09228;
  text-decoration: none;
}

body {
  /* font-family: 'Lato', sans-serif; */
  /* font-family: 'Roboto', sans-serif; */
  /* font-family: 'Roboto mono', sans-serif;
  font-size: 16px; */
  /* font-family: "Inconsolata", monospace; */
  font-family: monospace;
  font-size: 13px;
  font-weight: 400;
  line-height: normal;
  padding-top: 30px;
}

heading {
  font-size: 24px;
  font-weight: 400;
}

papertitle {
  font-weight: 700
}

name {
  font-size: 32px;
  font-weight: 300;
}

firstname {
  font-size: 32px;
  font-weight: 700;
}

#introduction {
  margin-right: 10px;
  margin-left: 10px;
}

p {
  margin-top: revert;
  margin-bottom: revert;
}

#publications {
  margin-right: 10px;
  margin-left: 10px;
}

#ta {
  margin-right: 10px;
  margin-left: 10px;
}

#academicservice {
  margin-right: 10px;
  margin-left: 10px;
}

.topbar {
  font-weight: 400;
}

.topbar a {
  text-decoration: none;
  color: white;
}

.topbar a:hover {
  text-decoration: underline;
  font-weight: 700;
  color: white;
}

.paperlinks {
  padding-top: 10px;
}

hr {
  border: 0;
  height: 1px;
  background-image: linear-gradient(to right, #e9ecef, rgba(0, 0, 0, 0.75), #e9ecef);
}

.abstract_text {
  font-size: 13px;
  margin: 10px 12px 6px 0px;
}

.bibtex_text {
  font-size: 13px;
  margin: 10px 6px 6px 0px;
  max-width: 550px !important;
}

@media(max-width:600px) {
  .bibtex_text {
    max-width: 600px !important;
  }
}

.profileimage {
  /* width:70%;
  border-radius:20px;
  background: #e0e0e0;
  margin-left: 0px; */

  /* box-shadow:  20px 20px 60px #707070, -20px -20px 60px #ffffff; */
  height: 255px;
  /* margin-right: 20px; 
  margin-bottom: 20px; */
  margin: 20px;
  margin-left: 0px;
  border-radius: 8px;
  box-shadow: 3px 3px 6px #888;
}

#news {
  margin-right: 10px;
  margin-left: 10px;
  line-height: 150%;
}

#news li {
  margin-bottom: 5px;
}


#template-reference {
  font-size: 12px;
  margin: 10px;
}

/* ################################################### */
/* Boxed style for CV/Github and Publication: abstract/code etc. */

.boxed:hover,
.boxed:active {
  text-decoration: underline;
  /* background: #dbc9f1; */
  background: #c9cef1;
  color: #121212 !important
}

.boxed {
  text-decoration: none !important;
  color: #000 !important;
  /* border: 1px solid #839cbf; */
  border: 1px solid #839cbf;
  font-family: monospace;
  padding: 2px 5px 0px;
  font-size: 14px;
  /* background: #FFF8DC; */
  background: #f9fafb;
  display: inline-block;
  vertical-align: bottom;
  border-radius: 3px;
  /* margin: 3px; */
}

.boxed_publication:hover,
.boxed_publication:active {
  text-decoration: underline;
  background: #dedede;
  /* background: #dbc9f1; */
  color: #121212 !important
}

.boxed_publication {
  font-size: 12px;
  background: #ffffff;
  padding: 1px 5px 1px;
  margin: 0px;
}

.badge {
  vertical-align: top;
}

.bg-primary {
  --bs-bg-opacity: 0.6;
}

.bg-warning {
  --bs-bg-opacity: 0.6;
}

.bg-info {
  --bs-bg-opacity: 0.6;
}

.subbadge-text-color {
  color: #41464b
}


/* ################################################### */
/* #########  END  ########### */
/* ################################################### */





/* ########################### */
/* # Resource Page Stylesheet */
/* ########################### */
.heading-spacing {
  padding-left: 20px;
  padding-bottom: 20px;
}

.listitem-spacing {
  padding-top: 3px;
  padding-bottom: 3px;
}

.resource-heading li {
  margin-top: 5px;
}

/* ########################### */
/* # Phone Badge Styles */
/* ########################### */
.phone-badge-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 60px;
  gap: 40px;
  padding: 30px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 24px;
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 8px 24px -10px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.phone-badge-wrapper::after {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.03) 0%, transparent 70%);
  z-index: 0;
}

@media (max-width: 991px) {
  .phone-badge-wrapper {
    flex-direction: column-reverse;
    padding: 25px 20px;
    gap: 30px;
    margin-bottom: 40px;
  }
}

.phone-badge-description {
  flex: 1.2;
  position: relative;
  z-index: 1;
}

.phone-badge-description h4 {
  font-family: 'Inter', sans-serif;
  color: #0f172a;
  font-weight: 800;
  font-size: 1.35rem;
  margin-bottom: 15px;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.phone-badge-description p {
  color: #475569;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 12px;
}

.phone-badge-description .highlight-box {
  background: rgba(241, 245, 249, 0.5);
  border-left: 3px solid #6366f1;
  padding: 10px 16px;
  border-radius: 0 8px 8px 0;
  margin: 18px 0;
}

.phone-badge-description .highlight-box p {
  margin-bottom: 0;
  font-weight: 500;
  color: #334155;
  font-size: 0.9rem;
}

.phone-badge-description ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.phone-badge-description li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 8px;
  color: #475569;
  font-size: 0.88rem;
}

.phone-badge-description li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: #6366f1;
  font-weight: bold;
}

.search-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.search-pill {
  background: #fff;
  border: 1px solid #e2e8f0;
  padding: 5px 12px;
  border-radius: 100px;
  font-size: 0.8rem;
  color: #64748b;
  font-weight: 500;
  transition: all 0.2s ease;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.01);
}

.search-pill:hover {
  border-color: #6366f1;
  color: #6366f1;
  transform: translateY(-1px);
  box-shadow: 0 4px 6px rgba(99, 102, 241, 0.08);
}

.phone-badge-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.phone-badge-container {
  width: 280px;
  height: 560px;
  border: 5px solid #1a1a1a;
  border-radius: 40px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  background: #fff;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
}

.phone-badge-container:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.phone-badge-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}


/* Home Bar Indicator */

/* Home Bar Indicator */
.phone-badge-container::after {
  content: "";
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 2px;
  z-index: 10;
}

.badge-caption {
  margin-top: 18px;
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  color: #333;
}

.badge-link {
  font-size: 18px;
  color: #666;
  margin-top: 12px;
}

.papersift-brand {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  letter-spacing: -0.02em;
}

/* ########################### */
/* #########  END  ########### */
/* ########################### */