html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
    /* Prevents unwanted scrolling */
}

nav {
	border-top: 4px solid #28a745;
}

nav li.active {
	border-bottom: 4px solid #28a745;	
}

.container-fluid {
  height: 100vh;
  flex-direction: column;
  box-sizing: border-box;
  padding: 0px 15px 0px 15px;
}


#site_main_div {
  flex-grow: 1;
  /* Fills remaining space */
  display: flex;
  height: 100vh;
  overflow: hidden;
}


#sidemenu {

  /* Adjust width as needed */
  height: 100vh;
  overflow-y: auto;
  /* Allows scrolling inside sidemenu */
}

/* ✅ Fixed workspace height */
#workspace {
  flex-grow: 1;
  /* Takes up remaining space */
  height: 100vh;
  overflow-y: auto;
  /* Enables scrolling inside the workspace */
}
.row {
	margin-bottom: 1rem;
}
[class*="col-"] {
	padding-top: 0.5rem;
	padding-bottom: 0.5rem;
}
hr {
	margin-top: 1rem;
	margin-bottom: 2rem;
}

.progress {
	height: 1.5rem;
}

#files {
    overflow-y: scroll !important;
    min-height: 320px;
}
@media (min-width: 768px) {
	#files {
		min-height: 0;
	}
}

#debug {
	overflow-y: scroll !important;
	height: 180px;	
}

/* These are for the single examle */
.preview-img {
	width: 64px;
	height: 64px;
}

form {
	border: solid #f7f7f9 !important;
	padding: 1.5rem
}

form.active {
	border-color: red !important;
}

form .progress {
	height: 38px;
}

.dm-uploader {
	border: 0.25rem dashed #A5A5C7;
}
.dm-uploader.active {
	border-color: red;

	border-style: solid;
}

/* The snackbar - subtle design at the bottom of the screen */
#snackbar {
  visibility: hidden; /* Hidden by default */
  min-width: 300px; /* Comfortable width for text */
  max-width: 90%; /* Flexible width for smaller screens */
  background-color: rgba(50, 50, 50, 0.8); /* Soft dark background */
  color: #d1d1d1; /* Subtle light-gray text */
  text-align: center; /* Center the text */
  border-radius: 8px; /* Slightly rounded corners */
  padding: 12px 20px; /* Compact padding */
  position: fixed; /* Fixed position on the screen */
  z-index: 9999; /* High z-index to appear on top */
  left: 50%; /* Center horizontally */
  bottom: 16px; /* Closer to the bottom */
  transform: translateX(-50%) translateY(10px); /* Slightly off-screen initially */
  opacity: 0; /* Hidden initially */
  transition: transform 0.3s ease, opacity 0.3s ease; /* Smooth, quick transition */
  font-family: 'Arial', sans-serif; /* Simple, readable font */
  font-size: 14px; /* Smaller, less intrusive text */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */
}

/* Snackbar visible state */
#snackbar.show {
  visibility: visible; /* Make it visible */
  transform: translateX(-50%) translateY(0); /* Slide into view */
  opacity: 1; /* Fully visible */
}

/* Snackbar fade-in and fade-out animations */
@keyframes fadein {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

@keyframes fadeout {
  from {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  to {
    opacity: 0;
    transform: translateX(-50%) translateY(10px);
  }
}

/* Adding animations to the snackbar */
#snackbar.show {
  animation: fadein 0.3s ease, fadeout 0.3s ease 2.5s; /* Show for 2.5 seconds */
}

[id*="code-embed"] {
  overflow-y: hidden !important; /* Completely removes vertical scroll */
}

.bare-window {
  padding:0;
  margin:0;
}

.tab {
  overflow: hidden;
  border-bottom: 1px solid rgb(116, 115, 115);
  background-color: rgb(255, 255, 255);
}

/* Style the buttons inside the tab */
.tab button {
  background-color: inherit;
  float: none;
  border: none ;
  outline: none;
  cursor: pointer;
  /* padding: 3px 3px; */
  transition: 0.3s;
  font-size: 18px;
  padding-top: 8px;
  padding-bottom: 8px;
  padding-left: 20px;
  padding-right: 20px;
}

/* Change background color of buttons on hover */
.tab button:hover {
  background-color: rgb(218, 218, 218);
}

/* Create an active/current tablink class */
.tab button.active {
  background-color: rgb(204, 204, 204);
}

/* Style the tab content */
.tabcontent {
  display: none;
  padding: 6px 12px; 
  /* border: 1px solid #ccc; */
  border-top: none;
}

#process-history-chart-container {

  width: 200px;
  height: 100px;

}

#process-chart-container{
    position: relative;
    width: 100%;
}

.subtab {
  overflow: hidden;
  border: 1px solid #ccc;
  background-color: white;
}

.subtab button{

  background-color: white;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  /* padding: 3px 3px; */
  transition: 0.3s;
  font-size: 18px;
  
  padding-top: 8px;
  padding-bottom: 8px;
  padding-left: 8px;
  padding-right: 8px;

}

/* Change background color of buttons on hover */
.subtab button:hover {
  background-color: rgb(169, 171, 250);
}

/* Create an active/current tablink class */
.subtab button.active {
  background-color: rgb(193, 195, 201);
}

.toptoolbarbtn {

  font-family: Roboto,sans-serif;
  text-align: center; 
  transition: all 0.3s ease;
  color: rgb(0, 0, 0);
  /* font-size: 24px; */
  height: 50px;
  float: left;

}
.toptoolbarbtn:last-child {
  order: 1;
}

.loginbtn {

  float: right;
  margin-right: 20px;
  font-family: Roboto,sans-serif;
}

.weaver-toolbar-btn {

  color:gray; 
  padding:0; 
  margin:0;
  margin-top:5px; 
  width: 30px;
  margin: 5px;
  /* display: block; */
  text-align: center;
  transition: all 0.3s ease;

}

/**
 * ==============================================
 * Dot Flashing
 * ==============================================
 */
 .dot-flashing {
  position: relative;
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background-color: #b8b8b8;
  color: #b8b8b8;
  animation: dotFlashing 1s infinite linear alternate;
  animation-delay: .5s;
  margin: 0 auto;
}

.dot-flashing::before, .dot-flashing::after {
  content: '';
  display: inline-block;
  position: absolute;
  top: 0;
}

.dot-flashing::before {
  left: -15px;
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background-color: #3a3a3a;
  color: #3a3a3a;
  animation: dotFlashing 1s infinite alternate;
  animation-delay: 0s;
}

.dot-flashing::after {
  left: 15px;
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background-color: #3a3a3a;
  color: #3a3a3a;
  animation: dotFlashing 1s infinite alternate;
  animation-delay: 1s;
}

@keyframes dotFlashing {
  0% {
    background-color: #3a3a3a;
  }
  50%,
  100% {
    background-color: #f7f6fc;
  }
}

.generalshadow {
  /* box-shadow: rgba(0, 0, 0, 0.4) 2px 1px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px 0px, rgba(0, 0, 0, 0.2) 2px 1px 0px inset; */
  box-shadow: 2px 1px 4px rgba(0, 0, 0, 0.4);
}

.titleshadow {
  box-shadow: 2px 0px 4px rgba(0, 0, 0, 0.4);
}

/* render scrollbar color */
/* Works on Firefox */
* {
  scrollbar-width: thick;
  scrollbar-color: rgb(28, 28, 28);
}

/* Works on Chrome, Edge, and Safari */
*::-webkit-scrollbar {
  width: 5px;
}

*::-webkit-scrollbar-track {
  background: rgb(218, 218, 218);
}

*::-webkit-scrollbar-thumb {
  background-color: rgb(28, 28, 28);
  border-radius: 20px;
  border: 3px solid rgb(177, 177, 177);
}

.table-color {
  background-color: rgb(28, 28, 28); 
  color: rgb(211, 211, 211);
  /* padding: 5px; */
}

.table-color tbody tr td {

  background-color: rgb(28, 28, 28); 

}

.code__container {
  display: flex;

  /* Misc */
  border: 1px solid #cbd5e0;
  height: 16rem;
  width: 100%;
}

.container__left {
  /* Initially, the left takes 3/4 width */
  width: 60%;

  /* Misc */
  /* align-items: center; */
  display: flex;
  /* justify-content: center; */
}

.container__right {
  /* Take the remaining width */
  flex: 1;
  padding: 10px;
  /* Misc */
  /* align-items: center; */
  /* display: flex; */
  /* justify-content: center; */
}

.resizer {
  background-color: #cbd5e0;
  cursor: ew-resize;
  height: 100%;
  width: 8px !important;
}

.fullscreen {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 100;
  margin: 0;
  padding: 0;
  border: 0px solid #BBBBBB;
  opacity: 1;
}

.log_window {
  background-color: #f8f9fa;
  color: #333333;
  font-family: 'Consolas', 'Monaco', monospace;
  font-size: 14px;
  line-height: 1.5;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid #dee2e6;
  overflow-y: auto;
}

.side_menu_collapse_btn {
  position: absolute;
  border: none;
  height: 40px; /* Increased button height */
  width: 40px;  /* Increased button width */
  border-radius: 50%;
  box-shadow: 0px 1px 6px 1px rgba(0 ,0, 0, .3); /* Increased shadow size */
  left: 100%;
  top: 50%;
  z-index: 999;
  transform: translateX(-50%);
  cursor: pointer;
  display: flex; /* Using flexbox for centering the icon */
  justify-content: center; /* Centering icon horizontally */
  align-items: center; /* Centering icon vertically */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: #fff; /* Button background color */
}

.side_menu_collapse_btn i {
  font-size: 40px; /* Increased icon size for better visibility */
  color: #8A8D91; /* Modern color for the icon */
}

.side_menu_collapse_btn:hover {
  transform: translateX(-50%) scale(1.1); /* Slightly scale up on hover */
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5); /* Enhanced shadow on hover */
}

.workspace_collapse_btn {
  position: absolute;
  border: none;
  height: 40px; /* Increased button height */
  width: 40px;  /* Increased button width */
  border-radius: 50%;
  box-shadow: 0px 1px 6px 1px rgba(0 ,0, 0, .3); /* Increased shadow size */
  left: 0px;
  top: 50%;
  z-index: 999;
  visibility: hidden;
  transform: translateX(-50%);
  cursor: pointer;
  transition: visibility 0.3s ease;
  display: flex; /* Using flexbox for centering the icon */
  justify-content: center; /* Centering icon horizontally */
  align-items: center; /* Centering icon vertically */
}

.workspace_collapse_btn i {
  font-size: 40px; /* Increased icon size */
  color: #8A8D91; /* Icon color */
}

.workspace_collapse_btn:hover {
  transform: translateX(-50%) scale(1.1); /* Slightly scale up on hover */
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5); /* Enhanced shadow on hover */
}

/* Result page style */

.search-box .form-control {
  border-radius: 10px;
  padding-left: 40px
}

.search-box .search-icon {
  position: absolute;
  left: 13px;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  fill: #545965;
  width: 16px;
  height: 16px
}
.card {
  margin-bottom: 24px;
  -webkit-box-shadow: 0 2px 3px #e4e8f0;
  box-shadow: 0 2px 3px #e4e8f0;
}
.card {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  background-color: #fff;
  background-clip: border-box;
  border: 1px solid #eff0f2;
  border-radius: 1rem;
}
.me-3 {
  margin-right: 1rem!important;
}

.font-size-24 {
  font-size: 24px!important;
}
.avatar-title {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  background-color: #3b76e1;
  color: #fff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  font-weight: 500;
  height: 100%;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: 100%;
}

.bg-soft-info {
  background-color: rgba(87,201,235,.25)!important;
}

.bg-soft-primary {
  background-color: rgba(59,118,225,.25)!important;
}

.avatar-xs {
  height: 1rem;
  width: 1rem
}

.avatar-sm {
  height: 2rem;
  width: 2rem
}

.avatar {
  height: 3rem;
  width: 3rem
}

.avatar-md {
  height: 4rem;
  width: 4rem
}

.avatar-lg {
  height: 5rem;
  width: 5rem
}

.avatar-xl {
  height: 6rem;
  width: 6rem
}

.avatar-title {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  background-color: #3b76e1;
  color: #fff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  font-weight: 500;
  height: 100%;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: 100%
}

.avatar-group {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  padding-left: 8px
}

.avatar-group .avatar-group-item {
  margin-left: -8px;
  border: 2px solid #fff;
  border-radius: 50%;
  -webkit-transition: all .2s;
  transition: all .2s
}

.avatar-group .avatar-group-item:hover {
  position: relative;
  -webkit-transform: translateY(-2px);
  transform: translateY(-2px)
}

.fw-medium {
  font-weight: 500;
}

a {
  text-decoration: none!important;
}

.wrap-text{
  white-space: normal;
  word-break: break-word;
}

@keyframes gw-circle-flashing {
  0% {
    stroke: orange;
    stroke-width: 2px;
  }
  50% {
    stroke: red;
    stroke-width: 4px;
  }
  100% {
    stroke: orange;
    stroke-width: 2px;
  }
}

.circle-running circle {
  animation: gw-circle-flashing 1s infinite;
  animation-timing-function: ease-in-out;
}

/*** Floating banner for alerting code version ***/
.floating-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.85); /* Slightly darker transparent background */
  color: #ffffff; /* White text for better visibility */
  padding: 10px 20px;
  border-radius: 20px; /* Rounded bubble shape */
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3); /* Slightly larger shadow for depth */
  z-index: 9999;
  font-family: 'Arial', sans-serif;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px; /* Spacing between elements */
  animation: fadeIn 0.5s ease-out; /* Smooth entrance animation */
}

/*** Close button styling ***/
.banner-close-btn {
  cursor: pointer;
  font-size: 12px; /* Compact size */
  color: rgba(255, 255, 255, 0.6); /* Subtle color */
  position: absolute;
  top: 5px;
  right: 10px;
  background: rgba(0, 0, 0, 0.5); /* Transparent background for blending */
  border-radius: 50%; /* Circular shape */
  padding: 4px 8px;
  line-height: 1;
  border: none; /* Remove default styles */
  transition: background-color 0.3s ease, color 0.3s ease;
}

.banner-close-btn:hover {
  background: rgba(255, 255, 255, 0.8); /* Brighten background on hover */
  color: #000000; /* Darker text for contrast */
}

.banner-button {
  padding: 4px 10px; /* Smaller padding for compact size */
  background-color: #007bff; /* Blue background */
  color: white; /* White text */
  font-size: 12px; /* Smaller font size for a neat appearance */
  border: none;
  border-radius: 12px; /* Rounded edges for a modern look */
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  min-width: 60px; /* Ensures consistent button width */
  text-align: center;
}

.banner-button:hover {
  background-color: #0056b3; /* Darker blue on hover */
  transform: scale(1.03); /* Subtle scale effect */
}

#resize-btn {
  width: 6px; /* Slightly wider for better usability */
  height: 100%;
  background: linear-gradient(to right, #ddd, #bbb); /* Light gradient for a softer appearance */
  position: absolute;
  left: -5px; /* Positioning it slightly to the left for better grip */
  top: 0;
  cursor: ew-resize; /* Indicates the resizable feature */
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.2); /* Softer shadow for subtle depth */
  transition: background-color 0.2s ease, width 0.2s ease; /* Smooth transitions */
}

#resize-btn:hover {
  background: linear-gradient(to right, #eee, #ccc); /* Lighter gradient on hover */
  width: 8px; /* Slightly wider on hover for better visibility */
}


