*, *::before, *::after {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #1a1a2e;
  background-color: #f9fafb;
  margin: 0;
  padding: 0;
  padding-top: 64px;
  -webkit-font-smoothing: antialiased;
}

a {
  color: #b33a2b;
  text-decoration: none;
}

a:hover {
  color: #922e22;
}


.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  z-index: 100;
}

.navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo img {
  height: 75px;
  width: auto;


.navbar-center {
  display: flex;
  gap: 8px;
}

.nav-link {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: #6b7280;
  border-radius: 6px;
  transition: all 0.15s;
  text-decoration: none;
}

.nav-link:hover {
  color: #1a1a2e;
  background: #f3f4f6;
}

.nav-link-active,
.nav-link.nav-link-active {
  color: #b33a2b;
  background: #fef2f2;
}

.navbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.user-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  padding: 4px 8px;
  border-radius: 6px;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  transition: all 0.15s;
}

.user-btn:hover {
  background: #f3f4f6;
}

.user-name {
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}


.navbar-dropdown {
  position: relative;
}

.navbar-dropdown .dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  min-width: 180px;
  z-index: 200;
  padding: 6px 0;
}

.navbar-dropdown.open .dropdown-menu {
  display: block;
}

.dropdown-item {
  padding: 10px 16px;
  font-size: 13px;
  color: #374151;
  cursor: pointer;
  transition: background 0.1s;
  display: block;
}

a.dropdown-item:hover {
  background: #f3f4f6;
  color: #1a1a2e;
  text-decoration: none;
}


.main-container {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 24px;
  min-height: calc(100vh - 64px - 80px);
}


.footer {
  text-align: center;
  padding: 28px 24px;
  border-top: 1px solid #e5e7eb;
  color: #9ca3af;
  font-size: 13px;
  background: #fff;
}


#loading-bar .bar {
  background: #b33a2b;
}


body.no-navbar {
  padding-top: 64px;
}

.main-container-public {
  max-width: 100%;
  padding: 0;
}

.nav-btn {
  display: inline-block;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.nav-btn-outline {
  color: #1a1a2e;
  border: 1.5px solid #1a1a2e;
  background: transparent;
}

.nav-btn-outline:hover {
  background: #f3f4f6;
  color: #1a1a2e;
}}