@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;600&display=swap');

body {
  margin: 0;
  font-family: 'Orbitron', sans-serif;
  background: radial-gradient(ellipse at top, #0b0f2a 0%, #000000 100%);
  color: #0ff;
  display: flex;
  height: 100vh;
  overflow: hidden;
}

/* Sidebar */
#sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 250px;
  height: 100vh;
  background-color: #1a1a2e;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center; /* center children horizontally */
  padding: 20px 0;
  box-sizing: border-box;
  overflow-y: auto;
}

/* Profile Section */
#profile-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
  margin-bottom: 30px;
}

/* Profile Picture */
#profile-pic {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #00f0ff;
  box-shadow: 0 0 10px #00f0ff;
  display: block;
  margin: 0 auto;
  flex-shrink: 0;
}

/* Employee Name */
#employee-name {
  margin-top: 10px;
  font-size: 1.1em;
  text-align: center;
  word-break: break-word;
  user-select: none;
  color: #0ff;
}

/* Main content */
#main-content {
  margin-left: 250px;
  padding: 30px;
  flex: 1;
  overflow-y: auto;
  box-sizing: border-box;
}

/* Navigation Buttons */
.nav-button {
  background: none;
  color: #0ff;
  border: 1px solid #0ff;
  padding: 12px 15px;
  width: 100%;
  font-size: 16px;
  text-align: left;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  box-shadow: 0 0 8px #0ff;
  margin-bottom: 10px;
  display: block;
  text-decoration: none;
}

.nav-button:hover,
.nav-button.active {
  background-color: #0ff;
  color: #000;
  box-shadow: 0 0 20px #0ff;
}

/* Sidebar toggle button */
#toggle-sidebar {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 1100;
  background: transparent;
  border: none;
  color: #0ff;
  font-size: 2rem;
  cursor: pointer;
  padding: 10px;
  transition: color 0.3s ease;
}

#toggle-sidebar:hover {
  background: #09f;
  color: #000;
  box-shadow: 0 0 20px #0ff, 0 0 30px #09f;
}

/* Sidebar collapse */
#sidebar.collapsed {
  width: 0;
  padding: 0;
  overflow: hidden;
  transition: width 0.3s ease, padding 0.3s ease;
}

#main-content.expanded {
  margin-left: 0;
  transition: margin-left 0.3s ease;
}

/* Optional scrollbar styling for sidebar */
#sidebar::-webkit-scrollbar {
  width: 6px;
}

#sidebar::-webkit-scrollbar-track {
  background: #111;
}

#sidebar::-webkit-scrollbar-thumb {
  background: #0ff;
  border-radius: 3px;
}

.close-button {
  float: right;
  margin: 5px;
  background: transparent;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: #555;
}

.close-button:hover {
  color: #f00;
}
/* Container for each experiment log */
.log-entry {
  border: 2px solid #444;
  border-radius: 8px;
  background-color: #1a1a1a;
  color: #eee;
  padding: 16px;
  margin: 12px 0;
  position: relative;
  box-shadow: 0 0 8px rgba(100, 100, 100, 0.5);
}

/* Title inside the log */
.log-entry h2 {
  margin-top: 0;
  font-size: 1.4em;
  color: #00f0ff;
}

/* Status styles */
.status-danger {
  color: #ff4d4d;
  font-weight: bold;
}

/* Buttons */
.view-button,
.close-button {
  background-color: #00f0ff;
  border: none;
  border-radius: 4px;
  padding: 8px 12px;
  cursor: pointer;
  color: #1a1a1a;
  font-weight: bold;
  transition: background-color 0.2s ease;
}

.view-button:hover,
.close-button:hover {
  background-color: #e59400;
}

/* Report content box */
.report-content {
  background-color: #222;
  border: 1px solid #555;
  border-radius: 6px;
  margin-top: 12px;
  padding: 14px;
  color: #ddd;
  box-shadow: inset 0 0 10px #333;
  position: relative;
}

/* Close button alignment */
.close-button {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 4px 8px;
  font-size: 14px;
  color: #ddd;
  background-color: transparent;
  border: none;
  cursor: pointer;
}

.close-button:hover {
  color: #ff4d4d;
}


