.flyout-panel {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #222e38;
  color: #fff;
  overflow-y: auto;
  z-index: 9999;
  border-radius: 0 12px 12px 0;
  box-shadow: 2px 0 16px rgba(0,0,0,0.25);
  display: flex;
  flex-direction: column;
  transform: translateX(-420px); opacity: 1;
  transition: transform 0.45s cubic-bezier(.4,2,.6,1), opacity 0.45s;
}

.flyout-panel.open {
  transform: translateX(0);
}

.flyout-close-btn {
  position: absolute;
  top: 0.2px;
  right: 0.2px;
  background: transparent;
  color: grey;
  border: none;
  font-size: 1.2em;
  cursor: pointer;
}

.flyout-icon {
  width: 100%;
  height: auto;
  margin-bottom: 10px;
}

.flyout-title {
  font-size: 1.5em;
  margin-bottom: 10px;
}

.flyout-description {
  font-size: 1em;
  margin-bottom: 10px;
}

.flyout-link {
  color: #4ea1f3;  /* soft, modern blue */
  text-decoration: none;
  font-weight: 400;
  transition: color 0.2s ease;
}

#flyout-link a:hover {
  color: #72c1ff;  /* lighter on hover */
  text-decoration: underline;
}

#flyout {
  position: fixed;
  left: 0;
  width: 300px;
  background-color: #222e38;
  padding: 20px;
  box-shadow: 2px 0 5px rgba(0,0,0,0.5);
  color: #fff;
  overflow-y: hidden;
  overflow-y: scroll;       /* Enable scrolling */
  scrollbar-width: none;    /* Firefox */
  -ms-overflow-style: none; /* Internet Explorer 10+ */
  display: none;
  z-index: 9999;
}
/* Chrome, Edge, Safari */
.flyout::-webkit-scrollbar {
  display: none;
}

#flyout.open {
  display: block;
}

#flyout-skills {
  margin: 10px 0;
  padding-left: 20px;
  overflow-x: hidden;
  list-style-type: disc;
  color: white;
}

#flyout-year {
  margin-top: 10px;
  font-size: 14px;
  font-style: italic;
  color: #888;
}
/* Add a hover effect for the flyout panel */
.flyout-panel:hover {
  background: #222e38;
}

#flyout-skills-label {
  margin-top: 10px;
  font-weight: bold;
  color: white;
}

#flyout-location {
  color: #888;
  font-style: italic;
}

#flyout-model-reference {
  position: relative;
  bottom: -15px;
  font-size: 0.9em;
  color: #888;
  font-style: italic;
  max-width: 300px;
}

#flyout-model-reference a {
  color: #4ea1f3;  /* soft, modern blue */
  text-decoration: none;
  font-weight: 400;
  transition: color 0.2s ease;
}

#flyout-model-reference a:hover {
  color: #72c1ff;  /* lighter on hover */
  text-decoration: underline;
}
