body {
  font-family: 'Poppins', sans-serif;
  background: #f8f9fa;
  color: #2d3436;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  padding-top: 70px; 
}

.floating-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(229,231,235,0.5);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: transform 0.3s ease-out, opacity 0.3s ease-out, background-color 0.3s ease-out, box-shadow 0.3s ease-out, backdrop-filter 0.3s ease-out;
}

.floating-header.header-hidden {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem; 
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-link {
  display: inline-block;
  flex-shrink: 0;
}

.brand-logo {
  height: 36px; 
  width: auto;
  display: block;
}

.auth-buttons {
  display: flex;
  gap: 0.75rem; 
  margin-left: auto;
  margin-right: 1rem;
  align-items: center;
}

.auth-icon-btn {
  display: flex;
  padding: 0.5rem;
  border-radius: 8px;
  color: var(--primary, #4f46e5); 
  background: rgba(79,70,229,0.1);
  transition: background-color 0.2s ease;
}
.auth-icon-btn:hover {
  background: rgba(79,70,229,0.15);
}

.auth-icon-btn svg {
  width: 20px;
  height: 20px;
}

.menu-button {
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  color: var(--primary, #4f46e5);
  display: flex;
  align-items: center;
  transition: color 0.2s ease;
}

.menu-button:hover {
  color: var(--primary-dark, #4338ca);
}

.menu-button svg {
  width: 24px;
  height: 24px;
}

.expanded-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 300px;
  max-width: 90%;
  height: 100vh;
  background: white;
  padding: 1rem;
  box-shadow: -4px 0 12px rgba(0,0,0,0.1);
  transform: translateX(100%);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  pointer-events: none;
  overflow-y: auto;
  z-index: 1100; 
}

.expanded-menu.active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

.menu-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  color: var(--text-secondary, #64748b);
}
.menu-close-btn:hover {
  color: var(--text-primary, #1e293b);
}
.menu-close-btn svg {
  width: 24px;
  height: 24px;
}

.menu-items {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.5rem;
  margin-top: 3rem; 
}

.menu-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem; 
  border-radius: 8px;
  color: var(--text-secondary, #64748b);
  transition: all 0.2s ease;
  text-decoration: none;
  font-size: 0.95rem; 
  font-weight: 500;
}

.menu-item:hover {
  background: #f3f4f6;
  color: var(--primary, #4f46e5);
}

.menu-icon {
  width: 20px;
  height: 20px;
  opacity: 0.7;
  flex-shrink: 0;
}

a {
color: var(--primary, #4f46e5);
text-decoration: none;
transition: color 0.2s ease;
}
a:hover {
color: var(--primary-dark, #4338ca);
text-decoration: underline;
}

.inline-flex { display: inline-flex; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mr-1 { margin-right: 0.25rem; }
.mr-2 { margin-right: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.p-3 { padding: 0.75rem; }
.pb-4 { padding-bottom: 1rem; }
.pt-4 { padding-top: 1rem; }
.w-4 { width: 1rem; }
.h-4 { height: 1rem; }
.w-5 { width: 1.25rem; }
.h-5 { height: 1.25rem; }
.w-full { width: 100%; }
.max-w-md { max-width: 28rem; }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.font-semibold { font-weight: 600; }
.text-center { text-align: center; }
.text-gray-600 { color: #4b5563; } 
.hover\:text-primary:hover { color: var(--primary, #4f46e5); }
.rounded-lg { border-radius: 0.5rem; }
.border { border-width: 1px; }
.border-border { border-color: var(--border, #e2e8f0); }
.border-t { border-top-width: 1px; }
.border-b { border-bottom-width: 1px; }
.bg-gray-50 { background-color: #f9fafb; } 
.focus\:outline-none:focus { outline: 2px solid transparent; outline-offset: 2px; }
.focus\:border-primary:focus { border-color: var(--primary, #4f46e5); }
.focus\:ring-1:focus { --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color); --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color); box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000); }
.focus\:ring-primary:focus { --tw-ring-color: var(--primary, #4f46e5); }
.space-y-3 > :not([hidden]) ~ :not([hidden]) { --tw-space-y-reverse: 0; margin-top: calc(0.75rem * calc(1 - var(--tw-space-y-reverse))); margin-bottom: calc(0.75rem * var(--tw-space-y-reverse)); }
.list-disc { list-style-type: disc; }
.list-inside { list-style-position: inside; }
.ml-4 { margin-left: 1rem; }
.space-y-1 > :not([hidden]) ~ :not([hidden]) { --tw-space-y-reverse: 0; margin-top: calc(0.25rem * calc(1 - var(--tw-space-y-reverse))); margin-bottom: calc(0.25rem * var(--tw-space-y-reverse)); }
