/* ========================================
   Base Variables
   ======================================== */
:root {
  --bg-color: #1a1a1a;
  --bg-color-light: #2d2d2d;
  --bg-color-lighter: #374151;
  --border-color: rgba(255, 140, 0, 0.2);
  --link-color: #ff8c00;
  --primary-color: #ff6600;
  --secondary-color: #9ca3af;
  --text-color: #ffffff;
  --dimmed-color: #9ca3af;
  --page-gutter: 3rem;
}

/* ========================================
   Global Dark Theme
   ======================================== */

/* Body styles - dark gradient background for all pages */
body {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #000000 100%);
  background-attachment: fixed;
  color: #ffffff;
  line-height: 1.6;
  min-height: 100vh;
}

/* Reset and base for modern layout */
* {
  box-sizing: border-box;
}

/* Container for modern layout */
.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Main content area */
.main-content {
  padding-top: 50px; /* Account for fixed header */
  min-height: calc(100vh - 400px); /* Ensure content area has minimum height */
}

.content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px 20px 24px;
}

/* Remove top padding only on homepage */
body.page-homepage .content-wrapper {
  padding-top: 0;
}

/* ========================================
   Fixed Header
   ======================================== */
.page-header-fixed {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 140, 0, 0.2);
}

.header-nav .container {
  display: flex;
  align-items: center;
  gap: 32px;
}

.header-nav {
  padding: 16px 0;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Desktop navigation - push to the right */
.nav-links {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.header-user-nav {
  display: flex;
  align-items: center;
  list-style: none;
}

.logo-img {
  height: 50px;
}

.logo-text h1 {
  font-size: 24px;
  font-weight: bold;
  color: #ff8c00;
  margin: 0;
  line-height: 1.2;
}

.logo-text p {
  font-size: 12px;
  color: #9ca3af;
  margin: 0;
  line-height: 1.2;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #ff8c00;
}

.btn-intranet {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #ff6600;
  padding: 8px 16px;
  border-radius: 8px;
  border: none;
  color: white;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.3s;
}

.btn-intranet:hover {
  background: #ff8800;
  color: white;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 28px;
  cursor: pointer;
}

.header-user-nav {
  list-style: none;
}

.header-user-nav .current-user .dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 102, 0, 0.2);
  border-radius: 8px;
  text-decoration: none;
  color: white;
  transition: all 0.3s;
}

.header-user-nav .current-user .dropdown-toggle:hover {
  background: rgba(255, 102, 0, 0.3);
}

.header-user-nav .current-user .button {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #ff6600;
  padding: 8px 16px;
  border-radius: 8px;
  border: none;
  color: white;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.3s;
}

.header-user-nav .current-user .button:hover {
  background: #ff8800;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
  padding: 180px 24px 80px;
  text-align: center;
}

.hero-logo {
  height: 128px;
  margin: 0 auto 32px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

.hero h2 {
  font-size: 72px;
  font-weight: bold;
  background: linear-gradient(to right, #ff8c00, #ffd700);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 24px;
  color: #d1d5db;
  margin-bottom: 32px;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.btn-primary {
  background: #ff6600;
  color: white;
  padding: 16px 32px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(255, 102, 0, 0.5);
}

.btn-primary:hover {
  background: #ff8800;
  transform: scale(1.05);
  color: white;
}

.btn-secondary {
  background: transparent;
  color: white;
  padding: 16px 32px;
  border: 2px solid #ff8c00;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s;
}

.btn-secondary:hover {
  background: rgba(255, 140, 0, 0.1);
  color: white;
}

.event-counter {
  display: inline-block;
  background: rgba(31, 41, 55, 0.5);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 140, 0, 0.3);
  border-radius: 16px;
  padding: 32px;
}

.event-counter-label {
  font-size: 14px;
  color: #9ca3af;
  margin-bottom: 8px;
}

.event-counter-title {
  font-size: 36px;
  font-weight: bold;
  color: #ff8c00;
  margin-bottom: 8px;
}

.event-counter-location {
  color: #d1d5db;
  margin-bottom: 16px;
}

.event-counter-capacity {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #10b981;
  font-weight: 600;
}

/* ========================================
   Section Styles
   ======================================== */
section {
  padding: 80px 24px;
}

.section-alt {
  background: rgba(0, 0, 0, 0.3);
}

.section-title {
  font-size: 48px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 48px;
  color: #ffffff;
}

.section-title span {
  border-bottom: 4px solid #ff8c00;
  padding-bottom: 8px;
}

/* ========================================
   Grid System
   ======================================== */
.grid {
  display: grid;
  gap: 32px;
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* ========================================
   News Cards
   ======================================== */
.news-card {
  background: rgba(31, 41, 55, 0.5);
  backdrop-filter: blur(10px);
  border: 1px solid #374151;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s;
}

.news-card:hover {
  border-color: #ff8c00;
  transform: scale(1.05);
}

.news-card-image {
  height: 192px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
}

.news-card-image.orange {
  background: linear-gradient(135deg, #ff6600 0%, #ffd700 100%);
}

.news-card-image.blue {
  background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
}

.news-card-image.green {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
}

.news-card-content {
  padding: 24px;
}

.news-card-date {
  font-size: 14px;
  color: #ff8c00;
  margin-bottom: 8px;
}

.news-card-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 12px;
  color: #ffffff;
}

.news-card-text {
  color: #9ca3af;
  margin-bottom: 16px;
}

.news-card-link {
  color: #ff8c00;
  text-decoration: none;
  font-weight: 600;
}

.news-card-link:hover {
  color: #ff9900;
}

/* ========================================
   Event Card
   ======================================== */
.event-card {
  max-width: 800px;
  margin: 0 auto;
  background: linear-gradient(to right, #ff6600, #ffd700);
  padding: 2px;
  border-radius: 16px;
}

.event-card-inner {
  background: #1a1a1a;
  border-radius: 14px;
  padding: 32px;
}

.event-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.event-card-title {
  font-size: 32px;
  font-weight: bold;
  color: #ffffff;
}

.event-card-location {
  color: #9ca3af;
}

.event-card-capacity {
  text-align: center;
}

.event-card-capacity-number {
  font-size: 36px;
  font-weight: bold;
  color: #ff8c00;
}

.event-card-capacity-label {
  font-size: 14px;
  color: #9ca3af;
}

.event-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-bottom: 24px;
}

.event-detail {
  display: flex;
  align-items: center;
  gap: 12px;
}

.event-detail-icon {
  color: #ff8c00;
}

.event-detail-label {
  font-size: 14px;
  color: #9ca3af;
}

.event-detail-value {
  font-weight: 600;
  color: #ffffff;
}

/* ========================================
   About Section
   ======================================== */
.about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-logo {
  height: 96px;
  width: 96px;
  margin: 0 auto 32px;
}

.about-text {
  font-size: 20px;
  color: #d1d5db;
  margin-bottom: 24px;
  line-height: 1.8;
}

.about-text-secondary {
  font-size: 18px;
  color: #9ca3af;
  margin-bottom: 32px;
  line-height: 1.8;
}

.highlight {
  font-weight: bold;
  color: #ff8c00;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.stat-card {
  background: rgba(31, 41, 55, 0.5);
  backdrop-filter: blur(10px);
  border: 1px solid #374151;
  border-radius: 16px;
  padding: 24px;
}

.stat-number {
  font-size: 36px;
  font-weight: bold;
  color: #ff8c00;
  margin-bottom: 8px;
}

.stat-label {
  color: #9ca3af;
}

/* ========================================
   Shop Cards
   ======================================== */
.shop-card {
  background: rgba(31, 41, 55, 0.5);
  backdrop-filter: blur(10px);
  border: 1px solid #374151;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}

.shop-card:hover {
  border-color: #ff8c00;
  transform: scale(1.05);
}

.shop-card-image {
  height: 192px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shop-card-image.gray {
  background: linear-gradient(135deg, #374151 0%, #1f2937 100%);
}

.shop-card-image.orange {
  background: linear-gradient(135deg, #c2410c 0%, #ea580c 100%);
}

.shop-card-image.blue {
  background: linear-gradient(135deg, #1e40af 0%, #0891b2 100%);
}

.shop-card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.shop-card-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 8px;
  color: #ffffff;
}

.shop-card-description {
  color: #9ca3af;
  margin-bottom: 16px;
  flex-grow: 1;
}

.shop-card-price {
  font-size: 24px;
  font-weight: bold;
  color: #ff8c00;
  margin-bottom: 16px;
}

.btn-shop {
  width: 100%;
  background: #ff6600;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: block;
  text-align: center;
  transition: background 0.3s;
  margin-top: auto;
}

.btn-shop:hover {
  background: #ff8800;
  color: white;
}

/* ========================================
   Sponsors Section
   ======================================== */
.sponsors-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 32px;
  padding: 24px;
  background: rgba(31, 41, 55, 0.3);
  border-radius: 16px;
  border: 1px solid rgba(255, 140, 0, 0.1);
}

.sponsor-logo {
  flex: 0 1 auto;
  transition: all 0.3s ease;
}

.sponsor-logo img {
  height: 80px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  filter: grayscale(50%) brightness(0.8);
  transition: all 0.3s ease;
}

.sponsor-logo:hover img {
  filter: grayscale(0%) brightness(1);
  transform: scale(1.1);
}

/* ========================================
   Modern Footer
   ======================================== */
.page-footer-modern {
  background: rgba(0, 0, 0, 0.5);
  border-top: 1px solid rgba(255, 140, 0, 0.2);
  padding: 48px 24px;
}

.footer-content {
  margin-bottom: 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
}

.footer-logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-logo {
  height: 40px;
}

.footer-logo-text {
  font-weight: bold;
  color: #ff8c00;
  font-size: 1rem;
  margin: 0;
}

.footer-description {
  color: #9ca3af;
  margin-top: 0;
  font-size: 1rem;
}

.footer-title {
  font-weight: bold;
  color: #ff8c00;
  margin-bottom: 16px;
  margin-top: 0;
  font-size: 1rem;
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-list li {
  margin-bottom: 8px;
  color: #9ca3af;
  font-size: 14px;
}

.footer-list a {
  color: #9ca3af;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

.footer-list a:hover {
  color: #ff8c00;
}

.footer-bottom {
  border-top: 1px solid #1f2937;
  padding-top: 32px;
  text-align: center;
  color: #6b7280;
  font-size: 14px;
}

.footer-bottom a {
  color: #ff8c00;
  text-decoration: none;
}

.footer-bottom a:hover {
  color: #ff9900;
}

/* ========================================
   Icon Styles
   ======================================== */
.icon {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.icon-lg {
  width: 64px;
  height: 64px;
}

/* ========================================
   Responsive Design
   ======================================== */

/* Tablet and below - 768px */
@media (max-width: 768px) {
  :root {
    --page-gutter: 1.5rem;
  }

  /* Header Navigation */
  .header-nav .container {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .logo-container {
    order: 2;
    flex: 1;
  }

  .mobile-menu-btn {
    order: 1;
  }

  .nav-links {
    order: 3;
  }

  /* User nav styling for mobile */
  .header-user-nav {
    order: 4;
    display: flex;
    align-items: center;
    margin-left: 16px;
  }

  .header-user-nav .dropdown-toggle,
  .header-user-nav .button {
    padding: 6px 12px;
    font-size: 14px;
  }

  .logo-img {
    height: 40px;
  }

  .logo-text h1 {
    font-size: 20px;
  }

  .logo-text p {
    font-size: 10px;
    max-width: 200px;
    line-height: 1.3;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 16px;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    flex-direction: column;
    padding: 12px;
    margin-top: 10px;
    border-radius: 8px;
    border: 1px solid rgba(255, 140, 0, 0.3);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    width: calc(100% - 32px);
    max-width: 280px;
  }

  .nav-links.mobile-menu-open {
    display: flex;
  }

  .nav-links li {
    width: 100%;
    margin: 2px 0;
  }

  .nav-links a,
  .btn-intranet {
    display: block;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s;
    text-align: center;
    width: 100%;
    font-size: 15px;
  }

  .nav-links a:hover {
    background: rgba(255, 140, 0, 0.2);
  }

  .mobile-menu-btn {
    display: block;
    padding: 8px;
    min-width: 44px;
    min-height: 44px;
  }

  .mobile-menu-btn.active {
    color: #ff8c00;
  }

  /* Hero Section */
  .hero {
    padding: 120px 16px 60px;
  }

  .hero-logo {
    height: 80px;
    margin-bottom: 24px;
  }

  .hero h2 {
    font-size: 48px;
    line-height: 1.1;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .hero-buttons {
    gap: 16px;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    max-width: 300px;
  }

  /* Event Counter */
  .event-counter {
    padding: 24px 16px;
  }

  .event-counter-title {
    font-size: 28px;
  }

  /* Sections */
  section {
    padding: 60px 16px;
  }

  .section-title {
    font-size: 32px;
    margin-bottom: 32px;
  }

  .content-wrapper {
    padding: 40px 16px 16px 16px;
  }

  /* Remove top padding only on homepage */
  body.page-homepage .content-wrapper {
    padding-top: 0;
  }

  /* Main Content */
  .main-content {
    padding-top: 40px;
  }

  /* Cards */
  .grid {
    gap: 24px;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .news-card-image {
    height: 160px;
  }

  .shop-card-image {
    height: 160px;
  }

  /* Event Card */
  .event-card-inner {
    padding: 24px 16px;
  }

  .event-card-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .event-card-title {
    font-size: 24px;
  }

  .event-card-capacity-number {
    font-size: 28px;
  }

  .event-details {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Stats */
  .stats {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Sponsors */
  .sponsors-container {
    gap: 24px;
    padding: 16px;
  }

  .sponsor-logo img {
    height: 60px;
    max-width: 150px;
  }

  /* Footer */
  .page-footer-modern {
    padding: 32px 16px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* Ensure touch targets are at least 44x44px */
  button,
  .button,
  a.btn-primary,
  a.btn-secondary,
  .btn-intranet {
    min-height: 44px;
    min-width: 44px;
  }
}

/* Mobile - 480px and below */
@media (max-width: 480px) {
  :root {
    --page-gutter: 1rem;
  }

  /* Container */
  .container {
    padding: 0 16px;
  }

  /* Header */
  .header-nav {
    padding: 12px 0;
  }

  .header-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .logo-container {
    gap: 12px;
    order: 2;
    flex: 1;
  }

  .mobile-menu-btn {
    order: 1;
  }

  .header-user-nav {
    order: 4;
    margin-left: 12px;
  }

  .header-user-nav .dropdown-toggle,
  .header-user-nav .button {
    padding: 6px 10px;
    font-size: 13px;
  }

  .logo-img {
    height: 36px;
  }

  .logo-text h1 {
    font-size: 18px;
  }

  .logo-text p {
    display: none; /* Hide tagline on very small screens */
  }

  /* Hero Section */
  .hero {
    padding: 100px 12px 40px;
  }

  .hero-logo {
    height: 64px;
    margin-bottom: 20px;
  }

  .hero h2 {
    font-size: 36px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .btn-primary,
  .btn-secondary {
    padding: 14px 24px;
    font-size: 16px;
    width: 100%;
  }

  /* Event Counter */
  .event-counter {
    padding: 20px 12px;
  }

  .event-counter-title {
    font-size: 24px;
  }

  /* Sections */
  section {
    padding: 40px 12px;
  }

  .section-title {
    font-size: 28px;
    margin-bottom: 24px;
  }

  .content-wrapper {
    padding: 40px 12px 12px 12px;
  }

  /* Remove top padding only on homepage */
  body.page-homepage .content-wrapper {
    padding-top: 0;
  }

  /* Cards */
  .grid {
    gap: 16px;
  }

  .news-card-content,
  .shop-card-content {
    padding: 16px;
  }

  .news-card-title,
  .shop-card-title {
    font-size: 18px;
  }

  /* Event Card */
  .event-card-inner {
    padding: 20px 12px;
  }

  .event-card-title {
    font-size: 20px;
  }

  .event-card-capacity-number {
    font-size: 24px;
  }

  /* About Section */
  .about-logo {
    height: 64px;
    width: 64px;
  }

  .about-text {
    font-size: 18px;
  }

  .about-text-secondary {
    font-size: 16px;
  }

  /* Stats */
  .stat-number {
    font-size: 28px;
  }

  /* Sponsors */
  .sponsors-container {
    gap: 16px;
    padding: 12px;
  }

  .sponsor-logo img {
    height: 50px;
    max-width: 120px;
  }

  /* Footer */
  .page-footer-modern {
    padding: 24px 12px;
  }

  /* Forms - ensure inputs are readable on mobile */
  input[type="text"],
  input[type="email"],
  input[type="password"],
  input[type="search"],
  input[type="number"],
  input[type="tel"],
  input[type="url"],
  input[type="date"],
  input[type="time"],
  textarea,
  select {
    font-size: 16px !important; /* Prevent zoom on iOS */
  }
}

/* Landscape orientation on mobile phones */
@media (max-width: 896px) and (orientation: landscape) {
  .hero {
    padding: 100px 16px 40px;
  }

  .hero h2 {
    font-size: 40px;
  }

  .hero-logo {
    height: 60px;
  }

  section {
    padding: 40px 16px;
  }
}

/* ========================================
   Content & Components Dark Theme Overrides
   ======================================== */

/* Card and box components */
.box,
.card,
.notification {
  background-color: rgba(31, 41, 55, 0.5);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 140, 0, 0.2);
  border-radius: 8px;
}

.card:hover {
  border-color: #ff8c00;
}

/* Main headings */
main h1, main h2, main h3 {
  color: #ffffff;
}

/* Tables */
table {
  --table-border-color: rgba(255, 140, 0, 0.2);
  background-color: rgba(31, 41, 55, 0.5);
  color: #ffffff;
}

table th {
  background-color: rgba(255, 102, 0, 0.1);
  color: #ff8c00;
}

/* Buttons */
.button {
  background-color: rgba(255, 102, 0, 0.2);
  border-color: #ff8c00;
  color: #ffffff;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.button:hover {
  background-color: rgba(255, 102, 0, 0.3);
  box-shadow: 0 4px 12px rgba(255, 102, 0, 0.3);
}

.button.color-primary {
  background-color: #ff6600;
  border-color: #ff6600;
  color: white;
}

.button.color-primary:hover {
  background-color: #ff8800;
}

:is(.button, .notification).color-warning {
  background-color: #bca218;
  border-color: var(--color-warning);
}

:is(.button, .notification).color-danger {
  background-color: #8e2929;
  border-color: var(--color-danger);
}

:is(.button, .notification).color-success {
  background-color: #62BF50;
  border-color: var(--color-success);
}

/* Progress bars */
.progress {
  background-color: rgba(31, 41, 55, 0.5);
  border-radius: 8px;
}

.progress-bar {
  background-color: #ff6600;
  border-radius: 8px;
}

/* Tabs */
.tabs {
  border-color: rgba(255, 140, 0, 0.2);
}

.tabs-tab {
  color: #ffffff;
}

.tabs-tab:hover {
  background-color: #ff6600;
  color: white;
}

/* Lists */
ol.itemlist {
  --itemlist-border-color: rgba(255, 140, 0, 0.2);
}

/* User comments */
.user-comment-main header,
.user-comment-main .body {
  border-color: rgba(255, 140, 0, 0.2);
  background-color: rgba(31, 41, 55, 0.5);
  color: #ffffff;
}

/* User profiles */
.user-profile {
  --header-bg-color: rgba(31, 41, 55, 0.5);
  --header-border-color: rgba(255, 140, 0, 0.2);
}

/* Pagination */
.pagination-item a,
.pagination-item.pagination--current span {
  border-color: rgba(255, 140, 0, 0.2);
  border-radius: 8px;
  background-color: rgba(31, 41, 55, 0.5);
  color: #ffffff;
}

.pagination-item a:hover {
  background-color: rgba(255, 102, 0, 0.2);
  border-color: #ff8c00;
}

.pagination-item.pagination--current span {
  background-color: #ff6600;
  color: white;
}

/* Links */
a {
  color: #ff8c00;
}

a:hover {
  color: #ff9900;
}

/* Board */
.board-index-item-link {
  background-color: rgba(31, 41, 55, 0.5);
  border: 1px solid rgba(255, 140, 0, 0.2);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.board-index-item-link:hover {
  border-color: #ff8c00;
  transform: scale(1.02);
}

/* Forms */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="url"],
input[type="date"],
input[type="time"],
textarea,
select {
  background-color: rgba(31, 41, 55, 0.8) !important;
  border: 1px solid rgba(255, 140, 0, 0.3) !important;
  color: #ffffff !important;
  border-radius: 8px !important;
  padding: 10px 14px !important;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="date"]:focus,
input[type="time"]:focus,
textarea:focus,
select:focus {
  border-color: #ff8c00 !important;
  outline: none !important;
  background-color: rgba(31, 41, 55, 0.9) !important;
}

input::placeholder, textarea::placeholder {
  color: #9ca3af !important;
}

/* Form validation errors */
form .form-form-errors, form .invalid {
  --padding: 0.375rem;
  background-color: #ff6969;
  border: #ff1a1a solid 1px;
  border-radius: var(--border-radius);
  padding: var(--padding);
}

#login-failed-notice {
  max-height: none !important;
}

/* Dropdown menus */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: rgba(31, 41, 55, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 140, 0, 0.3);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  margin-top: 8px;
  min-width: 220px;
  padding: 8px 0;
  z-index: 1000;
}

.dropdown-menu--right {
  right: 0;
  left: auto;
}

.dropdown-item {
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  text-decoration: none;
  transition: all 0.2s;
}

.dropdown-item:hover {
  background-color: rgba(255, 140, 0, 0.2);
  color: #ff8c00;
}

.dropdown-label {
  color: #9ca3af;
  display: block;
  padding: 8px 16px;
  font-size: 0.875rem;
}

.dropdown-label .name {
  color: #ffffff;
  font-weight: 600;
}

.dropdown-divider {
  border-top: 1px solid rgba(255, 140, 0, 0.2);
  margin: 8px 0;
}

/* Avatars */
.avatar.orga {
  --overlay-image: url(/static_sites/totalverplant/style/avatar-orga-overlay.svg);
}

.avatar {
  border-radius: 50%;
  border: 2px solid rgba(255, 140, 0, 0.3);
}

/* ========================================
   Seating Override
   ======================================== */
.seat {
  height: 26px !important;
  width: 26px !important;
}
/* Minimal icon fix */
.icon,
.icon-lg,
.event-detail-icon {
  stroke-width: 2 !important;
  fill: none !important;
}
/* ========================================
   SVG Icon Fix - Optimized for icons.svg sprite
   ======================================== */

/* Icons from sprite (log-in, etc.) - 512x512 viewBox */
.icon {
  stroke: currentColor !important;
  stroke-width: 30px !important;  /* Optimized for 512x512 viewBox */
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
  display: inline-block !important;
  vertical-align: -0.125em !important;
}

/* Make icon spacing consistent in buttons */
.button .icon,
.header-user-nav .button .icon {
  margin-right: 0.5em !important;
  width: 1.125em !important;
  height: 1.125em !important;
}

/* Inline SVGs (Feather-style with viewBox 0 0 24 24) */
.icon-lg,
.event-detail-icon,
.event-counter-capacity .icon,
.shop-card-image .icon,
.news-card-image .icon {
  stroke: currentColor !important;
  stroke-width: 2 !important;  /* Correct for 24x24 viewBox */
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
  fill: none !important;
  display: inline-block !important;
}

.icon-lg {
  width: 64px !important;
  height: 64px !important;
}

.event-detail-icon,
.event-counter-capacity .icon {
  width: 24px !important;
  height: 24px !important;
  flex-shrink: 0;
}

/* Dropdown icons */
.dropdown-toggle .icon {
  width: 1em !important;
  height: 1em !important;
  margin-left: 0.35em !important;
}

