* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #e5e7eb !important;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  background: linear-gradient(to bottom, #2d2d2d 0%, #414141 100%);
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-bar {
  border-top: 1px solid #414141;
}

.nav-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 10px 20px;
}

.brand {
  font-size: 20px;
  font-weight: 700;
  color: #f59e0b !important;
  text-decoration: none;
}

.header-nav {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.header-nav a {
  position: relative;
  padding: 10px 16px;
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: color 0.2s ease;
}

.header-nav a::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: #f59e0b;
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.header-nav a:hover {
  color: #f9fafb;
}

.header-nav a:hover::after {
  transform: scaleX(1);
}

.auth-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.user-name {
  font-size: 14px;
  color: #ffffff;
  font-weight: 500;
  text-decoration: none !important;
}

.user-name:hover {
  color: #fbbf24;
}

/* Account Dropdown */
.account-dropdown-wrapper {
  position: relative;
  display: inline-block;
}

.account-toggle {
  background: transparent;
  border: none;
  padding: 10px 16px;
  color: #ffffff;
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.account-toggle:hover {
  color: #f9fafb;
}

.account-toggle i {
  font-size: 12px;
  transition: transform 0.3s ease;
}

.account-toggle.active i {
  transform: rotate(180deg);
}

.account-dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  min-width: 180px;
  display: none;
  flex-direction: column;
  z-index: 1001;
  margin-top: 8px;
}

.account-dropdown-menu.active {
  display: flex;
}

.account-dropdown-item {
  padding: 12px 16px;
  color: #374151;
  text-decoration: none !important;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
  transition: background-color 0.2s;
  border: none;
  background: transparent;
  cursor: pointer;
  width: 100%;
  text-align: left;
}

.account-dropdown-item i {
  width: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  flex-shrink: 0;
}

.account-dropdown-item:hover {
  background-color: #f3f4f6;
}

.account-dropdown-item:first-child {
  border-radius: 8px 8px 0 0;
}

.account-dropdown-item:last-child {
  border-radius: 0 0 8px 8px;
}

.account-dropdown-logout {
  border-top: 1px solid #e5e7eb;
  color: #dc2626;
}

.account-dropdown-logout:hover {
  background-color: #fee2e2;
}

.admin-settings-icon {
  text-decoration: none;
  padding: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
  color: #f59e0b;
  font-size: 18px;
}

.admin-settings-icon:hover {
  transform: scale(1.1);
  color: #fbbf24;
}

/* Buttons */
.btn-primary,
.btn-secondary {
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  font-size: 14px;
  display: inline-block;
}

.btn-primary {
  background: #3b82f6 !important;
  color: white !important;
}

.btn-primary:hover {
  background: #2563eb !important;
  color: white !important;
}

.btn-secondary {
  background: #374151 !important;
  color: #f9fafb !important;
}

.btn-secondary:hover {
  background: #1f2937 !important;
  color: #f9fafb !important;
}

.btn-large {
  padding: 15px 40px;
  font-size: 16px;
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.7)), 
              url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?w=1920&q=80') center/cover;
  color: white;
  padding: 0;
  text-align: center;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
  font-weight: 700;
}

.hero-subtitle {
  font-size: 20px;
  margin-bottom: 40px;
  opacity: 0.9;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 800px;
  margin: 30px auto 30px;
}

.stat-card {
  padding: 15px;
}

.stat-icon {
  width: 36px;
  height: 36px;
  margin: 0 auto 10px;
  color: white;
  opacity: 0.9;
}

.stat-number {
  font-size: 32px;
  font-weight: 700;
  color: white;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 14px;
  opacity: 0.8;
}

.search-box {
  display: flex;
  max-width: 600px;
  margin: 0 auto;
  gap: 10px;
  background: rgba(255, 255, 255, 0.95);
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.search-input {
  flex: 1;
  padding: 12px;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  font-size: 16px;
  background: #ffffff;
  color: #374151;
}

/* Features */
.features {
  padding: 80px 0;
  background: #ffffff;
}

.features h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 50px;
  color: #374151;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature-card {
  background: #f9fafb;
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid #e5e7eb;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
  border-color: #f59e0b;
}

.feature-card h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: #374151;
}

.feature-card p {
  color: #6b7280;
  line-height: 1.6;
}

/* CTA */
.cta {
  background: #f3f4f6;
  padding: 60px 0;
  text-align: center;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}

.cta h2 {
  font-size: 32px;
  margin-bottom: 15px;
  color: #374151;
}

.cta p {
  font-size: 18px;
  color: #6b7280;
  margin-bottom: 30px;
}

/* Footer */
.site-footer {
  background: #f9fafb;
  color: #374151;
  padding: 40px 0 20px;
  border-top: 1px solid #e5e7eb;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 30px;
}

.footer-section h3 {
  margin-bottom: 15px;
  font-size: 18px;
}

.footer-section ul {
  list-style: none;
}

.footer-section a {
  color: #6b7280;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: #374151;
}

.footer-section p {
  color: #6b7280;
  margin-bottom: 8px;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #e5e7eb;
  color: #9ca3af;
}

/* Dropdown Toggle - Bună, User */
.user-name {
  color: #d1d5db !important;
  font-weight: 500 !important;
  padding: 10px 16px !important;
  display: inline-block !important;
  transition: color 0.2s ease !important;
  position: relative;
  border-bottom: 2px solid transparent;
}

.user-name:hover {
  color: #f9fafb !important;
  border-bottom: 2px solid #f59e0b !important;
}

.user-name:focus {
  color: #f9fafb !important;
  border-bottom: 2px solid #f59e0b !important;
}

/* Dropdown menu styling */
.dropdown-menu {
  background: white !important;
  border: 1px solid #d1d5db !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

.dropdown-item:hover {
  background: #f3f4f6 !important;
  color: #1f2937 !important;
}


