body {
    background: #232834;
    color: #fff;
    font-family: 'Poppins', Arial, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

h1, h2, h3, h4, h5, h6 {
    color: #fff;
    font-weight: 600;
}

.card {
    background: #2c313c;
    border: none;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
    color: #fff;
}

label, .form-label, .form-check-label, .navbar, .footer, .navbar-nav .nav-link, .navbar-brand {
    color: #fff !important;
}

.form-control, .form-check-input {
    background: #232834;
    color: #fff;
    border: 1px solid #444a5a;
}

.form-control::placeholder {
    color: #bfc9d1;
    opacity: 1;
}

.form-text, small, .text-muted {
    color: #bfc9d1 !important;
}

.navbar, .footer {
    background: #181a20 !important;
    color: #fff;
}

.navbar-brand, .navbar-nav .nav-link, .footer a {
    color: #4db3ff !important;
    font-weight: 600;
}

.navbar-nav .nav-link.active, .navbar-nav .nav-link:focus {
    color: #fff !important;
    background: #232834;
    border-radius: 6px;
}

.navbar-nav .nav-link {
    text-decoration: none !important;
}
.navbar-nav .nav-link:hover {
    text-decoration: underline !important;
}

.btn-primary {
    background: linear-gradient(90deg, #4db3ff 0%, #3578e5 100%);
    border: none;
    font-weight: 600;
    color: #fff;
}

.btn-primary:active, .btn-primary:focus, .btn-primary:hover {
    background: linear-gradient(90deg, #3578e5 0%, #4db3ff 100%);
    color: #fff;
}

.alert-danger {
    background: #ffe0e0;
    color: #b00020;
    border: none;
    font-weight: 500;
}

.form-control:focus {
    background: #232834;
    color: #fff;
    border-color: #4db3ff;
    box-shadow: 0 0 0 0.2rem rgba(77,179,255,0.15);
}

::-webkit-scrollbar {
    width: 8px;
    background: #232834;
}
::-webkit-scrollbar-thumb {
    background: #2c313c;
    border-radius: 8px;
}

.container {
    flex: 1 0 auto;
}

.footer {
    width: 100%;
    text-align: center;
    background: #232834 !important;
    color: #e0e0e0;
    border-top: 1px solid #232834;
    margin-top: auto;
    padding-top: 12px;
    padding-bottom: 12px;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #e0e0e0 !important;
    text-decoration: underline;
    font-weight: 400;
    font-size: 0.93rem;
    transition: color 0.15s;
}

.footer-links a:hover {
    color: #4db3ff !important;
}

a, a:visited, .navbar-nav .nav-link, .footer a, .forgot-link, .login-link {
    text-decoration: none !important;
}
a:hover, .navbar-nav .nav-link:hover, .footer a:hover, .forgot-link:hover, .login-link:hover {
    text-decoration: underline !important;
}

a.navbar-brand, a.navbar-brand:visited, a.navbar-brand:hover, a.navbar-brand:focus {
    text-decoration: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
    text-underline-offset: unset !important;
    text-decoration-thickness: initial !important;
    -webkit-text-decoration: none !important;
}

/* User dropdown styles */
.user-dropdown-parent { position: relative; }
.user-dropdown-toggle { cursor: pointer; }
.user-dropdown-menu {
  position: absolute;
  top: 48px;
  right: 0;
  min-width: 320px;
  background: #181a20;
  border: 1px solid #232834;
  border-radius: 12px;
  box-shadow: 0 4px 24px #000a;
  z-index: 9999;
  padding: 0.5rem 0.5rem 0.7rem 0.5rem;
  transition: opacity 0.25s cubic-bezier(.4,2,.6,1), transform 0.25s cubic-bezier(.4,2,.6,1);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
}
.user-dropdown-menu.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.user-dropdown-card {
  padding: 0.7rem 1rem 0.5rem 1rem;
  background: #232834;
  border-radius: 10px;
  color: #fff;
}
.user-dropdown-header {
  gap: 0.7rem;
}
.user-dropdown-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5em;
  font-weight: 700;
  box-shadow: 0 2px 8px #0003;
}
.user-dropdown-username {
  font-size: 1.15em;
  font-weight: 600;
  color: #fff;
}
.user-dropdown-role {
  font-size: 0.97em;
  color: #bfc9d1;
}
.user-dropdown-stats {
  font-size: 0.97em;
  color: #bfc9d1;
  display: flex;
  flex-wrap: wrap;
  gap: 1.2em;
}
.user-dropdown-links {
  display: flex;
  flex-direction: column;
  gap: 0.2em;
  margin-top: 0.5em;
}
.user-dropdown-links a {
  color: #fff;
  text-decoration: none;
  padding: 0.18em 0.1em;
  border-radius: 5px;
  transition: background 0.15s;
  font-size: 1em;
}
.user-dropdown-links a:hover {
  background: #232834;
  color: #4db3ff;
}

/* User dropdown animation */
.user-chevron {
  transition: transform 0.3s cubic-bezier(.4,2,.6,1);
}
.user-chevron.rotated {
  transform: rotate(180deg);
}

.footer-xf {
  background: #181a20 !important;
  color: #bfc9d1;
  font-size: 0.97rem;
  border-top: 1px solid #232834;
  margin-top: auto;
  padding-top: 14px !important;
  padding-bottom: 14px !important;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.footer-xf .container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}
.footer-xf .footer-links a {
  color: #bfc9d1 !important;
  text-decoration: none;
  margin: 0 8px;
  transition: color 0.15s;
  font-weight: 400;
}
.footer-xf .footer-links a:hover {
  color: #4db3ff !important;
  text-decoration: underline;
}
.footer-xf .footer-left {
  color: #bfc9d1;
  font-size: 0.97em;
}
@media (max-width: 768px) {
  .footer-xf .container {
    flex-direction: column !important;
    gap: 8px;
    text-align: center;
  }
  .footer-xf .footer-links {
    justify-content: center !important;
  }
} 