@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap");

/* Mobile viewport and touch optimizations */
html {
  scroll-behavior: smooth;
  height: 100%;
  /* Better mobile scrolling */
  -webkit-overflow-scrolling: touch;
  /* Prevent horizontal scrolling */
  overflow-x: hidden;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
  /* Prevent text size adjustment on mobile */
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  background-image: url("../img/background.png") !important;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  min-height: 100vh;
  color: #333;
  height: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  touch-action: manipulation;
  display: flex;
  flex-direction: column;
}

/* Main content wrapper */
.main-content {
  flex: 1;
}

/* Navbar */
.navbar {
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 112, 255, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(0, 112, 255, 0.08);
}
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(25px);
  box-shadow: 0 8px 32px rgba(0, 112, 255, 0.12);
  border-bottom: 1px solid rgba(0, 112, 255, 0.15);
}
.navbar-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  gap: 30px;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  height: 80px;
}
.navbar-logo a {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: transform 0.3s ease;
}
.navbar-logo a:hover {
  transform: scale(1.05);
}
.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #0070ff, #4a90e2);
  border-radius: 16px;
  color: white;
  font-size: 24px;
  box-shadow: 0 4px 16px rgba(0, 112, 255, 0.3);
  transition: all 0.3s ease;
}
.navbar-logo a:hover .logo-icon {
  transform: rotate(5deg);
  box-shadow: 0 8px 24px rgba(0, 112, 255, 0.4);
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.brand-name {
  font-size: 1.4rem;
  font-weight: 700;
  color: #0070ff;
  letter-spacing: 1px;
}
.brand-subtitle {
  font-size: 0.85rem;
  font-weight: 500;
  color: #666;
  letter-spacing: 0.5px;
}
.navbar-center {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}
.current-page {
  padding: 8px 24px;
  background: linear-gradient(
    135deg,
    rgba(0, 112, 255, 0.1),
    rgba(74, 144, 226, 0.1)
  );
  border: 1px solid rgba(0, 112, 255, 0.2);
  border-radius: 12px;
  font-weight: 600;
  color: #0070ff;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  backdrop-filter: blur(10px);
}

/* School Selector Styles */
.school-selector-container {
  display: flex;
  align-items: center;
  margin: 0 20px;
}

.school-selector {
  position: relative;
}

.school-selector-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: linear-gradient(
    135deg,
    rgba(0, 112, 255, 0.1),
    rgba(74, 144, 226, 0.1)
  );
  border: 1px solid rgba(0, 112, 255, 0.2);
  border-radius: 12px;
  color: #0070ff;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  backdrop-filter: blur(10px);
}

.school-selector-btn:hover {
  background: linear-gradient(
    135deg,
    rgba(0, 112, 255, 0.15),
    rgba(74, 144, 226, 0.15)
  );
  border-color: rgba(0, 112, 255, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 112, 255, 0.2);
}

.school-selector-btn.active {
  background: linear-gradient(
    135deg,
    rgba(0, 112, 255, 0.2),
    rgba(74, 144, 226, 0.2)
  );
  border-color: rgba(0, 112, 255, 0.5);
}

.school-selector-btn i:first-child {
  font-size: 1.3rem;
}

.school-selector-btn .bx-chevron-down {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.school-selector-btn.active .bx-chevron-down {
  transform: rotate(180deg);
}

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

.school-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 300px;
  max-width: 400px;
  background: white;
  border: 1px solid rgba(0, 112, 255, 0.2);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  max-height: 400px;
  overflow-y: auto;
}

.school-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.school-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  color: #333;
  text-decoration: none;
  transition: all 0.2s ease;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  font-size: 0.9rem;
}

.school-option:last-child {
  border-bottom: none;
}

.school-option:hover {
  background: rgba(0, 112, 255, 0.05);
  padding-left: 24px;
}

.school-option.active {
  background: linear-gradient(
    135deg,
    rgba(0, 112, 255, 0.1),
    rgba(74, 144, 226, 0.1)
  );
  color: #0070ff;
  font-weight: 600;
}

.school-option .bx-check {
  font-size: 1.3rem;
  color: #0070ff;
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.navbar-links {
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #555;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 12px 16px;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.nav-link:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(135deg, #0070ff, #4a90e2);
  transition: width 0.3s ease;
  z-index: -1;
}
.nav-link:hover:before,
.nav-link.active:before {
  width: 100%;
}
.nav-link:hover,
.nav-link.active {
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 112, 255, 0.25);
}
.nav-link i {
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}
.nav-link:hover i {
  transform: scale(1.1);
}
.login-btn {
  background: linear-gradient(135deg, #0070ff, #4a90e2);
  color: white !important;
  box-shadow: 0 4px 16px rgba(0, 112, 255, 0.3);
}
.login-btn:before {
  background: linear-gradient(135deg, #4a90e2, #0070ff);
}
.logout-btn {
  background: linear-gradient(135deg, #ff4757, #ff6b7a);
  color: white !important;
  box-shadow: 0 4px 16px rgba(255, 71, 87, 0.3);
}
.logout-btn:before {
  background: linear-gradient(135deg, #ff6b7a, #ff4757);
}
.navbar-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 48px;
  height: 48px;
  background: linear-gradient(
    135deg,
    rgba(0, 112, 255, 0.1),
    rgba(74, 144, 226, 0.1)
  );
  border: 1px solid rgba(0, 112, 255, 0.2);
  border-radius: 12px;
  cursor: pointer;
  align-items: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}
.navbar-toggle:hover {
  background: linear-gradient(
    135deg,
    rgba(0, 112, 255, 0.15),
    rgba(74, 144, 226, 0.15)
  );
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(0, 112, 255, 0.2);
}
.navbar-toggle span {
  display: block;
  height: 3px;
  width: 24px;
  background: #0070ff;
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 112, 255, 0.1),
    rgba(74, 144, 226, 0.1)
  );
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 999;
}
.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}
/* Navbar when mobile menu is open */
.navbar.menu-active {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  box-shadow: 0 8px 32px rgba(0, 112, 255, 0.15);
  border-bottom: 1px solid rgba(0, 112, 255, 0.2);
}
body.menu-open {
  overflow: hidden;
}
/* Mobil nézet */
@media (max-width: 1400px) {
  .navbar-center {
    display: none;
  }
  .school-selector-container {
    display: none;
  }
  .navbar-container {
    padding: 0 20px;
    height: 70px;
  }
  .logo-icon {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
  .brand-name {
    font-size: 1.2rem;
  }
  .brand-subtitle {
    font-size: 0.8rem;
  }
}
@media (max-width: 1200px) {
  .navbar-container {
    padding: 0 16px;
    height: 64px;
  }
  .navbar-links {
    position: fixed;
    top: 64px;
    right: -100%;
    width: 320px;
    height: calc(100vh - 64px);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(25px);
    flex-direction: column;
    gap: 8px;
    padding: 32px 20px;
    box-shadow: -8px 0 32px rgba(0, 112, 255, 0.15);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    border-left: 1px solid rgba(0, 112, 255, 0.1);
  }
  .navbar-links.active {
    right: 0;
  }
  .navbar-links li {
    width: 100%;
  }
  .nav-link {
    width: 100%;
    padding: 16px 20px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 16px;
    justify-content: flex-start;
    margin-bottom: 4px;
  }
  .navbar-toggle {
    display: flex;
    z-index: 1001;
  }
  /* Hamburger animáció */
  .navbar-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  .navbar-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
  }
  .navbar-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
  .logo-text {
    display: none;
  }
  .logo-icon {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }
}
@media (max-width: 480px) {
  .navbar-container {
    padding: 0 12px;
  }
  .navbar-links {
    width: 100%;
    right: -100%;
    padding: 24px 16px;
  }
  .nav-link {
    padding: 14px 16px;
    font-size: 1rem;
  }
}
/* Bejelentkezés oldal */
.container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  height: 90vh;
}
.form {
  background-color: #fff;
  border-radius: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.35);
  position: relative;
  overflow: hidden;
  width: 768px;
  max-width: 100%;
  min-height: 480px;
  opacity: 0;
  transform: translateY(40px) scale(0.97);
  animation: form-fade-in 0.7s cubic-bezier(0.23, 0.67, 0.52, 1.01) forwards;
}
.container p {
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0.3px;
  margin: 20px 0;
}
.container span {
  font-size: 12px;
}
.container a {
  color: #333;
  font-size: 13px;
  text-decoration: none;
  margin: 15px 0 10px;
}
.container button,
.container .back-to-login {
  background-color: #0070ff;
  color: #fff;
  font-size: 12px;
  padding: 10px 45px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-top: 10px;
  cursor: pointer;
}
.container button.hidden,
.container .back-to-login.hidden {
  background-color: transparent;
  border-color: #fff;
}
.container form {
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 0 40px;
  height: 100%;
}
.container input {
  background-color: #eee;
  border: none;
  margin: 8px 0;
  padding: 10px 15px;
  font-size: 13px;
  border-radius: 8px;
  width: 100%;
  outline: none;
}

/* Privacy Checkbox Styles */
.privacy-checkbox-container {
  width: 100%;
  margin: 12px 0;
}

.privacy-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  position: relative;
  padding-left: 30px;
}

.privacy-checkbox-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  width: 0;
  height: 0;
  margin: 0;
}

.checkmark {
  position: absolute;
  left: 0;
  top: 2px;
  height: 20px;
  width: 20px;
  background-color: #eee;
  border-radius: 4px;
  border: 2px solid #ddd;
  transition: all 0.3s ease;
}

.privacy-checkbox-label:hover .checkmark {
  border-color: #0070ff;
  background-color: #f5f8ff;
}

.privacy-checkbox-label input[type="checkbox"]:checked ~ .checkmark {
  background-color: #0070ff;
  border-color: #0070ff;
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.privacy-checkbox-label input[type="checkbox"]:checked ~ .checkmark:after {
  display: block;
}

.privacy-text {
  font-size: 12px;
  line-height: 1.5;
  color: #333;
  text-align: left;
}

.privacy-text a {
  color: #0070ff;
  text-decoration: none;
  font-weight: 600;
  margin: 0;
  transition: all 0.3s ease;
}

.privacy-text a:hover {
  color: #0056cc;
  text-decoration: underline;
}

.form-container {
  position: absolute;
  top: 0;
  height: 100%;
  transition: all 0.6s ease-in-out;
}
.sign-in {
  left: 0;
  width: 50%;
  z-index: 2;
}
.container.active .sign-in {
  transform: translateX(100%);
}
.sign-up {
  left: 0;
  width: 50%;
  opacity: 0;
  z-index: 1;
}
.container.active .sign-up {
  transform: translateX(100%);
  opacity: 1;
  z-index: 5;
  animation: move 0.6s;
}
@keyframes move {
  0%,
  49.99% {
    opacity: 0;
    z-index: 1;
  }
  50%,
  100% {
    opacity: 1;
    z-index: 5;
  }
}
@keyframes form-fade-in {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.toggle-container {
  position: absolute;
  top: 0;
  left: 50%;
  width: 50%;
  height: 100%;
  overflow: hidden;
  transition: all 0.6s ease-in-out;
  border-radius: 150px 0 0 100px;
  z-index: 1000;
}
.container.active .toggle-container {
  transform: translateX(-100%);
  border-radius: 0 150px 100px 0;
}
.toggle {
  background-color: #0070ff;
  height: 100%;
  background: linear-gradient(to right, #4a90e2, #0070ff);
  color: #fff;
  position: relative;
  left: -100%;
  height: 100%;
  width: 200%;
  transform: translateX(0);
  transition: all 0.6s ease-in-out;
}
.container.active .toggle {
  transform: translateX(50%);
}
.toggle-panel {
  position: absolute;
  width: 50%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 0 30px;
  text-align: center;
  top: 0;
  transform: translateX(0);
  transition: all 0.6s ease-in-out;
}
.toggle-left {
  transform: translateX(-200%);
}
.container.active .toggle-left {
  transform: translateX(0);
}
.toggle-right {
  right: 0;
  transform: translateX(0);
}
.container.active .toggle-right {
  transform: translateX(200%);
}
/* Flash message - Modern Design */
.flash-popup {
  position: fixed;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: #333;
  padding: 0;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 112, 255, 0.15), 0 2px 8px rgba(0, 0, 0, 0.08);
  z-index: 9999;
  max-width: 420px;
  width: 90%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: flash-slide-in 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  border: 1px solid rgba(0, 112, 255, 0.1);
}

.flash-popup::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, #28a745, #20c997);
  z-index: 1;
}

.flash-popup.error::before {
  background: linear-gradient(135deg, #dc3545, #c82333);
}

.flash-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 24px;
  gap: 16px;
}

.flash-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  background: linear-gradient(
    135deg,
    rgba(40, 167, 69, 0.1),
    rgba(32, 201, 151, 0.1)
  );
  color: #28a745;
  box-shadow: 0 2px 8px rgba(40, 167, 69, 0.15);
}

.flash-popup.error .flash-icon {
  background: linear-gradient(
    135deg,
    rgba(220, 53, 69, 0.1),
    rgba(200, 35, 51, 0.1)
  );
  color: #dc3545;
  box-shadow: 0 2px 8px rgba(220, 53, 69, 0.15);
}

.flash-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.flash-title {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0;
  line-height: 1.4;
}

.flash-text {
  font-size: 14px;
  flex-grow: 1;
  font-weight: 400;
  color: #666;
  line-height: 1.5;
  margin: 0;
}

.close-flash {
  flex-shrink: 0;
  background: none;
  border: none;
  color: #999;
  font-size: 20px;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0;
}

.close-flash:hover {
  background: rgba(0, 0, 0, 0.05);
  color: #333;
  transform: scale(1.1);
}

.close-flash:active {
  transform: scale(0.95);
}

.flash-progress {
  height: 3px;
  background: linear-gradient(90deg, #28a745, #20c997);
  width: 100%;
  transition: width 0.02s linear;
  position: relative;
  box-shadow: 0 -1px 3px rgba(40, 167, 69, 0.2);
}

.flash-progress.error {
  background: linear-gradient(90deg, #dc3545, #c82333);
  box-shadow: 0 -1px 3px rgba(220, 53, 69, 0.2);
}

/* Animations */
@keyframes flash-slide-in {
  from {
    transform: translateX(120%) scale(0.9);
    opacity: 0;
  }
  to {
    transform: translateX(0) scale(1);
    opacity: 1;
  }
}

.flash-popup.slide-out {
  animation: flash-slide-out 0.4s cubic-bezier(0.4, 0, 1, 1) forwards;
}

@keyframes flash-slide-out {
  from {
    transform: translateX(0) scale(1);
    opacity: 1;
  }
  to {
    transform: translateX(120%) scale(0.9);
    opacity: 0;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .flash-popup {
    top: 90px;
    right: 16px;
    left: 16px;
    max-width: calc(100% - 32px);
    width: auto;
  }

  .flash-header {
    padding: 20px;
  }

  .flash-icon {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .flash-title {
    font-size: 15px;
  }

  .flash-text {
    font-size: 13px;
  }
}
/* Kártyák konténer */
.cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  justify-content: center;
  margin: 0 auto;
  max-width: 1400px;
  padding: 0 20px;
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  width: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
  min-height: 400px;
  height: 420px;
  opacity: 0;
  transform: translateY(40px) scale(0.97);
  animation: card-fade-in 0.7s cubic-bezier(0.23, 0.67, 0.52, 1.01) forwards;
}
/* Pollak index oldal specifikus kártya animációk */
.categories-section .card {
  opacity: 0;
  transform: translateY(40px) scale(0.97);
  animation: pollak-card-fade-in 0.7s cubic-bezier(0.23, 0.67, 0.52, 1.01)
    forwards;
  animation-delay: calc(1.4s + var(--card-index, 0) * 0.15s);
}
@keyframes pollak-card-fade-in {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
/* Pollak specifikus üres állapot animáció */
.categories-section .empty-state {
  animation-delay: 1.4s;
}
.card img {
  width: 100%;
  height: 160px;
  object-fit: contain;
  background: #f4f8ff;
  border-radius: 16px 16px 0 0;
  display: block;
  margin-bottom: 0;
}
.card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 8px 24px rgba(0, 112, 255, 0.13);
}
.card-content {
  padding: 18px 16px 16px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}
.card-content h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  font-weight: 600;
}
.card-content p {
  font-size: 0.98rem;
  margin-bottom: 16px;
  color: #444;
  flex-grow: 1;
}
.card-content a {
  background: #0070ff;
  color: #fff;
  padding: 8px 18px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: background 0.2s;
  align-self: stretch;
  text-align: center;
  margin-top: auto;
  box-shadow: 0 2px 8px rgba(0, 112, 255, 0.08);
}
.card-content a:hover {
  background: #0055bb;
}
/* Reszponzivitás */
@media (max-width: 1200px) {
  .cards-container {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
  }
  .modern-card {
    max-width: none;
  }
}
@media (max-width: 900px) {
  .hero-title {
    font-size: 2.5rem;
  }
  .hero-subtitle {
    font-size: 1.1rem;
  }
  .hero-stats {
    gap: 30px;
  }
  .stat-number {
    font-size: 2rem;
  }
  .section-title {
    font-size: 2rem;
  }
  .cards-container {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    padding: 0 15px;
    justify-items: center;
    place-items: center;
  }
  .info-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}
@media (max-width: 600px) {
  .hero-section {
    padding: 60px 15px;
  }
  .hero-title {
    font-size: 2rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .hero-stats {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }
  .hero-stats .stat-item {
    width: 120px;
  }
  .section-title {
    font-size: 1.8rem;
  }
  .section-subtitle {
    font-size: 1rem;
  }
  .cards-container {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 10px;
    justify-items: center;
    place-items: center;
  }
  .modern-card {
    min-height: 480px;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }
  .modern-card .card-content {
    padding: 20px;
  }
  .modern-card .card-content h3 {
    font-size: 1.2rem;
  }
  .info-section {
    padding: 60px 15px;
  }
  .info-card {
    padding: 30px 20px;
  }
  .floating-element {
    display: none;
  }
}
@media (max-width: 400px) {
  .hero-title {
    font-size: 1.8rem;
  }
  .cards-container {
    padding: 0 5px;
    justify-items: center;
    place-items: center;
  }
  .modern-card {
    max-width: 380px;
    margin: 0 auto;
  }
  .modern-card .card-content {
    padding: 16px;
  }
  .card-button {
    padding: 12px 16px;
    font-size: 0.9rem;
  }
  .event-stats {
    gap: 12px;
  }
  .event-stats .stat-item {
    min-width: 70px;
    padding: 10px 12px;
  }
  .event-stats .stat-value {
    font-size: 1.2rem;
  }
  .event-stats .stat-label {
    font-size: 0.75rem;
  }
}
@keyframes card-fade-in {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
/* Hero szekció animációkkal */
.hero-section {
  position: relative;
  background: linear-gradient(
    135deg,
    rgba(0, 112, 255, 0.05) 0%,
    rgba(0, 112, 255, 0.02) 50%,
    rgba(255, 255, 255, 0.8) 100%
  );
  padding: 80px 20px;
  text-align: center;
  margin-bottom: 60px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
  animation: hero-fade-in 1s ease-out 0.2s forwards;
}
.hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.hero-title {
  font-size: 3.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #1a1a1a;
}
.hero-highlight {
  background: linear-gradient(45deg, #0070ff, #00a8ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}
.hero-subtitle {
  font-size: 1.3rem;
  color: #666;
  margin-bottom: 40px;
  line-height: 1.6;
  font-weight: 400;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 50px;
}
.hero-stats .stat-item {
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  animation: stat-fade-in 0.6s ease-out forwards;
}
.hero-stats .stat-item:nth-child(1) {
  animation-delay: 0.8s;
}
.hero-stats .stat-item:nth-child(2) {
  animation-delay: 1s;
}
.hero-stats .stat-item:nth-child(3) {
  animation-delay: 1.2s;
}
.hero-stats .stat-item:nth-child(4) {
  animation-delay: 1.4s;
}
.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #0070ff;
  margin-bottom: 8px;
  line-height: 1;
}
.hero-stats .stat-label {
  font-size: 1rem;
  color: #666;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.hero-decoration {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}
.floating-element {
  position: absolute;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(
    45deg,
    rgba(0, 112, 255, 0.1),
    rgba(0, 168, 255, 0.05)
  );
  animation: float 6s ease-in-out infinite;
}
.floating-element:nth-child(1) {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}
.floating-element:nth-child(2) {
  top: 60%;
  right: 15%;
  animation-delay: 2s;
  width: 80px;
  height: 80px;
}
.floating-element:nth-child(3) {
  bottom: 30%;
  left: 20%;
  animation-delay: 4s;
  width: 60px;
  height: 60px;
}
/* Intézmények szekció */
.institutions-section {
  padding: 40px 20px 80px;
  max-width: 1400px;
  margin: 0 auto;
}
.section-header {
  text-align: center;
  margin-bottom: 60px;
  opacity: 0;
  transform: translateY(30px);
  animation: section-fade-in 0.8s ease-out 0.5s forwards;
}
.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 1.2rem;
  color: #666;
  font-weight: 400;
}
/* Modern kártyák */
.modern-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  width: 100%;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  min-height: 520px;
  opacity: 0;
  transform: translateY(40px) scale(0.95);
  animation: modern-card-fade-in 0.7s cubic-bezier(0.23, 0.67, 0.52, 1.01)
    forwards;
  position: relative;
  border: 1px solid rgba(0, 112, 255, 0.1);
}
.modern-card:nth-child(1) {
  animation-delay: 0.8s;
}
.modern-card:nth-child(2) {
  animation-delay: 0.95s;
}
.modern-card:nth-child(3) {
  animation-delay: 1.1s;
}
.modern-card:nth-child(4) {
  animation-delay: 1.25s;
}
.modern-card:nth-child(5) {
  animation-delay: 1.4s;
}
.modern-card:nth-child(6) {
  animation-delay: 1.55s;
}
.modern-card:nth-child(7) {
  animation-delay: 1.7s;
}
.modern-card:nth-child(8) {
  animation-delay: 1.85s;
}
.modern-card:nth-child(9) {
  animation-delay: 2s;
}
.modern-card:nth-child(10) {
  animation-delay: 2.15s;
}
.modern-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 40px rgba(0, 112, 255, 0.15);
  border-color: rgba(0, 112, 255, 0.2);
}
.card-image-wrapper {
  position: relative;
  width: 100%;
  height: 180px;
  background: linear-gradient(135deg, #f8faff 0%, #e8f2ff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.card-image-wrapper img {
  width: 85%;
  height: 85%;
  object-fit: contain;
  transition: transform 0.3s ease;
}
.modern-card:hover .card-image-wrapper img {
  transform: scale(1.05);
}
.card-category {
  display: inline-block;
  background: linear-gradient(45deg, #0070ff, #00a8ff);
  color: white;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.modern-card .card-content {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.modern-card .card-content h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.3;
}
.modern-card .card-content p {
  font-size: 1rem;
  margin-bottom: 20px;
  color: #555;
  flex-grow: 1;
  line-height: 1.6;
}
.card-features {
  margin-bottom: 24px;
}
.feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 112, 255, 0.08);
  color: #0070ff;
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-right: 8px;
  margin-bottom: 8px;
  border: 1px solid rgba(0, 112, 255, 0.15);
}
.feature-tag i {
  font-size: 1rem;
}
.card-button {
  background: linear-gradient(45deg, #0070ff, #0055bb);
  color: #fff;
  padding: 14px 20px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: auto;
  box-shadow: 0 4px 15px rgba(0, 112, 255, 0.2);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.card-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.6s;
}
.card-button:hover::before {
  left: 100%;
}
.card-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 112, 255, 0.3);
}
.card-button i {
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}
.card-button:hover i {
  transform: translateX(4px);
}
/* Információs szekció */
.info-section {
  background: linear-gradient(135deg, #f8faff 0%, #e8f2ff 100%);
  padding: 80px 20px;
  margin-top: 80px;
}
.info-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
}
.info-card {
  background: white;
  padding: 40px 30px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(0, 112, 255, 0.1);
  opacity: 0;
  transform: translateY(30px);
  animation: info-card-fade-in 0.6s ease-out forwards;
}
.info-card:nth-child(1) {
  animation-delay: 0.2s;
}
.info-card:nth-child(2) {
  animation-delay: 0.4s;
}
.info-card:nth-child(3) {
  animation-delay: 0.6s;
}
.info-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(0, 112, 255, 0.12);
}
.info-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(45deg, #0070ff, #00a8ff);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}
.info-icon i {
  font-size: 2rem;
  color: white;
}
.info-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 16px;
}
.info-card p {
  font-size: 1rem;
  color: #666;
  line-height: 1.6;
}
/* Animációk */
@keyframes hero-fade-in {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes stat-fade-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes section-fade-in {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes modern-card-fade-in {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes info-card-fade-in {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(10deg);
  }
}
.hero-content {
  max-width: 700px;
  margin: 0 auto;
}
.hero-content h1 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 16px;
  line-height: 1.2;
  opacity: 0;
  transform: translateY(20px);
  animation: slide-up 0.8s ease-out 0.4s forwards;
}
.hero-content p {
  font-size: 1.1rem;
  color: #666;
  font-weight: 400;
  opacity: 0;
  transform: translateY(20px);
  animation: slide-up 0.8s ease-out 0.6s forwards;
}
/* Hero animációk */
@keyframes hero-fade-in {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes slide-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Kategóriák szekció fejléc animáció */
.categories-section {
  padding: 0 20px 60px;
}
.section-header {
  text-align: center;
  margin-bottom: 50px;
  opacity: 0;
  transform: translateY(20px);
  animation: section-header-fade-in 0.8s ease-out 0.8s forwards;
}
.section-header h2 {
  font-size: 2.2rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 12px;
}
.section-divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #0070ff, #4a90e2);
  margin: 0 auto;
  border-radius: 2px;
  transform: scaleX(0);
  animation: divider-expand 0.6s ease-out 1.2s forwards;
}
@keyframes section-header-fade-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes divider-expand {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}
/* Üres állapot szuper animációkkal */
.empty-state {
  text-align: center;
  padding: 60px 32px;
  background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
  border-radius: 20px;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
  max-width: 500px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(40px) scale(0.95);
  animation: empty-state-appear 1s ease-out 1s forwards;
}
.empty-state::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.8),
    transparent
  );
  animation: shimmer 2s ease-in-out 1.5s infinite;
}
.empty-icon {
  font-size: 4rem;
  margin-bottom: 24px;
  opacity: 0;
  transform: scale(0);
  animation: icon-bounce 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) 1.3s
    forwards;
  filter: grayscale(0.2);
}
.empty-state h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 14px;
  opacity: 0;
  transform: translateY(15px);
  animation: text-fade-up 0.6s ease-out 1.6s forwards;
}
.empty-state p {
  font-size: 1rem;
  color: #666;
  margin-bottom: 32px;
  line-height: 1.6;
  opacity: 0;
  transform: translateY(15px);
  animation: text-fade-up 0.6s ease-out 1.8s forwards;
}
.btn-secondary {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  color: #0070ff;
  padding: 14px 28px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  border: 2px solid #0070ff;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: inline-block;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(15px);
  animation: button-fade-up 0.6s ease-out 2s forwards;
}
/* Animációk */
@keyframes empty-state-appear {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes shimmer {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}
@keyframes icon-bounce {
  0% {
    opacity: 0;
    transform: scale(0);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes text-fade-up {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes button-fade-up {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Reszponzív fejlesztések */
@media (max-width: 768px) {
  .hero-section {
    padding: 50px 20px;
  }
  .hero-content h1 {
    font-size: 1.9rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
  .section-header h2 {
    font-size: 1.8rem;
  }
  .empty-state {
    padding: 50px 20px;
    margin: 0 16px;
  }
  .empty-icon {
    font-size: 3.5rem;
  }
  .empty-state h3 {
    font-size: 1.3rem;
  }
  .empty-state p {
    font-size: 0.95rem;
  }

  /* Privacy checkbox mobile */
  .privacy-text {
    font-size: 11px;
  }
}
@media (max-width: 480px) {
  .hero-section {
    padding: 40px 20px;
  }
  .hero-content h1 {
    font-size: 1.6rem;
  }
  .hero-content p {
    font-size: 0.95rem;
  }
  .empty-state {
    padding: 36px 18px;
  }
  .empty-icon {
    font-size: 3rem;
  }
  .empty-state h3 {
    font-size: 1.2rem;
  }

  /* Privacy checkbox mobile */
  .privacy-checkbox-container {
    margin: 10px 0;
  }

  .privacy-checkbox-label {
    padding-left: 26px;
  }

  .checkmark {
    height: 18px;
    width: 18px;
    top: 1px;
  }

  .checkmark:after {
    left: 5px;
    top: 1px;
    width: 4px;
    height: 9px;
  }

  .privacy-text {
    font-size: 10px;
    line-height: 1.4;
  }
}
/* Esemény részletek oldal */
.event-details-section {
  padding: 40px 20px 60px 20px;
  margin-top: 0;
}
.event-details-section .container-details {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  position: relative;
}
.event-details-card {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  animation: slideUp 0.6s ease-out;
  margin-bottom: 20px;
}
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Esemény fejléc */
.event-header {
  display: flex;
  gap: 32px;
  padding: 40px;
  background: linear-gradient(135deg, #0070ff 0%, #4a90e2 100%);
  color: white;
  position: relative;
  overflow: hidden;
}
.event-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="1" fill="white" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  pointer-events: none;
}
.event-image-wrapper {
  position: relative;
  flex-shrink: 0;
}
.event-image {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
  border: 4px solid rgba(255, 255, 255, 0.2);
}
.event-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: linear-gradient(135deg, #00c851, #00a085);
  color: white;
  padding: 8px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 4px 12px rgba(0, 200, 81, 0.4);
  transition: all 0.3s ease;
}
.event-info {
  flex: 1;
  position: relative;
  z-index: 1;
}
.event-meta {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.category-tag,
.school-tag {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 6px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.event-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.event-stats {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.event-stats .stat-item {
  text-align: center;
  background: rgba(255, 255, 255, 0.15);
  padding: 16px 20px;
  border-radius: 12px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  min-width: 100px;
  opacity: 0;
  transform: translateY(20px);
  animation: stat-fade-in 0.6s ease-out forwards;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
}
.event-stats .stat-item:nth-child(1) {
  animation-delay: 0.2s;
}
.event-stats .stat-item:nth-child(2) {
  animation-delay: 0.4s;
}
.event-stats .stat-item:nth-child(3) {
  animation-delay: 0.6s;
}
.event-stats .stat-item:nth-child(4) {
  animation-delay: 0.8s;
}
.event-stats .stat-value {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: #fff;
}
.event-stats .stat-label {
  font-size: 0.9rem;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #fff;
}
/* Esemény leírás */
.event-description {
  padding: 40px;
  border-bottom: 1px solid #eee;
}
.event-description h2 {
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.event-description h2 i {
  color: #0070ff;
  font-size: 1.8rem;
}
.description-content {
  color: #666;
  line-height: 1.7;
  font-size: 1.1rem;
}
.no-description {
  font-style: italic;
  color: #999;
}
/* Esemény részletek rács */
.event-details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  padding: 40px;
  background: #f8f9fa;
}
.detail-card {
  background: white;
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: transform 0.2s, box-shadow 0.2s;
}
.detail-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
.detail-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #0070ff, #4a90e2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.detail-icon i {
  font-size: 1.5rem;
  color: white;
}
.detail-content h3 {
  color: #333;
  margin-bottom: 8px;
  font-size: 1.1rem;
  font-weight: 600;
}
.detail-content p {
  color: #666;
  line-height: 1.5;
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
}
/* Jelentkezés szekció */
.registration-section {
  padding: 48px 40px;
  background: #fff;
}
.registration-available,
.registration-full,
.registration-closed,
.registration-max-reached {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 32px;
  border-radius: 16px;
  gap: 32px;
  flex-wrap: wrap;
}
.registration-available {
  background: linear-gradient(135deg, #d4edda, #c3e6cb);
  border: 2px solid #28a745;
}
.registration-full {
  background: linear-gradient(135deg, #f8d7da, #f1b0b7);
  border: 2px solid #dc3545;
}
.registration-closed {
  background: linear-gradient(135deg, #e2e3e5, #d6d8db);
  border: 2px solid #6c757d;
}
.registration-max-reached {
  background: linear-gradient(135deg, #fff3cd, #ffeaa7);
  border: 2px solid #fd7e14;
}
/* Registration form wrapper */
.registration-form-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  min-width: 300px;
}
.registration-form-wrapper .registration-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
  margin-top: 0;
}
.registration-form-wrapper .form-group {
  text-align: center;
  margin-bottom: 0;
}
.registration-form-wrapper .form-group input {
  max-width: 180px;
  margin: 0 auto;
  padding: 14px 18px;
  border: 2px solid #28a745;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 500;
  text-align: center;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 12px rgba(40, 167, 69, 0.15);
}

/* Jelentkező adatok stílusok */
#jelentkezo-adatok-container {
  width: 100%;
  max-width: 600px;
  margin: 20px 0;
}

.jelentkezo-group {
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid #28a745;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(40, 167, 69, 0.1);
}

.jelentkezo-group h4 {
  color: #155724;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.1rem;
  font-weight: 600;
}

.jelentkezo-group h4 i {
  color: #28a745;
}

.jelentkezo-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.jelentkezo-fields .field-group:last-child {
  grid-column: span 2;
}

.field-group {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.field-group label {
  color: #495057;
  font-weight: 500;
  margin-bottom: 5px;
  font-size: 0.9rem;
}

.field-group input {
  padding: 12px 16px;
  border: 2px solid #dee2e6;
  border-radius: 8px;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.9);
  transition: all 0.3s ease;
}

.field-group input:focus {
  outline: none;
  border-color: #28a745;
  box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
}

.field-group input:disabled,
.field-group input:read-only {
  background: #f8f9fa;
  color: #6c757d;
  border-color: #dee2e6;
  cursor: not-allowed;
}

/* Responsive dizájn */
@media (max-width: 768px) {
  .jelentkezo-fields {
    grid-template-columns: 1fr;
  }

  .jelentkezo-fields .field-group:last-child {
    grid-column: span 1;
  }

  .jelentkezo-group {
    padding: 15px;
  }
}
.registration-info h3 {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.2rem;
}
.registration-available h3 {
  color: #155724;
}
.registration-full h3 {
  color: #721c24;
}
.registration-closed h3 {
  color: #495057;
}
.registration-max-reached h3 {
  color: #856404;
}
.registration-available h3 i {
  color: #28a745;
}
.registration-full h3 i {
  color: #dc3545;
}
.registration-closed h3 i {
  color: #6c757d;
}
.registration-max-reached h3 i {
  color: #fd7e14;
}
.registration-closed h3 i {
  color: #6c757d;
}
.registration-info p {
  color: #666;
  margin: 0;
}
.btn-register {
  background: linear-gradient(135deg, #28a745, #20c997);
  color: white;
  border: none;
  padding: 16px 32px;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(40, 167, 69, 0.3);
}
.btn-register:hover:not(.disabled):not(.btn-full):not(.btn-closed) {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(40, 167, 69, 0.4);
}
.btn-register.disabled {
  background: #6c757d;
  cursor: not-allowed;
  box-shadow: none;
  opacity: 0.7;
}
.btn-register.btn-full {
  background: linear-gradient(135deg, #dc3545, #c82333);
  box-shadow: 0 4px 16px rgba(220, 53, 69, 0.3);
}
.btn-register.btn-closed {
  background: linear-gradient(135deg, #6c757d, #545b62);
  box-shadow: 0 4px 16px rgba(108, 117, 125, 0.3);
  cursor: not-allowed;
}
.btn-register.btn-max-reached {
  background: linear-gradient(135deg, #fd7e14, #e36209);
  box-shadow: 0 4px 16px rgba(253, 126, 20, 0.3);
  cursor: not-allowed;
}
.btn-register.btn-closed:hover {
  background: linear-gradient(135deg, #6c757d, #545b62);
  transform: none;
  box-shadow: 0 4px 16px rgba(108, 117, 125, 0.3);
}
/* Bejelentkezés szükséges állapot */
.registration-login-required {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  border-radius: 16px;
  gap: 24px;
  background: linear-gradient(135deg, #fff3cd, #ffeaa7);
  border: 2px solid #ffc107;
}
.registration-login-required h3 {
  color: #856404;
}
.registration-login-required h3 i {
  color: #ffc107;
}
.registration-login-required .btn-register {
  background: linear-gradient(135deg, #ffc107, #ffb300);
  box-shadow: 0 4px 16px rgba(255, 193, 7, 0.3);
  text-decoration: none;
}
.registration-login-required .btn-register:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgb(255, 217, 104) !important;
}
/* Jelentkezési form */
.registration-form {
  width: 100%;
  margin-top: 16px;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-weight: 600;
  color: #155724;
  font-size: 1.05rem;
}
.form-group input {
  width: 100%;
  max-width: 200px;
  padding: 12px 16px;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: white;
}
.form-group input:focus {
  outline: none;
  border-color: #28a745;
  box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
}
.form-group small {
  display: block;
  margin-top: 8px;
  color: #155724;
  font-size: 0.9rem;
  font-weight: 500;
}
.btn-register.btn-full {
  background: linear-gradient(135deg, #dc3545, #c82333);
  cursor: not-allowed;
  box-shadow: 0 4px 16px rgba(220, 53, 69, 0.3);
  opacity: 0.9;
}
.btn-register.btn-full:hover {
  transform: none;
  box-shadow: 0 4px 16px rgba(220, 53, 69, 0.3);
}
.registration-full {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 32px;
  background: linear-gradient(
    135deg,
    rgba(220, 53, 69, 0.1),
    rgba(200, 35, 51, 0.1)
  );
  border: 2px solid rgba(220, 53, 69, 0.2);
  border-radius: 16px;
  backdrop-filter: blur(10px);
}
.registration-full .registration-info h3 {
  color: #dc3545;
  margin-bottom: 8px;
}
.registration-full .registration-info p {
  color: #721c24;
  margin: 0;
}
.btn-back-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #0070ff;
  text-decoration: none;
  font-weight: 600;
  padding: 12px 24px;
  margin-top: 20px;
  border-radius: 12px;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 112, 255, 0.2);
  box-shadow: 0 4px 16px rgba(0, 112, 255, 0.1);
}
.btn-back-inline:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 112, 255, 0.15);
  border-color: rgba(0, 112, 255, 0.3);
}
.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #0070ff;
  text-decoration: none;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 8px;
  transition: all 0.2s;
  background: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.btn-back:hover {
  background: #0070ff;
  color: white;
  transform: translateX(-4px);
}
/* Hibakezelés */
.error-state {
  text-align: center;
  padding: 80px 40px;
  background: white;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}
.error-icon {
  font-size: 4rem;
  color: #dc3545;
  margin-bottom: 24px;
}
.error-state h2 {
  color: #333;
  margin-bottom: 16px;
  font-size: 1.8rem;
}
.error-state p {
  color: #666;
  margin-bottom: 32px;
  font-size: 1.1rem;
}
/* Reszponzív dizájn */
@media (max-width: 768px) {
  .event-details-section {
    padding: 20px 16px 40px 16px;
  }
  .event-header {
    flex-direction: column;
    gap: 24px;
    padding: 24px;
    text-align: center;
  }
  .event-image {
    width: 150px;
    height: 150px;
    margin: 0 auto;
  }
  .event-title {
    font-size: 1.8rem;
  }
  .event-stats {
    justify-content: center;
    gap: 16px;
  }
  .event-stats .stat-item {
    min-width: 80px;
    padding: 12px 16px;
  }
  .event-stats .stat-value {
    font-size: 1.4rem;
  }
  .event-stats .stat-label {
    font-size: 0.8rem;
  }
  .event-description,
  .event-details-grid,
  .registration-section {
    padding: 24px;
  }
  .event-details-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .registration-available,
  .registration-full,
  .registration-login-required,
  .registration-closed {
    flex-direction: column;
    text-align: center;
    gap: 16px;
    align-items: center;
  }
  .registration-form-wrapper {
    width: 100%;
    min-width: auto;
  }
  .registration-form-wrapper .form-group input {
    max-width: 100%;
  }
  .error-state {
    padding: 40px 24px;
  }
}
/* ====================================
 MODERN INTÉZMÉNY OLDALAK STÍLUSOK
 ==================================== */
/* Institution Hero szekció */
.institution-hero-section {
  position: relative;
  background: linear-gradient(
    135deg,
    rgba(0, 112, 255, 0.08) 0%,
    rgba(0, 168, 255, 0.05) 50%,
    rgba(255, 255, 255, 0.9) 100%
  );
  padding: 80px 20px 60px;
  text-align: center;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
  animation: institution-hero-fade-in 1s ease-out 0.2s forwards;
}
.institution-hero-content {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.institution-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 112, 255, 0.1);
  color: #0070ff;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 20px;
  border: 1px solid rgba(0, 112, 255, 0.2);
  backdrop-filter: blur(10px);
}
.institution-badge i {
  font-size: 1.1rem;
}
.institution-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #1a1a1a;
}
.institution-highlight {
  background: linear-gradient(45deg, #0070ff, #00a8ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.institution-subtitle {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 40px;
  line-height: 1.6;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.institution-features {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.8);
  padding: 12px 18px;
  border-radius: 25px;
  font-weight: 500;
  color: #333;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 112, 255, 0.1);
  backdrop-filter: blur(10px);
  opacity: 0;
  transform: translateY(20px);
  animation: feature-item-fade-in 0.6s ease-out forwards;
}
.feature-item:nth-child(1) {
  animation-delay: 0.8s;
}
.feature-item:nth-child(2) {
  animation-delay: 1s;
}
.feature-item:nth-child(3) {
  animation-delay: 1.2s;
}
.feature-item i {
  color: #0070ff;
  font-size: 1.2rem;
}
.institution-decoration {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}
.decoration-circle {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(
    45deg,
    rgba(0, 112, 255, 0.1),
    rgba(0, 168, 255, 0.05)
  );
  animation: decoration-float 8s ease-in-out infinite;
}
.decoration-circle:nth-child(1) {
  width: 120px;
  height: 120px;
  top: 15%;
  left: 10%;
  animation-delay: 0s;
}
.decoration-circle:nth-child(2) {
  width: 80px;
  height: 80px;
  top: 60%;
  right: 15%;
  animation-delay: 3s;
}
.decoration-dots {
  position: absolute;
  bottom: 20%;
  left: 20%;
  width: 60px;
  height: 60px;
  background: radial-gradient(
    circle,
    rgba(0, 112, 255, 0.1) 2px,
    transparent 2px
  );
  background-size: 15px 15px;
  animation: decoration-float 6s ease-in-out infinite reverse;
  animation-delay: 1.5s;
}
/* Categories szekció */
.categories-section {
  padding: 60px 20px 80px;
  max-width: 1400px;
  margin: 0 auto;
}
.categories-header {
  text-align: center;
  margin-bottom: 60px;
  opacity: 0;
  transform: translateY(30px);
  animation: categories-header-fade-in 0.8s ease-out 0.5s forwards;
}
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 112, 255, 0.1);
  color: #0070ff;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
  border: 1px solid rgba(0, 112, 255, 0.2);
}
.categories-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 16px;
}
.categories-subtitle {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}
.divider-line {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #0070ff, transparent);
}
.divider-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(45deg, #0070ff, #00a8ff);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
}
/* Categories container */
.categories-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 30px;
  margin: 0 auto;
  padding: 0 20px;
  max-width: 1400px;
}

/* Modern Category Cards */
.modern-category-card {
  background: white;
  border-radius: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0, 112, 255, 0.1);
  opacity: 0;
  transform: translateY(40px) scale(0.95);
  animation: category-card-fade-in 0.7s ease-out forwards;
  animation-delay: var(--animation-delay, 0s);
  position: relative;
  overflow: visible;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.modern-category-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 24px;
  padding: 2px;
  background: linear-gradient(
    135deg,
    transparent,
    rgba(0, 112, 255, 0.1),
    transparent
  );
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}
.modern-category-card:hover::before {
  opacity: 1;
}
.modern-category-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 40px rgba(0, 112, 255, 0.15);
}
.modern-category-card.animate-in {
  animation-play-state: running;
}
.category-card-header {
  position: relative;
  padding: 24px 24px 0;
}
.category-image-wrapper {
  position: relative;
  width: 100%;
  height: 160px;
  background: linear-gradient(135deg, #f8faff 0%, #e8f2ff 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 16px;
}
.category-image-wrapper img {
  width: 80%;
  height: 80%;
  object-fit: contain;
  transition: transform 0.3s ease;
}
.modern-category-card:hover .category-image-wrapper img {
  transform: scale(1.05);
}
.category-status {
  position: absolute;
  top: 24px;
  left: 24px;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(40, 167, 69, 0.1);
  color: #28a745;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid rgba(40, 167, 69, 0.2);
}
.category-card.unavailable .category-status {
  background: rgba(220, 53, 69, 0.1);
  color: #dc3545;
  border: 1px solid rgba(220, 53, 69, 0.2);
}
/* Státusz specifikus category-status színek */
.modern-category-card .category-status:has(.status-indicator.inactive),
.modern-event-card .category-status:has(.status-indicator.inactive),
.modern-category-card .category-status:has(.status-indicator.expired),
.modern-event-card .category-status:has(.status-indicator.expired) {
  background: rgba(220, 53, 69, 0.1) !important;
  color: #dc3545 !important;
  border: 1px solid rgba(220, 53, 69, 0.2) !important;
}
.modern-category-card .category-status:has(.status-indicator.full),
.modern-event-card .category-status:has(.status-indicator.full) {
  background: rgba(255, 193, 7, 0.1) !important;
  color: #ffc107 !important;
  border: 1px solid rgba(255, 193, 7, 0.2) !important;
}
.modern-category-card .category-status:has(.status-indicator.active),
.modern-event-card .category-status:has(.status-indicator.active) {
  background: rgba(40, 167, 69, 0.1) !important;
  color: #28a745 !important;
  border: 1px solid rgba(40, 167, 69, 0.2) !important;
}
.status-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #28a745;
  animation: pulse-status 2s infinite;
}
.category-status .status-indicator.inactive,
.category-status .status-indicator.expired {
  background: #dc3545 !important;
  animation: pulse-status-red 2s infinite;
}
.category-status .status-indicator.full {
  background: #ffc107 !important;
  animation: pulse-status-yellow 2s infinite;
}
.category-status .status-indicator.active {
  background: #28a745 !important;
  animation: pulse-status 2s infinite;
}
.category-status .status-text {
  color: #28a745;
}
.category-status .status-indicator.inactive + .status-text,
.category-status .status-indicator.expired + .status-text {
  color: #dc3545;
}
.category-status .status-indicator.full + .status-text {
  color: #ffc107;
}
.category-status .status-indicator.active + .status-text {
  color: #28a745;
}
.category-card-content {
  padding: 0 24px 24px;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.category-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.category-number {
  background: linear-gradient(45deg, #0070ff, #00a8ff);
  color: white;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 700;
}
.category-type {
  color: #666;
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.category-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 12px;
  line-height: 1.3;
}
.category-description {
  color: #555;
  line-height: 1.6;
  margin-bottom: 20px;
  font-size: 1rem;
  flex-grow: 1;
}

/* Ensure stats and button stay at bottom */
.category-stats {
  margin-top: auto;
}
.category-features {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.category-features .feature-tag {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(0, 112, 255, 0.08);
  color: #0070ff;
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid rgba(0, 112, 255, 0.15);
}
.category-features .feature-tag.disabled {
  background: rgba(220, 53, 69, 0.08);
  color: #dc3545;
  border: 1px solid rgba(220, 53, 69, 0.15);
}
.category-features .feature-tag i {
  font-size: 0.9rem;
}
.category-button {
  display: block;
  background: linear-gradient(45deg, #0070ff, #0055bb);
  color: white;
  text-decoration: none;
  border-radius: 16px;
  padding: 16px 20px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
  text-align: center;
}
.button-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  z-index: 2;
}
.category-button:hover .button-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.6s;
}
.category-button:hover .button-shine {
  left: 100%;
}
.category-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 112, 255, 0.3);
}

/* Disabled states for category buttons */
.category-button.disabled-full {
  background: linear-gradient(45deg, #dc3545, #c82333);
  color: white;
}

.category-button.disabled-full:hover {
  background: linear-gradient(45deg, #c82333, #bd2130);
  box-shadow: 0 8px 25px rgba(220, 53, 69, 0.3);
}

.category-button.disabled-expired {
  background: linear-gradient(45deg, #6c757d, #5a6268);
  color: white;
}

.category-button.disabled-expired:hover {
  background: linear-gradient(45deg, #5a6268, #545b62);
  box-shadow: 0 8px 25px rgba(108, 117, 125, 0.3);
}
.category-card-footer {
  padding: 16px 24px;
  background: rgba(0, 112, 255, 0.02);
  border-top: 1px solid rgba(0, 112, 255, 0.1);
}
.footer-info {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #666;
  font-size: 0.85rem;
}
.footer-info i {
  color: #0070ff;
  font-size: 1rem;
}
/* Modern Empty State */
.modern-empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 40px;
  background: white;
  border-radius: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 112, 255, 0.1);
}
.empty-animation {
  position: relative;
  margin-bottom: 40px;
  display: inline-block;
}
.empty-icon {
  font-size: 4rem;
  color: #0070ff;
  margin-bottom: 20px;
  animation: empty-icon-bounce 2s ease-in-out infinite;
}
.empty-icon i {
  font-size: 4rem;
}
.empty-circles {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
}
.empty-circles .circle {
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(0, 112, 255, 0.2);
  animation: empty-circle-orbit 3s linear infinite;
}
.empty-circles .circle:nth-child(1) {
  animation-delay: 0s;
}
.empty-circles .circle:nth-child(2) {
  animation-delay: 1s;
}
.empty-circles .circle:nth-child(3) {
  animation-delay: 2s;
}
.empty-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 16px;
}
.empty-description {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.empty-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-back,
.btn-contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid;
}
.btn-back {
  background: #0070ff;
  color: white;
  border-color: #0070ff;
}
.btn-back:hover {
  background: #0055bb;
  border-color: #0055bb;
  transform: translateX(-4px);
}
.btn-contact {
  background: transparent;
  color: #0070ff;
  border-color: #0070ff;
}
.btn-contact:hover {
  background: #0070ff;
  color: white;
}
/* Info Banner */
.banner-text h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 4px;
}
.banner-text p {
  color: #666;
  margin: 0;
  line-height: 1.5;
}
/* Animációk */
@keyframes institution-hero-fade-in {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes feature-item-fade-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes categories-header-fade-in {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes category-card-fade-in {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes decoration-float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-15px) rotate(5deg);
  }
}
@keyframes pulse-status {
  0% {
    box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(40, 167, 69, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(40, 167, 69, 0);
  }
}
@keyframes pulse-status-red {
  0% {
    box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(220, 53, 69, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(220, 53, 69, 0);
  }
}
@keyframes pulse-status-yellow {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 193, 7, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 193, 7, 0);
  }
}
@keyframes empty-icon-bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}
@keyframes empty-circle-orbit {
  0% {
    transform: rotate(0deg) translateX(50px) rotate(0deg);
  }
  100% {
    transform: rotate(360deg) translateX(50px) rotate(-360deg);
  }
}
/* Responsive design intézmény oldalakhoz */
@media (max-width: 1200px) {
  .categories-container {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
  }
}
@media (max-width: 900px) {
  .institution-title {
    font-size: 2.5rem;
  }
  .institution-features {
    gap: 20px;
  }
  .categories-title {
    font-size: 2rem;
  }
  .categories-container {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
  }
}
@media (max-width: 600px) {
  .institution-hero-section {
    padding: 60px 15px 40px;
  }
  .institution-title {
    font-size: 2rem;
  }
  .institution-subtitle {
    font-size: 1rem;
  }
  .institution-features {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }
  .feature-item {
    width: fit-content;
  }
  .categories-title {
    font-size: 1.8rem;
  }
  .categories-container {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 10px;
  }
  .modern-category-card {
    min-height: auto;
  }
  .category-card-content {
    padding: 0 20px 20px;
  }
  .empty-actions {
    flex-direction: column;
    align-items: center;
  }
  .btn-back,
  .btn-contact {
    width: 200px;
    justify-content: center;
  }
}
@media (max-width: 400px) {
  .institution-title {
    font-size: 1.8rem;
  }
  .categories-container {
    padding: 0 5px;
  }
  .category-card-content {
    padding: 0 16px 16px;
  }
  .category-button {
    padding: 14px 16px;
    font-size: 0.9rem;
  }
}
/* Modern Events Design */
.events-hero-section {
  position: relative;
  background: linear-gradient(
    135deg,
    rgba(0, 112, 255, 0.08) 0%,
    rgba(0, 168, 255, 0.03) 50%,
    rgba(255, 255, 255, 0.9) 100%
  );
  padding: 100px 20px 80px;
  text-align: center;
  margin-bottom: 60px;
  overflow: hidden;
  opacity: 0;
  animation: hero-slide-in 1.2s cubic-bezier(0.23, 1, 0.32, 1) 0.3s forwards;
}
.events-hero-content {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.events-hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 24px;
  line-height: 1.1;
  color: #1a1a1a;
  background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.events-hero-subtitle {
  font-size: 1.4rem;
  color: #0070ff;
  margin-bottom: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.events-hero-description {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}
.events-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}
.events-floating-shape {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(
    45deg,
    rgba(0, 112, 255, 0.1),
    rgba(0, 168, 255, 0.05)
  );
  animation: float-events 8s ease-in-out infinite;
}
.events-floating-shape:nth-child(1) {
  width: 120px;
  height: 120px;
  top: 15%;
  left: 8%;
  animation-delay: 0s;
}
.events-floating-shape:nth-child(2) {
  width: 80px;
  height: 80px;
  top: 70%;
  right: 12%;
  animation-delay: 2s;
}
.events-floating-shape:nth-child(3) {
  width: 100px;
  height: 100px;
  bottom: 20%;
  left: 15%;
  animation-delay: 4s;
}
.events-section {
  padding: 0 20px 80px;
  max-width: 1600px;
  margin: 0 auto;
}
.events-section-header {
  text-align: center;
  margin-bottom: 80px;
  opacity: 0;
  animation: section-fade-up 0.8s ease-out 0.6s forwards;
}
.events-section-title {
  font-size: 2.8rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 20px;
  position: relative;
}
.events-section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(45deg, #0070ff, #00a8ff);
  border-radius: 2px;
}
.events-section-subtitle {
  font-size: 1.2rem;
  color: #666;
  font-weight: 400;
  margin-top: 24px;
}
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 40px;
  margin-top: 60px;
}
.modern-event-card {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  border: 1px solid rgba(0, 112, 255, 0.08);
  opacity: 0;
  transform: translateY(50px) scale(0.95);
  animation: card-slide-up 0.8s cubic-bezier(0.23, 1, 0.32, 1) forwards;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.modern-event-card:nth-child(1) {
  animation-delay: 0.8s;
}
.modern-event-card:nth-child(2) {
  animation-delay: 0.95s;
}
.modern-event-card:nth-child(3) {
  animation-delay: 1.1s;
}
.modern-event-card:nth-child(4) {
  animation-delay: 1.25s;
}
.modern-event-card:nth-child(5) {
  animation-delay: 1.4s;
}
.modern-event-card:nth-child(6) {
  animation-delay: 1.55s;
}
.modern-event-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 20px 60px rgba(0, 112, 255, 0.15);
  border-color: rgba(0, 112, 255, 0.2);
}
.modern-event-card.unavailable {
  opacity: 0.7;
  border-color: rgba(220, 53, 69, 0.3);
}
.modern-event-card.unavailable:hover {
  transform: none;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  border-color: rgba(220, 53, 69, 0.3);
}
.modern-event-card.unavailable.expired:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 15px 40px rgba(220, 53, 69, 0.15);
  border-color: rgba(220, 53, 69, 0.4);
}
.event-card-image {
  position: relative;
  height: 220px;
  background: linear-gradient(135deg, #f8faff 0%, #e8f2ff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.event-card-image img {
  width: 90%;
  height: 90%;
  object-fit: contain;
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  filter: brightness(1.1) contrast(1.05);
}
.modern-event-card:hover .event-card-image img {
  transform: scale(1.08) rotate(1deg);
}
.event-card-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: linear-gradient(45deg, #0070ff, #00a8ff);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(0, 112, 255, 0.3);
}
.event-card-image .status-indicator {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: white;
  width: auto;
  height: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}
.event-card-image .status-indicator.active {
  background: linear-gradient(45deg, #28a745, #20c997);
  box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}
.event-card-image .status-indicator.inactive {
  background: linear-gradient(45deg, #dc3545, #c82333);
  box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
  animation: pulse-status-red 2s infinite;
}
.event-card-content {
  padding: 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.event-card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 16px;
  line-height: 1.3;
  transition: color 0.3s ease;
}
.modern-event-card:hover .event-card-title {
  color: #0070ff;
}
.event-card-description {
  font-size: 1.05rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 32px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.event-card-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  margin-top: auto;
  padding: 16px 0;
  border-top: 1px solid rgba(0, 112, 255, 0.1);
  border-bottom: 1px solid rgba(0, 112, 255, 0.1);
}
.event-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #666;
  font-size: 0.9rem;
  font-weight: 500;
}
.event-meta-item i {
  color: #0070ff;
  font-size: 1rem;
}
.event-card-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(45deg, #0070ff, #0055bb);
  color: white;
  padding: 16px 24px;
  border-radius: 16px;
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 600;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 6px 25px rgba(0, 112, 255, 0.2);
}
.event-card-action::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.6s ease;
}
.event-card-action:hover::before {
  left: 100%;
}
.event-card-action:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 112, 255, 0.35);
  background: linear-gradient(45deg, #0080ff, #0065cc);
}
.event-card-action .arrow {
  font-size: 1.2rem;
  transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}
.event-card-action:hover .arrow {
  transform: translateX(6px);
}
.event-card-action.disabled {
  background: linear-gradient(45deg, #dc3545, #c82333);
  cursor: not-allowed;
  box-shadow: 0 6px 25px rgba(220, 53, 69, 0.2);
}
.event-card-action.disabled:hover {
  transform: none;
  box-shadow: 0 6px 25px rgba(220, 53, 69, 0.25);
  background: linear-gradient(45deg, #dc3545, #c82333);
}
.event-card-action.disabled .arrow {
  opacity: 0.7;
}
.event-card-action.disabled:hover .arrow {
  transform: none;
}
.event-card-action.expired {
  background: linear-gradient(45deg, #dc3545, #c82333);
  box-shadow: 0 6px 25px rgba(220, 53, 69, 0.2);
}
.event-card-action.expired:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(220, 53, 69, 0.35);
  background: linear-gradient(45deg, #e04455, #d73344);
}
.event-card-action.expired:hover .arrow {
  transform: translateX(6px);
}
.event-card-action.disabled-but-clickable {
  background: linear-gradient(45deg, #dc3545, #c82333);
  cursor: pointer;
  box-shadow: 0 6px 25px rgba(220, 53, 69, 0.2);
}
.event-card-action.disabled-but-clickable:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(220, 53, 69, 0.35);
  background: linear-gradient(45deg, #e04455, #d73344);
}
.event-card-action.disabled-but-clickable:hover .arrow {
  transform: translateX(6px);
}

/* Specific disabled states for event-card-action */
.event-card-action.disabled-full {
  background: linear-gradient(45deg, #dc3545, #c82333);
  cursor: pointer;
  box-shadow: 0 6px 25px rgba(220, 53, 69, 0.2);
}

.event-card-action.disabled-full:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(220, 53, 69, 0.35);
  background: linear-gradient(45deg, #e04455, #d73344);
}

.event-card-action.disabled-full:hover .arrow {
  transform: translateX(6px);
}

.event-card-action.disabled-expired {
  background: linear-gradient(45deg, #6c757d, #5a6268);
  cursor: pointer;
  box-shadow: 0 6px 25px rgba(108, 117, 125, 0.2);
}

.event-card-action.disabled-expired:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(108, 117, 125, 0.35);
  background: linear-gradient(45deg, #5a6268, #545b62);
}

.event-card-action.disabled-expired:hover .arrow {
  transform: translateX(6px);
}
.events-empty-state {
  text-align: center;
  padding: 80px 20px;
  max-width: 600px;
  margin: 0 auto;
  opacity: 0;
  animation: fade-in-up 0.8s ease-out 0.5s forwards;
}
.events-empty-icon {
  font-size: 4rem;
  margin-bottom: 24px;
  opacity: 0.6;
}
.events-empty-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 16px;
}
.events-empty-description {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 32px;
}
.events-back-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(45deg, #6c757d, #5a6268);
  color: white;
  padding: 16px 32px;
  border-radius: 16px;
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 6px 25px rgba(108, 117, 125, 0.2);
}
.events-back-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 35px rgba(108, 117, 125, 0.3);
  background: linear-gradient(45deg, #5a6268, #495057);
}
.events-back-button i {
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}
.events-back-button:hover i {
  transform: translateX(-4px);
}
/* Animations */
@keyframes hero-slide-in {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes section-fade-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes card-slide-up {
  from {
    opacity: 0;
    transform: translateY(50px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes float-events {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  25% {
    transform: translateY(-20px) rotate(90deg);
  }
  50% {
    transform: translateY(0px) rotate(180deg);
  }
  75% {
    transform: translateY(20px) rotate(270deg);
  }
}
@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Responsive Design for Events */
@media (max-width: 1200px) {
  .events-grid {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
  }
}
@media (max-width: 768px) {
  .events-hero-section {
    padding: 80px 15px 60px;
  }
  .events-hero-title {
    font-size: 2.5rem;
  }
  .events-hero-subtitle {
    font-size: 1.1rem;
  }
  .events-hero-description {
    font-size: 1rem;
  }
  .events-section-title {
    font-size: 2.2rem;
  }
  .events-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 0 10px;
  }
  .event-card-content {
    padding: 24px;
  }
  .event-card-title {
    font-size: 1.3rem;
  }
  .events-floating-shape {
    display: none;
  }
}
@media (max-width: 480px) {
  .events-hero-title {
    font-size: 2rem;
  }
  .events-section-title {
    font-size: 1.8rem;
  }
  .event-card-content {
    padding: 20px;
  }
  .event-card-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .events-empty-title {
    font-size: 1.6rem;
  }
  .events-empty-description {
    font-size: 1rem;
  }
}
/* Profile page styles */
.profile-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  min-height: calc(100vh - 80px);
  opacity: 0;
  transform: translateY(30px);
}

.profile-header {
  text-align: center;
  margin-bottom: 3rem;
  animation: fadeInDown 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.profile-title h1 {
  font-size: 2.2rem;
  color: #0070ff;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0, 112, 255, 0.1);
}

.profile-title h1 i {
  animation: pulse 2s infinite;
}

.profile-title p {
  color: #666;
  font-size: 1rem;
  font-weight: 500;
  opacity: 0.9;
}

.profile-content {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 2.5rem;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(25px);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 112, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.profile-sidebar {
  background: linear-gradient(135deg, #0070ff 0%, #0056cc 50%, #003d99 100%);
  padding: 0;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateX(-50px);
}

.profile-sidebar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 100%
  );
  pointer-events: none;
}

.profile-nav {
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

.nav-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.85);
  padding: 1.5rem 2rem;
  text-align: left;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-size: 1.05rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.nav-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transition: left 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav-btn:hover::before {
  left: 100%;
}

.nav-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  transform: translateX(5px);
  padding-left: 2.5rem;
}

.nav-btn.active {
  background: rgba(255, 255, 255, 0.25);
  color: white;
  font-weight: 600;
  transform: translateX(8px);
  padding-left: 2.5rem;
  box-shadow: inset 4px 0 0 rgba(255, 255, 255, 0.8);
}

.nav-btn i {
  font-size: 1.3rem;
  transition: transform 0.3s ease;
}

.nav-btn:hover i,
.nav-btn.active i {
  transform: scale(1.1);
}

.profile-main {
  padding: 2.5rem;
  opacity: 0;
  transform: translateX(50px);
}

.tab-content {
  display: none;
  opacity: 0;
  transform: translateY(20px);
}

.tab-content.active {
  display: block;
  animation: tabFadeIn 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.tab-content.tab-exit {
  animation: tabFadeOut 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.tab-content.tab-enter {
  animation: tabFadeIn 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.section-header {
  margin-bottom: 2.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid rgba(0, 112, 255, 0.1);
}

.section-header h2 {
  font-size: 1.6rem;
  color: #0070ff;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: 700;
}

.section-header p {
  color: #666;
  font-size: 0.95rem;
  margin: 0;
}

.section-header.danger {
  border-bottom-color: #ff4757;
}

.section-header.danger h2 {
  color: #ff4757;
}

.profile-form {
  max-width: 100%;
  width: 100%;
}

.form-group {
  margin-bottom: 2rem;
  position: relative;
  transition: all 0.3s ease;
}

.form-group label {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.8rem;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.form-group.input-focused label {
  color: #0070ff;
}

.input-wrapper {
  position: relative;
  width: 100%;
}

.form-group input {
  width: 100%;
  padding: 0.9rem 1.2rem;
  border: 2px solid #e1e8ed;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.9);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  outline: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  position: relative;
}

.input-focus-border {
  display: none;
}

.form-group input:focus {
  border: 2px solid #0070ff;
  background: white;
  box-shadow: 0 0 0 3px rgba(0, 112, 255, 0.1),
    0 8px 30px rgba(0, 112, 255, 0.15);
  transform: translateY(-2px);
}

.form-group input:hover {
  border-color: #0070ff;
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(0, 112, 255, 0.1);
}

.form-group.password-match input {
  border-color: #28a745;
  background: rgba(40, 167, 69, 0.05);
}

.form-group.password-match input:focus {
  border: 2px solid #28a745;
  box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1),
    0 8px 30px rgba(40, 167, 69, 0.15);
}

.form-group.password-mismatch input {
  border-color: #ff4757;
  background: rgba(255, 71, 87, 0.05);
}

.form-group.password-mismatch input:focus {
  border: 2px solid #ff4757;
  box-shadow: 0 0 0 3px rgba(255, 71, 87, 0.1),
    0 8px 30px rgba(255, 71, 87, 0.15);
}

.form-group small {
  color: #6c757d;
  font-size: 0.9rem;
  margin-top: 0.5rem;
  display: block;
  transition: color 0.3s ease;
  margin-left: 1.5rem;
}

.form-group.input-focused small {
  color: #0070ff;
}

.btn-primary,
.btn-secondary,
.btn-danger {
  padding: 0.85rem 1.5rem;
  border: none;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-primary {
  background: linear-gradient(135deg, #0070ff 0%, #0056cc 50%, #003d99 100%);
  color: white;
  background-size: 200% 200%;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 35px rgba(0, 112, 255, 0.4);
  background-position: right center;
}

.btn-secondary {
  background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
  color: white;
}

.btn-secondary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 35px rgba(108, 117, 125, 0.4);
}

.btn-danger {
  background: linear-gradient(135deg, #ff4757 0%, #ff3742 50%, #e12d3a 100%);
  color: white;
  background-size: 200% 200%;
}

.btn-danger:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 35px rgba(255, 71, 87, 0.4);
  background-position: right center;
}

.btn-primary::before,
.btn-secondary::before,
.btn-danger::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn-primary:hover::before,
.btn-secondary:hover::before,
.btn-danger:hover::before {
  left: 100%;
}
/* Bookings styles */
.bookings-list {
  display: grid;
  gap: 1.2rem;
}

.booking-card {
  background: white;
  border-radius: 18px;
  padding: 1.5rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  border-left: 5px solid;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
}

.booking-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 112, 255, 0.02) 0%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.booking-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.booking-card:hover::before {
  opacity: 1;
}

.booking-card.future-event {
  border-left-color: #0070ff;
}

.booking-card.future-event:hover {
  box-shadow: 0 20px 40px rgba(0, 112, 255, 0.2);
}

.booking-card.today-event {
  border-left-color: #28a745;
  background: linear-gradient(
    135deg,
    rgba(40, 167, 69, 0.08),
    rgba(40, 167, 69, 0.02)
  );
  animation: todayPulse 2s infinite;
}

.booking-card.today-event:hover {
  box-shadow: 0 20px 40px rgba(40, 167, 69, 0.25);
}

.booking-card.past-event {
  border-left-color: #6c757d;
  opacity: 0.8;
  filter: grayscale(0.3);
}

.booking-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.2rem;
}

.booking-title {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  flex: 1;
  max-width: 100%;
}

.booking-title h3 {
  color: #333;
  margin-bottom: 0;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.3;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  max-width: 100%;
}

.school-badge {
  background: linear-gradient(135deg, #0070ff 0%, #0056cc 100%);
  color: white;
  padding: 0.4rem 0.9rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 112, 255, 0.3);
  transition: transform 0.3s ease;
  display: inline-block;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  max-width: 100%;
  text-align: center;
  white-space: normal;
  line-height: 1.2;
}

.school-badge:hover {
  transform: scale(1.05);
}

.booking-status .status-badge {
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.status-badge:hover {
  transform: scale(1.05);
}

.status-badge.active {
  background: linear-gradient(135deg, #d4edda, #c3e6cb);
  color: #155724;
}

.status-badge.today {
  background: linear-gradient(135deg, #d1ecf1, #bee5eb);
  color: #0c5460;
  animation: todayBadgePulse 1.5s infinite;
}

.status-badge.past {
  background: linear-gradient(135deg, #f8d7da, #f1b0b7);
  color: #721c24;
}

.booking-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1.2rem;
  background: rgba(248, 249, 250, 0.8);
  border-radius: 12px;
  backdrop-filter: blur(10px);
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #555;
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.detail-item:hover {
  color: #0070ff;
}

.detail-item i {
  color: #0070ff;
  font-size: 1.1rem;
  min-width: 20px;
  transition: transform 0.3s ease;
}

.detail-item:hover i {
  transform: scale(1.1);
}

/* Booking quantity editor styles */
.booking-quantity-editor {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.quantity-label {
  font-weight: 500;
  color: #555;
}

.quantity-form {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.quantity-input {
  width: 60px;
  padding: 0.4rem 0.6rem;
  border: 2px solid #e1e8ed;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  background: rgba(255, 255, 255, 0.9);
  transition: all 0.3s ease;
  outline: none;
}

.quantity-input:focus {
  border-color: #0070ff;
  background: white;
  box-shadow: 0 2px 8px rgba(0, 112, 255, 0.15);
}

.quantity-input:hover {
  border-color: #0070ff;
}

.btn-quantity-update {
  background: linear-gradient(135deg, #28a745, #20c997);
  color: white;
  border: none;
  padding: 0.5rem;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(40, 167, 69, 0.2);
  min-width: 32px;
  min-height: 32px;
}

.btn-quantity-update:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.btn-quantity-update i {
  font-size: 1rem;
  color: white !important;
}

.no-modify-notice {
  display: block;
  font-size: 0.8rem;
  color: #dc3545;
  font-style: italic;
  margin-top: 0.3rem;
  line-height: 1.3;
}

.booking-description {
  margin-bottom: 1.5rem;
  padding: 1.5rem;
  background: linear-gradient(
    135deg,
    rgba(248, 249, 250, 0.9),
    rgba(241, 243, 244, 0.6)
  );
  border-radius: 12px;
  border-left: 4px solid #0070ff;
  backdrop-filter: blur(10px);
}

.booking-description p {
  color: #555;
  margin: 0;
  font-weight: 500;
  line-height: 1.6;
}

/* Jelentkező adatok stílusok */
.booking-participants {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

.participants-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.participants-count {
  font-weight: 600;
  color: #0070ff;
}

.btn-toggle-participants {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border: 1px solid #dee2e6;
  color: #495057;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.btn-toggle-participants:hover {
  background: linear-gradient(135deg, #e9ecef, #dee2e6);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.participants-list {
  background: rgba(248, 249, 250, 0.9);
  border: 1px solid #dee2e6;
  border-radius: 12px;
  padding: 1rem;
  margin-top: 0.5rem;
  transition: all 0.3s ease;
}

.participant-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem;
  margin-bottom: 0.5rem;
  background: white;
  border-radius: 8px;
  border-left: 4px solid #0070ff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.participant-item:last-child {
  margin-bottom: 0;
}

.participant-item:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.participant-item.main-participant {
  border-left-color: #28a745;
  background: linear-gradient(
    135deg,
    rgba(40, 167, 69, 0.05),
    rgba(40, 167, 69, 0.02)
  );
}

.participant-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
}

.participant-info i {
  color: #0070ff;
  font-size: 1.2rem;
  min-width: 20px;
}

.participant-item.main-participant .participant-info i {
  color: #28a745;
}

.participant-details {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
}

.participant-name {
  font-weight: 600;
  color: #333;
  font-size: 1rem;
}

.participant-name small {
  color: #28a745;
  font-weight: 500;
  margin-left: 0.5rem;
}

.participant-email {
  color: #6c757d;
  font-size: 0.9rem;
  font-weight: 400;
}

.participant-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.delete-participant-form {
  margin: 0;
}

.btn-delete-participant {
  background: linear-gradient(135deg, #dc3545, #c82333);
  color: white;
  border: none;
  padding: 0.5rem;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.btn-delete-participant i {
  color: white !important;
  font-size: 1rem;
}

.btn-delete-participant:hover {
  background: linear-gradient(135deg, #c82333, #a71e2a);
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(220, 53, 69, 0.3);
}

.btn-delete-participant:hover i {
  color: white !important;
}

.no-participants {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #6c757d;
  font-style: italic;
  padding: 1rem;
  text-align: center;
  justify-content: center;
}

.no-participants i {
  color: #ffc107;
}

.booking-actions {
  display: flex;
  gap: 1.2rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.booking-meta {
  padding-top: 1.5rem;
  border-top: 2px solid rgba(0, 112, 255, 0.1);
}

.booking-meta small {
  color: #6c757d;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 500;
  font-size: 0.9rem;
}

/* Empty state */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  animation: fadeInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.empty-icon i {
  font-size: 5rem;
  color: #0070ff;
  margin-bottom: 1.5rem;
  animation: float 3s ease-in-out infinite;
}

.empty-state h3 {
  font-size: 1.8rem;
  margin-bottom: 1.2rem;
  color: #333;
  font-weight: 700;
}

.empty-state p {
  margin-bottom: 2.5rem;
  color: #666;
  font-size: 1.1rem;
  font-weight: 500;
}

/* Warning box */
.warning-box {
  background: linear-gradient(
    135deg,
    rgba(255, 71, 87, 0.12),
    rgba(255, 71, 87, 0.06)
  );
  border: 2px solid rgba(255, 71, 87, 0.25);
  border-radius: 18px;
  padding: 2rem;
  margin-bottom: 2.5rem;
  display: flex;
  gap: 1.5rem;
  backdrop-filter: blur(10px);
  animation: warningPulse 3s infinite;
}

.warning-icon i {
  font-size: 2.5rem;
  color: #ff4757;
  animation: warningShake 2s infinite;
}

.warning-content h3 {
  color: #ff4757;
  margin-bottom: 1rem;
  font-size: 1.3rem;
  font-weight: 700;
}

.warning-content p {
  color: #333;
  margin-bottom: 0.8rem;
  font-weight: 500;
  line-height: 1.6;
}

.warning-content ul {
  margin: 1.5rem 0;
  padding-left: 2rem;
}

.warning-content li {
  margin-bottom: 0.6rem;
  color: #555;
  font-weight: 500;
}

.delete-form {
  border-top: 3px solid #ff4757;
  padding-top: 2.5rem;
  background: linear-gradient(135deg, rgba(255, 71, 87, 0.03), transparent);
  border-radius: 12px;
  margin-top: 2rem;
}

/* Fiók törlése form specifikus input stílusok */
.delete-form .input-wrapper {
  position: relative;
}

.delete-form .form-group input {
  border: 1px solid #e1e8ed;
  padding: 0.9rem 1.2rem;
}

.delete-form .form-group input:focus {
  border-color: #ff4757;
  box-shadow: 0 4px 15px rgba(255, 71, 87, 0.15);
}

.delete-form .input-focus-border {
  display: none;
}

/* Animations */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes tabFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes tabFadeOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-10px);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes todayPulse {
  0%,
  100% {
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.1);
  }
  50% {
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
  }
}

@keyframes todayBadgePulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }
  50% {
    transform: scale(1.03);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes warningPulse {
  0%,
  100% {
    border-color: rgba(255, 71, 87, 0.25);
  }
  50% {
    border-color: rgba(255, 71, 87, 0.4);
  }
}

@keyframes warningShake {
  0%,
  100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(-2deg);
  }
  75% {
    transform: rotate(2deg);
  }
}
/* Profile responsive design */
@media (max-width: 768px) {
  .profile-container {
    padding: 1rem;
    margin-bottom: 2rem; /* Extra space for better scrolling */
  }

  .profile-header {
    margin-bottom: 1.5rem;
    padding: 1rem;
  }

  .profile-title h1 {
    font-size: 1.8rem;
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .profile-title p {
    font-size: 0.95rem;
    text-align: center;
  }

  .profile-content {
    grid-template-columns: 1fr;
    gap: 0;
    border-radius: 16px;
    overflow: hidden;
  }

  /* Mobil navigáció felül */
  .profile-sidebar {
    order: 1;
    background: linear-gradient(90deg, #0070ff 0%, #0056cc 50%, #003d99 100%);
    border-radius: 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }

  .profile-nav {
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0.75rem 0.5rem;
    gap: 0.5rem;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
  }

  .profile-nav::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
  }

  .nav-btn {
    white-space: nowrap;
    min-width: 140px;
    flex-shrink: 0;
    border-bottom: none;
    border-radius: 10px;
    margin: 0;
    padding: 0.75rem 1rem;
    text-align: center;
    justify-content: center;
    font-size: 0.85rem;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid transparent;
    transition: all 0.3s ease;
  }

  .nav-btn:hover,
  .nav-btn.active {
    background: white;
    color: #0070ff;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    padding-left: 1rem; /* Reset padding */
  }

  .nav-btn span {
    font-weight: 500;
  }

  .nav-btn i {
    margin-right: 0.4rem;
    font-size: 1rem;
  }

  /* Tartalom terület */
  .profile-main {
    order: 2;
    padding: 1.5rem 1rem;
    border-radius: 0;
    min-height: calc(100vh - 200px); /* Ensure enough height */
  }

  .section-header {
    margin-bottom: 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .section-header h2 {
    font-size: 1.5rem;
    flex-direction: column;
    gap: 0.3rem;
    text-align: center;
  }

  .section-header p {
    font-size: 0.9rem;
    text-align: center;
  }

  /* Formok optimalizálása */
  .profile-form {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .form-group {
    margin-bottom: 1.2rem;
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .form-group label {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    text-align: center;
    width: 100%;
  }

  .form-group input,
  .form-group textarea {
    padding: 1rem;
    font-size: 16px; /* Prevents zoom on iOS */
    border-radius: 12px;
    width: 100%;
    max-width: 350px;
    text-align: center;
  }

  .input-wrapper {
    width: 100%;
    max-width: 350px;
    display: flex;
    justify-content: center;
  }

  /* Specifikus form elemek középre igazítása */
  .form-group input[type="text"],
  .form-group input[type="email"],
  .form-group input[type="password"],
  .form-group input[type="number"],
  .form-group textarea {
    margin: 0 auto;
    display: block;
  }

  /* Jelszó megerősítés mezők */
  .form-group.password-match input,
  .form-group.password-mismatch input {
    text-align: center;
    margin: 0 auto;
  }

  /* Gombok optimalizálása */
  .btn-primary,
  .btn-secondary,
  .btn-danger {
    width: 100%;
    justify-content: center;
    padding: 1rem;
    font-size: 1rem;
    border-radius: 12px;
    margin-top: 0.5rem;
  }

  /* Foglalás kártyák */
  .bookings-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .booking-card {
    padding: 1.2rem;
    border-radius: 12px;
    margin-bottom: 0.5rem;
  }

  .booking-header {
    flex-direction: column;
    gap: 0.8rem;
    align-items: stretch;
  }

  .booking-title {
    text-align: center;
    gap: 0.5rem;
  }

  .booking-title h3 {
    font-size: 1.1rem;
    margin-bottom: 0;
  }

  .school-badge {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
    align-self: center;
    max-width: 90%;
  }

  .booking-status {
    text-align: center;
  }

  .status-badge {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }

  .booking-details {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .detail-item {
    font-size: 0.9rem;
    padding: 0.5rem 0;
  }

  .detail-item i {
    margin-right: 0.5rem;
    width: 16px;
  }

  /* Jelentkező adatok mobile */
  .participants-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .btn-toggle-participants {
    width: 100%;
    justify-content: center;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }

  .participants-list {
    padding: 0.75rem;
  }

  .participant-item {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
    gap: 0.5rem;
  }

  .participant-info {
    flex-direction: row;
    align-items: center;
    width: 100%;
  }

  .participant-actions {
    width: 100%;
    justify-content: flex-end;
    margin-top: 0.5rem;
  }

  .btn-delete-participant {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }

  .participant-details {
    gap: 0.5rem;
  }

  .participant-name {
    font-size: 0.95rem;
  }

  .participant-email {
    font-size: 0.85rem;
    word-break: break-all;
  }

  /* Létszám szerkesztő */
  .booking-quantity-editor {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .quantity-form {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
  }

  .quantity-input {
    width: 70px;
    padding: 0.5rem;
    text-align: center;
    border-radius: 8px;
    border: 2px solid #e0e0e0;
  }

  .btn-quantity-update {
    padding: 0.5rem 0.8rem;
    border-radius: 8px;
    min-width: auto;
    width: auto;
  }

  .no-modify-notice {
    font-size: 0.7rem;
    margin-top: 0.3rem;
    display: block;
  }

  /* Foglalás műveletek */
  .booking-actions {
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
  }

  .booking-actions .btn-secondary,
  .booking-actions .btn-danger {
    text-align: center;
    justify-content: center;
    padding: 0.8rem;
    font-size: 0.9rem;
  }

  /* Üres állapot */
  .empty-state {
    padding: 2rem 1rem;
    text-align: center;
  }

  .empty-icon i {
    font-size: 3rem;
    margin-bottom: 1rem;
  }

  /* Figyelmeztetés doboz */
  .warning-box {
    flex-direction: column;
    text-align: center;
    padding: 1.2rem;
    border-radius: 12px;
  }

  .warning-icon i {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
  }
}

/* Extra kis képernyők (360px alatt) */
@media (max-width: 480px) {
  .profile-container {
    padding: 0.5rem;
    margin-bottom: 1rem;
  }

  .profile-content {
    border-radius: 12px;
    margin: 0;
  }

  .profile-header {
    padding: 0.8rem;
  }

  .profile-title h1 {
    font-size: 1.6rem;
  }

  .profile-main {
    padding: 1rem 0.8rem;
  }

  .section-header h2 {
    font-size: 1.3rem;
  }

  .nav-btn {
    min-width: 120px;
    padding: 0.6rem 0.8rem;
    font-size: 0.8rem;
  }

  .nav-btn i {
    font-size: 0.9rem;
  }

  .booking-card {
    padding: 1rem;
  }

  .booking-title h3 {
    font-size: 1rem;
  }

  .school-badge {
    font-size: 0.75rem;
    padding: 0.3rem 0.6rem;
    max-width: 85%;
  }

  .form-group {
    max-width: 350px;
  }

  .form-group input,
  .form-group textarea {
    padding: 0.8rem;
    font-size: 16px;
    max-width: 320px;
  }

  .input-wrapper {
    max-width: 320px;
    justify-content: center;
  }

  /* Kis képernyőn is középre */
  .form-group input[type="text"],
  .form-group input[type="email"],
  .form-group input[type="password"],
  .form-group input[type="number"],
  .form-group textarea {
    margin: 0 auto;
    text-align: center;
  }

  .btn-primary,
  .btn-secondary,
  .btn-danger {
    padding: 0.9rem;
    font-size: 0.9rem;
  }

  .quantity-input {
    width: 60px;
    padding: 0.4rem;
  }

  .btn-quantity-update {
    padding: 0.4rem 0.6rem;
  }
}

/* Landscape mobil nézet */
@media (max-width: 768px) and (orientation: landscape) {
  .profile-sidebar {
    position: relative;
  }

  .profile-nav {
    padding: 0.5rem;
  }

  .nav-btn {
    min-width: 120px;
    padding: 0.6rem 0.8rem;
  }

  .profile-main {
    min-height: auto;
    padding: 1rem;
  }
}

/* iOS Safari specifikus javítások */
@supports (-webkit-touch-callout: none) {
  @media (max-width: 768px) {
    .profile-main {
      padding-bottom: 2rem; /* Extra space for iOS Safari */
    }

    .form-group input,
    .form-group textarea {
      transform: translateZ(
        0
      ); /* Hardware acceleration for better performance */
    }

    .nav-btn {
      -webkit-tap-highlight-color: transparent;
    }
  }
}

/* Globális mobil optimalizációk */
@media (max-width: 768px) {
  /* Jobb scroll kezelés */
  .profile-content,
  .profile-main,
  .bookings-list {
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
  }

  /* Jobb touch célzás */
  button,
  .btn-primary,
  .btn-secondary,
  .btn-danger,
  .nav-btn,
  .btn-quantity-update {
    min-height: 44px; /* Apple's minimum touch target size */
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
  }

  /* Input mezők optimalizálása */
  input,
  textarea,
  select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 12px;
  }

  /* Prevent zoom on input focus */
  input[type="text"],
  input[type="email"],
  input[type="password"],
  input[type="number"],
  textarea {
    font-size: 16px !important; /* iOS won't zoom if font-size >= 16px */
  }

  /* Safe area insets for modern phones */
  .profile-container {
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
    padding-bottom: max(1rem, env(safe-area-inset-bottom));
  }

  /* Better visual feedback */
  .nav-btn:active,
  .btn-primary:active,
  .btn-secondary:active,
  .btn-danger:active {
    transform: scale(0.98);
    transition: transform 0.1s ease;
  }
}

/* PWA ready - extra small screens */
@media (max-width: 320px) {
  .profile-container {
    padding: 0.25rem;
  }

  .nav-btn {
    min-width: 100px;
    font-size: 0.75rem;
  }

  .profile-main {
    padding: 0.75rem 0.5rem;
  }
}

/* Dark mode media query support */
@media (prefers-color-scheme: dark) {
  @media (max-width: 768px) {
    .profile-sidebar {
      background: linear-gradient(90deg, #1a1a1a 0%, #2d2d2d 50%, #404040 100%);
    }

    .nav-btn {
      background: rgba(255, 255, 255, 0.05);
      color: #ffffff;
    }

    .nav-btn:hover,
    .nav-btn.active {
      background: #ffffff;
      color: #1a1a1a;
    }
  }
}

/* Moderátor specifikus statisztikák stílusai */
.category-stats {
  margin: 15px 0;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}

/* Reszponzív design mobil eszközökhöz */
@media (max-width: 768px) {
  .category-stats {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }
}

@media (max-width: 480px) {
  .category-stats {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .category-stats .stat-item {
    padding: 10px;
  }

  .category-stats .stat-label {
    font-size: 12px;
  }

  .category-stats .stat-value {
    font-size: 16px;
  }

  .stat-icon {
    width: 28px;
    height: 28px;
    font-size: 14px;
  }

  /* Moderátor specifikus mobil stílusok */
  .school-info-badge {
    font-size: 0.85rem;
    padding: 8px 12px;
  }

  .institution-badge.moderator {
    font-size: 0.85rem;
    padding: 8px 16px;
  }

  .category-meta {
    margin-bottom: 8px;
  }

  .category-title {
    font-size: 1.2rem;
    margin: 8px 0;
  }
}

/* Extra kis kijelzőkhöz (320px és alatta) */
@media (max-width: 320px) {
  .category-stats {
    margin: 10px 0;
  }

  .category-stats .stat-item {
    padding: 8px;
    gap: 6px;
  }

  .stat-icon {
    width: 24px;
    height: 24px;
    font-size: 12px;
  }

  .stat-label {
    font-size: 11px;
  }

  .stat-value {
    font-size: 14px;
  }

  .school-info-badge {
    font-size: 0.8rem;
    padding: 6px 10px;
  }
}

.category-stats .stat-item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  padding: 8px;
  background: rgba(0, 0, 0, 0.02);
  border-radius: 6px;
  transition: background-color 0.2s;
  width: 100%;
  box-sizing: border-box;
}

.category-stats .stat-item:hover {
  background: rgba(0, 0, 0, 0.05);
}

.stat-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: white;
}

.stat-icon.total {
  background: #6c757d;
}

.stat-icon.available {
  background: #28a745;
}

.stat-icon.full {
  background: #ffc107;
}

.category-stats .stat-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  text-align: left;
  min-width: 0;
}

.category-stats .stat-label {
  font-size: 11px;
  color: #666;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.category-stats .stat-value {
  font-size: 14px;
  font-weight: bold;
  color: #333;
  white-space: nowrap;
}

/* Moderátor badge és gomb színei */
.moderator-page .institution-badge,
.institution-badge.moderator {
  background: linear-gradient(135deg, #0070ff, #00a8ff);
  color: white;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.moderator-page .category-button,
.category-button.moderator {
  background: linear-gradient(135deg, #6c757d, #495057);
}

.moderator-page .category-button:hover,
.category-button.moderator:hover {
  background: linear-gradient(135deg, #495057, #343a40);
}

/* Moderátor-specifikus highlight szín */
.moderator-highlight {
  background: linear-gradient(45deg, #0070ff, #00d4ff) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

/* Iskola információs badge */
.school-info-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: 10px 16px;
  border-radius: 25px;
  margin: 15px 0;
  border: 1px solid rgba(0, 112, 255, 0.2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  font-weight: 600;
  color: #333;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.school-info-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.school-info-badge i {
  color: #0070ff;
  font-size: 1.1rem;
}

/* ===================================================
   MODERÁTOR ESEMÉNYEK OLDAL SPECIFIKUS STÍLUSOK
   =================================================== */

/* Moderátor események hero szekció */
.moderator-events-hero {
  background: linear-gradient(
    135deg,
    rgba(0, 112, 255, 0.12) 0%,
    rgba(0, 168, 255, 0.06) 50%,
    rgba(255, 255, 255, 0.9) 100%
  );
}

.moderator-actions {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 16px;
}

.btn-add-event {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(45deg, #28a745, #20c997);
  color: white;
  padding: 12px 24px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.btn-add-event:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(40, 167, 69, 0.4);
  background: linear-gradient(45deg, #1e7e34, #17a2b8);
}

.btn-add-event i {
  font-size: 1.1rem;
}

/* Moderátor statisztikák áttekintés */
.moderator-stats-overview {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 30px;
  margin-bottom: 20px;
}

.stat-overview-item {
  text-align: center;
  padding: 20px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 16px;
  border: 1px solid rgba(0, 112, 255, 0.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  min-width: 120px;
  transition: all 0.3s ease;
}

.stat-overview-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 112, 255, 0.15);
}

.stat-overview-number {
  font-size: 2.2rem;
  font-weight: 700;
  color: #0070ff;
  margin-bottom: 8px;
}

.stat-overview-label {
  font-size: 0.9rem;
  color: #666;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Moderátor esemény kártyák */
.moderator-event-card {
  position: relative;
}

.moderator-event-card .event-card-badge {
  background: linear-gradient(45deg, #6c757d, #495057);
  color: white;
}

.moderator-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 112, 255, 0.9),
    rgba(0, 168, 255, 0.8)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
  border-radius: 24px 24px 0 0;
}

.moderator-event-card:hover .moderator-overlay {
  opacity: 1;
}

.moderator-actions-overlay {
  display: flex;
  gap: 16px;
}

.action-btn {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.action-btn:hover {
  background: white;
  color: #0070ff;
  transform: scale(1.1);
}

.edit-btn:hover {
  color: #28a745;
}

.delete-btn:hover {
  color: #dc3545;
}

/* Moderátor esemény műveletek */
.moderator-event-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 20px;
}

.moderator-event-actions .event-card-action {
  padding: 12px 16px;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.moderator-event-actions .event-card-action.primary {
  background: linear-gradient(45deg, #0070ff, #0055bb);
}

.moderator-event-actions .event-card-action.secondary {
  background: linear-gradient(45deg, #6c757d, #5a6268);
}

/* Moderátor esemény státuszok - FORCE OVERRIDE */
.modern-category-card .category-status .status-indicator.expired,
.modern-event-card .category-status .status-indicator.expired,
.moderator-event-card .category-status .status-indicator.expired {
  background: #dc3545 !important;
  animation: pulse-status-red 2s infinite !important;
  width: 8px !important;
  height: 8px !important;
  border-radius: 50% !important;
}

.modern-category-card .category-status .status-indicator.full,
.modern-event-card .category-status .status-indicator.full,
.moderator-event-card .category-status .status-indicator.full {
  background: #ffc107 !important;
  animation: pulse-status-yellow 2s infinite !important;
  width: 8px !important;
  height: 8px !important;
  border-radius: 50% !important;
}

.modern-category-card .category-status .status-indicator.active,
.modern-event-card .category-status .status-indicator.active,
.moderator-event-card .category-status .status-indicator.active {
  background: #28a745 !important;
  animation: pulse-status 2s infinite !important;
  width: 8px !important;
  height: 8px !important;
  border-radius: 50% !important;
}

/* Moderátor esemény státuszok */
.moderator-event-card .status-indicator.expired,
.modern-event-card .status-indicator.expired {
  background: linear-gradient(45deg, #dc3545, #c82333) !important;
  box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
  animation: pulse-status-red 2s infinite;
}

.moderator-event-card .status-indicator.full,
.modern-event-card .status-indicator.full {
  background: linear-gradient(45deg, #ffc107, #ffb300) !important;
  box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
  animation: pulse-status-yellow 2s infinite;
}

.moderator-event-card .status-indicator.active,
.modern-event-card .status-indicator.active {
  background: linear-gradient(45deg, #28a745, #218838) !important;
  box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
  animation: pulse-status 2s infinite;
}

/* Moderátor üres állapot */
.moderator-empty-state {
  background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
  border: 2px solid rgba(0, 112, 255, 0.1);
}

.empty-state-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
}

/* Reszponzív design moderátor események oldalhoz */
@media (max-width: 768px) {
  .moderator-stats-overview {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }

  .stat-overview-item {
    min-width: 100px;
    padding: 16px;
  }

  .stat-overview-number {
    font-size: 1.8rem;
  }

  .moderator-event-actions {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .moderator-actions {
    flex-direction: column;
    align-items: center;
  }

  .empty-state-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn-add-event {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .moderator-stats-overview {
    gap: 16px;
  }

  .stat-overview-item {
    padding: 12px;
    min-width: 80px;
  }

  .stat-overview-number {
    font-size: 1.5rem;
  }

  .stat-overview-label {
    font-size: 0.8rem;
  }

  .moderator-actions-overlay {
    gap: 12px;
  }

  .action-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .moderator-event-actions .event-card-action {
    padding: 10px 12px;
    font-size: 0.8rem;
  }
}

/* Moderátor specifikus gomb stílus */
.category-button.moderator-button {
  background: linear-gradient(135deg, #007bff, #0056b3);
  border: 2px solid transparent;
}

.category-button.moderator-button:hover {
  background: linear-gradient(135deg, #0056b3, #007bff);
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(0, 123, 255, 0.4);
}

.category-button.moderator-button .button-icon {
  color: white;
}

/* Moderátor részletek oldal specifikus stílusok */
.moderator-event-badge {
  background: linear-gradient(135deg, #007bff, #0056b3);
}

.moderator-add-user-card {
  border-left: 4px solid #007bff;
}

.moderator-registrations-card {
  border-left: 4px solid #28a745;
}

.moderator-section-header {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #f8f9fa;
}

.moderator-section-header h2 {
  color: #333;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.moderator-section-header p {
  color: #666;
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.moderator-add-user-form-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.moderator-add-user-form {
  background: linear-gradient(135deg, #f8f9fa, #ffffff);
  padding: 2rem;
  border-radius: 15px;
  border: 2px solid #e9ecef;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.moderator-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.moderator-form-group {
  display: flex;
  flex-direction: column;
}

.moderator-form-group label {
  font-weight: 600;
  color: #333;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.moderator-form-group input {
  padding: 0.75rem 1rem;
  border: 2px solid #dee2e6;
  border-radius: 10px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: white;
}

.moderator-form-group input:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.moderator-form-help {
  margin-top: 0.25rem;
  color: #666;
  font-size: 0.875rem;
  font-style: italic;
}

.moderator-form-actions {
  text-align: center;
  margin-top: 2rem;
}

.moderator-btn-add-user {
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 15px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  box-shadow: 0 5px 15px rgba(0, 123, 255, 0.2);
}

.moderator-btn-add-user:hover {
  background: linear-gradient(135deg, #0056b3, #007bff);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 123, 255, 0.4);
}

.moderator-registrations-count {
  background: #28a745;
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.9rem;
  margin-left: 0.5rem;
}

.moderator-registrations-list {
  max-width: 1000px;
  margin: 0 auto;
}

.moderator-registration-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, #f8f9fa, #ffffff);
  border-radius: 15px;
  margin-bottom: 1rem;
  border-left: 4px solid #28a745;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.moderator-registration-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.moderator-registration-number {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, #28a745, #20c997);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.moderator-registration-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.moderator-user-name {
  font-weight: 600;
  color: #333;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.moderator-user-email {
  color: #666;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.moderator-registration-details {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: right;
}

.moderator-registration-count {
  background: linear-gradient(135deg, #007bff, #6610f2);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 10px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  justify-content: center;
  font-size: 0.9rem;
}

.moderator-registration-date {
  color: #666;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  justify-content: center;
}

.moderator-registrations-summary {
  background: linear-gradient(135deg, #f1f3f4, #e8eaed);
  padding: 1.5rem;
  border-radius: 15px;
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  border: 2px solid #e9ecef;
}

.moderator-summary-item {
  text-align: center;
  padding: 1rem;
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid #f8f9fa;
}

.moderator-status-over {
  color: #dc3545;
  font-weight: 700;
  background: rgba(220, 53, 69, 0.1);
  padding: 0.25rem 0.5rem;
  border-radius: 8px;
}

.moderator-status-full {
  color: #ffc107;
  font-weight: 700;
  background: rgba(255, 193, 7, 0.1);
  padding: 0.25rem 0.5rem;
  border-radius: 8px;
}

.moderator-status-available {
  color: #28a745;
  font-weight: 700;
  background: rgba(40, 167, 69, 0.1);
  padding: 0.25rem 0.5rem;
  border-radius: 8px;
}

.moderator-no-registrations {
  text-align: center;
  padding: 3rem;
  color: #666;
  background: linear-gradient(135deg, #f8f9fa, #ffffff);
  border-radius: 15px;
  border: 2px dashed #dee2e6;
}

.moderator-no-registrations-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  color: #dee2e6;
}

.moderator-no-registrations h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #333;
}

/* Moderátor specifikus mobil optimalizálás */
@media (max-width: 768px) {
  .moderator-form-row {
    grid-template-columns: 1fr;
  }

  .moderator-registration-item {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1rem;
  }

  .moderator-registration-details {
    text-align: center;
  }

  .moderator-registrations-summary {
    grid-template-columns: 1fr;
  }

  .moderator-section-header h2 {
    font-size: 1.5rem;
    flex-direction: column;
    gap: 0.25rem;
  }

  .moderator-btn-add-user {
    width: 100%;
    justify-content: center;
  }
}

/* Moderátor részletek oldal specifikus CSS osztályok */
.moderator-badge {
  background: linear-gradient(135deg, #007bff, #0056b3);
}

.moderator-status-danger {
  color: #dc3545;
  font-weight: 700;
}

.moderator-status-warning {
  color: #ffc107;
  font-weight: 700;
}

.moderator-status-success {
  color: #28a745;
  font-weight: 700;
}

.moderator-border-left {
  border-left: 4px solid #007bff;
}

.moderator-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.moderator-form-transparent {
  display: block;
  background: transparent;
  padding: 0;
  border: none;
}

.moderator-note {
  color: #007bff;
  font-weight: 600;
}

.moderator-center {
  text-align: center;
  margin-top: 1.5rem;
}

.moderator-btn-blue {
  background: linear-gradient(135deg, #007bff, #0056b3);
}

.moderator-registration-badge {
  background: #28a745;
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.9rem;
  margin-left: 0.5rem;
}

.moderator-participant-flex {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.moderator-participant-number {
  width: 35px;
  height: 35px;
  background: linear-gradient(135deg, #28a745, #20c997);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.moderator-participant-name {
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 0.4rem;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.moderator-participant-name i {
  color: #28a745;
  font-size: 1rem;
}

.moderator-participant-email {
  color: #6c757d;
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.moderator-participant-email i {
  color: #007bff;
  font-size: 0.85rem;
}

.moderator-icon-margin {
  margin-right: 0.25rem;
}

.moderator-participant-meta {
  text-align: center;
}

.moderator-count-badge {
  background: linear-gradient(135deg, #007bff, #6610f2);
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 12px;
  font-weight: 700;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 3px 10px rgba(0, 123, 255, 0.2);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.moderator-count-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 123, 255, 0.3);
  background: linear-gradient(135deg, #0056b3, #4c0aa3);
}

.moderator-count-badge i {
  font-size: 1rem;
}

.moderator-participant-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem;
  background: linear-gradient(135deg, #ffffff, #f8f9fc);
  border-radius: 15px;
  margin-bottom: 1rem;
  border-left: 4px solid #28a745;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.moderator-participant-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
  background: linear-gradient(135deg, #ffffff, #f0f4ff);
}

.moderator-participant-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(40, 167, 69, 0.05),
    transparent
  );
  transition: left 0.5s;
}

.moderator-participant-item:hover::before {
  left: 100%;
}

.moderator-date-info {
  color: #666;
  font-size: 0.8rem;
}

.moderator-summary {
  background: linear-gradient(135deg, #f1f3f4, #e8eaed);
  padding: 1.5rem;
  border-radius: 12px;
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.moderator-summary-item {
  text-align: center;
  padding: 1rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.moderator-no-registrations {
  text-align: center;
  padding: 2rem;
  color: #666;
}

.moderator-no-reg-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #dee2e6;
}

.moderator-no-reg-title {
  margin-bottom: 0.5rem;
  color: #333;
}

/* Moderátor form specifikus stílusok */
.moderator-registration-section {
  background: linear-gradient(135deg, #ffffff, #f8f9fc);
  border: 1px solid #e3e6f0;
  border-radius: 15px;
  padding: 2.5rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.moderator-registration-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #007bff, #6610f2, #007bff);
  background-size: 200% 100%;
  animation: shimmer 2s linear infinite;
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.moderator-registration-header {
  text-align: center;
  margin-bottom: 2.5rem;
  position: relative;
}

.moderator-registration-header h3 {
  color: #2c3e50;
  margin-bottom: 1rem;
  font-size: 1.6rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.moderator-registration-header h3 i {
  background: linear-gradient(135deg, #007bff, #6610f2);
  color: white;
  padding: 0.5rem;
  border-radius: 10px;
  font-size: 1.2rem;
}

.moderator-registration-header p {
  color: #6c757d;
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 650px;
  margin: 0 auto;
  background: rgba(0, 123, 255, 0.05);
  padding: 1rem 1.5rem;
  border-radius: 10px;
  border-left: 4px solid #007bff;
}

.moderator-form-container {
  max-width: 800px;
  margin: 0 auto;
}

.moderator-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.8rem;
  margin-bottom: 2rem;
}

.moderator-form-group {
  display: flex;
  flex-direction: column;
  position: relative;
}

.moderator-form-group label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 0.8rem;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.moderator-form-group label i {
  color: #007bff;
  font-size: 1rem;
  background: rgba(0, 123, 255, 0.1);
  padding: 0.4rem;
  border-radius: 8px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.moderator-form-group input,
.moderator-form-group select {
  padding: 1rem 1.3rem;
  border: 2px solid #e3e6f0;
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: white;
  font-family: inherit;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.moderator-form-group input:focus,
.moderator-form-group select:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.12);
  transform: translateY(-2px);
  background: #fdfdfe;
}

.moderator-form-group input:hover,
.moderator-form-group select:hover {
  border-color: #007bff;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

.moderator-form-group small {
  margin-top: 0.6rem;
  font-size: 0.85rem;
  color: #007bff;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.moderator-form-group small i {
  font-size: 0.8rem;
}

.moderator-form-submit {
  text-align: center;
  margin-top: 2.5rem;
}

.moderator-btn-submit {
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: white;
  border: none;
  padding: 1.2rem 3rem;
  border-radius: 15px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  box-shadow: 0 6px 20px rgba(0, 123, 255, 0.25);
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
}

.moderator-btn-submit:before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.6s;
}

.moderator-btn-submit:hover {
  background: linear-gradient(135deg, #0056b3, #004085);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 123, 255, 0.4);
}

.moderator-btn-submit:hover:before {
  left: 100%;
}

.moderator-btn-submit:active {
  transform: translateY(-1px);
}

.moderator-btn-submit i {
  font-size: 1.2rem;
}

@media (max-width: 768px) {
  .moderator-form-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .moderator-registration-section {
    padding: 2rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: 12px;
  }

  .moderator-registration-header h3 {
    font-size: 1.4rem;
    flex-direction: column;
    gap: 0.5rem;
  }

  .moderator-registration-header p {
    font-size: 1rem;
    padding: 0.8rem 1.2rem;
  }

  .moderator-btn-submit {
    padding: 1rem 2.5rem;
    font-size: 1rem;
    width: 100%;
    max-width: 300px;
  }

  .moderator-form-group input,
  .moderator-form-group select {
    padding: 0.9rem 1.1rem;
    font-size: 16px; /* iOS zoom fix */
  }
}

/* ====================================
 MODERATOR RÉSZTVEVŐ KEZELÉS STÍLUSOK
 ==================================== */

/* Moderator résztvevők listája */
.moderator-participants-list {
  background: rgba(0, 112, 255, 0.02);
  border: 1px solid rgba(0, 112, 255, 0.1);
  border-radius: 16px;
  padding: 20px;
  margin-top: 20px;
}

/* Főjelentkezős kártya stílusok */
.moderator-main-registrant {
  background: linear-gradient(
    135deg,
    rgba(0, 112, 255, 0.05),
    rgba(0, 112, 255, 0.02)
  );
  border: 2px solid rgba(0, 112, 255, 0.15);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}

.moderator-main-registrant::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(135deg, #0070ff, #00a8ff);
}

.moderator-registrant-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0, 112, 255, 0.1);
}

.moderator-registrant-number {
  background: linear-gradient(135deg, #0070ff, #00a8ff);
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
}

.moderator-main-registrant-badge {
  background: linear-gradient(45deg, #28a745, #20c997);
  color: white;
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.moderator-registrant-info {
  margin-bottom: 16px;
}

.moderator-registrant-name,
.moderator-registrant-email,
.moderator-registrant-date {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  color: #333;
}

.moderator-registrant-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1a1a1a;
}

.moderator-registrant-email {
  color: #666;
  font-size: 0.95rem;
}

.moderator-registrant-date {
  color: #888;
  font-size: 0.9rem;
}

.moderator-registrant-name i,
.moderator-registrant-email i,
.moderator-registrant-date i {
  color: #0070ff;
  font-size: 1.1rem;
  width: 20px;
}

.moderator-registrant-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  background: rgba(255, 255, 255, 0.6);
  padding: 16px;
  border-radius: 12px;
  border: 1px solid rgba(0, 112, 255, 0.08);
}

.moderator-stat-item {
  display: flex;
  flex-direction: column;
  text-align: center;
}

.moderator-stat-label {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 4px;
  font-weight: 500;
}

.moderator-stat-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0070ff;
}

.moderator-participants-list h4 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #0070ff;
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(0, 112, 255, 0.1);
}

.moderator-participants-list h4 i {
  margin-right: 8px;
}

.moderator-add-participant-btn {
  background: linear-gradient(135deg, #28a745, #20c997);
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(40, 167, 69, 0.2);
}

.moderator-add-participant-btn:hover {
  background: linear-gradient(135deg, #218838, #1e7e34);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

/* Résztvevő részletek */
.moderator-participant-detail {
  background: white;
  border: 1px solid rgba(0, 112, 255, 0.1);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: all 0.3s ease;
}

.moderator-participant-detail:hover {
  box-shadow: 0 4px 16px rgba(0, 112, 255, 0.1);
  border-color: rgba(0, 112, 255, 0.2);
}

.moderator-participant-info {
  flex: 1;
}

.moderator-participant-name-detail {
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.moderator-participant-email-detail {
  color: #666;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Résztvevő akciók */
.moderator-participant-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.moderator-action-btn {
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.moderator-present-btn {
  background: linear-gradient(135deg, #28a745, #20c997);
  color: white;
  box-shadow: 0 2px 8px rgba(40, 167, 69, 0.2);
}

.moderator-present-btn:hover {
  background: linear-gradient(135deg, #218838, #1e7e34);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.moderator-excuse-btn {
  background: linear-gradient(135deg, #ffc107, #fd7e14);
  color: #212529;
  box-shadow: 0 2px 8px rgba(255, 193, 7, 0.2);
}

.moderator-excuse-btn:hover {
  background: linear-gradient(135deg, #e0a800, #e8690b);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
}

.moderator-delete-btn {
  background: linear-gradient(135deg, #dc3545, #c82333);
  color: white;
  box-shadow: 0 2px 8px rgba(220, 53, 69, 0.2);
}

.moderator-delete-btn:hover {
  background: linear-gradient(135deg, #c82333, #bd2130);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

/* Státusz badge-ek */
.moderator-status-badge {
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
}

.moderator-status-present {
  background: rgba(40, 167, 69, 0.1);
  color: #28a745;
  border: 1px solid rgba(40, 167, 69, 0.2);
}

.moderator-status-excuse {
  background: rgba(255, 193, 7, 0.1);
  color: #ffc107;
  border: 1px solid rgba(255, 193, 7, 0.2);
}

/* Főjelentkezős badge */
.moderator-main-registrant-badge {
  background: linear-gradient(45deg, #0070ff, #00a8ff);
  color: white;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-left: 8px;
}

.moderator-participant-main {
  border-left: 4px solid #0070ff;
  padding-left: 16px;
}

/* Új résztvevő hozzáadása form */
.moderator-add-participant-form {
  background: rgba(40, 167, 69, 0.05);
  border: 1px solid rgba(40, 167, 69, 0.2);
  border-radius: 12px;
  padding: 20px;
  margin-top: 16px;
}

.moderator-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.moderator-form-group {
  display: flex;
  flex-direction: column;
}

.moderator-form-group label {
  color: #495057;
  font-weight: 500;
  margin-bottom: 6px;
  font-size: 0.9rem;
}

.moderator-form-group input {
  padding: 10px 12px;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  background: white;
}

.moderator-form-group input:focus {
  outline: none;
  border-color: #28a745;
  box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
}

.moderator-form-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.moderator-save-btn {
  background: linear-gradient(135deg, #28a745, #20c997);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(40, 167, 69, 0.2);
}

.moderator-save-btn:hover {
  background: linear-gradient(135deg, #218838, #1e7e34);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.moderator-cancel-btn {
  background: linear-gradient(135deg, #6c757d, #5a6268);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(108, 117, 125, 0.2);
}

.moderator-cancel-btn:hover {
  background: linear-gradient(135deg, #5a6268, #495057);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
}

/* Responsivitás */
@media (max-width: 768px) {
  .moderator-participant-detail {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .moderator-participant-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .moderator-action-btn {
    font-size: 0.8rem;
    padding: 6px 12px;
  }

  .moderator-form-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .moderator-form-actions {
    flex-direction: column;
    gap: 8px;
  }

  .moderator-save-btn,
  .moderator-cancel-btn {
    width: 100%;
    justify-content: center;
  }

  .moderator-participants-list h4 {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .moderator-add-participant-btn {
    align-self: flex-start;
  }

  /* Főjelentkezős kártya mobilon */
  .moderator-registrant-stats {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .moderator-registrant-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .moderator-main-registrant {
    padding: 16px;
  }

  .moderator-registrant-name,
  .moderator-registrant-email,
  .moderator-registrant-date {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .moderator-participant-actions {
    flex-direction: column;
    width: 100%;
  }

  .moderator-action-btn,
  .moderator-status-badge {
    width: 100%;
    justify-content: center;
  }

  .moderator-participants-list {
    padding: 16px;
  }

  .moderator-add-participant-form {
    padding: 16px;
  }
}

/* Loading állapotok */
.loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  border-radius: inherit;
}

.loading-spinner {
  width: 24px;
  height: 24px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid #0070ff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.bx-spin {
  animation: spin 1s linear infinite;
}

/* === FOOTER STÍLUSOK === */
.site-footer {
  margin-top: auto;
  padding: 30px 0 20px;
  background: linear-gradient(135deg, #0070ff 0%, #4a90e2 100%);
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("../img/background.png");
  opacity: 0.1;
  z-index: 1;
}

.footer-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

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

.footer-section h3 {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 20px;
  position: relative;
}

.footer-section h3::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, #0070ff, #00d4ff);
  border-radius: 2px;
}

.footer-section p,
.footer-section li {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin-bottom: 10px;
}

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

.footer-section a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-section a:hover {
  color: #00d4ff;
  transform: translateX(5px);
}

.footer-section a i {
  font-size: 1.1rem;
}

.social-links {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link:hover {
  background: rgba(0, 112, 255, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 112, 255, 0.3);
}

.footer-divider {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  margin: 30px 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.footer-creator {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  padding: 8px 16px;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-creator i {
  color: #00d4ff;
  font-size: 1.1rem;
}

/* Animációk */
@keyframes footerGlow {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
  }
  50% {
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
  }
}

.footer-creator:hover {
  animation: footerGlow 2s ease-in-out infinite;
  transform: translateY(-2px);
}

/* Reszponzív footer */
@media (max-width: 768px) {
  .footer-main {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .footer-section h3::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .site-footer {
    padding: 20px 0 15px;
  }

  .footer-content {
    padding: 0 15px;
  }

  .footer-creator {
    padding: 6px 12px;
    font-size: 0.85rem;
  }
}

/* === TOVÁBBFEJLESZTETT FOOTER ANIMÁCIÓK ÉS DESIGN === */

/* Háttér animációs alakzatok */
.footer-background-animation {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.floating-shapes {
  position: relative;
  width: 100%;
  height: 100%;
}

.shape {
  position: absolute;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  animation: floatShape 20s infinite ease-in-out;
}

.shape-1 {
  width: 80px;
  height: 80px;
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.shape-2 {
  width: 120px;
  height: 120px;
  top: 60%;
  right: 15%;
  animation-delay: -5s;
}

.shape-3 {
  width: 60px;
  height: 60px;
  bottom: 20%;
  left: 20%;
  animation-delay: -10s;
}

.shape-4 {
  width: 100px;
  height: 100px;
  top: 30%;
  right: 40%;
  animation-delay: -15s;
}

.shape-5 {
  width: 40px;
  height: 40px;
  bottom: 40%;
  right: 70%;
  animation-delay: -8s;
}

@keyframes floatShape {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
    opacity: 0.3;
  }
  25% {
    transform: translateY(-20px) rotate(90deg);
    opacity: 0.7;
  }
  50% {
    transform: translateY(-10px) rotate(180deg);
    opacity: 0.5;
  }
  75% {
    transform: translateY(-30px) rotate(270deg);
    opacity: 0.8;
  }
}

/* Fejlesztett szekció animációk */
.animate-fade-in {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease-out forwards;
}

.animate-fade-in[data-delay="0.1s"] {
  animation-delay: 0.1s;
}
.animate-fade-in[data-delay="0.2s"] {
  animation-delay: 0.2s;
}
.animate-fade-in[data-delay="0.3s"] {
  animation-delay: 0.3s;
}
.animate-fade-in[data-delay="0.4s"] {
  animation-delay: 0.4s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-slide-up {
  animation: slideUp 0.6s ease-out 0.5s both;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Ikon animációk */
.pulse-icon {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

.rotate-icon {
  animation: rotateIcon 3s linear infinite;
}

@keyframes rotateIcon {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.bounce-icon {
  animation: bounceIcon 2s infinite;
}

@keyframes bounceIcon {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

.wiggle-icon {
  animation: wiggle 1.5s infinite;
}

@keyframes wiggle {
  0%,
  100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(5deg);
  }
  75% {
    transform: rotate(-5deg);
  }
}

.rotating-code {
  animation: rotateCode 4s linear infinite;
}

@keyframes rotateCode {
  0% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(90deg);
  }
  50% {
    transform: rotate(180deg);
  }
  75% {
    transform: rotate(270deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Fejlesztett footer elemek */
.footer-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
  justify-content: center;
}

.feature-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(0, 212, 255, 0.2);
  color: #00d4ff;
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid rgba(0, 212, 255, 0.3);
  transition: all 0.3s ease;
}

.feature-badge:hover {
  background: rgba(0, 212, 255, 0.3);
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(0, 212, 255, 0.2);
}

.footer-link {
  position: relative;
  overflow: hidden;
}

.footer-link::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #00d4ff, transparent);
  transition: left 0.5s ease;
}

.footer-link:hover::before {
  left: 100%;
}

.contact-info {
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.contact-item i {
  color: #00d4ff;
  font-size: 1.1rem;
}

.animated-divider {
  position: relative;
  overflow: hidden;
}

.animated-divider::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 212, 255, 0.6),
    transparent
  );
  animation: dividerSlide 3s infinite;
}

@keyframes dividerSlide {
  0% {
    left: -100%;
  }
  50% {
    left: 100%;
  }
  100% {
    left: -100%;
  }
}

.glow-effect {
  position: relative;
}

.glow-effect::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #0070ff, #00d4ff, #0070ff);
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
  animation: glowPulse 2s infinite;
}

.glow-effect:hover::before {
  opacity: 0.7;
}

@keyframes glowPulse {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.7;
  }
}

.creator-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 215, 0, 0.2);
  color: #ffd700;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 0.75rem;
  margin-left: 10px;
  border: 1px solid rgba(255, 215, 0, 0.3);
  animation: badgeShine 3s infinite;
}

@keyframes badgeShine {
  0%,
  100% {
    box-shadow: 0 0 5px rgba(255, 215, 0, 0.3);
  }
  50% {
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
  }
}

.sub-text {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 5px;
}

/* Parallax effekt a footer-ben */
.site-footer {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Scroll-triggered animációk */
@media (prefers-reduced-motion: no-preference) {
  .footer-section {
    transition: transform 0.3s ease;
  }

  .footer-section:hover {
    transform: translateY(-5px);
  }
}

/* Dark mode támogatás */
@media (prefers-color-scheme: dark) {
  .site-footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  }
}

/* ========================================
   FELHASZNÁLÓK KEZELÉSE - USER MANAGEMENT
   ======================================== */

/* Superadmin badge styling */
.institution-badge.superadmin {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  color: white;
}

.superadmin-highlight {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Ensure proper section spacing for user management */
.categories-section {
  position: relative;
  z-index: 1;
  margin-top: 0;
  padding-top: 40px;
}

.categories-header {
  position: relative;
  z-index: 2;
}

/* Filter container styling */
.filter-container {
  margin: 30px 0;
  padding: 0;
  position: relative;
  z-index: 2;
}

.filter-form {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 20px;
  align-items: center;
}

.filter-group {
  display: flex;
  flex-direction: column;
}

.input-group {
  position: relative;
  display: flex;
  align-items: center;
  background: white;
  border-radius: 12px;
  padding: 12px 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.input-group:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.input-group:focus-within {
  box-shadow: 0 4px 16px rgba(0, 112, 255, 0.25);
  border: 1px solid rgba(0, 112, 255, 0.3);
}

.input-group i {
  font-size: 20px;
  color: #0070ff;
  margin-right: 12px;
}

.input-group .form-input,
.input-group .form-select {
  flex: 1;
  border: none;
  outline: none;
  font-size: 15px;
  color: #333;
  background: transparent;
}

.input-group .form-input::placeholder {
  color: #999;
}

.btn-filter {
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

/* Users table container */
.users-table-container {
  margin-top: 40px;
  animation: fadeInUp 0.6s ease;
  width: 100%;
  max-width: 100%;
  overflow: visible;
  padding: 0;
  position: relative;
  z-index: 1;
  clear: both;
}

.users-table-container .table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: transparent;
  border-radius: 12px;
  position: relative;
}

/* Modern table styling */
.users-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 12px;
  table-layout: auto;
}

.users-table thead tr {
  background: linear-gradient(135deg, #0070ff 0%, #4a90e2 100%);
  color: white;
  display: table-row;
}

.users-table thead th {
  padding: 16px 12px;
  text-align: left;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: sticky;
  top: 0;
  z-index: 10;
  white-space: nowrap;
}

.users-table thead th:first-child {
  border-radius: 12px 0 0 12px;
}

.users-table thead th:last-child {
  border-radius: 0 12px 12px 0;
}

.users-table thead th i {
  margin-right: 8px;
  font-size: 16px;
}

.users-table tbody tr {
  background: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  border-radius: 12px;
}

.users-table tbody tr:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.users-table tbody td {
  padding: 16px 12px;
  vertical-align: middle;
  font-size: 14px;
  color: #444;
}

.users-table tbody td:first-child {
  border-radius: 12px 0 0 12px;
}

.users-table tbody td:last-child {
  border-radius: 0 12px 12px 0;
}

/* User name with avatar */
.user-name {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.user-name span {
  white-space: normal;
  word-break: break-word;
}

.user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0070ff 0%, #4a90e2 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

.user-email {
  color: #666;
  font-size: 13px;
  word-break: break-word;
}

.user-school {
  overflow: visible;
}

.user-date {
  color: #888;
  font-size: 12px;
}

/* School select dropdown */
.school-select {
  padding: 8px 12px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 13px;
  color: #333;
  background: white;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  max-width: 100%;
}

.school-select:hover {
  border-color: #0070ff;
}

.school-select:focus {
  outline: none;
  border-color: #0070ff;
  box-shadow: 0 0 0 3px rgba(0, 112, 255, 0.1);
}

/* Role select dropdown */
.role-select {
  padding: 8px 12px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #333;
  background: white;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  max-width: 100%;
}

.role-select:hover {
  border-color: #0070ff;
}

.role-select:focus {
  outline: none;
  border-color: #0070ff;
  box-shadow: 0 0 0 3px rgba(0, 112, 255, 0.1);
}

/* Style role select options with colors */
.role-select option[value="0"] {
  color: #666;
}

.role-select option[value="1"] {
  color: #0070ff;
}

.role-select option[value="2"] {
  color: #0070ff;
}

.role-select option[value="3"] {
  color: #4a90e2;
}

.role-select option[value="4"] {
  color: #f5576c;
  font-weight: 700;
}

/* Status badges */
.status-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-admin {
  background: linear-gradient(135deg, #0070ff 0%, #4a90e2 100%);
  color: white;
}

.status-user {
  background: #e0e0e0;
  color: #666;
}

.status-active {
  background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
  color: white;
}

.status-banned {
  background: linear-gradient(135deg, #eb3349 0%, #f45c43 100%);
  color: white;
}

/* Action buttons */
.user-actions {
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
  min-width: 110px;
  min-height: 79px;
  white-space: nowrap;
}

.action-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-size: 18px;
  flex-shrink: 0;
}

.action-btn i {
  transition: transform 0.3s ease;
}

.action-btn:hover i {
  transform: scale(1.2);
}

.btn-admin {
  background: linear-gradient(135deg, #0070ff 0%, #4a90e2 100%);
  color: white;
}

.btn-admin:hover {
  box-shadow: 0 4px 12px rgba(0, 112, 255, 0.4);
  transform: translateY(-2px);
}

.btn-ban {
  background: linear-gradient(135deg, #eb3349 0%, #f45c43 100%);
  color: white;
}

.btn-ban:hover {
  box-shadow: 0 4px 12px rgba(235, 51, 73, 0.4);
  transform: translateY(-2px);
}

.btn-unban {
  background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
  color: white;
}

.btn-unban:hover {
  box-shadow: 0 4px 12px rgba(17, 153, 142, 0.4);
  transform: translateY(-2px);
}

/* Empty state */
.empty-state {
  text-align: center;
  padding: 80px 20px;
  color: #999;
}

.empty-state h3 {
  font-size: 24px;
  color: #666;
  margin-bottom: 10px;
}

.empty-state p {
  font-size: 16px;
  color: #999;
}

/* Responsive design for user management */
@media (max-width: 1200px) {
  .filter-form {
    grid-template-columns: 1fr 1fr;
  }

  .filter-group:last-child {
    grid-column: 1 / -1;
  }

  .btn-filter {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .filter-form {
    grid-template-columns: 1fr;
  }

  .users-table {
    font-size: 12px;
  }

  .users-table thead th,
  .users-table tbody td {
    padding: 12px 10px;
  }

  .user-avatar {
    width: 32px;
    height: 32px;
    font-size: 12px;
  }

  .user-actions {
    flex-direction: column;
    gap: 4px;
  }

  .action-btn {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }

  .school-select {
    font-size: 12px;
    max-width: 100%;
  }
}

@media (max-width: 576px) {
  .users-table thead {
    display: none;
  }

  .users-table tbody tr {
    display: block;
    margin-bottom: 20px;
    padding: 16px;
  }

  .users-table tbody td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
  }

  .users-table tbody td:last-child {
    border-bottom: none;
  }

  .users-table tbody td::before {
    content: attr(data-label);
    font-weight: 600;
    color: #0070ff;
    margin-right: 10px;
  }

  .user-name {
    flex-direction: row;
    justify-content: flex-start;
  }

  .user-actions {
    flex-direction: row;
    justify-content: flex-end;
  }
}

/* ============================================
   ADMIN OLDAL SPECIFIKUS STÍLUSOK
   ============================================ */

/* Admin Actions (gombok konténere) */
.admin-actions {
  margin: 30px 0;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Alapértelmezett btn-create gomb */
.btn-create {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: linear-gradient(135deg, #0070ff 0%, #4a90e2 100%);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 24px rgba(0, 112, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-create::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-create:active::before {
  width: 300px;
  height: 300px;
}

.btn-create i {
  font-size: 22px;
  transition: transform 0.3s ease;
}

.btn-create:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 112, 255, 0.4);
  color: white;
}

.btn-create:hover i {
  transform: rotate(90deg);
}

/* Vissza gomb */
.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 24px rgba(108, 117, 125, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-back::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-back:active::before {
  width: 300px;
  height: 300px;
}

.btn-back i {
  font-size: 22px;
  transition: transform 0.3s ease;
}

.btn-back:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(108, 117, 125, 0.4);
  color: white;
}

/* Empty state gombok kisebb mérete */
.empty-actions .btn-back,
.empty-actions .btn-contact {
  padding: 10px 20px !important;
  font-size: 14px !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.empty-actions .btn-back i,
.empty-actions .btn-contact i {
  font-size: 18px !important;
  line-height: 1 !important;
}

.empty-actions .btn-create {
  padding: 10px 20px !important;
  font-size: 14px !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 12px rgba(0, 112, 255, 0.3) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.empty-actions .btn-create i {
  font-size: 18px !important;
  line-height: 1 !important;
}

/* Gomb színek típus szerint */
.btn-add {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%) !important;
  box-shadow: 0 8px 24px rgba(40, 167, 69, 0.3);
}

.btn-add:hover {
  box-shadow: 0 12px 32px rgba(40, 167, 69, 0.4);
}

.btn-users {
  background: linear-gradient(135deg, #fd7e14 0%, #e83e8c 100%) !important;
  box-shadow: 0 8px 24px rgba(253, 126, 20, 0.3);
}

.btn-users:hover {
  box-shadow: 0 12px 32px rgba(253, 126, 20, 0.4);
}

/* Admin Button Group */
.admin-button-group {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  margin-top: 15px;
}

/* Admin Button Group - 2 gombos verzió (események oldalon) */
.admin-event-card .admin-button-group {
  grid-template-columns: 1fr 1fr;
  max-width: 400px;
  margin: 15px auto 0;
}

/* Admin gombok szöveg kezelése */
.admin-button-group .category-button {
  min-width: 0;
  padding: 12px 8px;
}

.admin-button-group .button-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: nowrap;
}

.admin-button-group .button-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 0.9rem;
  flex-shrink: 1;
  min-width: 0;
}

.admin-button-group .button-icon {
  flex-shrink: 0;
  font-size: 1.1rem;
}

/* Kártyán belüli gombok színei */
.admin-view-button {
  background: linear-gradient(135deg, #0070ff 0%, #4a90e2 100%) !important;
}

.admin-edit-button {
  background: linear-gradient(135deg, #fd7e14 0%, #f89b29 100%) !important;
}

.admin-delete-button {
  background: linear-gradient(135deg, #dc3545 0%, #c82333 100%) !important;
}

/* Felhasználók oldal - Modern Filter Section */
.users-filter-section {
  background: white;
  padding: 32px;
  border-radius: 20px;
  margin: 30px auto;
  max-width: 1200px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 112, 255, 0.15);
}

.users-filter-form {
  width: 100%;
}

.filter-search-wrapper {
  display: grid;
  grid-template-columns: 2fr 1.5fr auto auto;
  gap: 16px;
  align-items: center;
}

.filter-search-box,
.filter-school-box {
  position: relative;
  display: flex;
  align-items: center;
  background: #f8f9fa;
  border: 2px solid #e8ecf1;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.filter-search-box:hover,
.filter-school-box:hover {
  border-color: #d0d5dd;
  background: #fff;
}

.filter-search-box:focus-within,
.filter-school-box:focus-within {
  border-color: #0070ff;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(0, 112, 255, 0.1);
}

.filter-search-box i,
.filter-school-box i {
  position: absolute;
  left: 18px;
  color: #0070ff;
  font-size: 22px;
  z-index: 1;
  pointer-events: none;
}

.filter-search-input,
.filter-school-select {
  width: 100%;
  padding: 16px 20px 16px 52px;
  border: none;
  background: transparent;
  font-size: 15px;
  font-weight: 500;
  color: #2c3e50;
  transition: all 0.3s ease;
}

/* Add padding when clear button is present */
.filter-search-box .filter-search-input {
  padding-right: 44px;
}

.filter-search-input::placeholder {
  color: #a0a0a0;
}

.filter-search-input:focus,
.filter-school-select:focus {
  outline: none;
  background: white;
}

.filter-school-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%230070ff' d='M10.293 3.293L6 7.586 1.707 3.293A1 1 0 00.293 4.707l5 5a1 1 0 001.414 0l5-5a1 1 0 10-1.414-1.414z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 20px center;
  padding-right: 48px;
}

.filter-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  background: linear-gradient(135deg, #0070ff 0%, #4a90e2 100%);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(0, 112, 255, 0.3);
}

.filter-submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0, 112, 255, 0.45);
}

.filter-submit-btn:active {
  transform: translateY(-1px);
}

.filter-submit-btn i {
  font-size: 20px;
  transition: transform 0.3s ease;
}

.filter-submit-btn:hover i {
  transform: rotate(180deg);
}

/* Clear search button inside input */
.clear-search-btn {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
  z-index: 2;
}

.clear-search-btn:hover {
  background: rgba(0, 112, 255, 0.1);
  color: #0070ff;
  transform: scale(1.1);
}

.clear-search-btn i {
  font-size: 20px;
  pointer-events: none;
}

/* Clear all filters button */
.filter-clear-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 24px;
  background: #f8f9fa;
  color: #64748b;
  border: 2px solid #e8ecf1;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  text-decoration: none;
}

.filter-clear-btn:hover {
  background: #fff;
  border-color: #ef4444;
  color: #ef4444;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2);
}

.filter-clear-btn:active {
  transform: translateY(0);
}

.filter-clear-btn i {
  font-size: 18px;
}

/* Users table container */
.form-container.users-table-container {
  background: white;
  padding: 0;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 112, 255, 0.1);
  overflow: hidden;
  border: 1px solid rgba(0, 112, 255, 0.1);
}

.table-responsive {
  overflow-x: auto;
}

.users-table {
  width: 100%;
  border-collapse: collapse;
}

.users-table thead {
  background: linear-gradient(135deg, #0070ff 0%, #4a90e2 100%);
}

.users-table th {
  padding: 18px 16px;
  text-align: left;
  color: white;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.users-table th i {
  margin-right: 6px;
  font-size: 16px;
}

.users-table td {
  padding: 16px;
  border-bottom: 1px solid #e0e6ed;
  font-size: 14px;
}

.user-row {
  transition: all 0.3s ease;
}

.user-row:hover {
  background: rgba(0, 112, 255, 0.03);
}

.user-name {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: #2c3e50;
}

.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0070ff 0%, #4a90e2 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

.user-email {
  color: #6c757d;
}

.school-select,
.role-select {
  padding: 8px 12px;
  border: 2px solid #e0e6ed;
  border-radius: 8px;
  font-size: 13px;
  transition: all 0.3s ease;
  background: white;
  cursor: pointer;
}

.school-select:focus,
.role-select:focus {
  outline: none;
  border-color: #0070ff;
  box-shadow: 0 0 0 3px rgba(0, 112, 255, 0.1);
}

.status-badge {
  display: inline-flex;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-active {
  background: rgba(46, 213, 115, 0.1);
  color: #2ed573;
}

.status-banned {
  background: rgba(255, 71, 87, 0.1);
  color: #ff4757;
}

.user-actions {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.action-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 18px;
}

.btn-ban {
  background: rgba(255, 71, 87, 0.1);
  color: #ff4757;
}

.btn-ban:hover {
  background: #ff4757;
  color: white;
  transform: scale(1.1);
}

.btn-unban {
  background: rgba(46, 213, 115, 0.1);
  color: #2ed573;
}

.btn-unban:hover {
  background: #2ed573;
  color: white;
  transform: scale(1.1);
}

/* Responsive - Admin oldalak */
@media (max-width: 1024px) {
  .filter-form {
    grid-template-columns: 1fr;
  }

  /* Tablet méret - 2 oszlopos gombok */
  .admin-button-group {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .admin-button-group .button-text {
    font-size: 0.85rem;
  }
}

@media (max-width: 768px) {
  .admin-actions {
    flex-direction: column;
  }

  .btn-create,
  .btn-back {
    padding: 14px 28px;
    font-size: 15px;
  }

  /* Empty state gombok még kisebbek mobilon */
  .empty-actions .btn-back,
  .empty-actions .btn-contact {
    padding: 8px 16px !important;
    font-size: 13px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
  }

  .empty-actions .btn-back i,
  .empty-actions .btn-contact i {
    font-size: 16px !important;
    line-height: 1 !important;
  }

  .empty-actions .btn-create {
    padding: 8px 16px !important;
    font-size: 13px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
  }

  .empty-actions .btn-create i {
    font-size: 16px !important;
    line-height: 1 !important;
  }

  .admin-button-group {
    grid-template-columns: 1fr;
  }

  .filter-container {
    padding: 20px;
  }

  .users-table {
    font-size: 13px;
  }

  .users-table th,
  .users-table td {
    padding: 12px 8px;
  }

  .user-avatar {
    width: 32px;
    height: 32px;
    font-size: 12px;
  }

  /* Filter section responsive */
  .filter-search-wrapper {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .filter-submit-btn,
  .filter-clear-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================
   ADMIN FORM STÍLUSOK (Új/Szerkeszt Esemény és Kategória)
   ============================================ */

/* Form Section */
.form-section {
  padding: 40px 20px 80px;
  max-width: 1000px;
  margin: 0 auto;
}

.form-container {
  background: white;
  padding: 48px;
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(0, 112, 255, 0.12);
  border: 1px solid rgba(0, 112, 255, 0.1);
  position: relative;
  overflow: hidden;
}

/* .form-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, #0070ff 0%, #4a90e2 100%);
} */

/* Admin Form Elements */
.admin-form .form-group {
  margin-bottom: 28px;
  animation: fadeInUp 0.5s ease-out backwards;
}

.form-row .form-group:nth-child(1) {
  animation-delay: 0.1s;
}

.form-row .form-group:nth-child(2) {
  animation-delay: 0.15s;
}

.admin-form .form-group:nth-child(1) {
  animation-delay: 0.1s;
}

.admin-form .form-group:nth-child(2) {
  animation-delay: 0.2s;
}

.admin-form .form-group:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.admin-form label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #2c3e50;
  font-size: 15px;
  letter-spacing: 0.3px;
}

.admin-form label i {
  color: #0070ff;
  font-size: 18px;
}

.required {
  color: #e74c3c;
  font-size: 16px;
}

.admin-form .form-control {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid #e8ecf1;
  border-radius: 12px;
  font-size: 16px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: #f8f9fa;
  font-family: "Montserrat", sans-serif;
}

.admin-form .form-control:hover {
  border-color: #d0d5dd;
  background: #fff;
}

.admin-form .form-control:focus {
  outline: none;
  border-color: #0070ff;
  box-shadow: 0 0 0 4px rgba(0, 112, 255, 0.15);
  background: #fff;
  transform: translateY(-1px);
}

.admin-form .form-control.is-invalid {
  border-color: #e74c3c;
  background: #fff5f5;
}

.admin-form .form-control.is-invalid:focus {
  box-shadow: 0 0 0 4px rgba(231, 76, 60, 0.15);
}

.invalid-feedback {
  display: block;
  color: #e74c3c;
  font-size: 14px;
  margin-top: 8px;
  font-weight: 500;
}

.form-text {
  display: block;
  font-size: 13px;
  color: #6c757d;
  margin-top: 8px;
  font-style: italic;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 0;
}

.form-row .form-group {
  margin-bottom: 28px;
}

/* Form Actions */
.form-actions {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 2px solid #f1f3f5;
  animation: fadeInUp 0.5s ease-out 0.5s backwards;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  min-width: 160px;
}

.btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:active::before {
  width: 300px;
  height: 300px;
}

.btn i {
  font-size: 20px;
  transition: transform 0.3s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #0070ff 0%, #4a90e2 100%);
  color: white;
  box-shadow: 0 4px 16px rgba(0, 112, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0, 112, 255, 0.45);
}

.btn-primary:hover i {
  transform: scale(1.1) rotate(5deg);
}

.btn-primary:active {
  transform: translateY(-1px);
}

.btn-secondary {
  background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
  color: white;
  box-shadow: 0 4px 16px rgba(108, 117, 125, 0.3);
}

.btn-secondary:hover {
  background: linear-gradient(135deg, #5a6268 0%, #4a5158 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(108, 117, 125, 0.4);
}

.btn-secondary:hover i {
  transform: translateX(-3px);
}

.btn-secondary:active {
  transform: translateY(-1px);
}

/* Textarea */
textarea.form-control {
  resize: vertical;
  min-height: 140px;
  line-height: 1.6;
  font-family: "Montserrat", sans-serif;
}

/* Special input types */
input[type="datetime-local"].form-control,
input[type="number"].form-control {
  cursor: pointer;
}

/* School Info Badge (kategória form) */
.school-info-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.95);
  color: #0070ff;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 16px;
  margin: 20px 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  animation: fadeInUp 0.6s ease-out 0.3s backwards;
}

.school-info-badge i {
  font-size: 20px;
}

/* Empty State */
.empty-state {
  padding: 60px 20px;
  text-align: center;
  color: #6c757d;
}

.empty-state i {
  font-size: 64px;
  color: #e0e6ed;
}

.empty-state h3 {
  font-size: 24px;
  color: #2c3e50;
  margin-bottom: 12px;
}

.empty-state p {
  font-size: 16px;
  color: #6c757d;
}

/* Responsive design - Forms */
@media (max-width: 768px) {
  .form-section {
    padding: 20px 15px 60px;
  }

  .form-container {
    padding: 32px 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .form-actions {
    flex-direction: column-reverse;
  }

  .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .form-section {
    padding: 20px 12px 60px;
  }

  .form-container {
    padding: 24px 16px;
    border-radius: 16px;
  }

  .admin-form .form-control {
    padding: 12px 16px;
    font-size: 15px;
  }
}

/* ==========================================
   NAPI JELENTKEZÉSEK OLDAL STÍLUSOK
   ========================================== */

/* Napi jelentkezések oldal stílusok */
.napi-jelentkezesek-section {
  padding: 40px 20px;
  max-width: 1600px;
  margin: 0 auto;
}

.napi-header {
  background: linear-gradient(
    135deg,
    rgba(0, 112, 255, 0.1),
    rgba(74, 144, 226, 0.1)
  );
  border-radius: 20px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 4px 20px rgba(0, 112, 255, 0.1);
}

.napi-header h1 {
  color: #0070ff;
  margin-bottom: 20px;
  font-size: 2rem;
}

.datum-selector {
  display: flex;
  gap: 15px;
  align-items: center;
  flex-wrap: wrap;
}

.datum-selector input[type="date"] {
  padding: 12px 20px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.datum-selector input[type="date"]:focus {
  border-color: #0070ff;
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 112, 255, 0.1);
}

.datum-selector button {
  padding: 12px 30px;
  background: linear-gradient(135deg, #0070ff, #4a90e2);
  color: white;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.datum-selector button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 112, 255, 0.3);
}

.kereses-container {
  margin-bottom: 20px;
}

.kereses-input {
  width: 100%;
  max-width: 500px;
  padding: 12px 20px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.kereses-input:focus {
  border-color: #0070ff;
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 112, 255, 0.1);
}

.jelentkezesek-lista {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.jelentkezo-card {
  background: white;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.jelentkezo-card:hover {
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);
}

.jelentkezo-fo-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #f0f0f0;
  cursor: pointer;
}

.fo-jelentkezo {
  display: flex;
  align-items: center;
  gap: 15px;
}

.fo-jelentkezo-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #0070ff, #4a90e2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
}

.fo-jelentkezo-nev {
  font-size: 1.3rem;
  font-weight: 700;
  color: #333;
}

.fo-jelentkezo-email {
  color: #666;
  font-size: 0.95rem;
}

.esemeny-info {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.esemeny-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  background: rgba(0, 112, 255, 0.1);
  border-radius: 8px;
  color: #0070ff;
  font-weight: 600;
}

.expand-icon {
  font-size: 1.5rem;
  color: #0070ff;
  transition: transform 0.3s ease;
}

.expand-icon.expanded {
  transform: rotate(180deg);
}

.reszletek-container {
  display: none;
}

.reszletek-container.show {
  display: block;
}

.osszes-napi-esemenyek {
  background: rgba(74, 144, 226, 0.05);
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 20px;
}

.osszes-napi-esemenyek h4 {
  color: #4a90e2;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.napi-esemeny-item {
  padding: 8px 15px;
  background: white;
  border-radius: 8px;
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hozzarendelt-lista {
  margin-top: 15px;
}

.hozzarendelt-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 10px;
  margin-bottom: 10px;
  transition: all 0.3s ease;
}

.hozzarendelt-item:hover {
  background: #e9ecef;
}

.hozzarendelt-nev {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.hozzarendelt-nev i {
  color: #4a90e2;
}

.hozzarendelt-kezeles {
  display: flex;
  gap: 10px;
  align-items: center;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 12px;
  background: white;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.checkbox-label:hover {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.checkbox-label input[type="checkbox"] {
  cursor: pointer;
}

.delete-btn {
  padding: 8px 12px;
  background: #dc3545;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.delete-btn:hover {
  background: #c82333;
  transform: scale(1.05);
}

.esemeny-reszletek-blokk {
  margin-bottom: 25px;
  padding: 15px;
  background: #ffffff;
  border-radius: 10px;
  border: 1px solid #e8e8e8;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.esemeny-reszletek-blokk:last-child {
  margin-bottom: 0;
}

.uj-jelentkezo-form {
  background: rgba(0, 112, 255, 0.05);
  padding: 20px;
  border-radius: 10px;
  margin-top: 15px;
}

.uj-jelentkezo-form .toggle-header {
  color: #0070ff;
  margin-bottom: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 0;
  transition: all 0.3s ease;
  user-select: none;
}

.uj-jelentkezo-form .toggle-header:hover {
  color: #0056cc;
}

.uj-jelentkezo-form .toggle-icon {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.uj-jelentkezo-form .toggle-icon.expanded {
  transform: rotate(180deg);
}

.uj-jelentkezo-form .form-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.uj-jelentkezo-form .form-content.show {
  max-height: 500px;
  margin-top: 15px;
}

.uj-jelentkezo-form h4 {
  color: #0070ff;
  margin-bottom: 15px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.form-group label {
  font-weight: 600;
  color: #333;
}

.form-group input {
  padding: 10px 15px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus {
  border-color: #0070ff;
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 112, 255, 0.1);
}

.add-btn {
  padding: 10px 25px;
  background: linear-gradient(135deg, #28a745, #20c997);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.add-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

/* Animációk */
@keyframes slideInRight {
  from {
    transform: translateX(400px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOutRight {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(400px);
    opacity: 0;
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(0.95);
  }
}

.no-data {
  text-align: center;
  padding: 60px 20px;
  color: #666;
  font-size: 1.2rem;
}

.no-data i {
  font-size: 4rem;
  color: #ddd;
  margin-bottom: 20px;
}

/* Napi jelentkezések - reszponzív */
/* Search wrapper for participants list */
.search-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.search-input-wrapper {
  position: relative;
  flex: 1;
  min-width: 250px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.9) 0%,
    rgba(247, 250, 252, 0.9) 100%
  );
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.8);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-input-wrapper:hover {
  box-shadow: 0 8px 30px rgba(0, 112, 255, 0.12);
  border-color: rgba(0, 112, 255, 0.2);
  transform: translateY(-2px);
}

.search-input-wrapper:focus-within {
  box-shadow: 0 8px 32px rgba(0, 112, 255, 0.2);
  border-color: rgba(0, 112, 255, 0.4);
  background: white;
}

.search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #0070ff;
  font-size: 22px;
  z-index: 1;
  pointer-events: none;
  transition: all 0.3s ease;
}

.search-input-wrapper:focus-within .search-icon {
  color: #0056cc;
  transform: translateY(-50%) scale(1.1);
}

.search-input {
  width: 100%;
  padding: 16px 50px 16px 52px;
  border: none;
  background: transparent;
  font-size: 15px;
  font-weight: 500;
  color: #2c3e50;
  transition: all 0.3s ease;
}

.search-input::placeholder {
  color: #a0a0a0;
}

.search-input:focus {
  outline: none;
}

.clear-search-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  padding: 6px;
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
  z-index: 2;
}

.clear-search-btn.active {
  display: flex;
}

.clear-search-btn:hover {
  background: rgba(0, 112, 255, 0.1);
  color: #0070ff;
  transform: translateY(-50%) scale(1.1);
}

.clear-search-btn i {
  font-size: 20px;
}

.show-all-btn {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  background: linear-gradient(135deg, #64748b 0%, #475569 100%);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(100, 116, 139, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.show-all-btn.active {
  display: inline-flex;
}

.show-all-btn:hover {
  background: linear-gradient(135deg, #475569 0%, #334155 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(100, 116, 139, 0.4);
}

.show-all-btn:active {
  transform: translateY(0);
}

.show-all-btn i {
  font-size: 18px;
}

/* No search results message */
.no-search-results {
  text-align: center;
  padding: 40px 20px;
  color: #666;
}

.no-search-results i {
  font-size: 48px;
  color: #ddd;
  margin-bottom: 15px;
  display: block;
}

.no-search-results h3 {
  margin: 0 0 10px 0;
  color: #999;
  font-size: 20px;
  font-weight: 600;
}

.no-search-results p {
  margin: 0;
  color: #aaa;
  font-size: 15px;
}

@media (max-width: 768px) {
  .search-wrapper {
    flex-direction: column;
    gap: 10px;
  }

  .search-input-wrapper {
    width: 100%;
    min-width: unset;
  }

  .show-all-btn {
    width: 100%;
    justify-content: center;
  }

  .jelentkezo-fo-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .hozzarendelt-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ===== Pollák Kapcsolat Oldal Stílusok ===== */

/* Kapcsolat gomb stílusok */
.contact-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 35px;
  background: linear-gradient(135deg, #0070ff 0%, #4a90e2 100%);
  color: white;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1.1rem;
  box-shadow: 0 5px 15px rgba(0, 112, 255, 0.3);
  transition: all 0.3s ease;
}

.contact-link-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 112, 255, 0.4);
}

.contact-link-btn i {
  font-size: 22px;
}

/* Kapcsolat szekció stílusok */
.contact-section {
  padding: 60px 20px;
  background: rgba(255, 255, 255, 0.95);
  min-height: 80vh;
}

.contact-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.info-header {
  margin-bottom: 40px;
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 15px;
}

.section-description {
  font-size: 1.1rem;
  color: #546e7a;
}

.info-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.contact-info-card {
  background: white;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 112, 255, 0.08);
  display: flex;
  align-items: flex-start;
  align-items: center;
  gap: 20px;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 112, 255, 0.1);
}

.contact-info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 112, 255, 0.15);
  border-color: rgba(0, 112, 255, 0.2);
}

.contact-info-icon {
  width: 60px;
  height: 60px;
  min-width: 60px;
  background: linear-gradient(135deg, #0070ff 0%, #4a90e2 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-icon i {
  font-size: 28px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-info-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 8px;
}

.contact-info-content p {
  font-size: 0.95rem;
  color: #546e7a;
  margin: 0;
}

.contact-info-content a {
  color: #0070ff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-info-content a:hover {
  color: #4a90e2;
  text-decoration: underline;
}

/* Térkép stílusok */
.map-container {
  background: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 112, 255, 0.08);
  border: 1px solid rgba(0, 112, 255, 0.1);
  position: sticky;
  top: 100px;
}

.map-header {
  margin-bottom: 25px;
  text-align: center;
}

.map-wrapper {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 112, 255, 0.1);
  margin-bottom: 20px;
}

.map-wrapper iframe {
  display: block;
  width: 100%;
}

.map-footer {
  text-align: center;
}

.map-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  background: linear-gradient(135deg, #0070ff 0%, #4a90e2 100%);
  color: white;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.map-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 112, 255, 0.4);
}

.map-button i {
  font-size: 20px;
}

/* Gyors kapcsolat szekció */
.quick-contact-section {
  padding: 60px 20px;
  background: linear-gradient(135deg, #0070ff 0%, #4a90e2 100%);
}

.quick-contact-container {
  max-width: 1200px;
  margin: 0 auto;
}

.quick-contact-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.quick-contact-icon {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quick-contact-icon i {
  font-size: 40px;
  color: white;
}

.quick-contact-text {
  flex: 1;
  color: white;
}

.quick-contact-text h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.quick-contact-text p {
  font-size: 1.1rem;
  opacity: 0.9;
}

.quick-contact-actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary {
  background: white;
  color: #0070ff;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.2);
  color: #0070ff;
  border: 2px solid white;
}

.btn-secondary:hover {
  background: white;
  color: #0070ff;
}

/* Reszponzív design - Kapcsolat oldal */
@media (max-width: 1024px) {
  .contact-container {
    grid-template-columns: 1fr;
  }

  .map-container {
    position: static;
  }
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }

  .info-cards {
    grid-template-columns: 1fr;
  }

  .contact-info-card {
    padding: 20px;
  }

  .quick-contact-content {
    flex-direction: column;
    text-align: center;
  }

  .quick-contact-actions {
    justify-content: center;
    width: 100%;
  }

  .btn-primary,
  .btn-secondary {
    flex: 1;
    justify-content: center;
    min-width: 150px;
  }

  .contact-link-btn {
    padding: 12px 25px;
    font-size: 1rem;
  }
}
