/* Container refinement */
#step-sidebar {
  background-color: #f0f3f8;
  padding: 12px;
  border-radius: 16px;
  font-family: 'Segoe UI', Roboto, sans-serif;
}

/* Step button styling */
#step-sidebar .step {
  background-color: #6c7a89;
  color: white;
  padding: 12px 16px;
  margin-bottom: 8px;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.25s ease, transform 0.2s ease;
  display: flex;
  align-items: center;
  font-size: 15px;
  position: relative;
}

/* Hover effect */
#step-sidebar .step:hover {
  background-color: #5a687a;
  transform: translateX(4px);
}

/* Active step */
#step-sidebar .step-selected {
  background-color: #003366 !important;
  font-weight: bold;
  border-left: 5px solid #00bfff;
}

/* Step name spacing */
.step .step-name {
  flex: 1;
}

/* Last step */
#step-sidebar .step-last {
  background-color: #004080;
  font-weight: 600;
}

/* Optional: completed step indicators (if visible) */
.step .glyphicon-ok,
.step .glyphicon-remove {
  margin-right: 8px;
  color: #b3e5fc;
}
.navbar.navbar-inverse {
  background-color: #002b55; /* dark navy blue */
  border-radius: 12px;
  padding: 10px 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* All nav links */
.navbar-inverse .navbar-nav > li > a {
  color: #e0ecff;
  background-color: transparent;
  padding: 10px 16px;
  border-radius: 8px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Hover effect */
.navbar-inverse .navbar-nav > li > a:hover {
  background-color: #004080; /* lighter navy on hover */
  color: #ffffff;
}

/* Active tab */
.navbar-inverse .navbar-nav > .active > a,
.navbar-inverse .navbar-nav > .active > a:focus,
.navbar-inverse .navbar-nav > .active > a:hover {
  background-color: #004d99; /* brighter blue for active */
  color: #ffffff;
  font-weight: 600;
}

/* Right-side sign-out */
.navbar-inverse .navbar-nav.navbar-right > li > a {
  color: #cce6ff;
}

.navbar-inverse .navbar-nav.navbar-right > li > a:hover {
  background-color: #004080;
  color: white;
}
.form-control {
  border-radius: 8px;  /* You can increase to 12px or more if you want it pill-shaped */
  padding: 10px;
  border: 1px solid #ccc;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Optional: Add focus effect */
.form-control:focus {
  border-color: #0074d9;
  box-shadow: 0 0 4px rgba(0, 116, 217, 0.5);
  outline: none;
}

/* Presenter field: keep it on Author 1 only.
   Hides the whole row (label + checkbox) for every other author,
   however many authors are added. */
.author-container .form-group:has(input[id$='__IsPresenting']:not(#Authors_0__IsPresenting)) {
  display: none !important;
}

/* Hide Author Fields p.sagar */
.author-container .form-group:has(input[id*='__Position']) {
  display: none !important;
}

/* Hide the "Add Affiliation" button */
#NewAffiliationButton,
button#NewAffiliationButton.btn {
  display: none !important;
}

/* Hide unused/blank steps in the left sidebar (every page of the form) */
#step-sidebar .step[data-page-id="step5-page"],
#step-sidebar .step[data-page-id="step6-page"],
#step-sidebar div.step.numbered[data-page-id="step5-page"],
#step-sidebar div.step.numbered[data-page-id="step6-page"],
div[data-page-id="step5-page"],
div[data-page-id="step6-page"] {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
}
