body {
  font-family: "Roboto", sans-serif;
  background: #333333;
  color: #ececec;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  overflow-x: hidden;
}
.content-container {
  position: relative;
  height: 100vh;
  overflow: hidden;
}
header {
  background: transparent;
  color: #ececec;
  padding: 20px 40px;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
}
header h1 {
  margin: 0;
  font-size: 24px;
  font-weight: 300;
  text-align: left;
}
#search-container {
  margin-top: 10px;
  text-align: left;
  position: relative;
  max-width: 400px;
}
#search-input {
  width: 100%;
  padding: 10px 15px;
  background-color: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 4px;
  color: #ececec;
  font-size: 16px;
  transition: background-color 0.3s;
}
#search-input::placeholder {
  color: #aaaaaa;
}
#search-input:focus {
  outline: none;
  background-color: rgba(255, 255, 255, 0.15);
}
#search-button {
  position: absolute;
  right: 5px;
  top: 5px;
  background: transparent;
  border: none;
  color: #aaaaaa;
  font-size: 20px;
  cursor: pointer;
  padding: 5px;
}
#search-button:hover {
  color: #ffffff;
}
#graph {
  width: 100%;
  height: 100vh;
  position: relative;
  overflow: visible;
}
.tooltip {
  position: absolute;
  text-align: left;
  padding: 8px;
  background: rgba(0, 0, 0, 0.7);
  color: #ececec;
  border-radius: 4px;
  pointer-events: none;
  font-size: 12px;
  max-width: 300px;
  z-index: 100;
}
/* Modal styling */
#modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  overflow-y: auto;
}
#modal-content {
  background-color: #333;
  margin: 10% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 600px;
  border-radius: 8px;
  max-height: 80vh;
  overflow-y: auto;
}
#modal-close {
  float: right;
  font-size: 28px;
  font-weight: bold;
  color: #fff;
  cursor: pointer;
}
.faculty-link {
  color: #4ca1af;
  text-decoration: none;
}
.faculty-link:hover {
  text-decoration: underline;
}
.controls-panel {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.3);
  padding: 10px;
  border-radius: 4px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.controls-panel button {
  background: rgba(255, 255, 255, 0.1);
  color: #ececec;
  border: none;
  border-radius: 4px;
  padding: 8px 12px;
  cursor: pointer;
  transition: background 0.3s;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.controls-panel button:hover {
  background: rgba(255, 255, 255, 0.2);
}
#info-panel {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(0, 0, 0, 0.3);
  padding: 10px;
  border-radius: 4px;
  z-index: 100;
  max-width: 300px;
  font-size: 12px;
}
/* Add icons */
.icon {
  margin-right: 8px;
  font-size: 16px;
}

/* Search results panel */
#search-results-panel {
  position: absolute;
  top: 100px;
  left: 0;
  width: 300px;
  max-height: calc(100vh - 120px);
  background: rgba(0, 0, 0, 0.8);
  color: #ececec;
  padding: 15px;
  border-radius: 0 4px 4px 0;
  z-index: 200;
  overflow-y: auto;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.5);
}
#search-results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
#search-results-header h3 {
  margin: 0;
  font-size: 18px;
}
#search-results-close {
  background: transparent;
  border: none;
  color: #ececec;
  font-size: 24px;
  cursor: pointer;
  padding: 0 5px;
}
#search-results-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.search-result-item {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
}
.search-result-item h4 {
  margin: 0 0 5px 0;
  font-size: 16px;
}
.search-result-item p {
  margin: 0;
  color: #aaa;
  font-size: 14px;
}
#loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  padding: 20px;
  color: white;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 8px;
} 