:root {
  --primary: #f23a2e;
  --primary-dark: #d92e23;
  --bg: #fff8f6;
  --card: #ffffff;
  --text: #2f2f2f;
  --muted: #6f6f6f;
  --border: #f0d5d2;
  --success-bg: #ecfdf3;
  --success-text: #027a48;
  --danger-bg: #fff1f0;
  --danger-text: #b42318;
  --shadow: 0 18px 50px rgba(242, 58, 46, 0.08);
}

/* Modern app navigation */
.app-navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #eee;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.nav-logo img {
  height: 42px;
  display: block;
}

.nav-links {
  display: flex;
  gap: 26px;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: #333;
  font-weight: 700;
  position: relative;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary);
  border-radius: 999px;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-button {
  background: var(--primary);
  color: white;
  padding: 8px 14px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 800;
  border: 0;
  cursor: pointer;
}

.nav-user {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
}

.logout-btn {
  border: none;
  background: #eee;
  padding: 7px 11px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
}

.logout-btn:hover {
  background: #ddd;
}

/* Mobile menu styles for small screens */
.menu-toggle { display: none; align-items: center; gap: 8px; background: transparent; border: none; font-size: 20px; cursor: pointer; }

@media (max-width: 991px) {
  .nav-links { display: none; }
  .menu-toggle { display: inline-flex; }
  .nav-container { padding: 12px 16px; }

  .mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    height: 100vh;
    background: #fff;
    box-shadow: -8px 0 24px rgba(0,0,0,0.12);
    transform: translateX(110%);
    transition: transform .28s ease-in-out;
    z-index: 2000;
    overflow-y: auto;
    padding: 24px 18px;
  }
  .mobile-menu.open { transform: translateX(0%); }
  .mobile-menu .mobile-menu-body a { display:block; padding: 12px 0; color: #222; text-decoration: none; border-bottom: 1px solid #f4f4f4; }
  .mobile-menu .mobile-menu-body a:hover { color: var(--primary); }
}
@media (min-width: 992px) {
  .mobile-menu {
    display: none !important; }
}