:root {
  --fs-section-1: #162337;
  --fs-section-2: #101c2e;
  --fs-section-3: #091527;
  --fs-section-4: #020d1d;

  --fs-primary: #3c71ad;
  --fs-primary-2: #082F5A;
  --fs-secondary: #0095c7;
  --fs-secondary-2: #314c7a;

  --fs-light: #f7f7f7;
  --fs-shadow: rgba(0, 0, 0, 0.6);
}


body,
html {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow-x: hidden;
  /* horizontal only */
  scroll-behavior: smooth;
}

.custom-navbar {
  background-color: #1e1e2f !important;
}

.site-title {
  font-weight: bold;
  font-size: 1.25rem;
  cursor: pointer;
}

.login-body {
  background-color: #f8f9fa;
}

.user-body {
  background-color: #f8f9fa;
}

.login-container {
  height: calc(100vh - 56px);
}

.login-card {
  background-color: #fff;
}

.login-button {
  width: 200px;
}

.login-input-group {
  margin-bottom: 1.5rem;
}

.user-interface {
  max-height: calc(100vh - 56px);
  overflow-y: auto;
}

.logout-icon {
  font-size: 1.25rem;
  cursor: pointer;
  color: white;
  margin-left: 15px;
}


.tip-message {
  position: fixed;
  bottom: 20px;
  left: 20px;
  max-width: 400px;
  z-index: 999;
  animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }

  to {
    opacity: 0;
    transform: translateY(20px);
  }
}

.fade-out {
  animation: fadeOut 0.5s forwards;
}

.progress-bar-wrapper {
  height: 5px;
}

.welcome-body {
  background: linear-gradient(to right, #1e3c72, #2a5298);
  color: white;
  min-height: 100vh;
}

.welcome-header {
  height: 100vh;
  background: rgba(0, 0, 0, 0.3);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
  padding: 60px 20px;
}

.login-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-iframe-wrapper {
  position: relative;
  width: 90%;
  max-width: 420px;
  height: 600px;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.login-iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.back-link {
  font-size: 1.1rem;
  color: #ffffff;
  transition: color 0.2s;
}

.back-link:hover {
  color: #424549;
  text-decoration: underline;
}

/* Welcome sections scrolling */
.welcome-header {
  height: 100vh;
  background: linear-gradient(to right, #1e3c72, #2a5298);
  color: white;
  padding: 60px 20px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.navbar .nav-link {
  position: relative;
  padding-bottom: 5px;
}

.hover-underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 0;
  background-color: #004080;
  transition: width 0.3s ease-in-out;
}

.hover-underline:hover::after {
  width: 100%;
}

/* Hero Section */
.welcome-section {
  min-height: 100vh;
  background-image: linear-gradient(to bottom, #082f5a, #173e6e, #244f82, #306097, #3c71ad);
  color: white;
  padding: 60px 20px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

/* Smooth content sections */
.content-section {
  padding: 80px 0;
}

/* Navbar underline animation */
.navbar .nav-link {
  position: relative;
  padding-bottom: 5px;
}

.hover-underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 0;
  background-color: #004080;
  transition: width 0.3s ease-in-out;
}

.hover-underline:hover::after {
  width: 100%;
}

.welcome-login {
  height: 4rem;
  width: 20rem;
  border-radius: 1rem;
  font-size: 2rem;
  font-weight: bold;
  font-family: Verdana, Geneva, Tahoma, sans-serif;

}

/* Section Colors */
.section-bg-even {
  background-color: var(--fs-primary)

}

.section-bg-odd {
  background-color: var(--fs-secondary);
}

.login-bg {
  background-image: linear-gradient(to bottom, #082f5a, #173e6e, #244f82, #306097, #3c71ad);
}

.db-cd {
  background-color: var(--fs-light);
}
