html {
  font-size: 14px;
  overflow-x: hidden;
  
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #FF7F00;
}

html {
  position: relative;
  min-height: 100%;
  width: 100%;
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: 100%;
  overflow-x: hidden;
  
  box-sizing: border-box;
}

* {
  box-sizing: border-box;
  
}


img,
video,
iframe {
  max-width: 100%;
  height: auto;
}


p,
h1,
h2,
h3,
h4,
h5,
h6,
a,
span {
  word-break: break-word;
  overflow-wrap: break-word;
}


.container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 0 1rem;
}


main {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}


.footer {
  width: 100%;
  white-space: nowrap;
  line-height: 40px;
  
  margin-top: auto;
  text-align: center;
  
  background: linear-gradient(135deg, #FF7F00, #FF4500);
  
  color: white;
  
  font-size: 16px;
  
  font-weight: 600;
  
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  
  box-shadow: 0 -2px 10px rgba(255, 69, 0, 0.4);
  height: 40px;
  
}


.footer a {
  
  color: white !important;
  
  text-decoration: none !important;
  
  transition: all 0.3s ease;
  
  padding: 0.5rem 0.8rem;
  border-radius: 4px;
}


.footer a:hover {
  
  background-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.form-floating>.form-control-plaintext::placeholder,
.form-floating>.form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating>.form-control-plaintext:focus::placeholder,
.form-floating>.form-control:focus::placeholder {
  text-align: start;
}


.navbar {
  width: 100%;
  background: linear-gradient(135deg, #FF7F00, #FF4500);
  color: white;
  padding: 0.5rem 0;
  box-shadow: 0 2px 10px rgba(255, 69, 0, 0.4);
}

.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 0 1rem;
}


.navbar-logo {
  display: flex;
  align-items: center;
  margin-right: 1rem;
}


.navbar-logo-img {
  max-height: 40px;
  
  width: auto;
  
  object-fit: contain;
  
}

.navbar-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  width: 100%;
}


@media (max-width: 768px) {
  .navbar-links {
    flex-direction: column;
    gap: 0.5rem;
  }

  .navbar-link {
    font-size: 14px;
    padding: 0.4rem 0.6rem;
  }

  .navbar-container {
    padding: 0 0.5rem;
  }

  
  .login-status {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .welcome-text {
    font-size: 12px;
  }

  #logoutButton {
    font-size: 12px !important;
    padding: 0.3rem 0.5rem !important;
  }
}

.navbar-link {
  color: white !important;
  text-decoration: none !important;
  font-size: 16px;
  font-weight: 600;
  padding: 0.5rem 0.8rem;
  border-radius: 4px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.navbar-link:hover {
  background-color: rgba(255, 255, 255, 0.15);
  color: white !important;
  transform: translateY(-2px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}


.d-inline-flex {
  display: inline-flex !important;
  align-items: center !important;
}

.d-inline-flex.items-center {
  display: inline-flex;
  align-items: center;
}

.navbar-nav .nav-link {
  color: white !important;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s ease;
  padding: 0.5rem 0.8rem;
  border-radius: 4px;
}

.navbar-nav .nav-link:hover {
  opacity: 1;
  transform: translateY(-2px);
  background-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.navbar-nav .btn-link {
  background: none;
  border: none;
  color: white !important;
  text-decoration: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  padding: 0.5rem 0.8rem;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.navbar-nav .btn-link:hover {
  opacity: 1;
  transform: translateY(-2px);
  background-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}




.navbar-links span {
  color: white !important;
  font-weight: 600 !important;
  font-size: 16px !important;
}


#logoutButton {
  color: white !important;
  font-weight: 600 !important;
  font-size: 16px !important;
  text-decoration: underline !important;
  background: none !important;
  border: none !important;
  cursor: pointer !important;
  padding: 0.5rem 0.8rem !important;
  border-radius: 4px !important;
  transition: all 0.3s ease !important;
}

#logoutButton:hover {
  background-color: rgba(255, 255, 255, 0.15) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1) !important;
}