/* === DODATKOWE STYLE DLA SYSTEMU PODAŃ === */
/* Ten plik zawiera tylko style specyficzne dla systemu podań */

/* === BLOKOWANIE ZAZNACZANIA TEKSTU NA STRONIE PODAŃ === */
html, body {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  overflow-x: hidden !important;
  margin: 0;
  padding: 0;
  background: #0D0D0F;
}

/* Wyjątki dla pól formularza - muszą być zaznaczalne */
input, textarea, select {
  -webkit-user-select: text !important;
  -moz-user-select: text !important;
  -ms-user-select: text !important;
  user-select: text !important;
}

/* --- UŁOŻENIE NAWIGACJI W ZAKŁADCE PODAŃ (JAK W REGULAMINIE) --- */
@media (min-width: 993px) {
  .navbar {
    display: flex;
  }

  .nav-menu {
    flex: 1;
    justify-content: center;
    gap: 2rem;
  }

  /* Stałe ramiona po bokach, by menu było idealnie wyśrodkowane */
  .status-left,
  .status-right {
    flex: 0 0 170px;
    min-height: 56px;
    display: flex;
    align-items: center;
  }

  .status-left {
    justify-content: flex-start;
  }

  .status-right {
    margin-left: auto;
    justify-content: flex-end;
  }
}

/* --- SEKCJA PODAŃ --- */
.podania-section {
  padding: 60px 5% 100px;
  text-align: center;
  background: transparent;
  background-image: none;
  position: relative;
  min-height: auto;
  margin-top: -80px;
}

/* Bez dodatkowej przyciemnionej nakładki – treść stoi na filmie */
.podania-section::before {
  display: none;
}

.podania-section > * {
  position: relative;
  z-index: 1;
}
.podania-container {
  max-width: 1400px;
  margin: 0 auto;
}

/* --- USTAWIENIE HERO + PODANIA BEZ DODATKOWEGO SCROLLOWANIA --- */
.hero-section {
  position: relative;
  height: auto;
  min-height: 520px;
  padding: 80px 5% 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Zastepcze tlo gdy wideo nie jest ladowane (telefon / oszczedzanie danych) */
.hero-section.no-video {
    background:
        radial-gradient(ellipse at 30% 20%, rgba(154, 3, 170, 0.28) 0%, transparent 55%),
        radial-gradient(ellipse at 75% 80%, rgba(112, 2, 122, 0.22) 0%, transparent 55%),
        #0b0c10;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(13, 13, 15, 0.5) 0%, rgba(13, 13, 15, 0.95) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  margin-bottom: 4vw;
}

.hero-content h1 {
  font-family: var(--font-headings);
  font-size: clamp(1.4rem, 3.2vw, 2.8rem);
  color: white;
  margin-bottom: 1.2rem;
  min-height: 1.2em;
  text-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.dynamic-text {
  color: white;
  white-space: nowrap;
}

.hero-content p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.hero-content .cursor {
  color: var(--purple-light);
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

/* Widok jak na regulaminie – treść i kafelki wyśrodkowane pionowo */
.podania-hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 5vw 2vw;
  position: relative;
}

.podania-hero-body {
  width: 100%;
  max-width: 1400px;
  position: relative;
  z-index: 2;
}

/* === TRYB KONSERWACJI / PRACE TECHNICZNE === */
.maintenance-hero {
  justify-content: center;
  align-items: center;
}

.maintenance-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 600px;
  padding: 0 20px;
}

.maintenance-icon {
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, rgba(154, 3, 170, 0.2) 0%, rgba(154, 3, 170, 0.1) 100%);
  border: 2px solid rgba(154, 3, 170, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
  animation: iconPulse 3s ease-in-out infinite;
}

.maintenance-icon i {
  font-size: 3rem;
  color: var(--purple-light);
}

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

.maintenance-content h1 {
  font-family: var(--font-headings);
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: white;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.maintenance-message {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin-bottom: 40px;
}

.maintenance-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: #e7e7e7;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.maintenance-btn:hover {
  color: white;
  transform: translateY(-3px);
  border-color: var(--purple-light);
  background: linear-gradient(135deg, rgba(112, 2, 122, 0.15), rgba(112, 2, 122, 0.08));
  text-decoration: none;
}

.maintenance-btn i {
  font-size: 1rem;
}

@media (max-width: 768px) {
  .maintenance-icon {
    width: 100px;
    height: 100px;
  }
  
  .maintenance-icon i {
    font-size: 2.5rem;
  }
  
  .maintenance-content h1 {
    font-size: 1.8rem;
  }
  
  .maintenance-message {
    font-size: 1rem;
  }
}

@media (max-width: 992px) {
  .hero-section {
    padding: 80px 5% 50px;
    min-height: 420px;
  }

  .podania-section {
    margin-top: -40px;
    padding: 60px 5% 80px;
  }

  .podania-hero {
    min-height: 100vh;
    padding: 5vw 2vw;
  }
}

/* === LOBBY EKRAN WYBORU KATEGORII === */
.lobby-screen {
  padding: 30px 0;
}

.lobby-header {
  margin-bottom: 40px;
}

.lobby-title {
  font-family: var(--font-headings);
  font-size: 2.8rem;
  font-weight: 800;
  margin: 0 0 12px 0;
  letter-spacing: 1px;
}

.lobby-gradient {
  color: var(--purple-light);
}

.lobby-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  font-weight: 500;
}

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

.category-card {
  background: rgba(29, 29, 32, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(56, 56, 63, 0.9);
  border-radius: 15px;
  padding: 24px 20px;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.25);
  min-height: 210px;
}

.category-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(255,255,255,0.08), transparent 25%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.category-card:hover {
  transform: translateY(-10px);
  border-color: rgba(154, 3, 170, 0.9);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.category-card:hover::after {
  opacity: 1;
}

.category-icon {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: all 0.2s ease;
  position: relative;
}

.category-icon::before {
  content: none;
}

.category-card:hover .category-icon {
  transform: translateY(-2px);
}

.fracciones-icon {
  background: rgba(59, 130, 246, 0.14);
  border: 1px solid rgba(59, 130, 246, 0.22);
  box-shadow: 0 6px 16px rgba(59, 130, 246, 0.18);
}

.fracciones-icon i {
  font-size: 2.1rem;
  color: #3b82f6;
}

.firmas-icon {
  background: rgba(251, 191, 36, 0.14);
  border: 1px solid rgba(251, 191, 36, 0.22);
  box-shadow: 0 6px 16px rgba(251, 191, 36, 0.18);
}

.firmas-icon i {
  font-size: 2.1rem;
  color: #fbbf24;
}

.crime-icon {
  background: rgba(239, 68, 68, 0.14);
  border: 1px solid rgba(239, 68, 68, 0.22);
  box-shadow: 0 6px 16px rgba(239, 68, 68, 0.18);
}

.crime-icon i {
  font-size: 2.1rem;
  color: #ef4444;
}

.media-icon {
  background: rgba(139, 92, 246, 0.14);
  border: 1px solid rgba(139, 92, 246, 0.22);
  box-shadow: 0 6px 16px rgba(139, 92, 246, 0.18);
}

.media-icon i {
  font-size: 2.1rem;
  color: #8b5cf6;
}

.staff-icon {
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.22);
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.18);
}

.staff-icon i {
  font-size: 2.1rem;
  color: #10b981;
}

.category-name {
  font-family: var(--font-headings);
  font-size: 1.8rem;
  font-weight: 800;
  color: white;
  margin: 0 0 10px 0;
  transition: color 0.3s ease;
}

.category-card:hover .category-name {
  color: var(--purple-light);
}

.category-desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .category-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .category-card {
    padding: 40px 25px;
  }
  
  .category-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
  }
  
  .category-icon i {
    font-size: 2.5rem;
  }
  
  .category-name {
    font-size: 1.5rem;
  }
  
  .lobby-title {
    font-size: 2.5rem;
  }
  
  .lobby-subtitle {
    font-size: 1.1rem;
  }
}

/* Section Header Tabs (Styl jak side-switcher) */
.section-header-tabs {
  display: flex;
  width: fit-content;
  margin: 0 auto 40px auto;
  gap: 4px;
  background: rgba(20, 20, 24, 0.45);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 30px;
  padding: 6px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  justify-content: center;
  flex-wrap: wrap;
}

.tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 25px;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.tab-btn i {
  font-size: 1rem;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.tab-btn:hover {
  color: white;
}

.tab-btn:hover i {
  transform: scale(1.15) rotate(5deg);
}

.tab-btn.active {
  background: linear-gradient(135deg, rgba(154, 3, 170, 0.22) 0%, rgba(154, 3, 170, 0.08) 100%);
  color: #d8b4fe;
  border: 1px solid rgba(154, 3, 170, 0.45);
  box-shadow: 0 0 20px rgba(154, 3, 170, 0.3);
  text-shadow: 0 0 8px rgba(154, 3, 170, 0.5);
}

.podania-section h2 {
  font-family: var(--font-headings);
  font-size: 2.5rem;
  margin-bottom: 40px;
}
.podania-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  max-width: 1400px;
  margin: 0 auto;
  align-items: stretch;
}

/* --- KARTY PODAŃ --- */
.application-card {
  background: rgba(20, 20, 24, 0.85);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
  overflow: hidden;
  position: relative;
  width: 100%;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(12px);
}

.application-card:hover {
  transform: translateY(-4px);
  border-color: rgba(154, 3, 170, 0.3);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(154, 3, 170, 0.15);
}

/* Subtelna linia na górze */
.application-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(154, 3, 170, 0.4), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 24px 24px 0 24px;
  margin-bottom: 20px;
  position: relative;
}

.card-icon {
  width: 48px;
  height: 48px;
  background: rgba(154, 3, 170, 0.15);
  border: 1px solid rgba(154, 3, 170, 0.25);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.card-icon i {
  font-size: 1.25rem;
  color: var(--purple-light);
}

.application-card:hover .card-icon {
  background: rgba(154, 3, 170, 0.2);
  border-color: rgba(154, 3, 170, 0.4);
}

.card-status {
  display: flex;
  align-items: center;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.status-active {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.status-active i {
  font-size: 0.5rem;
}

.card-content {
  padding: 0 24px;
  margin-bottom: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: visible;
}

.card-title {
  font-size: 1.4rem;
  font-family: var(--font-headings);
  font-weight: 700;
  color: white;
  margin-bottom: 12px;
  line-height: 1.3;
}

.card-description {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 4.4rem;
  position: relative;
  cursor: default;
}

/* Wskaźnik, że opis można rozwinąć - gradient fade na końcu */
.card-description::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 20px;
  background: linear-gradient(to bottom, transparent, rgba(20, 20, 24, 0.95));
  opacity: 1;
  pointer-events: none;
}

/* Overlay z pełnym opisem - pokazuje się po kliknięciu */
.card-description-overlay {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  background: rgba(20, 20, 24, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 0;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: 
    opacity 0.3s cubic-bezier(0.23, 1, 0.32, 1),
    transform 0.3s cubic-bezier(0.23, 1, 0.32, 1),
    visibility 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  pointer-events: none;
  z-index: 10000;
  width: 90%;
  max-width: 500px;
  max-height: 70vh;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(20px) saturate(180%);
  word-wrap: break-word;
}

.card-description-overlay.active {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
  pointer-events: auto;
}

/* Tło dla overlay (backdrop) - osobny element */
.overlay-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  pointer-events: none;
}

.overlay-backdrop.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Header overlay */
.overlay-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.overlay-header span {
  font-size: 1rem;
  font-weight: 600;
  color: white;
}

.close-overlay-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.85rem;
}

.close-overlay-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

/* Content overlay */
.overlay-content {
  padding: 20px;
  overflow-y: auto;
  flex: 1;
  font-size: 0.92rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
}

.overlay-content::-webkit-scrollbar {
  width: 5px;
}

.overlay-content::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

.overlay-content::-webkit-scrollbar-thumb {
  background: rgba(154, 3, 170, 0.4);
  border-radius: 10px;
}


/* Wrapper dla opisu z overlay */
.card-description-wrapper {
  position: relative;
  margin-bottom: 20px;
  display: inline-block;
  width: 100%;
}

/* Przycisk rozwiń opis */
.expand-description-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  margin-top: 6px;
  background: transparent;
  border: 1px solid rgba(154, 3, 170, 0.25);
  border-radius: 999px;
  color: var(--purple-light);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: inherit;
}

.expand-description-btn:hover {
  background: rgba(154, 3, 170, 0.1);
  border-color: rgba(154, 3, 170, 0.4);
}

.expand-description-btn i {
  font-size: 0.75rem;
  transition: transform 0.3s ease;
}

.expand-description-btn.active i {
  transform: rotate(180deg);
}

/* Ukryj overlay na małych ekranach */
@media (max-width: 768px) {
  .card-description-overlay {
    display: none !important;
  }
}

.card-features {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  flex-shrink: 0;
  padding: 8px 0;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.feature-item i {
  color: var(--purple-light);
  font-size: 0.8rem;
}

.card-footer {
  padding: 20px 24px 24px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: auto;
  flex-shrink: 0;
  border-radius: 0 0 16px 16px;
}

.apply-btn, .login-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  width: 100%;
  justify-content: center;
}

.apply-btn {
  background: var(--purple-light);
  color: white;
  border: none;
}

.apply-btn:hover {
  background: var(--purple);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(154, 3, 170, 0.35);
  color: white;
  text-decoration: none;
}

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

.login-btn {
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.login-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  color: white;
  text-decoration: none;
  transform: translateY(-2px);
}

/* --- NAVBAR NA GÓRZE EKRANU --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 5%;
  display: flex;
  align-items: center;
  gap: 24px;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  transition: all var(--transition-speed) ease-in-out;
}

/* Ukrycie stopki tylko na stronie podań */
.footer {
  display: none;
}

.podania-category-active .navbar {
  display: none;
}

.podania-category-active .hero-section {
  justify-content: flex-start;
  padding-top: 60px;
}

/* Copyright wycentrowany na dole ekranu (jak w regulaminie) */
.podania-copyright {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.85rem;
  color: var(--text-secondary, rgba(255,255,255,0.7));
  opacity: 0.7;
  letter-spacing: 0.5px;
  pointer-events: none;
  z-index: 2;
}

.navbar.scrolled {
  background: rgba(13, 13, 15, 0.8);
  backdrop-filter: blur(10px);
  padding: 0.85rem 5%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-menu {
  display: flex;
  flex: 1;
  gap: 2rem;
  align-items: center;
  justify-content: center;
}

.nav-link {
  color: #e7e7e7;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  transition: all 0.3s ease;
  padding: 10px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  border-radius: 999px;
  letter-spacing: 0.3px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: none;
}

.nav-link:hover,
.nav-link.active {
  color: white;
  transform: translateY(-3px);
  border-color: var(--purple-light);
  box-shadow: none;
  background: linear-gradient(135deg, rgba(112, 2, 122, 0.15), rgba(112, 2, 122, 0.08));
}

.nav-link::after {
  display: none;
}

.nav-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: white;
}

@media (max-width: 992px) {
  .nav-toggle {
    display: block;
    z-index: 1001;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(10px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: 0.5s ease-in-out;
    z-index: 1000;
  }

  .nav-menu.active {
    right: 0;
  }

  .player-count-container.soon-status {
    display: none;
  }
}

/* SEKCJA FORMULARZA - Główne style */
.form-section {
  padding-top: 120px; /* Większy padding na górze aby tytuł nie był zakryty przez navbar */
  padding-bottom: 80px;
  padding-left: 5%;
  padding-right: 5%;
  min-height: calc(100vh - 80px);
  background: var(--dark-bg);
  position: relative;
}

/* Tło z obrazkiem dla sekcji formularza - NA STAŁE */
/* Obrazek tlo.png ma wymiary 1200x675 (proporcje ~16:9) */
.form-section-with-bg {
  background-image: url('/podania/assets/tlo.png') !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-color: #0D0D0F !important; /* Ciemne tło jako fallback */
  /* Optymalizacja wydajności - usunięto background-attachment: fixed */
  transform: translateZ(0);
  will-change: auto;
  backface-visibility: hidden;
}

/* Zawsze używaj cover aby obrazek wypełniał cały ekran bez czarnych pasków */
.form-section-with-bg {
  background-size: cover !important;
  background-position: center center !important;
}

.form-section-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(13, 13, 15, 0.5); /* Lżejsza nakładka aby obrazek był bardziej widoczny */
  z-index: 1;
  pointer-events: none;
}

.form-section-with-bg .form-container {
  position: relative;
  z-index: 2;
}

/* === SEKCJA FORMULARZA Z VIDEO W TLE === */
.form-section-with-video {
  position: relative;
  overflow: hidden;
}

.form-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.form-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(13, 13, 15, 0.6) 0%, rgba(13, 13, 15, 0.92) 100%);
  z-index: 1;
  pointer-events: none;
}

.form-section-with-video .form-container {
  position: relative;
  z-index: 2;
}

/* === PRZYCISK WRÓĆ NA STRONIE FORMULARZA === */
.form-back-btn {
  position: fixed;
  top: 25px;
  left: 25px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  color: #e7e7e7;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  transition: all 0.3s ease;
  z-index: 100;
  backdrop-filter: blur(10px);
}

.form-back-btn:hover {
  color: white;
  transform: translateY(-3px);
  border-color: var(--purple-light);
  background: linear-gradient(135deg, rgba(112, 2, 122, 0.15), rgba(112, 2, 122, 0.08));
  text-decoration: none;
}

.form-back-btn i {
  font-size: 0.9rem;
  transition: transform 0.3s ease;
}

.form-back-btn:hover i {
  transform: translateX(-3px);
}

.applications-section {
  padding: 40px 5% 80px 5%;
  min-height: calc(100vh - 80px);
  background: var(--dark-bg);
}

/* --- PROFIL UŻYTKOWNIKA --- */
.user-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.user-profile {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  padding: 8px 16px;
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.user-profile:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(154, 3, 170, 0.3);
  transform: translateY(-2px);
}

.user-profile img {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  border: 2px solid var(--purple-light);
  object-fit: cover;
  transition: all 0.3s ease;
}

.user-profile:hover img {
  border-color: var(--purple);
  box-shadow: 0 0 15px rgba(154, 3, 170, 0.4);
}

.user-profile span {
  color: white;
  font-weight: 600;
  font-size: 0.95rem;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--gray);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  min-width: 200px;
  z-index: 1000;
  display: none;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  color: var(--light-gray);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dropdown-menu a:last-child {
  border-bottom: none;
}

.dropdown-menu a:hover {
  background: rgba(154, 3, 170, 0.1);
  color: white;
  padding-left: 25px;
}

.dropdown-menu a i {
  width: 16px;
  text-align: center;
  color: var(--purple-light);
  font-size: 0.9rem;
}

.discord-login-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.02);
  color: #e7e7e7;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: none;
  letter-spacing: 0.3px;
  line-height: 1;
}

.discord-login-btn:hover {
  transform: translateY(-3px);
  color: white;
  text-decoration: none;
  border-color: var(--purple-light);
  background: linear-gradient(135deg, rgba(112, 2, 122, 0.15), rgba(112, 2, 122, 0.08));
  box-shadow: none;
}

.discord-login-btn i {
  font-size: 1rem;
  color: #5865F2;
}

/* --- KARTA BRAKU PODAŃ --- */
.no-applications-card {
  background: var(--gray);
  padding: 60px 40px;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
}

.no-applications-card i {
  font-size: 4rem;
  color: var(--purple-light);
  margin-bottom: 20px;
  opacity: 0.7;
}

.no-applications-card h3 {
  font-family: var(--font-headings);
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: white;
}

.no-applications-card p {
  color: var(--light-gray);
  font-size: 1.1rem;
}

/* --- SEKCJA FORMULARZA (dodatkowe style) --- */
/* .form-section jest już zdefiniowane wyżej - te style są dla innego kontekstu */
.form-container {
  max-width: 900px;
  margin: 0 auto;
}
.form-section h2 {
  font-family: var(--font-headings);
  font-size: 3rem;
  margin-bottom: 50px;
}

/* === NOWE POWIADOMIENIE SUKCESU === */
.success-notification {
  width: 100%;
  max-width: 700px;
  margin: 0 auto 40px auto;
  animation: notificationEntrance 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes notificationEntrance {
  0% {
    opacity: 0;
    transform: scale(0.8) translateY(-30px);
  }
  60% {
    transform: scale(1.05) translateY(0);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.success-notification-container {
  background: linear-gradient(135deg, rgba(20, 20, 23, 0.98) 0%, rgba(15, 15, 18, 1) 100%);
  border: 2px solid rgba(16, 185, 129, 0.25);
  border-radius: 32px;
  padding: 60px 50px;
  box-shadow: 
    0 25px 80px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset,
    0 10px 40px rgba(16, 185, 129, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(30px) saturate(180%);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.success-notification-container::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  height: 3px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(16, 185, 129, 0.8) 25%,
    rgba(16, 185, 129, 1) 50%,
    rgba(16, 185, 129, 0.8) 75%,
    transparent 100%);
  animation: borderShine 3s infinite;
}

@keyframes borderShine {
  0%, 100% { opacity: 0.5; transform: translateX(-100%); }
  50% { opacity: 1; transform: translateX(100%); }
}

.success-notification-container::after {
  content: '';
  position: absolute;
  top: -150%;
  left: -150%;
  width: 300%;
  height: 300%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.05) 0%, transparent 70%);
  animation: glowPulse 4s infinite ease-in-out;
}

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

/* Ikona sukcesu z animacją */
.success-icon-wrapper {
  position: relative;
  width: 140px;
  height: 140px;
  margin: 0 auto 40px auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.success-icon-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.25) 0%, rgba(16, 185, 129, 0.1) 70%, transparent 100%);
  animation: iconBgPulse 2s infinite ease-in-out;
}

@keyframes iconBgPulse {
  0%, 100% { 
    transform: scale(1);
    opacity: 0.8;
  }
  50% { 
    transform: scale(1.15);
    opacity: 1;
  }
}

.success-icon {
  font-size: 5.5rem;
  color: #10b981;
  position: relative;
  z-index: 3;
  animation: iconScaleIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s both,
             iconGlow 2s infinite ease-in-out;
  filter: drop-shadow(0 0 20px rgba(16, 185, 129, 0.8));
}

@keyframes iconScaleIn {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes iconGlow {
  0%, 100% {
    filter: drop-shadow(0 0 20px rgba(16, 185, 129, 0.6));
  }
  50% {
    filter: drop-shadow(0 0 35px rgba(16, 185, 129, 1));
  }
}

/* Cząstki efekty */
.success-particle {
  position: absolute;
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  opacity: 0;
  box-shadow: 0 0 10px #10b981;
}

.success-particle-1 {
  top: 10%;
  left: 10%;
  animation: particleExplosion1 1.2s ease-out 0.5s both;
}

.success-particle-2 {
  top: 10%;
  right: 10%;
  animation: particleExplosion2 1.2s ease-out 0.6s both;
}

.success-particle-3 {
  bottom: 10%;
  left: 10%;
  animation: particleExplosion3 1.2s ease-out 0.7s both;
}

.success-particle-4 {
  bottom: 10%;
  right: 10%;
  animation: particleExplosion4 1.2s ease-out 0.8s both;
}

@keyframes particleExplosion1 {
  0% {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(60px, -60px) scale(0);
  }
}

@keyframes particleExplosion2 {
  0% {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(-60px, -60px) scale(0);
  }
}

@keyframes particleExplosion3 {
  0% {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(60px, 60px) scale(0);
  }
}

@keyframes particleExplosion4 {
  0% {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(-60px, 60px) scale(0);
  }
}

/* Treść */
.success-content {
  position: relative;
  z-index: 2;
  margin-bottom: 40px;
}

.success-title {
  font-family: var(--font-headings);
  font-size: 2.5rem;
  font-weight: 800;
  color: white;
  margin: 0 0 20px 0;
  text-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
  animation: titleSlideIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.4s both;
}

@keyframes titleSlideIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.success-message {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  margin: 0;
  animation: messageSlideIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.5s both;
}

@keyframes messageSlideIn {
  0% {
    opacity: 0;
    transform: translateY(15px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Przycisk */
.success-button {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 18px 50px;
  background: linear-gradient(135deg, var(--purple-light) 0%, var(--purple) 100%);
  border: 2px solid rgba(154, 3, 170, 0.3);
  border-radius: 16px;
  color: white;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 
    0 10px 30px rgba(154, 3, 170, 0.4),
    0 0 0 0 rgba(154, 3, 170, 0.7);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
  animation: buttonEntrance 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.6s both;
}

@keyframes buttonEntrance {
  0% {
    opacity: 0;
    transform: scale(0.9) translateY(20px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.success-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
}

.success-button:hover::before {
  left: 100%;
}

.success-button:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 
    0 15px 45px rgba(154, 3, 170, 0.5),
    0 0 0 3px rgba(154, 3, 170, 0.3);
  border-color: var(--purple-light);
}

.success-button:active {
  transform: translateY(-2px) scale(1);
}

.success-button i {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.success-button:hover i {
  transform: translateX(5px);
}

/* Responsive */
@media (max-width: 768px) {
  .success-notification-container {
    padding: 40px 25px;
    border-radius: 24px;
  }
  
  .success-icon-wrapper {
    width: 100px;
    height: 100px;
  }
  
  .success-icon {
    font-size: 4rem;
  }
  
  .success-title {
    font-size: 2rem;
  }
  
  .success-message {
    font-size: 1rem;
  }
  
  .success-button {
    padding: 15px 35px;
    font-size: 0.95rem;
  }
}

/* === POWIADOMIENIE OSTRZEGAWCA (WARNING) === */
.warning-notification {
  width: 100%;
  max-width: 700px;
  margin: 0 auto 40px auto;
  animation: notificationEntrance 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.warning-notification-container {
  background: linear-gradient(135deg, rgba(20, 20, 23, 0.98) 0%, rgba(15, 15, 18, 1) 100%);
  border: 2px solid rgba(245, 158, 11, 0.25);
  border-radius: 32px;
  padding: 60px 50px;
  box-shadow: 
    0 25px 80px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset,
    0 10px 40px rgba(245, 158, 11, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(30px) saturate(180%);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.warning-notification-container::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  height: 3px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(245, 158, 11, 0.8) 25%,
    rgba(245, 158, 11, 1) 50%,
    rgba(245, 158, 11, 0.8) 75%,
    transparent 100%);
  animation: borderShine 3s infinite;
}

.warning-notification-container::after {
  content: '';
  position: absolute;
  top: -150%;
  left: -150%;
  width: 300%;
  height: 300%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.05) 0%, transparent 70%);
  animation: glowPulse 4s infinite ease-in-out;
}

/* Ikona warning */
.warning-icon-wrapper {
  position: relative;
  width: 140px;
  height: 140px;
  margin: 0 auto 40px auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.warning-icon-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.25) 0%, rgba(245, 158, 11, 0.1) 70%, transparent 100%);
  animation: iconBgPulse 2s infinite ease-in-out;
}

.warning-icon {
  font-size: 5.5rem;
  color: #f59e0b;
  position: relative;
  z-index: 3;
  animation: iconScaleIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s both,
             warningIconGlow 2s infinite ease-in-out;
  filter: drop-shadow(0 0 20px rgba(245, 158, 11, 0.8));
}

@keyframes warningIconGlow {
  0%, 100% {
    filter: drop-shadow(0 0 20px rgba(245, 158, 11, 0.6));
  }
  50% {
    filter: drop-shadow(0 0 35px rgba(245, 158, 11, 1));
  }
}

/* Cząstki warning */
.warning-particle {
  position: absolute;
  width: 8px;
  height: 8px;
  background: #f59e0b;
  border-radius: 50%;
  opacity: 0;
  box-shadow: 0 0 10px #f59e0b;
}

.warning-particle-1 {
  top: 10%;
  left: 10%;
  animation: particleExplosion1 1.2s ease-out 0.5s both;
}

.warning-particle-2 {
  top: 10%;
  right: 10%;
  animation: particleExplosion2 1.2s ease-out 0.6s both;
}

.warning-particle-3 {
  bottom: 10%;
  left: 10%;
  animation: particleExplosion3 1.2s ease-out 0.7s both;
}

.warning-particle-4 {
  bottom: 10%;
  right: 10%;
  animation: particleExplosion4 1.2s ease-out 0.8s both;
}

/* Treść warning */
.warning-content {
  position: relative;
  z-index: 2;
  margin-bottom: 40px;
}

.warning-title {
  font-family: var(--font-headings);
  font-size: 2.5rem;
  font-weight: 800;
  color: white;
  margin: 0 0 20px 0;
  text-shadow: 0 0 20px rgba(245, 158, 11, 0.3);
  animation: titleSlideIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.4s both;
}

.warning-message {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  margin: 0 0 25px 0;
  animation: messageSlideIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.5s both;
}

.warning-id {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 12px;
  color: #f59e0b;
  font-size: 1rem;
  font-weight: 600;
  animation: messageSlideIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.6s both;
}

.warning-id i {
  font-size: 0.9rem;
  opacity: 0.8;
}

.warning-id strong {
  font-weight: 800;
  color: white;
  text-shadow: 0 0 10px rgba(245, 158, 11, 0.5);
}

/* Przycisk warning */
.warning-button {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 18px 50px;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  border: 2px solid rgba(245, 158, 11, 0.3);
  border-radius: 16px;
  color: white;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 
    0 10px 30px rgba(245, 158, 11, 0.4),
    0 0 0 0 rgba(245, 158, 11, 0.7);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
  animation: buttonEntrance 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.6s both;
}

.warning-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
}

.warning-button:hover::before {
  left: 100%;
}

.warning-button:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 
    0 15px 45px rgba(245, 158, 11, 0.5),
    0 0 0 3px rgba(245, 158, 11, 0.3);
  border-color: #fbbf24;
}

.warning-button:active {
  transform: translateY(-2px) scale(1);
}

.warning-button i {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.warning-button:hover i {
  transform: scale(1.1);
}

/* Responsive warning */
@media (max-width: 768px) {
  .warning-notification-container {
    padding: 40px 25px;
    border-radius: 24px;
  }
  
  .warning-icon-wrapper {
    width: 100px;
    height: 100px;
  }
  
  .warning-icon {
    font-size: 4rem;
  }
  
  .warning-title {
    font-size: 2rem;
  }
  
  .warning-message {
    font-size: 1rem;
  }
  
  .warning-id {
    padding: 10px 16px;
    font-size: 0.9rem;
  }
  
  .warning-button {
    padding: 15px 35px;
    font-size: 0.95rem;
  }
}

/* === POWIADOMIENIE BŁĘDU (ERROR) === */
.error-notification {
  width: 100%;
  max-width: 700px;
  margin: 0 auto 40px auto;
  animation: notificationEntrance 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.error-notification-container {
  background: linear-gradient(135deg, rgba(20, 20, 23, 0.98) 0%, rgba(15, 15, 18, 1) 100%);
  border: 2px solid rgba(239, 68, 68, 0.25);
  border-radius: 32px;
  padding: 60px 50px;
  box-shadow: 
    0 25px 80px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset,
    0 10px 40px rgba(239, 68, 68, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(30px) saturate(180%);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.error-notification-container::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  height: 3px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(239, 68, 68, 0.8) 25%,
    rgba(239, 68, 68, 1) 50%,
    rgba(239, 68, 68, 0.8) 75%,
    transparent 100%);
  animation: borderShine 3s infinite;
}

.error-notification-container::after {
  content: '';
  position: absolute;
  top: -150%;
  left: -150%;
  width: 300%;
  height: 300%;
  background: radial-gradient(circle, rgba(239, 68, 68, 0.05) 0%, transparent 70%);
  animation: glowPulse 4s infinite ease-in-out;
}

/* Ikona error */
.error-icon-wrapper {
  position: relative;
  width: 140px;
  height: 140px;
  margin: 0 auto 40px auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.error-icon-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(239, 68, 68, 0.25) 0%, rgba(239, 68, 68, 0.1) 70%, transparent 100%);
  animation: iconBgPulse 2s infinite ease-in-out;
}

.error-icon {
  font-size: 5.5rem;
  color: #ef4444;
  position: relative;
  z-index: 3;
  animation: iconScaleIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s both,
             errorIconGlow 2s infinite ease-in-out;
  filter: drop-shadow(0 0 20px rgba(239, 68, 68, 0.8));
}

@keyframes errorIconGlow {
  0%, 100% {
    filter: drop-shadow(0 0 20px rgba(239, 68, 68, 0.6));
  }
  50% {
    filter: drop-shadow(0 0 35px rgba(239, 68, 68, 1));
  }
}

/* Cząstki error */
.error-particle {
  position: absolute;
  width: 8px;
  height: 8px;
  background: #ef4444;
  border-radius: 50%;
  opacity: 0;
  box-shadow: 0 0 10px #ef4444;
}

.error-particle-1 {
  top: 10%;
  left: 10%;
  animation: particleExplosion1 1.2s ease-out 0.5s both;
}

.error-particle-2 {
  top: 10%;
  right: 10%;
  animation: particleExplosion2 1.2s ease-out 0.6s both;
}

.error-particle-3 {
  bottom: 10%;
  left: 10%;
  animation: particleExplosion3 1.2s ease-out 0.7s both;
}

.error-particle-4 {
  bottom: 10%;
  right: 10%;
  animation: particleExplosion4 1.2s ease-out 0.8s both;
}

/* Treść error */
.error-content {
  position: relative;
  z-index: 2;
}

.error-title {
  font-family: var(--font-headings);
  font-size: 2.5rem;
  font-weight: 800;
  color: white;
  margin: 0 0 20px 0;
  text-shadow: 0 0 20px rgba(239, 68, 68, 0.3);
  animation: titleSlideIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.4s both;
}

.error-message {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  margin: 0;
  animation: messageSlideIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.5s both;
}

/* Responsive error */
@media (max-width: 768px) {
  .error-notification-container {
    padding: 40px 25px;
    border-radius: 24px;
  }
  
  .error-icon-wrapper {
    width: 100px;
    height: 100px;
  }
  
  .error-icon {
    font-size: 4rem;
  }
  
  .error-title {
    font-size: 2rem;
  }
  
  .error-message {
    font-size: 1rem;
  }
}

/* --- KARTY BŁĘDU (STARA) --- */
.error-card {
  background: linear-gradient(145deg, rgba(26, 26, 29, 0.98) 0%, rgba(17, 17, 19, 1) 100%);
  padding: 50px 40px;
  border-radius: 25px;
  border: 2px solid rgba(239, 68, 68, 0.3);
  text-align: center;
  max-width: 650px;
  margin: 0 auto 30px auto;
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset,
    0 4px 15px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(20px) saturate(180%);
  position: relative;
  overflow: hidden;
}

.error-card i {
  font-size: 4.5rem;
  margin-bottom: 25px;
  display: inline-block;
  color: #ef4444;
  text-shadow: 0 0 30px rgba(239, 68, 68, 0.4);
}

.error-card h3 {
  font-family: var(--font-headings);
  font-size: 2rem;
  margin-bottom: 15px;
  color: white;
}

.error-card p {
  color: var(--light-gray);
  margin-bottom: 30px;
  font-size: 1.05rem;
  line-height: 1.6;
}

/* --- WRAPPER FORMULARZA --- */
.form-wrapper {
  background: var(--gray);
  padding: 40px;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  text-align: left;
}

/* --- ELEMENTY FORMULARZA --- */
.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: white;
  font-weight: 500;
  font-size: 1rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
  padding: 12px 16px;
  background: var(--dark-bg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: white;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--purple-light);
  box-shadow: 0 0 0 3px rgba(154, 3, 170, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* --- GRUPY CHECKBOX I RADIO --- */
.checkbox-group, .radio-group {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.checkbox-group input, .radio-group input {
  width: auto;
  margin: 0;
}

.checkbox-group label, .radio-group label {
  margin: 0;
  cursor: pointer;
  color: var(--light-gray);
}

/* --- NAGŁÓWKI I SEPARATORY FORMULARZA --- */
.form-header {
  color: var(--purple-light);
  margin-top: 30px;
  margin-bottom: 15px;
  border-bottom: 2px solid var(--purple);
  padding-bottom: 8px;
  font-size: 1.3rem;
  font-weight: 600;
  font-family: var(--font-headings);
  text-shadow: 0 0 10px rgba(154, 3, 170, 0.5);
}

.form-paragraph {
  color: var(--light-gray);
  margin-bottom: 20px;
  line-height: 1.6;
  font-size: 1rem;
}

.form-separator {
  border: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--purple-light), transparent);
  margin: 40px 0;
  border-radius: 1px;
}

/* --- POWIADOMIENIE WALIDACJI --- */
.validation-notification {
    background: rgba(239, 68, 68, 0.15);
    border: 2px solid #ef4444;
    border-radius: 15px;
    padding: 0;
    margin-bottom: 30px;
    animation: slideDown 0.3s ease-out;
    box-shadow: 0 4px 20px rgba(239, 68, 68, 0.2);
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 10;
}

.validation-notification[style*="display: block"],
.validation-notification.show {
    display: block !important;
}

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

.validation-notification-content {
    padding: 0;
}

.validation-notification-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 25px;
    background: rgba(239, 68, 68, 0.1);
    border-bottom: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 15px 15px 0 0;
}

.validation-notification-header h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    font-family: var(--font-headings);
}

.validation-notification-header i {
    color: #ef4444;
    font-size: 1.5rem;
}

.validation-close {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #ef4444;
    border-radius: 8px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.validation-close:hover {
    background: rgba(239, 68, 68, 0.3);
    transform: scale(1.1);
}

.validation-notification-body {
    padding: 25px;
}

.validation-intro {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin-bottom: 15px;
    font-weight: 500;
}

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

.validation-errors-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    margin-bottom: 10px;
    background: rgba(239, 68, 68, 0.1);
    border-left: 3px solid #ef4444;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.95rem;
    animation: fadeIn 0.3s ease-out;
    animation-fill-mode: backwards;
}

.validation-errors-list li:nth-child(1) { animation-delay: 0.05s; }
.validation-errors-list li:nth-child(2) { animation-delay: 0.1s; }
.validation-errors-list li:nth-child(3) { animation-delay: 0.15s; }
.validation-errors-list li:nth-child(4) { animation-delay: 0.2s; }
.validation-errors-list li:nth-child(5) { animation-delay: 0.25s; }

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

.validation-errors-list li i {
    color: #ef4444;
    font-size: 0.6rem;
}

.validation-errors-list li span {
    flex: 1;
}

/* --- OZNACZENIA BŁĘDÓW W POLACH --- */
.form-group.has-error label {
    color: #ef4444;
}

.form-group.has-error input,
.form-group.has-error textarea,
.form-group.has-error select {
    border-color: #ef4444 !important;
    background: rgba(239, 68, 68, 0.05);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
}

.form-group.has-error input:focus,
.form-group.has-error textarea:focus,
.form-group.has-error select:focus {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2) !important;
}

.input-error {
    border-color: #ef4444 !important;
    background: rgba(239, 68, 68, 0.05) !important;
}

.form-group.has-error .checkbox-group,
.form-group.has-error .radio-group {
    padding: 10px;
    background: rgba(239, 68, 68, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.required-star {
  color: #ef4444;
  font-weight: bold;
  margin-left: 3px;
  text-shadow: 0 0 5px rgba(239, 68, 68, 0.5);
}

/* --- PRZYCISK WYSYŁANIA --- */
.form-submit {
  text-align: center;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.form-submit .btn,
.form-submit button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 40px;
  background: linear-gradient(135deg, var(--purple-light) 0%, var(--purple) 100%);
  border: none;
  border-radius: 12px;
  color: white;
  font-family: var(--font-headings);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.form-submit .btn:hover,
.form-submit button[type="submit"]:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-light) 100%);
}

.form-submit .btn:active,
.form-submit button[type="submit"]:active {
  transform: translateY(-1px);
}

.form-submit .btn i,
.form-submit button[type="submit"] i {
  font-size: 1rem;
}

/* === MOJE PODANIA - STYL GŁÓWNEJ STRONY PODAŃ === */

/* Grid dla kart podań */
.moje-podania-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  max-width: 1400px;
  margin: 0 auto;
}

/* Karty podań */
.moje-podania-card {
  background: rgba(20, 20, 24, 0.85);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
  overflow: hidden;
  position: relative;
  backdrop-filter: blur(12px);
}

.moje-podania-card:hover {
  transform: translateY(-4px);
  border-color: rgba(154, 3, 170, 0.3);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(154, 3, 170, 0.15);
}

/* Linia statusu na górze karty */
.moje-podania-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--purple-light);
  transition: background 0.3s ease;
}

.moje-podania-card.status-oczekujące::before { background: #fbbf24; }
.moje-podania-card.status-zatwierdzone::before { background: #34d399; }
.moje-podania-card.status-odrzucone::before { background: #f87171; }

.moje-podania-card .card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 24px 24px 0 24px;
  margin-bottom: 16px;
}

.moje-podania-card .card-icon {
  width: 48px;
  height: 48px;
  background: rgba(154, 3, 170, 0.15);
  border: 1px solid rgba(154, 3, 170, 0.25);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.moje-podania-card .card-icon i {
  font-size: 1.25rem;
  color: var(--purple-light);
}

.moje-podania-card .card-content {
  padding: 0 24px 24px 24px;
}

.moje-podania-card .card-id {
  font-size: 0.8rem;
  color: var(--light-gray);
  margin-bottom: 8px;
  font-weight: 600;
}

.moje-podania-card .card-title {
  font-family: var(--font-headings);
  font-size: 1.3rem;
  color: white;
  margin: 0 0 12px 0;
}

.moje-podania-card .card-date {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  margin-bottom: 16px;
}

.moje-podania-card .card-date i {
  color: var(--purple-light);
}

/* Status badge */
.moje-podania-card .status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.moje-podania-card .status-badge i {
  font-size: 0.5rem;
}

.moje-podania-card .status-badge.status-oczekujące {
  background: rgba(251, 191, 36, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.3);
}

.moje-podania-card .status-badge.status-zatwierdzone {
  background: rgba(52, 211, 153, 0.15);
  color: #34d399;
  border: 1px solid rgba(52, 211, 153, 0.3);
}

.moje-podania-card .status-badge.status-odrzucone {
  background: rgba(248, 113, 113, 0.15);
  color: #f87171;
  border: 1px solid rgba(248, 113, 113, 0.3);
}

/* Komentarz */
.moje-podania-card .card-comment {
  background: rgba(154, 3, 170, 0.08);
  border: 1px solid rgba(154, 3, 170, 0.15);
  border-radius: 10px;
  padding: 14px;
  margin-top: 12px;
}

.moje-podania-card .card-comment .comment-header {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--purple-light);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.moje-podania-card .card-comment p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

/* Empty state */
.moje-podania-empty {
  background: rgba(20, 20, 24, 0.85);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 60px 40px;
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
  backdrop-filter: blur(12px);
}

.moje-podania-empty .empty-icon-box {
  width: 80px;
  height: 80px;
  background: rgba(154, 3, 170, 0.15);
  border: 1px solid rgba(154, 3, 170, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.moje-podania-empty .empty-icon-box i {
  font-size: 2rem;
  color: var(--purple-light);
}

.moje-podania-empty h3 {
  font-family: var(--font-headings);
  font-size: 1.5rem;
  color: white;
  margin-bottom: 12px;
}

.moje-podania-empty p {
  color: var(--light-gray);
  font-size: 1rem;
  margin-bottom: 24px;
  line-height: 1.6;
}

/* Akcja na dole */
.moje-podania-action {
  text-align: center;
  margin-top: 40px;
}

/* Responsive */
@media (max-width: 768px) {
  .moje-podania-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .moje-podania-card .card-header {
    padding: 20px 20px 0 20px;
  }
  
  .moje-podania-card .card-content {
    padding: 0 20px 20px 20px;
  }
  
  .moje-podania-empty {
    padding: 40px 25px;
  }
}

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

.page-header {
  text-align: center;
  margin-bottom: 60px;
  animation: fadeInDown 0.6s ease-out;
}

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

.page-header h1 {
  font-family: var(--font-headings);
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: white;
  margin-bottom: 20px;
  text-shadow: 0 0 40px rgba(154, 3, 170, 0.4);
}

.page-header h1 .gradient-text {
  text-shadow: none;
}

.page-header p {
  color: var(--light-gray);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* === EMPTY STATE === */
.empty-state {
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(145deg, rgba(26, 26, 29, 0.85) 0%, rgba(17, 17, 19, 0.9) 100%);
  border-radius: 28px;
  border: 1px solid rgba(154, 3, 170, 0.25);
  backdrop-filter: blur(20px);
  box-shadow: 
    0 15px 50px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset;
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

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

.empty-state::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(154, 3, 170, 0.05) 0%, transparent 70%);
  animation: rotateGlow 20s linear infinite;
}

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

.empty-icon {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, var(--purple-light) 0%, var(--purple) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
  box-shadow: 
    0 15px 40px rgba(154, 3, 170, 0.4),
    0 0 0 3px rgba(154, 3, 170, 0.1);
  position: relative;
  z-index: 2;
  animation: iconFloat 3s ease-in-out infinite;
}

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

.empty-icon i {
  font-size: 2.5rem;
  color: white;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.empty-state h3 {
  font-family: var(--font-headings);
  font-size: 2rem;
  color: white;
  margin-bottom: 15px;
  position: relative;
  z-index: 2;
}

.empty-state p {
  color: var(--light-gray);
  font-size: 1.1rem;
  margin-bottom: 30px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  position: relative;
  z-index: 2;
}

/* === LISTA PODAŃ === */
.applications-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-bottom: 50px;
}

.app-card {
  background: linear-gradient(145deg, rgba(26, 26, 29, 0.85) 0%, rgba(17, 17, 19, 0.9) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 35px;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: 
    0 10px 40px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.03) inset;
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
  animation: cardFadeIn 0.6s ease-out both;
}

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

.app-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--purple-light), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.app-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(154, 3, 170, 0.03) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
}

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

.app-card:hover::after {
  opacity: 1;
}

.app-card:hover {
  transform: translateY(-8px);
  border-color: rgba(154, 3, 170, 0.4);
  box-shadow: 
    0 20px 60px rgba(154, 3, 170, 0.25),
    0 0 0 1px rgba(154, 3, 170, 0.1) inset,
    0 5px 20px rgba(154, 3, 170, 0.15);
}

.app-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 25px;
  gap: 25px;
  position: relative;
  z-index: 2;
}

.app-title {
  flex: 1;
}

.app-meta {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.app-id {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: var(--light-gray);
  font-size: 0.85rem;
  font-weight: 600;
}

.app-id i {
  font-size: 0.75rem;
  opacity: 0.8;
}

.app-title h3 {
  font-family: var(--font-headings);
  font-size: 1.6rem;
  font-weight: 800;
  color: white;
  margin: 0 0 15px 0;
  line-height: 1.3;
  text-shadow: 0 0 20px rgba(154, 3, 170, 0.3);
}

.app-date {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--light-gray);
  font-size: 0.95rem;
  padding: 8px 14px;
  background: rgba(154, 3, 170, 0.08);
  border: 1px solid rgba(154, 3, 170, 0.15);
  border-radius: 12px;
  width: fit-content;
}

.app-date i {
  color: var(--purple-light);
  font-size: 1rem;
}

/* === STATUSY PROFESJONALNE Z ANIMACJĄ === */
.app-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 16px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  animation: statusEntrance 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes statusEntrance {
  0% {
    opacity: 0;
    transform: scale(0.9) translateY(5px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.status-text {
  position: relative;
  z-index: 3;
}

.status-dot {
  position: relative;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
  z-index: 3;
  animation: dotPulse 2s infinite ease-in-out;
}

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

/* --- OCZEKUJĄCE (POMARAŃCZOWY) --- */
.status-pending {
  background: linear-gradient(135deg, rgba(20, 20, 23, 0.95) 0%, rgba(15, 15, 18, 1) 100%);
  color: #fbbf24;
  border: 2px solid rgba(251, 191, 36, 0.3);
  box-shadow: 
    0 8px 20px rgba(251, 191, 36, 0.25),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset;
  backdrop-filter: blur(10px);
}

.status-pending::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(251, 191, 36, 0.8) 25%,
    rgba(251, 191, 36, 1) 50%,
    rgba(251, 191, 36, 0.8) 75%,
    transparent 100%);
  animation: borderShine 3s infinite;
}

.status-pending::after {
  content: '';
  position: absolute;
  top: -100%;
  left: -100%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.1) 0%, transparent 70%);
  animation: statusGlow 4s infinite ease-in-out;
}

@keyframes statusGlow {
  0%, 100% { opacity: 0; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.2); }
}

.status-pending .status-dot {
  background: #fbbf24;
  box-shadow: 
    0 0 12px rgba(251, 191, 36, 0.9),
    0 0 24px rgba(251, 191, 36, 0.5);
}

/* --- ZATWIERDZONE (ZIELONY) --- */
.status-approved {
  background: linear-gradient(135deg, rgba(20, 20, 23, 0.95) 0%, rgba(15, 15, 18, 1) 100%);
  color: #34d399;
  border: 2px solid rgba(52, 211, 153, 0.3);
  box-shadow: 
    0 8px 20px rgba(52, 211, 153, 0.25),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset;
  backdrop-filter: blur(10px);
}

.status-approved::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(52, 211, 153, 0.8) 25%,
    rgba(52, 211, 153, 1) 50%,
    rgba(52, 211, 153, 0.8) 75%,
    transparent 100%);
  animation: borderShine 3s infinite;
}

.status-approved::after {
  content: '';
  position: absolute;
  top: -100%;
  left: -100%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(52, 211, 153, 0.1) 0%, transparent 70%);
  animation: statusGlow 4s infinite ease-in-out;
}

.status-approved .status-dot {
  background: #34d399;
  box-shadow: 
    0 0 12px rgba(52, 211, 153, 0.9),
    0 0 24px rgba(52, 211, 153, 0.5);
}

/* --- ODRZUCONE (CZERWONY) --- */
.status-rejected {
  background: linear-gradient(135deg, rgba(20, 20, 23, 0.95) 0%, rgba(15, 15, 18, 1) 100%);
  color: #f87171;
  border: 2px solid rgba(248, 113, 113, 0.3);
  box-shadow: 
    0 8px 20px rgba(248, 113, 113, 0.25),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset;
  backdrop-filter: blur(10px);
}

.status-rejected::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(248, 113, 113, 0.8) 25%,
    rgba(248, 113, 113, 1) 50%,
    rgba(248, 113, 113, 0.8) 75%,
    transparent 100%);
  animation: borderShine 3s infinite;
}

.status-rejected::after {
  content: '';
  position: absolute;
  top: -100%;
  left: -100%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(248, 113, 113, 0.1) 0%, transparent 70%);
  animation: statusGlow 4s infinite ease-in-out;
}

.status-rejected .status-dot {
  background: #f87171;
  box-shadow: 
    0 0 12px rgba(248, 113, 113, 0.9),
    0 0 24px rgba(248, 113, 113, 0.5);
}

/* === KOMENTARZ === */
.app-comment {
  background: linear-gradient(135deg, rgba(154, 3, 170, 0.08) 0%, rgba(154, 3, 170, 0.03) 100%);
  border-radius: 16px;
  padding: 25px;
  border: 2px solid rgba(154, 3, 170, 0.2);
  margin-top: 25px;
  position: relative;
  z-index: 2;
  box-shadow: 
    0 4px 15px rgba(154, 3, 170, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.comment-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
  color: var(--purple-light);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.comment-header i {
  font-size: 1.1rem;
}

.comment-content {
  color: rgba(255, 255, 255, 0.9);
  font-style: normal;
  line-height: 1.7;
  font-size: 1rem;
}

.comment-text {
  margin-bottom: 15px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.show-more-btn {
  background: rgba(154, 3, 170, 0.2);
  border: 2px solid var(--purple-light);
  color: var(--purple-light);
  padding: 10px 18px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.show-more-btn:hover {
  background: rgba(154, 3, 170, 0.3);
  border-color: var(--purple);
  color: var(--purple);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(154, 3, 170, 0.3);
}

.show-more-btn i {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

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

/* === PRZYCISKI === */
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 40px;
  background: linear-gradient(135deg, var(--purple-light) 0%, var(--purple) 100%);
  color: white;
  text-decoration: none;
  border-radius: 16px;
  font-weight: 700;
  font-size: 1.05rem;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 
    0 10px 30px rgba(154, 3, 170, 0.4),
    0 0 0 0 rgba(154, 3, 170, 0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 2px solid rgba(154, 3, 170, 0.3);
  position: relative;
  overflow: hidden;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 
    0 15px 45px rgba(154, 3, 170, 0.5),
    0 0 0 3px rgba(154, 3, 170, 0.3);
  border-color: var(--purple-light);
  color: white;
  text-decoration: none;
}

.cta-button:active {
  transform: translateY(-2px) scale(1);
}

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

.cta-button:hover i {
  transform: scale(1.15);
}

.page-actions {
  text-align: center;
  margin-top: 60px;
  animation: fadeInUp 0.6s ease-out 0.3s both;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .page-header h1 {
    font-size: 2.5rem;
  }
  
  .app-card {
    padding: 25px 20px;
  }
  
  .app-title h3 {
    font-size: 1.3rem;
  }
  
  .app-meta {
    gap: 10px;
  }
  
  .app-id {
    font-size: 0.8rem;
    padding: 5px 10px;
  }
  
  .app-header {
    flex-direction: column;
    gap: 15px;
  }
  
  .app-status {
    align-self: flex-start;
  }
  
  .container {
    padding: 0 15px;
  }
  
  .cta-button {
    padding: 15px 30px;
    font-size: 0.95rem;
  }
  
  .empty-icon {
    width: 80px;
    height: 80px;
  }
  
  .empty-icon i {
    font-size: 2rem;
  }
}

/* --- AKTYWNY LINK W DROPDOWN --- */
.dropdown-menu a.active {
  background: rgba(154, 3, 170, 0.2);
  color: var(--purple-light);
}

/* --- RESPONSIVE DESIGN DLA SYSTEMU PODAŃ --- */
@media (max-width: 992px) {
  .podania-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
  .faction-card {
    width: 100%;
    max-width: 400px;
  }
  .applications-grid {
    grid-template-columns: 1fr;
  }
  .form-wrapper {
    padding: 30px 20px;
  }
}

@media (max-width: 768px) {
  .podania-section h2,
  .form-section h2,
  .applications-section h2 {
    font-size: 2.5rem;
  }
  .faction-card {
    height: 400px;
  }
  .faction-info {
    padding: 20px;
  }
  .faction-info h3 {
    font-size: 1.5rem;
  }
  .application-card {
    padding: 20px;
  }
  .application-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .application-status {
    align-self: flex-start;
  }
}

@media (max-width: 480px) {
  .podania-section h2,
  .form-section h2,
  .applications-section h2 {
    font-size: 2rem;
  }
  .faction-card {
    height: 350px;
  }
  .faction-info {
    padding: 15px;
  }
  .faction-info h3 {
    font-size: 1.3rem;
  }
  .application-card {
    padding: 15px;
  }
  .application-header h3 {
    font-size: 1.1rem;
  }
  .form-wrapper {
    padding: 20px 15px;
  }
  .form-group input,
  .form-group textarea,
  .form-group select {
    padding: 10px 12px;
    font-size: 0.9rem;
  }
}

/* ==========================================================================
   NOWE STYLE DLA STREFY LEGALNEJ / CRIME (JASNA I CIEMNA STRONA)
   ========================================================================== */

/* Modern Side Switcher (Szklany design z animacjami) */
.side-switcher {
  display: inline-flex;
  background: rgba(20, 20, 24, 0.45);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 30px;
  padding: 6px;
  margin: 0 auto 35px auto;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  position: relative;
  z-index: 10;
  gap: 4px;
}

.switch-btn {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.55);
  padding: 12px 28px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 25px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: var(--font-headings);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.switch-btn i {
  font-size: 1rem;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.switch-btn:hover {
  color: white;
}

.switch-btn:hover i {
  transform: scale(1.15) rotate(5deg);
}

/* Stan aktywny - Strefa Legalna (Fiolet/Niebieski) */
.switch-btn.active#btn-legal-side {
  background: linear-gradient(135deg, rgba(154, 3, 170, 0.22) 0%, rgba(154, 3, 170, 0.08) 100%);
  color: #d8b4fe;
  border: 1px solid rgba(154, 3, 170, 0.45);
  box-shadow: 0 0 20px rgba(154, 3, 170, 0.3);
  text-shadow: 0 0 8px rgba(154, 3, 170, 0.5);
}

/* Stan aktywny - Strefa Crime (Czerwień/Krwisty) */
.switch-btn.active#btn-crime-side {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.2) 0%, rgba(239, 68, 68, 0.06) 100%);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.45);
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.25);
  text-shadow: 0 0 8px rgba(239, 68, 68, 0.5);
}

/* Klasa ukrywająca siatkę kafelków */
.d-none {
  display: none !important;
}

/* Płynna animacja przejścia siatki */
.category-grid {
  animation: gridFadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

/* Nowe kafelki w Strefie Crime */
.organizations-icon {
  background: rgba(245, 158, 11, 0.12); /* Bursztynowy */
  border: 1px solid rgba(245, 158, 11, 0.22);
  box-shadow: 0 6px 16px rgba(245, 158, 11, 0.15);
}

.organizations-icon i {
  font-size: 2.1rem;
  color: #f59e0b;
}

.gangs-icon {
  background: rgba(239, 68, 68, 0.12); /* Krwistoczerwony */
  border: 1px solid rgba(239, 68, 68, 0.22);
  box-shadow: 0 6px 16px rgba(239, 68, 68, 0.15);
}

.gangs-icon i {
  font-size: 2.1rem;
  color: #ef4444;
}

/* Premium podświetlenie hover dla Crime kart */
.category-card.crime-card:hover {
  border-color: rgba(239, 68, 68, 0.7);
  box-shadow: 0 10px 30px rgba(239, 68, 68, 0.12), 0 10px 30px rgba(0, 0, 0, 0.5);
}

.category-card.crime-card:hover .category-name.crime-text {
  color: #fca5a5;
  text-shadow: 0 0 10px rgba(239, 68, 68, 0.3);
}

/* Specjalne style dla zakładek Strefy Crime w podstronach */
.tab-btn-crime.active {
  background: rgba(239, 68, 68, 0.14) !important;
  border-color: rgba(239, 68, 68, 0.38) !important;
  color: #fca5a5 !important;
  box-shadow: 0 0 15px rgba(239, 68, 68, 0.2);
  text-shadow: 0 0 8px rgba(239, 68, 68, 0.4);
}

.tab-btn-crime:hover {
  background: rgba(239, 68, 68, 0.08) !important;
  border-color: rgba(239, 68, 68, 0.25) !important;
  color: white !important;
}