body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background: url('../images/background1.jpg') no-repeat center center fixed;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  height: fit-content;
  font-size: smaller;
}
.header {
 
  padding: 5px;
  margin-bottom: 2em;
  text-align: center;
  font-size: 1.5em;
  font-weight: bold;
  width: 100%;
  position: fixed;
  top: 0;
  
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 1200px;
}

.logo {
  width: 100%;
  text-align: center;
  margin-bottom: 10px;
  height:20px;

}

.logo-image {
  max-width: 200px;
}

pre {
  white-space: pre-wrap;  
  font-size: inherit;
  color: inherit;
  border: initial;
  padding: initial;
  font-family: inherit;
  word-break: keep-all;
}

.chat-container {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  width: 100%;
  max-width: 800px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  overflow: visible;
  flex: 2;
}

.mechanic-image {
  max-width: 150px;
  margin-left: auto;
  margin-bottom: -4px;
}

.chat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0px;
  border-bottom: 1px solid #ddd;
}

.chat-header {
  background: #007bff;
  color: white;
  padding-left: 10px;
  display: flex;
  align-items: center;
}

.menu-button {
  font-size: 24px;
  cursor: pointer;
  background: none;
  border: none;
  color: #007bff;
  position: absolute;
  left: 10px;
  top: 10px;
}

.chat-box {
  flex: 1;
  padding: 10px;
  overflow-y: auto;
}

.chat-input {
  display: flex;
  border-top: 1px solid #ddd;
}

.chat-input input {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 0;
  outline: none;
}

.chat-input button {
  background: #007bff;
  color: white;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
}

.chat-input button:hover {
  background: #0056b3;
}

.message {
  margin: 10px 0;
}

.message.user {
  text-align: right;
}

.message.bot {
  text-align: left;
}

.vehicle-info {
  padding: 10px;
  background: #f8f9fa;
  border-top: 1px solid #ddd;
  text-align: center;
}

/* Side Menu */
.side-menu {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  background-color: #111;
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 60px;
}

.side-menu a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 25px;
  color: #818181;
  display: block;
  transition: 0.3s;
}

.side-menu a:hover {
  color: #f1f1f1;
}

.side-menu .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
}

/* Modal styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0,0.4);
}

.settings-container {
  background-color: #ac9e9e;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 500px;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

/* Feedback Modal */
.modal-content {
  background-color: #fefefe;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 500px;
}

/* Vehicle List */
.vehicle-list-container {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  width: 100%;
  max-width: 800px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  padding: 20px;
  margin-top: 20px;
}

.vehicle-list {
  width: 100%;
  border-collapse: collapse;
}

.vehicle-list th, .vehicle-list td {
  padding: 10px;
  border: 1px solid #ddd;
  text-align: left;
}

.vehicle-list th {
  background-color: #f2f2f2;
}

.vehicle-list tr:hover {
  background-color: #f1f1f1;
  cursor: pointer;
}

.vehicle-list {
  list-style-type: none;
  padding: 0;
}

.vehicle-list li {
  padding: 10px;
  border-bottom: 1px solid #ddd;
}

.vehicle-list li:last-child {
  border-bottom: none;
}

/* Navigation Bar */
.navbar {
  width: 100%;
  background-color: #333;
  overflow: hidden;
}

.navbar a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

.navbar a:hover {
  background-color: #ddd;
  color: black;
}

/* Split Screen Layout */
.split-container {
  display: flex;
  width: 100%;
  height: 94vh;
  margin-left:2em;
  margin-right:2em;
  margin-top: 5vh;
}

.left-pane {
  width: 30%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.right-pane {
  width: 70%;
  padding: 20px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  overflow: scroll;
}

.top-left {
  flex: 1;
  margin-bottom: 20px;
}

.bottom-left {
  flex: 1;
}

.vehicle-details-container {
  padding: 20px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.issues-container {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
}

.issues-label {
  font-weight: bold;
  margin-bottom: 10px;
}

.issues-input {
  margin-top: auto;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  outline: none;
}

.issue-icon {
  display: block;
  margin: 10px 0;
  cursor: pointer;
  position: relative;
}

.issue-icon img {
  width: 24px;
  height: 24px;
  vertical-align: middle;
}

.issue-tooltip {
  visibility: hidden;
  width: 200px;
  background-color: #555;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px;
  position: absolute;
  z-index: 1;
  left: 110%; /* Position the tooltip to the right of the icon */
  top: 50%;
  margin-left: 10px;
  opacity: 0;
  transition: opacity 0.3s;
}

.issue-icon:hover .issue-tooltip {
  visibility: visible;
  opacity: 1;
}

/* Tab Bar */
.tab-bar {
  display: flex;
  border-bottom: 1px solid #ddd;
  margin-bottom: 10px;
  display: none;
}

.tab {
  padding: 10px 20px;
  cursor: pointer;
  border: 1px solid #ddd;
  border-bottom: none;
  background-color: #f1f1f1;
}

.tab.active {
  background-color: #fff;
  border-top: 2px solid #007bff;
  border-left: 2px solid #007bff;
  border-right: 2px solid #007bff;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* Video Thumbnails */
.video-thumbnails {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.video-thumbnails div {
  flex: 1 1 200px;
  text-align: center;
}

.video-thumbnails img {
  max-width: 100%;
  height: auto;
}

.close-button {
  background-color: #f44336;
  color: white;
  border: none;
  padding: 5px 10px;
  cursor: pointer;
  font-size: 16px;
  margin-top: 10px;
}

.close-button:hover {
  background-color: #d32f2f;
}

/* Video Search Icon */
.video-search-icon {
  cursor: pointer;
  width: 24px;
  height: 24px;
  vertical-align: middle;
  margin-left: 10px;
}

/* Confidence Score Circle and Tooltip */
.confidence-circle {
  display: inline-block;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #007bff;
  color: white;
  text-align: center;
  line-height: 40px;
  font-size: 16px;
  position: relative;
  cursor: pointer;
}

.confidence-circle:hover .confidence-tooltip {
  visibility: visible;
  opacity: 1;

}

.confidence-tooltip {
  visibility: hidden;
  width: 400px;
  background-color: #555;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px;
  position: absolute;
  z-index: 100;
  bottom: -450%; /* Position the tooltip above the circle */
  left: 50%;
  margin-left: 50px;
  opacity: 0;
  transition: opacity 0.3s;
}

.confidence-tooltip::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

/* Thumbs Up and Thumbs Down Icons */
.thumb-icon {
  cursor: pointer;
  width: 24px;
  height: 24px;
  vertical-align: middle;
  margin-left: 10px;
}

.thumb-icon:hover {
  opacity: 0.7;
}

.thumb-icon.active-up {
  circle.fill: green;
}

.thumb-icon.active-down {
  fill: red;
}

/* Issues Tab Panel */
.issues-tab-bar {
  display: flex;
  border-bottom: 1px solid #ddd;
  margin-bottom: 10px;
}

.issues-tab {
  padding: 5px 10px;
  cursor: pointer;
  border: 1px solid #ddd;
  border-bottom: none;
  background-color: #f1f1f1;
}

.issues-tab.active {
  background-color: #fff;
  border-top: 2px solid #007bff;
  border-left: 2px solid #007bff;
  border-right: 2px solid #007bff;
}

.issues-tab-content {
  display: none;
}

.issues-tab-content.active {
  display: block;
}

/* Align issue-icons to the top of the parent div */
.issue-icons {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
 
}