/* Custom About page Tabs */
.custom-tabs {
  border-bottom: 2px solid #054E92;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  /* smoother scrolling on iOS */
  scroll-behavior: smooth;
  /* enables smooth native scrolling */
  scrollbar-width: none;
  /* Firefox */
}

.custom-tabs::-webkit-scrollbar {
  display: none;
  /* Hide scrollbar in WebKit */
}

.custom-tabs .nav-link {
  border: none !important;
  color: #333 !important;
  font-weight: 500;
  margin: 0 0.5rem;
  padding-bottom: 0.75rem;
}

/* Active state: orange bottom + text */
.custom-tabs .nav-link.active {
  border-bottom: 3px solid #054E92 !important;
  color: #054E92 !important;
  background: transparent !important;
}

.custom-tabs .nav-link:hover {
  color: #054E92 !important;
}

/* Arrow buttons */
.nav-arrow {
  border: none;
  background: transparent;
  color: #333 !important;
  padding: 0.25rem 0.5rem;
}

.nav-arrow:hover,
.nav-arrow:focus {
  color: #054E92 !important;
  outline: none;
}

/* Everything will be centered nicely on small screens */
@media (max-width: 991.98px) {
  .custom-tabs .nav-link {
    margin: 0 0.25rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
}


/*Importation Register Buttons*/
a.btn.btn-primary.add-btn {
  background-color: #003366 !important;
  color: white !important;
}

a.btn.btn-primary.add-btn:hover {
  background-color: #003366 !important;
  color: white !important;
}

a.btn.btn-primary.add-btn:active {
  border-color: #003366 !important;
  background-color: #003366 !important;
  color: white !important;
}

a.btn.btn-primary.add-btn:focus {
  box-shadow: 0 0 0 .2rem rgba(0, 51, 102, 1) !important;
}

/*Importation Register Buttons*/

/*Nomenclator-Onure Form Buttons*/
button.btn.btn-info {
  background-color: #003366 !important;
  color: white !important;
}

button.btn.btn-info:hover {
  background-color: #003366 !important;
}

button.btn.btn-info:active {
  border-color: #003366 !important;
  background-color: #003366 !important
}

/*Nomenclator-Onure Forms Buttons*/


/* Locations Table Custom Animations Style */
.sublocations-wrapper {
    overflow: hidden;
    opacity: 1;
    max-height: 500px; /* enough to fit all children */
    transition: all 0.3s ease;
}

.animate-fade-in {
    animation: fade-in 0.3s ease-in;
}

@keyframes fade-in {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.sublocations-closing {
    opacity: 0;
    max-height: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}
/* Locations Table Custom Animations Style */