/* Over-ride navbar-default in bootstrap.css*/
.navbar-default {
    border-color: #2c3e50;
}

.nvbg{
	background: #2c3e50;
	border:none;
	outline: none;
}
.nvbglt{
	background: #34495f;
	border:none;
	outline: none;
}
.navbar-brand{
	border:none;
	outline: none;
	margin-top: -6px;
}
#navbar {
  font-family: Lato;
  font-weight: 400;
  font-size: 18px;
  width: auto;
  border: 0px;
  margin: 0px;
  padding: 0px;  
}
#navbar ul {
  margin: 0px;
  padding: 0px;
  background: #2c3e50;
  height: 45px;
  list-style: none;
}
#navbar li {
  float: left;
  padding: 0px; 
  border:none;
}
#navbar li a {
  background: #2c3e50;
  display: inline-block;
  line-height: 45px;
  margin: 0px;
  padding: 0px 18px;
  text-align: center;
  text-decoration: none;
  -webkit-box-shadow: inset 0 0px 1px rgba(0, 0, 0, 0.41);
  -moz-box-shadow: inset 0 0px 1px rgba(0, 0, 0, 0.41);
  box-shadow: inset 0 0px 1px rgba(0, 0, 0, .41);
  outline: none;
}
#navbar > ul > li > a {
  color: #798795;
  outline: none;
}
#navbar ul ul a {
  color: #798795;
  outline: none;
}
#navbar li > a:hover,
#navbar ul li:hover > a {
	color: #bdc3c7;
  text-decoration: none;
}
#navbar .active > a,
#navbar .active > a:hover,
#navbar .active > a:focus {
  color: #ecf0f1;
	background: #34495f;  
  text-decoration: none;
  outline: none;
}

/* Optimizer */

/* Split Button / Dropdown Styling */
.split-button-container {
  display: flex !important;
  position: relative;
  cursor: pointer !important; /* Add pointer cursor to the entire container with !important */
}

.split-button-container .split-main {
  border-right: 1px solid rgba(255,255,255,0.1);
  padding-right: 25px; /* Increased padding for caret space */
  position: relative; /* For absolute positioning of caret */
  cursor: pointer !important; /* Force pointer cursor with !important */
  border-right: none;
}

/* Remove all dropdown toggle styling to eliminate second caret */
.split-dropdown-toggle {
  display: none !important; /* Force hide with !important */
}

/* Hide dropdown icon completely */
.dropdown-icon {
  display: none !important; /* Force hide with !important */
}

/* CARET BEHAVIOR - only one caret via ::after pseudo-element */
.split-main::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  position: absolute;
  right: 8px;
  top: 50%;
  margin-top: -2px;
  border-top: 4px solid #798795; /* Default caret color */
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
  transition: border-top-color 0.2s ease; /* Smooth transition */
}

/* Turn caret green on hover */
#navmenu4:hover .split-main::after {
  border-top-color: #1abc9c !important; /* Green caret on hover with !important */
}

/* When only single option is available, adjust main button style */
.single-option .split-main {
  border-right: none;
}

/* Dropdown styling */
.optimizer-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0; /* Position from left instead of right */
  background-color: #2c3e50; /* Slightly darker than original #34495f */
  border: 1px solid #253444;
  min-width: 190px;
  width: 100%;
  border-radius: 4px;
  box-sizing: border-box;
  left: 0;
  box-shadow: 0 4px 8px rgba(0,0,0,.15);
  z-index: 1000;
  margin-top: 0; /* Remove any margin */
}

/* Show dropdown on hover ONLY when multiple options are available */
#navmenu4.has-multiple-options:hover .optimizer-dropdown {
  display: block !important; /* Force display with !important */
}

/* Also keep the class-based display for JS toggling */
.optimizer-dropdown.show {
  display: block !important; /* Force display with !important */
}

/* Consistent styling for dropdown options */
.optimizer-dropdown > li > a.optimizer-option {
  color: #ecf0f1;
  padding: 6px 12px;
  background: #2c3e50; /* Match dropdown background */
  border-left: 3px solid #3498db; /* Add subtle blue accent */
  transition: background 0.2s ease;
  display: block;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.4;
  cursor: pointer;
  width: 100%; /* Each option takes full width */
  box-sizing: border-box; /* Include padding in width calculation */
  text-align: left;
  border: none; /* Remove any borders */
}

/* Make entire list item clickable */
.optimizer-dropdown > li {
  cursor: pointer;
  margin: 0;
  padding: 0;
  width: 100%;
  border: none; /* Remove individual list item borders */
}

.optimizer-dropdown > li > a.optimizer-option:hover {
  color: #fff;
  background-color: #34495e; /* Slightly lighter on hover */
  border-left-color: #1abc9c; /* Change accent on hover */
}

/* Subtle divider between items */
.optimizer-dropdown > li:not(:last-child) {
  border-bottom: 1px solid rgba(255,255,255,0.05);
}


/* Trial Tag */

.trial-tag {
  position: fixed;
  top: 0;
  left: 122px;
  height: 50px;
  background-color: rgba(26, 188, 156, 0.15);
  border: 1px solid #4C4C4E;
  border-top: none;
  color: white;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  z-index: 99999;
  font-family: Arial, sans-serif;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.trial-countdown {
  font-weight: bold;
  font-size: 15px;
  color: #1abc9c;
  margin-bottom: 5px;
}

.trial-links {
  font-size: 13px;
}

.trial-links a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}

.trial-links a:hover {
  color: #1abc9c;
  text-decoration: underline;
}

.trial-divider {
  margin: 0 8px;
  color: rgba(255, 255, 255, 0.5);
}


/* START Loader */
.loader {
  text-align: center;
  max-width: 900px;
  width: 90%;

  color: white;  
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.loader-title {
  font-weight: 300;
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  color: white; 
}

.loader-subtitle {
  font-weight: 300;
  font-size: 1rem;
  margin-bottom: 2rem;
  opacity: 0.7;
  color: white; 
}

.progress-container {
  position: relative;
  width: 100%;
  height: 4px;
  margin-bottom: 2rem;
}

.progress-bar {
  width: 100%;
  height: 4px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  overflow: visible;
  position: relative;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background-color: #1abc9c;
  border-radius: 2px;
  transition: width 0.4s ease;
  position: relative;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #1abc9c;
  border-radius: 50%;
  position: absolute;
  top: -2px;
  right: -4px;
  animation: pulse 1.5s infinite ease-in-out;
  z-index: 2;
}

.percentage {
  position: absolute;
  top: -25px;
  right: 0;
  font-size: 0.9rem;
  font-weight: 700;
  color: #1abc9c;
  background-color: rgba(44, 62, 80, 0.7);
  padding: 2px 6px;
  border-radius: 10px;
  transform: translateX(50%);
  transition: right 0.4s ease;
}

.loading-messages {
  height: 2.5rem;
  overflow: hidden;
  position: relative;
}

.loading-message {
  position: absolute;
  width: 100%;
  text-align: center;
  font-size: 0.95rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s, transform 0.5s;
}

.loading-message.active {
  opacity: 1;
  transform: translateY(0);
  color: white; 
}

.loading-time {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 1rem;
  color: white; 
}

@keyframes pulse {
  0%, 100% { transform: scale(0.8); opacity: 0.5; }
  50% { transform: scale(1.2); opacity: 1; }
}

.shimmer {
  background: linear-gradient(
      90deg, 
      rgba(255,255,255,0) 0%, 
      rgba(255,255,255,0.1) 50%, 
      rgba(255,255,255,0) 100%
  );
  background-size: 200% 100%;
  animation: shimmer 2s infinite;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

@keyframes shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}
/* END Loader */