/* PTIPH Portal — modern UI */
:root{
  --bg:#0b1020;
  --bg-2:#0f1530;
  --card:#101a33;
  --ink:#e9eef7;
  --muted:#a7b0c2;
  --primary:#2aa6ff;
  --primary-700:#1780c9;
  --accent:#19e3aa;
  --outline:#1e2a4a;
  --shadow:0 6px 30px rgba(0,0,0,.35);
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0; font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
  background:transparent; color:var(--ink);
}
.page-body{opacity:0; transition:opacity .7s ease; background:linear-gradient(180deg,var(--bg),var(--bg-2))}
.page-body.is-fading{opacity:0}
.page-body.is-visible{opacity:1}
.page-loader{position:fixed; inset:0; background:linear-gradient(180deg, rgba(11,16,32,.92), rgba(11,16,32,.75)); display:flex; align-items:center; justify-content:center; z-index:2000; transition:opacity .4s ease, visibility .4s ease;}
.page-loader.hidden{opacity:0; visibility:hidden; pointer-events:none}
.loader-inner{position:relative; display:flex; flex-direction:column; align-items:center; gap:16px}
.loader-ring{width:78px; height:78px; border-radius:50%; border:3px solid rgba(148,163,184,.18); border-top-color:var(--primary); animation:spin 1.1s linear infinite; box-shadow:0 0 24px rgba(42,166,255,.35)}
.loader-dot{width:12px; height:12px; border-radius:50%; background:linear-gradient(135deg, var(--primary), var(--accent)); animation:pulse 1.4s ease-in-out infinite}
.loader-text{font-size:0.9rem; letter-spacing:0.3em; color:#cfe1ff; text-transform:uppercase}
/* Offset for fixed header */
main.site-main{padding-top:120px}
body.has-subnav main.site-main{padding-top:160px}
/* Fixed background (non-scrollable) */
body::before{
  content:""; position:fixed; inset:0; z-index:-1; pointer-events:none;
  background:
    radial-gradient(800px 300px at 20% 15%, rgba(41,156,255,.22), transparent 45%),
    radial-gradient(700px 260px at 80% 10%, rgba(25,227,170,.16), transparent 50%),
    linear-gradient(180deg,var(--bg),var(--bg-2));
}
.container{max-width:1160px; padding:0 20px; margin:0 auto}

/* Header */
.site-header{position:fixed; top:0; left:0; right:0; z-index:1000; backdrop-filter:saturate(1.2) blur(10px); background:linear-gradient(180deg, rgba(8,12,26,.66), rgba(8,12,26,.40)); border-bottom:1px solid var(--outline); transition:all .25s ease}
.site-header .container{position:relative; z-index:1001; display:flex; align-items:center; gap:20px; padding:18px 20px; margin-top:10px; margin-bottom:10px; border:1px solid var(--outline); border-radius:18px; background:linear-gradient(180deg, rgba(20,28,52,.75), rgba(10,16,34,.65)); box-shadow:0 14px 38px rgba(0,0,0,.4); transition:padding .25s ease, margin .25s ease, gap .2s ease}
.brand{display:flex; align-items:center; gap:12px; text-decoration:none; color:var(--ink)}
.brand-logo{height:72px; width:auto; filter:drop-shadow(0 6px 14px rgba(0,0,0,.4)); transition:height .25s ease}
.main-nav{margin-left:auto}
.nav-toggle{display:none; background:none; border:0; color:var(--ink); font-size:22px}
.main-nav ul{list-style:none; display:flex; gap:6px; margin:0; padding:4px; border-radius:12px; flex-wrap:wrap}
.main-nav a{position:relative; color:var(--ink); opacity:.9; text-decoration:none; padding:12px 14px; border-radius:12px; font-size:16px; transition:color .2s, background .2s, padding .25s ease, font-size .25s ease}
.main-nav a:hover{background:rgba(255,255,255,0.04)}
.main-nav a.is-active{background:linear-gradient(135deg, rgba(42,166,255,.15), rgba(25,227,170,.12));}
.main-nav a.is-active:after{content:""; position:absolute; left:12px; right:12px; bottom:6px; height:2px; border-radius:2px; background:linear-gradient(90deg, var(--primary), var(--accent)); box-shadow:0 0 16px rgba(25,227,170,.45)}
.auth-cta{position:relative; display:flex; align-items:center; gap:16px}
.lang-chip{position:fixed; top:14px; right:22px; display:inline-flex; align-items:center; gap:6px; padding:4px 10px; border-radius:999px; border:1px solid rgba(148,163,184,.24); background:rgba(10,18,34,.88); color:#cfe1ff; font-size:11px; text-transform:uppercase; letter-spacing:.1em; box-shadow:0 12px 24px rgba(6,12,26,.4); backdrop-filter:blur(12px); z-index:1100}
.lang-chip .divider{width:1px; height:12px; background:rgba(148,163,184,.35)}
.lang-chip a{color:inherit; text-decoration:none; padding:0 4px; border-radius:6px; transition:color .2s ease, background .2s ease}
.lang-chip a.active{background:linear-gradient(135deg, rgba(42,166,255,.28), rgba(25,227,170,.24)); color:#041220; font-weight:700}
.lang-chip a:hover{color:#7dd3ff}
.cta-stack{display:flex; flex-direction:column; align-items:center; gap:0; position:relative; width:max-content}
.cta-stack.logged-in{flex-direction:row; align-items:center; gap:10px}
.cta-stack.logged-in .btn.primary{min-width:0}
.cta-stack .btn.primary{display:flex; align-items:center; justify-content:center; min-width:180px; z-index:2}
.cta-stack .login-attached{display:block; margin-top:-2px; width:85%; border-top-left-radius:0; border-top-right-radius:0; border-bottom-left-radius:12px; border-bottom-right-radius:12px; background:rgba(255,255,255,.06); color:#cfe1ff; border:1px solid var(--outline); border-top:none; padding:6px 14px; font-size:13px; text-align:center; z-index:1}
.cta-stack .login-attached:hover{background:rgba(255,255,255,.1)}

/* Powiadomienia użytkownika (dzwonek w headerze) */
.notif-wrap{position:relative; display:inline-flex; align-items:center; justify-content:center}
.notif-btn{position:relative}
.notif-badge{position:absolute; top:-6px; right:-6px; min-width:18px; height:18px; padding:0 6px; border-radius:999px; background:linear-gradient(135deg, #ff5a7a, #ffb347); color:#091127; font-size:11px; font-weight:900; display:inline-flex; align-items:center; justify-content:center; box-shadow:0 8px 18px rgba(255, 90, 122, .35); border:1px solid rgba(255,255,255,.35)}
.notif-dropdown{position:absolute; right:0; top:calc(100% + 10px); width:min(420px, calc(100vw - 24px)); background:linear-gradient(180deg, rgba(18, 26, 52, .98), rgba(10, 16, 34, .98)); border:1px solid rgba(148,163,184,.22); border-radius:16px; box-shadow:0 24px 60px rgba(0,0,0,.55); overflow:hidden; display:none; z-index:1200}
.notif-dropdown.open{display:block}
.notif-head{display:flex; align-items:center; justify-content:space-between; gap:12px; padding:12px 14px; border-bottom:1px solid rgba(148,163,184,.18); background:linear-gradient(135deg, rgba(42,166,255,.10), rgba(25,227,170,.06))}
.notif-title{font-weight:800; color:#e8f0ff}
.notif-mark-all{background:transparent; border:1px solid rgba(148,163,184,.26); color:#cfe1ff; padding:7px 10px; border-radius:12px; font-weight:700; font-size:12px; cursor:pointer}
.notif-mark-all:hover{background:rgba(255,255,255,.06)}
.notif-list{max-height:420px; overflow:auto}
.notif-empty,.notif-loading{padding:18px 14px; color:#9fb3d8; display:flex; align-items:center; gap:10px}
.notif-item{width:100%; text-align:left; border:0; background:transparent; color:inherit; padding:12px 14px; display:flex; align-items:flex-start; gap:12px; cursor:pointer; border-bottom:1px solid rgba(148,163,184,.12)}
.notif-item:last-child{border-bottom:none}
.notif-item:hover{background:rgba(255,255,255,.04)}
.notif-item.is-unread{background:rgba(42,166,255,.06)}
.notif-ico{width:36px; height:36px; border-radius:12px; display:flex; align-items:center; justify-content:center; background:rgba(255,255,255,.06); border:1px solid rgba(148,163,184,.18); color:#7dd3ff; flex:0 0 36px}
.notif-body{display:flex; flex-direction:column; gap:6px; min-width:0}
.notif-text{color:#e8f0ff; font-weight:700; font-size:13px; line-height:1.35}
.notif-time{color:#9fb3d8; font-size:12px}
.btn{display:inline-flex; gap:8px; align-items:center; padding:10px 14px; border-radius:12px; text-decoration:none; color:var(--ink); border:1px solid var(--outline); background:linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.00)); font-size:15px}
.btn.primary{background:linear-gradient(135deg,var(--primary),#6fd0ff); color:#041220; border-color:transparent; font-weight:800; box-shadow:0 10px 24px rgba(42,166,255,.35)}
.btn.ghost{background:transparent}
.btn.full{width:100%; justify-content:center}
.btn:hover{transform:translateY(-1px)}
.btn.icon-only{min-width:0; width:44px; height:44px; padding:0; display:inline-flex; align-items:center; justify-content:center}
.btn.icon-only i{font-size:18px; line-height:1}
.site-header.compact .btn.icon-only{width:36px; height:36px}
.cta-stack .btn.icon-only{min-width:0 !important}
.sr-only{position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0}

/* Compact header on scroll */
.site-header.compact .container{padding:10px 12px; margin-top:6px; margin-bottom:6px; gap:18px; box-shadow:0 10px 30px rgba(0,0,0,.35)}
.site-header.compact .brand-logo{height:52px}
.site-header.compact .main-nav a{padding:8px 10px; border-radius:10px; font-size:14px}
.site-header.compact .btn{padding:8px 12px; border-radius:10px; font-size:14px}

/* Subnav panelu (cienki biały pasek przyklejony do dolnej krawędzi nagłówka) */
.panel-subnav{position:fixed; top:var(--panel-subnav-top, 106px); left:0; right:0; z-index:980; display:flex; justify-content:center; pointer-events:auto; transition:top .25s ease; isolation:isolate}
.panel-subnav .container{position:relative; background:rgba(255,255,255,.9); backdrop-filter:saturate(1.3) blur(14px); -webkit-backdrop-filter:saturate(1.3) blur(14px); color:#0b1020; border-bottom-left-radius:12px; border-bottom-right-radius:12px; border-top-left-radius:0; border-top-right-radius:0; border:1px solid rgba(255,255,255,.45); border-top:none; box-shadow:0 12px 28px rgba(0,0,0,.28), inset 0 0 1px rgba(255,255,255,.45); padding:12px 14px 6px; width:auto; display:inline-flex; align-items:center; justify-content:center; max-width:calc(100% - 20px); overflow:visible; pointer-events:auto}
.panel-subnav .container::before{content:""; position:absolute; left:0; right:0; top:-10px; height:12px; background:linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,0.55) 50%, rgba(255,255,255,1) 100%); pointer-events:none; z-index:0}
.site-header.compact + .panel-subnav .container{padding:4px 8px 0; border-bottom-left-radius:10px; border-bottom-right-radius:10px}
.panel-links{list-style:none; display:flex; gap:6px; margin:0; padding:0; white-space:nowrap; overflow:visible}
.panel-links a{display:inline-flex; align-items:center; gap:8px; text-decoration:none; color:#0b1020; padding:6px 10px; border-radius:10px; font-size:14px}
.panel-links a:hover{background:rgba(10,16,34,.06)}
.panel-links a.active{background:linear-gradient(135deg, rgba(42,166,255,.12), rgba(25,227,170,.1)); color:#041220}
.panel-links i{color:#0b1020}
/* Upewnij się, że webfont FA jest widoczny ponad innymi resetami */
i[class^="fa-"], i[class*=" fa-"]{font-family: var(--fa-style-family, "Font Awesome 6 Free"); font-weight: var(--fa-style,900);}

/* Dropdowny w panel-subnav */
.panel-links .has-children{position:relative}
.panel-drop{display:inline-flex; align-items:center; gap:8px; padding:6px 10px; border-radius:10px; border:1px solid transparent; background:transparent; color:#0b1020; font-size:14px; cursor:pointer}
.panel-drop:hover{background:rgba(10,16,34,.06)}
.panel-drop .caret{font-size:12px; color:#6b7280}
.submenu{display:none; position:absolute; top:100%; left:0; min-width:220px; background:#fff; border:1px solid rgba(0,0,0,.06); border-radius:12px; box-shadow:0 10px 30px rgba(0,0,0,.25); padding:8px; z-index:5000; overflow:visible}
.submenu a{display:flex; padding:10px 12px; border-radius:8px}
.submenu a:hover{background:rgba(10,16,34,.06)}
.has-children:hover > .submenu,.has-children.open > .submenu,.has-children:focus-within > .submenu,.panel-drop:hover + .submenu{display:block}
.has-children{pointer-events:auto}

/* Admin – atrakcyjna sekcja */
.panel-hero,.admin-hero{display:grid; grid-template-columns:1.2fr .8fr; gap:20px; margin-bottom:20px; align-items:stretch}
.panel-hero .ph-left,.admin-hero .ah-left{background:linear-gradient(135deg, rgba(42,166,255,.12), rgba(25,227,170,.08)); border:1px solid var(--outline); border-radius:16px; padding:24px; box-shadow:var(--shadow)}
.panel-hero h1,.admin-hero h1{margin:0 0 8px}
.admin-hero h1 i{color:#19e3aa}
.admin-hero .ah-sub{color:#cfe1ff; margin:0 0 14px}
.ah-actions{display:flex; gap:10px; flex-wrap:wrap}
.panel-kpis,.admin-kpis{display:grid; grid-template-columns:repeat(2,1fr); gap:12px}
.kpi-card{background:rgba(255,255,255,.03); border:1px solid var(--outline); border-radius:16px; padding:18px; text-align:center}
.kpi-num{font-size:26px; font-weight:800}
.kpi-label{font-size:12px; color:#9fb3d8}

.admin-modules.grid.three{display:grid; grid-template-columns:repeat(auto-fit,minmax(320px,1fr)); gap:18px}
.a-card{background:rgba(255,255,255,.02); border:1px solid var(--outline); border-radius:16px; overflow:hidden; transition:border-color .2s, box-shadow .2s}
.a-card:hover{border-color:#23406d; box-shadow:0 16px 40px rgba(0,0,0,.35)}
.a-head{display:flex; align-items:center; gap:10px; padding:14px 16px; border-bottom:1px solid var(--outline)}
.a-head i{color:#19e3aa}
.a-body{padding:16px}
.a-body.muted{color:#9fb3d8}

/* Accordiony admina pełnej szerokości */
.admin-accordions{display:flex; flex-direction:column; gap:12px}
.panel-accordions{display:flex; flex-direction:column; gap:18px}
.acc{border:1px solid var(--outline); border-radius:14px; background:rgba(255,255,255,.02); overflow:hidden}
.acc[open]{box-shadow:0 16px 40px rgba(0,0,0,.35)}
.acc > summary{list-style:none; cursor:pointer; padding:14px 16px; display:flex; align-items:center; gap:10px; font-weight:700; background:linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.00))}
.acc > summary::-webkit-details-marker{display:none}
.acc .acc-body{padding:16px}
.inline-form{display:flex; gap:8px; flex-wrap:wrap; margin-bottom:12px}
.inline-form input,.inline-form select{padding:10px 12px; border:1px solid var(--outline); border-radius:10px; background:#0f1530; color:var(--ink)}

/* Companies — improved tiled cards */
.companies-grid{display:grid; grid-template-columns:repeat(auto-fit, minmax(320px,1fr)); gap:24px}
.company-card{
  background:linear-gradient(145deg, rgba(255,255,255,.05), rgba(255,255,255,.02)); 
  border:1px solid var(--outline); 
  border-radius:20px; 
  padding:24px; 
  transition:all .3s ease; 
  position:relative; 
  overflow:hidden;
  display:flex;
  flex-direction:column;
  min-height:360px;
}
.company-card.add-new{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;cursor:pointer;border:1px dashed rgba(148,163,184,.45);background:rgba(15,23,42,.4);box-shadow:0 0 0 rgba(0,0,0,0);min-height:360px;}
.company-card.add-new:before{display:none}
.company-card.add-new .add-icon{width:64px;height:64px;border-radius:18px;display:flex;align-items:center;justify-content:center;background:rgba(42,166,255,.18);border:1px solid rgba(42,166,255,.45);color:var(--accent);font-size:28px;box-shadow:0 0 24px rgba(42,166,255,.25)}
.company-card.add-new h3{margin:0;color:#e5edff;font-size:18px;font-weight:700;text-align:center}
.company-card.add-new p{margin:0;color:#9fb3d8;font-size:14px;text-align:center;max-width:220px}
.company-card.add-new:hover{border-color:rgba(42,166,255,.7);box-shadow:0 20px 50px rgba(0,0,0,.35);transform:translateY(-4px)}
.company-card:before{
  content:""; 
  position:absolute; 
  top:-50%; 
  right:-50%; 
  width:100%; 
  height:100%; 
  border-radius:50%; 
  background:radial-gradient(closest-side, rgba(42,166,255,.06), transparent); 
  filter:blur(20px); 
  transition:opacity .3s ease; 
  opacity:0; 
  z-index:0
}
.company-card:hover:before{opacity:1}
.company-card:hover{border-color:#23406d; box-shadow:0 20px 50px rgba(0,0,0,.4); transform:translateY(-4px)}

/* Header with logo and flag */
.company-header{display:flex; align-items:center; justify-content:space-between; margin-bottom:16px; position:relative; z-index:1}
.company-logo{
  width:56px; 
  height:56px; 
  border-radius:16px; 
  display:flex; 
  align-items:center; 
  justify-content:center; 
  background:rgba(255,255,255,.98); 
  border:2px solid var(--outline); 
  overflow:hidden; 
  position:relative; 
  padding:6px; 
  box-shadow:0 4px 16px rgba(0,0,0,.15);
  transition:transform .3s ease
}
.company-logo img{width:100%; height:100%; object-fit:contain; border-radius:10px}
.company-logo i{color:var(--muted); font-size:24px}
.company-card:hover .company-logo{transform:scale(1.08)}
.country-flag{
  width:32px; 
  height:24px; 
  border-radius:6px; 
  overflow:hidden; 
  border:1px solid var(--outline); 
  box-shadow:0 2px 8px rgba(0,0,0,.2)
}
.country-flag img{width:100%; height:100%; object-fit:cover}

/* Company information */
.company-info{position:relative; z-index:1; margin-bottom:16px}
.company-info h3{
  margin:0 0 10px; 
  font-size:18px; 
  font-weight:700; 
  color:var(--ink); 
  line-height:1.25;
  word-break:break-word;
}
.company-description{
  color:var(--muted); 
  margin:0 0 16px; 
  font-size:14px; 
  line-height:1.55; 
  word-break:break-word;
}
.company-details{
  display:flex; 
  flex-direction:column; 
  gap:8px; 
  margin-bottom:16px; 
  padding:12px; 
  background:rgba(255,255,255,.03); 
  border-radius:12px; 
  border:1px solid rgba(255,255,255,.08);
}
.company-details span{
  color:#cfe1ff; 
  font-size:13px; 
  font-weight:500; 
  display:flex; 
  align-items:center; 
  gap:10px;
  flex-wrap:wrap;
}
.company-details i{color:var(--accent); font-size:14px; min-width:16px}

/* Contact section */
.company-contact{
  margin-bottom:18px; 
  padding:14px; 
  background:rgba(255,255,255,.04); 
  border-radius:14px; 
  border:1px solid rgba(255,255,255,.08);
  position:relative; 
  z-index:1;
}
.contact-info p{
  margin:0 0 8px; 
  color:#b8c9e8; 
  font-size:14px; 
  display:flex; 
  align-items:center; 
  gap:10px;
  word-break:break-word;
}
.contact-info p:last-child{margin-bottom:0}
.contact-info i{color:var(--primary); font-size:14px; min-width:16px}
.contact-info a{color:#7dd3c0; text-decoration:none; transition:color .2s ease}
.contact-info a:hover{color:var(--accent); text-decoration:underline}
.premium-required{
  text-align:center; 
  color:var(--muted); 
  font-size:13px; 
  display:flex; 
  align-items:center; 
  justify-content:center; 
  gap:8px; 
  padding:8px
}
.premium-required i{color:#ffd700; font-size:16px}

/* Action buttons */
.company-actions{
  margin-top:auto;
  display:flex; 
  gap:8px; 
  flex-wrap:wrap; 
  position:relative; 
  z-index:1
}
.action-btn{
  padding:10px 16px; 
  border-radius:12px; 
  border:1px solid var(--outline); 
  background:rgba(255,255,255,.05); 
  color:var(--ink); 
  text-decoration:none; 
  display:flex; 
  align-items:center; 
  gap:8px; 
  cursor:pointer; 
  transition:all .2s ease; 
  font-size:13px; 
  font-weight:600; 
  flex:1; 
  justify-content:center; 
  min-width:0
}
.action-btn i{font-size:14px}
.action-btn.primary{
  background:linear-gradient(135deg,var(--primary),#6fd0ff); 
  color:#041220; 
  border-color:transparent; 
  box-shadow:0 4px 14px rgba(42,166,255,.35)
}
.action-btn.primary:hover{transform:translateY(-1px); box-shadow:0 6px 20px rgba(42,166,255,.45)}
.action-btn.secondary{background:rgba(255,255,255,.08); border-color:rgba(255,255,255,.15)}
.action-btn.secondary:hover{background:rgba(255,255,255,.12); border-color:#23406d}
.action-btn.tertiary{background:linear-gradient(135deg, rgba(25,227,170,.15), rgba(25,227,170,.08)); border-color:rgba(25,227,170,.3); color:#7dd3c0}
.action-btn.tertiary:hover{background:linear-gradient(135deg, rgba(25,227,170,.25), rgba(25,227,170,.15)); transform:translateY(-1px)}

/* Responsive design for company cards */
@media (max-width: 768px) {
  .companies-grid{grid-template-columns:1fr; gap:16px}
  .company-card{padding:20px}
  .company-logo{width:48px; height:48px}
  .company-info h3{font-size:18px}
  .company-actions{gap:6px}
  .action-btn{padding:8px 12px; font-size:12px}
}

@media (max-width: 480px) {
  .company-card{padding:16px}
  .company-actions{flex-direction:column}
  .action-btn{flex:none; width:100%}
}

/* Hero */
.hero{position:relative; isolation:isolate; margin-top:0; min-height:calc(100vh - 120px); opacity:0; transform:translateY(40px); transition:opacity .8s ease, transform .8s ease}
.hero.is-visible{opacity:1; transform:none}
.hero-bg{position:absolute; inset:0; z-index:0; background:
 radial-gradient(800px 300px at 20% 20%, rgba(41,156,255,.25), transparent 40%),
 radial-gradient(800px 300px at 80% 10%, rgba(25,227,170,.18), transparent 45%),
 radial-gradient(700px 260px at 50% 80%, rgba(86,92,252,.15), transparent 45%);
}
.hero-video{position:fixed; top:0; left:0; width:100vw; height:100vh; overflow:hidden; filter:blur(6px); opacity:.55; z-index:-1; pointer-events:none}
.hero-video iframe{position:absolute; top:50%; left:50%; width:120vw; height:67.5vw; transform:translate(-50%,-50%); pointer-events:none}
.hero-video-fade{position:absolute; left:0; right:0; bottom:0; height:40%; background:linear-gradient(180deg, rgba(8,12,26,0) 0%, rgba(8,12,26,.6) 60%, rgba(8,12,26,1) 100%); pointer-events:none}
.hero-aurora{display:none;}
.hero-inner{padding:60px 0 70px; min-height:inherit; position:relative; z-index:2}
.hero-layout{position:relative; display:grid; grid-template-columns:minmax(0, 1.05fr) minmax(0, .95fr); gap:36px; align-items:center}
.hero-main{opacity:0; transform:translateX(-50px); filter:blur(12px); transition:transform .95s cubic-bezier(.19,.84,.37,1), opacity .85s ease, filter .85s ease}
.hero-showcase{opacity:0; transform:translateX(50px); filter:blur(12px); transition:transform .95s cubic-bezier(.19,.84,.37,1) .1s, opacity .85s ease .1s, filter .85s ease .1s}
.hero.is-visible .hero-main{opacity:1; transform:none; filter:blur(0)}
.hero.is-visible .hero-showcase{opacity:1; transform:none; filter:blur(0)}
.hero-main{position:relative; z-index:3; display:flex; flex-direction:column; gap:22px}
.hero-eyebrow{display:inline-flex; align-items:center; gap:10px; padding:6px 14px; border-radius:999px; border:1px solid rgba(255,255,255,.16); background:rgba(8,12,26,.55); color:#9fb3d8; font-size:13px; letter-spacing:.6px; text-transform:uppercase; width:max-content}
.hero-heading{margin:0; font-size:52px; line-height:1.05; letter-spacing:.2px; position:relative}
.hero-heading .grad{background:linear-gradient(100deg,#d6e7ff 10%,#9ad1ff 50%,#8ae1d6 90%); -webkit-background-clip:text; background-clip:text; color:transparent; display:inline-block}
.hero-lead{color:#c7d1e3; font-size:18px; margin:0; max-width:580px}
.hero-actions{display:flex; flex-wrap:wrap; gap:12px; margin-bottom:12px}
.hero-action{display:flex; align-items:center; gap:8px}
.hero-action .btn{min-width:210px; justify-content:center; font-weight:700}
.hero-action .edit-btn{margin-left:6px}
.hero-glow-strip{display:flex; flex-direction:column; gap:14px; padding:16px 18px; border-radius:26px; background:linear-gradient(135deg, rgba(8,12,26,.72), rgba(12,18,36,.58)); border:1px solid rgba(255,255,255,.12); box-shadow:0 28px 70px rgba(6,10,22,.5); position:relative; overflow:hidden}
.hero-glow-strip:before{content:""; position:absolute; inset:10px; border-radius:inherit; background:radial-gradient(circle at 15% 20%, rgba(42,166,255,.22), transparent 60%), radial-gradient(circle at 80% 15%, rgba(25,227,170,.18), transparent 64%), radial-gradient(circle at 45% 80%, rgba(86,92,252,.18), transparent 66%); opacity:.55; filter:blur(18px); pointer-events:none}
.hero-glow-strip > *{position:relative; z-index:1}
.metric-duo{display:flex; gap:16px; flex-wrap:wrap}
.metric-pill{flex:1 1 220px; display:flex; align-items:center; justify-content:space-between; padding:18px 20px; border-radius:18px; border:1px solid rgba(255,255,255,.18); background:linear-gradient(160deg, rgba(14,22,40,.78), rgba(10,18,34,.62)); box-shadow:0 18px 44px rgba(6,10,22,.46)}
.metric-pill-value{font-size:36px; font-weight:800; color:#e9eef7; display:flex; align-items:center; gap:6px}
.metric-pill-label{font-size:12px; text-transform:uppercase; letter-spacing:.55px; color:#b6c5df; display:flex; align-items:center; gap:6px}
.metric-pill .edit-btn{margin-left:10px; position:static}
.hero-pillars-mini .edit-btn{margin-left:6px}
.metric-pill .edit-btn i{font-size:12px}
.hero-pillars-mini{display:flex; gap:12px; flex-wrap:wrap; justify-content:flex-start}
.hero-pillars-mini span{display:inline-flex; align-items:center; gap:8px; padding:10px 14px; border-radius:18px; border:1px solid rgba(255,255,255,.16); background:rgba(8,12,26,.58); color:#cfe1ff; font-size:12px; letter-spacing:.45px; backdrop-filter:blur(6px); box-shadow:0 12px 26px rgba(6,10,22,.35)}
.hero-pillars-mini i{color:var(--accent)}
.hero-pillars-mini .edit-btn{position:static}
.hero-focus-grid{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; margin-top:10px}
.hero-focus{position:relative; padding:18px; border-radius:16px; border:1px solid rgba(255,255,255,.14); background:linear-gradient(160deg, rgba(13,19,38,.72), rgba(12,18,36,.52)); box-shadow:0 18px 42px rgba(8,12,26,.45); overflow:hidden; transition:transform .3s ease, box-shadow .3s ease, border-color .3s ease}
.hero-focus:before{content:""; position:absolute; top:-60px; right:-60px; width:180px; height:180px; border-radius:50%; background:radial-gradient(closest-side, rgba(42,166,255,.28), transparent); opacity:.55; filter:blur(12px); transition:opacity .3s ease}
.hero-focus:hover{transform:translateY(-4px); box-shadow:0 26px 60px rgba(8,12,26,.55); border-color:rgba(86,92,252,.45)}
.hero-focus:hover:before{opacity:.85}
.hero-focus-icon{width:46px; height:46px; border-radius:14px; display:flex; align-items:center; justify-content:center; background:linear-gradient(135deg,#2aa6ff,#6fd0ff); color:#041220; font-size:20px; flex-shrink:0; box-shadow:0 16px 40px rgba(42,166,255,.35)}
.hero-focus-content{display:flex; flex-direction:column; gap:6px; color:#cfe1ff}
.hero-focus h3{margin:0; font-size:18px; font-weight:700; color:#e9eef7}
.hero-focus h3 .edit-btn,
.hero-focus p .edit-btn{margin-left:6px}
.hero-focus p{margin:0; font-size:14px; color:#9fb3d8}
.hero-marquee{position:relative; overflow:hidden; border-radius:999px; border:1px solid rgba(255,255,255,.18); background:rgba(8,12,26,.55); padding:10px 0; margin-top:6px; display:flex; align-items:center; gap:10px}
.hero-marquee-track{flex:1; display:flex; gap:40px; animation:heroMarquee 18s linear infinite; white-space:nowrap; color:#cfe1ff; font-size:13px; letter-spacing:.4px}
.hero-marquee-track span{padding-left:40px}
.hero-marquee .edit-btn{position:static}

.hero-showcase{position:relative; display:flex; flex-direction:column; gap:18px}
.hero-video-card{position:relative; border-radius:26px; overflow:hidden; padding:0; background:rgba(12,18,36,.82); border:1px solid rgba(255,255,255,.14); box-shadow:0 30px 70px rgba(6,10,22,.5)}
.hero-video-card:before{content:""; position:absolute; inset:-45% -20% auto -30%; height:120%; background:radial-gradient(closest-side, rgba(42,166,255,.18), transparent 70%); filter:blur(36px); opacity:.35; pointer-events:none}
.hero-video-badge{display:none}
.hero-video-frame{position:relative; border-radius:18px; overflow:hidden; box-shadow:0 30px 60px rgba(6,10,22,.55); border:1px solid rgba(255,255,255,.18); aspect-ratio:16 / 9}
.hero-video-frame iframe{width:100%; height:100%}
.hero-video-card .video-overlay{position:absolute; inset:0; cursor:pointer; z-index:4}
.hero-video-card .overlay-hint{position:absolute; right:28px; bottom:24px; font-size:12px; color:#cfe1ff; background:rgba(8,12,26,.45); border:1px solid rgba(255,255,255,.18); border-radius:999px; padding:6px 10px; display:flex; align-items:center; gap:6px; pointer-events:none}
.hero-video-card .overlay-hint i{color:#19e3aa}
.hero-video-card .video-restart{position:absolute; right:24px; top:24px; opacity:0; transition:opacity .2s ease; background:rgba(8,12,26,.6); color:#cfe1ff; border:1px solid rgba(255,255,255,.24); border-radius:12px; padding:8px 12px; z-index:5}
.hero-video-card:hover .video-restart{opacity:1}

.hero-statboard{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px}
.hero-stat .edit-btn{margin-left:auto}
.hero-stat{position:relative; padding:18px 18px 24px; border-radius:18px; border:1px solid rgba(255,255,255,.16); background:linear-gradient(160deg, rgba(8,12,26,.82), rgba(12,18,36,.62)); box-shadow:0 24px 54px rgba(6,10,22,.45); display:flex; flex-direction:column; gap:10px; overflow:hidden}
.hero-stat:before{content:""; position:absolute; top:-60px; right:-70px; width:200px; height:200px; border-radius:50%; background:radial-gradient(closest-side, rgba(86,92,252,.25), transparent); filter:blur(18px); opacity:.45}
.hero-stat-number{font-size:38px; font-weight:800; color:#e9eef7; display:flex; align-items:center; gap:8px}
.hero-stat-label{font-size:14px; font-weight:600; color:#9fb3d8}
.hero-stat-caption{margin:0; font-size:13px; color:#8da1c4; line-height:1.45}

.hero-signal-grid{display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px}
.hero-signal-card .edit-btn{margin-left:auto}
.hero-signal-card{position:relative; padding:18px; border-radius:18px; border:1px solid rgba(255,255,255,.14); background:linear-gradient(160deg, rgba(8,12,26,.78), rgba(12,18,36,.58)); box-shadow:0 20px 48px rgba(6,10,22,.45); display:flex; flex-direction:column; gap:12px}
.hero-signal-card:before{content:""; position:absolute; inset:0; border-radius:inherit; border:1px solid transparent; background:linear-gradient(135deg, rgba(42,166,255,.18), rgba(25,227,170,.14)) border-box; -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0); mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity:.4}
.hero-signal-tag{display:inline-flex; align-items:center; gap:8px; font-size:12px; text-transform:uppercase; letter-spacing:.6px; color:#9fb3d8}
.hero-signal-tag:before{content:""; width:6px; height:6px; border-radius:50%; background:linear-gradient(135deg,var(--primary),var(--accent)); box-shadow:0 0 8px rgba(42,166,255,.6)}
.hero-signal-card h3{margin:0; font-size:18px; color:#e9eef7}
.hero-signal-card h3 .edit-btn,
.hero-signal-card p .edit-btn{margin-left:6px}
.hero-signal-card p{margin:0; font-size:13px; color:#9fb3d8}
.hero-signal-link{display:inline-flex; align-items:center; gap:8px; font-weight:600; color:#8de1d1; text-decoration:none; margin-top:auto}
.hero-signal-link i{transition:transform .2s ease}
.hero-signal-link:hover i{transform:translateX(4px)}

.hero-badges{display:flex; gap:10px; flex-wrap:wrap; margin-top:10px}
.hero-badges .edit-btn{position:static}
.badge{display:inline-flex; align-items:center; gap:8px; padding:8px 12px; border-radius:999px; border:1px solid var(--outline); background:rgba(16,26,51,.65); color:#cfe1ff; font-size:13px}
.badge i{color:var(--accent)}

.scroll-indicator{margin-top:24px; display:flex; align-items:center; gap:10px; color:var(--muted); font-size:13px}
.scroll-indicator .dot{width:8px; height:8px; border-radius:50%; background:linear-gradient(90deg,var(--primary),var(--accent)); box-shadow:0 0 12px rgba(25,227,170,.6); animation:pulse 2s ease-in-out infinite}

.hero-layout .edit-btn{position:static}
.hero-statboard .edit-btn,
.hero-marquee .edit-btn,
.hero-signal-grid .edit-btn{position:static}

@keyframes heroMarquee{from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* Animowane kształty w tle hero */
.hero-shapes{
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.shape{
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(42,166,255,0.1), rgba(25,227,170,0.08));
    filter: blur(1px);
    animation: float 20s ease-in-out infinite;
}

.shape-1{
    width: 120px;
    height: 120px;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
    background: linear-gradient(135deg, rgba(42,166,255,0.15), rgba(25,227,170,0.1));
}

.shape-2{
    width: 80px;
    height: 80px;
    top: 20%;
    right: 15%;
    animation-delay: -3s;
    background: linear-gradient(135deg, rgba(25,227,170,0.12), rgba(86,92,252,0.08));
    animation-duration: 25s;
}

.shape-3{
    width: 200px;
    height: 200px;
    bottom: 20%;
    left: 10%;
    animation-delay: -8s;
    background: linear-gradient(135deg, rgba(86,92,252,0.1), rgba(42,166,255,0.08));
    animation-duration: 30s;
}

.shape-4{
    width: 60px;
    height: 60px;
    top: 60%;
    right: 25%;
    animation-delay: -12s;
    background: linear-gradient(135deg, rgba(25,227,170,0.15), rgba(42,166,255,0.1));
    animation-duration: 18s;
}

.shape-5{
    width: 150px;
    height: 150px;
    top: 40%;
    left: 60%;
    animation-delay: -15s;
    background: linear-gradient(135deg, rgba(42,166,255,0.08), rgba(86,92,252,0.12));
    animation-duration: 22s;
}

.shape-6{
    width: 100px;
    height: 100px;
    bottom: 10%;
    right: 5%;
    animation-delay: -6s;
    background: linear-gradient(135deg, rgba(86,92,252,0.15), rgba(25,227,170,0.1));
    animation-duration: 28s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) rotate(90deg);
    }
    50% {
        transform: translateY(-10px) rotate(180deg);
    }
    75% {
        transform: translateY(-30px) rotate(270deg);
    }
}
.card:hover{border-color:#23406d}
.a-card:hover,.c-item:hover{border-color:#23406d; box-shadow:0 12px 40px rgba(0,0,0,.35)}

@keyframes spin{to{transform:rotate(360deg)}}
@keyframes pulse{0%,100%{transform:scale(1); opacity:1}50%{transform:scale(1.2); opacity:.7}}
@keyframes drift{0%{transform:translateY(0) translateX(0) rotate(0deg)} 100%{transform:translateY(20px) translateX(10px) rotate(10deg)}}

/* Sections */
.section{padding:64px 0}
.section.alt{background:rgba(255,255,255,0.02); border-top:1px solid var(--outline); border-bottom:1px solid var(--outline)}
.section.surface{position:relative; z-index:2; background:linear-gradient(180deg, #0e152b 0%, #0b1020 100%); border-top:1px solid var(--outline); border-bottom:1px solid var(--outline)}
.section.surface-glow{position:relative; z-index:2; background:linear-gradient(180deg, #0e152b 0%, #0b1020 100%); border-top:1px solid var(--outline); border-bottom:1px solid var(--outline); overflow:hidden}
.section.surface-glow::before{content:""; position:absolute; inset:-15% -10% auto -10%; height:65%; z-index:0; filter:blur(40px); background:
  radial-gradient(700px 240px at 20% 25%, rgba(42,166,255,.18), transparent 50%),
  radial-gradient(650px 240px at 80% 20%, rgba(25,227,170,.12), transparent 50%)}

/* Enhanced glow for members section */
#czlonkowie.section.surface-glow::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: 
        /* Główne rozjaśnienia - niebieski motyw */
        radial-gradient(900px 450px at 25% 30%, rgba(42,166,255,.16), transparent 55%),
        radial-gradient(850px 425px at 75% 25%, rgba(25,227,170,.13), transparent 58%),
        
        /* Dolne świecenia */
        radial-gradient(800px 400px at 20% 80%, rgba(25,227,170,.14), transparent 60%),
        radial-gradient(750px 375px at 80% 85%, rgba(155,89,182,.10), transparent 62%),
        
        /* Subtelne białe rozjaśnienia */
        radial-gradient(600px 300px at 50% 40%, rgba(255,255,255,.04), transparent 70%);
    filter: blur(35px);
}

/* Enhanced glow for announcements section */
#ogloszenia.section.surface-glow::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: 
        /* Główne rozjaśnienia - turkusowy motyw */
        radial-gradient(870px 435px at 30% 25%, rgba(25,227,170,.15), transparent 56%),
        radial-gradient(820px 410px at 70% 20%, rgba(42,166,255,.12), transparent 59%),
        
        /* Środkowe i dolne świecenia */
        radial-gradient(780px 390px at 45% 60%, rgba(25,227,170,.11), transparent 62%),
        radial-gradient(740px 370px at 75% 85%, rgba(155,89,182,.09), transparent 64%),
        
        /* Subtelne białe rozjaśnienia */
        radial-gradient(650px 325px at 60% 45%, rgba(255,255,255,.03), transparent 70%);
    filter: blur(32px);
}

/* Enhanced glow for calendar section */
#kalendarz.section.surface-glow::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: 
        /* Główne rozjaśnienia - fioletowy motyw */
        radial-gradient(920px 460px at 35% 20%, rgba(155,89,182,.14), transparent 57%),
        radial-gradient(880px 440px at 65% 15%, rgba(42,166,255,.13), transparent 58%),
        
        /* Środkowe i dolne świecenia */
        radial-gradient(840px 420px at 25% 70%, rgba(25,227,170,.12), transparent 60%),
        radial-gradient(800px 400px at 75% 90%, rgba(155,89,182,.11), transparent 62%),
        
        /* Subtelne białe rozjaśnienia */
        radial-gradient(700px 350px at 45% 55%, rgba(255,255,255,.04), transparent 70%);
    filter: blur(38px);
}

/* Enhanced glow for contact section */
#kontakt.section.surface-glow::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: 
        /* Główne rozjaśnienia - mieszany motyw */
        radial-gradient(850px 425px at 40% 30%, rgba(42,166,255,.15), transparent 58%),
        radial-gradient(810px 405px at 60% 20%, rgba(25,227,170,.13), transparent 60%),
        
        /* Środkowe i dolne świecenia */
        radial-gradient(770px 385px at 20% 65%, rgba(155,89,182,.12), transparent 62%),
        
        /* Subtelne białe rozjaśnienia */
        radial-gradient(680px 340px at 70% 60%, rgba(255,255,255,.03), transparent 70%);
    filter: blur(30px);
}
.section.surface-glow .container{position:relative; z-index:1}

/* Hero gaps between sections to expose background video */
#czlonkowie{margin-bottom:48px}

/* Dodatkowe odstępy między sekcjami */
#kalendarz {
    margin-bottom: 32px;
    padding-top: 32px;
    padding-bottom: 32px;
}

/* Calendar Styles */
.cal-filters {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
    justify-content: center;
    flex-wrap: wrap;
}

.cal-chip {
    padding: 12px 24px;
    border: 1px solid rgba(148, 163, 184, 0.24);
    background: rgba(15, 23, 42, 0.4);
    color: var(--muted);
    border-radius: 24px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
    position: relative;
    overflow: hidden;
}

.cal-chip::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.5s ease;
}

.cal-chip:hover::before {
    left: 100%;
}

.cal-chip:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(42, 166, 255, 0.2);
}

.cal-chip.active {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-color: var(--primary);
    color: #041220;
    font-weight: 600;
    box-shadow: 0 8px 25px rgba(42, 166, 255, 0.4);
}

.cal-list {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.cal-list::before {
    content: '';
    position: absolute;
    left: 30px; /* po lewej stronie */
    top: 50px;
    bottom: 50px;
    width: 3px;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(42, 166, 255, 0.3) 5%,
        rgba(42, 166, 255, 0.6) 20%,
        rgba(25, 227, 170, 0.6) 50%,
        rgba(42, 166, 255, 0.6) 80%,
        rgba(42, 166, 255, 0.3) 95%,
        transparent 100%
    );
    border-radius: 1.5px;
    z-index: 0;
    box-shadow: 0 0 8px rgba(42, 166, 255, 0.3);
}

.cal-list::after {
    content: '';
    position: absolute;
    left: 31px; /* po lewej stronie, lekko przesunięte */
    top: 50px;
    bottom: 50px;
    width: 1px;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(255, 255, 255, 0.2) 10%,
        rgba(255, 255, 255, 0.4) 50%,
        rgba(255, 255, 255, 0.2) 90%,
        transparent 100%
    );
    z-index: 1;
}

.cal-item {
    display: flex;
    align-items: flex-start;
    gap: 32px;
    padding: 32px 24px;
    margin-bottom: 16px;
    margin-left: 60px; /* miejsce na lewą oś czasu */
    background: linear-gradient(145deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: 24px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.cal-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(135deg, rgba(42,166,255,0.05), rgba(25,227,170,0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Kropka na osi czasu dla każdego wydarzenia */
.cal-item::after {
    content: '';
    position: absolute;
    left: -90px; /* pozycja na osi czasu */
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    border: 3px solid rgba(42, 166, 255, 0.2);
    box-shadow: 0 0 12px rgba(42, 166, 255, 0.4);
    z-index: 2;
    transition: all 0.3s ease;
}

.cal-item:hover::before {
    opacity: 1;
}

.cal-item:hover::after {
    transform: translateY(-50%) scale(1.2);
    box-shadow: 0 0 20px rgba(42, 166, 255, 0.6);
    border-color: rgba(42, 166, 255, 0.4);
}


.cal-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 20px;
    color: #ffffff !important;
    text-align: center;
    box-shadow: 0 12px 30px rgba(42, 166, 255, 0.4);
    position: relative;
    z-index: 2;
}

.cal-date * {
    color: #ffffff !important;
}

.cal-day {
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
}

.cal-month {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 4px;
    opacity: 0.9;
}

.cal-body {
    flex: 1;
    padding-right: 24px;
    position: relative;
    z-index: 2;
}

.cal-headrow{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:16px;
    flex-wrap:wrap;
}

.cal-actions{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:10px;
    flex-wrap:wrap;
}

.cal-actions .cal-rsvp{
    margin-top:0;
    justify-content:flex-end;
}

.cal-details{
    margin-top:10px;
}

.cal-item.expanded .cal-details{
    margin-top:14px;
}

.cal-body h3 {
    margin: 0 0 12px;
    font-size: 22px;
    color: var(--ink);
    line-height: 1.3;
    font-weight: 600;
}

.cal-body p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
    font-size: 15px;
}

.cal-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    position: relative;
    z-index: 2;
}

/* RSVP (strona główna → Kalendarz) */
.cal-rsvp{
    display:flex;
    gap:8px;
    flex-wrap:wrap;
    justify-content:flex-end;
    margin-top:10px;
    position:relative;
    z-index:2;
}
.cal-rsvp .rsvp-btn{
    padding:7px 10px;
    border-radius:999px;
    border:1px solid rgba(148,163,184,.22);
    background:rgba(255,255,255,.04);
    color:#e8f0ff;
    font-size:12px;
    font-weight:800;
    cursor:pointer;
    transition:all .15s ease;
}
.cal-rsvp .rsvp-btn:hover{background:rgba(42,166,255,.10); border-color:rgba(42,166,255,.35); transform:translateY(-1px)}
.cal-rsvp .rsvp-btn:disabled{
    opacity:1;
    cursor:default;
    background:linear-gradient(135deg, rgba(25,227,170,.22), rgba(42,166,255,.18));
    border-color:rgba(25,227,170,.38);
    color:#bff6e6;
    transform:none;
}

.cal-tag {
    padding: 8px 16px;
    background: rgba(42, 166, 255, 0.15);
    border: 1px solid rgba(42, 166, 255, 0.3);
    border-radius: 20px;
    font-size: 12px;
    color: var(--primary);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
    backdrop-filter: blur(5px);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
}

.cal-tag i {
    font-size: 13px;
    opacity: 0.9;
}

/* Admin Controls */
.cal-admin-controls {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 10;
}

.cal-add-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border: none;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 8px 20px rgba(42, 166, 255, 0.4);
    transition: all 0.3s ease;
}

.cal-add-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 30px rgba(42, 166, 255, 0.6);
}

.cal-edit-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(42, 166, 255, 0.2);
    border: 1px solid rgba(42, 166, 255, 0.3);
    color: var(--primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.cal-edit-btn:hover {
    background: rgba(42, 166, 255, 0.3);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(42, 166, 255, 0.3);
}

/* Expanded event details */
.cal-item {
    cursor: pointer;
}

.cal-description-short {
    max-height: 3.2em;
    overflow: hidden;
    transition: opacity 0.3s ease;
    position: relative;
    line-height: 1.6;
    margin: 0;
    color: var(--muted);
    -webkit-mask: linear-gradient(to bottom, black 0%, black 70%, transparent 100%);
    mask: linear-gradient(to bottom, black 0%, black 70%, transparent 100%);
}

.cal-description-full {
    line-height: 1.6;
    margin: 0;
    color: var(--muted);
    transition: opacity 0.3s ease;
    opacity: 0;
}

.cal-item.expanded .cal-description-short {
    display: none !important;
}

.cal-item.expanded .cal-description-full {
    display: block !important;
    opacity: 1 !important;
}

.cal-item.expanded {
    padding-bottom: 50px; /* space for the close button */
    border-left: 4px solid var(--accent) !important;
    background: linear-gradient(145deg, rgba(25,227,170,.08), rgba(42,166,255,.05)) !important;
}

.cal-item::after {
    content: '⬇ Rozwiń';
    position: absolute;
    bottom: 16px;
    right: 24px;
    font-size: 13px;
    color: var(--primary);
    opacity: 0.9;
    transition: all 0.3s ease;
    pointer-events: none;
    background: rgba(15, 23, 42, 0.95);
    padding: 6px 12px;
    border-radius: 12px;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(42, 166, 255, 0.3);
    font-weight: 500;
}

.cal-item.expanded::after {
    content: '⬆ Zwiń';
    background: rgba(25, 227, 170, 0.2);
    border-color: rgba(25, 227, 170, 0.4);
    color: var(--accent);
}

.cal-item:hover::after {
    opacity: 1;
    transform: scale(1.08);
    box-shadow: 0 4px 12px rgba(42, 166, 255, 0.3);
}

/* Visual feedback for expandable items */
.cal-item:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(42, 166, 255, 0.4);
    box-shadow: 0 25px 50px rgba(0,0,0,.3), 0 0 40px rgba(42,166,255,.2);
}

/* Event Modal Styles */
.event-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(8, 12, 26, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: none; /* Hidden by default */
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.event-modal-overlay.show {
    display: flex; /* Show when active */
}

.event-modal {
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.9));
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 24px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
}

.event-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 24px 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
    margin-bottom: 24px;
}

.event-modal-header h3 {
    margin: 0;
    color: var(--ink);
    font-size: 24px;
    font-weight: 600;
}

.event-modal-close {
    background: none;
    border: none;
    font-size: 28px;
    color: var(--muted);
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.event-modal-close:hover {
    background: rgba(255, 0, 0, 0.1);
    color: #ff4444;
}

.event-form {
    padding: 0 24px 24px;
}

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

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--ink);
    font-weight: 500;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.7);
    color: var(--ink);
    font-size: 14px;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(42, 166, 255, 0.1);
}

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

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(148, 163, 184, 0.1);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #ffffff;
    border: none;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(42, 166, 255, 0.4);
}

.btn-secondary {
    background: rgba(148, 163, 184, 0.1);
    color: var(--muted);
    border: 1px solid rgba(148, 163, 184, 0.3);
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(148, 163, 184, 0.2);
    color: var(--ink);
}

.btn-danger {
    background: rgba(255, 0, 0, 0.1);
    color: #ff4444;
    border: 1px solid rgba(255, 0, 0, 0.3);
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-danger:hover {
    background: rgba(255, 0, 0, 0.2);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .cal-admin-controls {
        margin-bottom: 16px;
    }
}

/* Expert Admin Controls */
.add-expert-card {
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    border: 2px dashed rgba(var(--primary-rgb), 0.3);
    background: rgba(var(--primary-rgb), 0.05);
    cursor: pointer;
    transition: all 0.3s ease;
}

.add-expert-card:hover {
    border-color: rgba(var(--primary-rgb), 0.6);
    background: rgba(var(--primary-rgb), 0.1);
    transform: translateY(-2px);
}

.add-expert-content {
    text-align: center;
    color: var(--muted);
}

.add-expert-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(var(--primary-rgb), 0.1);
    color: rgb(var(--primary-rgb));
    font-size: 24px;
}

.add-expert-content h4 {
    color: rgb(var(--primary-rgb));
    margin-bottom: 8px;
}

.add-expert-content p {
    font-size: 14px;
    margin: 0;
}

.expert-admin-controls {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 5;
}

.expert-edit-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: rgba(var(--primary-rgb), 0.9);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    transform: scale(0.8);
}

.expert-card:hover .expert-edit-btn {
    opacity: 1;
    transform: scale(1);
}

.expert-edit-btn:hover {
    background: rgba(var(--primary-rgb), 1);
    transform: scale(1.1);
}

/* Expert Modal Styles */
.expert-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
}

.expert-modal-overlay.show {
    display: flex;
}

.expert-modal {
    background: var(--surface);
    border-radius: 16px;
    width: 100%;
    max-width: 700px;
    max-height: 90vh;
    overflow: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.expert-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.expert-modal-header h3 {
    margin: 0;
    color: var(--text);
    font-size: 20px;
}

.expert-modal-close {
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.expert-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.expert-form {
    padding: 32px;
}

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

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

.expert-form .form-group:not(.form-row .form-group) {
    margin-bottom: 20px;
}

.expert-form label {
    color: var(--text);
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 14px;
}

.expert-form input,
.expert-form textarea,
.expert-form select {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 12px 16px;
    color: var(--text);
    font-size: 14px;
    transition: all 0.3s ease;
}

.expert-form input:focus,
.expert-form textarea:focus,
.expert-form select:focus {
    outline: none;
    border-color: rgba(var(--primary-rgb), 0.5);
    background: rgba(255, 255, 255, 0.08);
}

.expert-form textarea {
    resize: vertical;
    min-height: 100px;
}

.expert-form small {
    color: var(--muted);
    font-size: 12px;
    margin-top: 4px;
}

.expert-form .form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.expert-form .btn-primary,
.expert-form .btn-secondary,
.expert-form .btn-danger {
    padding: 12px 24px;
    border-radius: 8px;
    border: none;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.expert-form .btn-primary {
    background: linear-gradient(135deg, rgb(var(--primary-rgb)), rgb(var(--accent-rgb)));
    color: white;
}

.expert-form .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.3);
}

.expert-form .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text);
}

.expert-form .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
}

.expert-form .btn-danger {
    background: linear-gradient(135deg, #ff4757, #ff3838);
    color: white;
    margin-right: auto;
}

.expert-form .btn-danger:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 71, 87, 0.3);
}

@media (max-width: 768px) {
    .expert-modal {
        margin: 10px;
        max-height: calc(100vh - 20px);
    }
    
    .expert-modal-header,
    .expert-form {
        padding: 20px;
    }
    
    .expert-form .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .expert-form .form-actions {
        flex-direction: column-reverse;
    }
    
    .expert-form .btn-danger {
        margin-right: 0;
        margin-top: 12px;
    }
}

.cal-item[data-type="online"] .cal-tag {
    background: rgba(25, 227, 170, 0.15);
    border-color: rgba(25, 227, 170, 0.3);
    color: var(--accent);
}

.cal-item[data-type="mission"] .cal-tag {
    background: rgba(255, 165, 0, 0.15);
    border-color: rgba(255, 165, 0, 0.3);
    color: #ffa500;
}

.cal-item[data-type="workshop"] .cal-tag {
    background: rgba(138, 43, 226, 0.15);
    border-color: rgba(138, 43, 226, 0.3);
    color: #8a2be2;
}

.cal-item[data-type="exhibition"] .cal-tag {
    background: rgba(255, 20, 147, 0.15);
    border-color: rgba(255, 20, 147, 0.3);
    color: #ff1493;
}

.cal-item[data-type="training"] .cal-tag {
    background: rgba(34, 139, 34, 0.15);
    border-color: rgba(34, 139, 34, 0.3);
    color: #228b22;
}

.cal-item[data-type="conference"] .cal-tag {
    background: rgba(220, 20, 60, 0.15);
    border-color: rgba(220, 20, 60, 0.3);
    color: #dc143c;
}

@media (max-width: 768px) {
    .cal-list::before {
        left: 20px; /* po lewej stronie na mobile */
        width: 2px;
    }
    
    .cal-list::after {
        left: 21px; /* po lewej stronie na mobile */
        width: 1px;
    }
    
    .cal-item {
        margin-left: 40px; /* mniejszy margines na mobile */
    }
    
    .cal-item::after {
        left: -60px; /* bliżej na mobile */
        width: 10px;
        height: 10px;
    }
    
    .cal-item {
        gap: 20px;
        padding: 24px 16px;
        margin-bottom: 12px;
    }
    
    .cal-date {
        min-width: 80px;
        height: 80px;
    }
    
    .cal-day {
        font-size: 22px;
    }
    
    .cal-month {
        font-size: 11px;
    }
    
    .cal-body h3 {
        font-size: 18px;
        margin-bottom: 8px;
    }
    
    .cal-body p {
        font-size: 14px;
    }
    
    .cal-body {
        padding-right: 12px;
    }
    
    .cal-tag {
        padding: 6px 12px;
        font-size: 11px;
    }
    
    .cal-filters {
        gap: 12px;
        margin-bottom: 32px;
    }
    
    .cal-chip {
        padding: 10px 18px;
        font-size: 13px;
    }
}

#eksperci {
    margin-top: 48px;
    margin-bottom: 48px;
}

#kontakt {
    margin-top: 48px;
}

#ogloszenia {
    margin-bottom: 48px;
}
.section h2{font-size:32px; margin:0 0 14px}
.section p{color:var(--muted)}
.grid.two{display:grid; grid-template-columns:1fr 1fr; gap:28px}
.grid.three{display:grid; grid-template-columns:repeat(3,1fr); gap:20px}

.card{background:var(--card); border:1px solid var(--outline); border-radius:16px; box-shadow:var(--shadow); padding:22px}
.stats{display:grid; grid-template-columns:repeat(3,1fr); gap:16px; align-items:stretch}
.stat{position:relative; background:linear-gradient(180deg, rgba(52,152,219,.08), rgba(16,26,51,.6)); border:1px solid var(--outline); border-radius:16px; padding:18px; display:flex; align-items:center; gap:14px; overflow:hidden}
.stat:before{content:""; position:absolute; right:-30px; top:-30px; width:120px; height:120px; border-radius:50%; background:radial-gradient(closest-side, rgba(42,166,255,.25), transparent); filter:blur(8px)}
.stat-icon{width:44px; height:44px; border-radius:12px; display:flex; align-items:center; justify-content:center; background:linear-gradient(135deg, #1abc9c, #3498db); color:#041220; box-shadow:0 10px 24px rgba(42,166,255,.35)}
.stat-icon i{font-size:18px}
.stat-info{display:flex; flex-direction:column}
.stat .num{display:block; font-size:32px; font-weight:800; color:#fff}
.stat .label{display:block; color:#9fb3d8; font-size:12px; letter-spacing:.3px}

.checks{list-style:none; padding:0; margin:16px 0 0}
.checks li{display:flex; align-items:center; gap:10px; margin:8px 0; color:var(--ink)}
.checks li:before{content:"\f00c"; font-family:"Font Awesome 6 Free"; font-weight:900; color:var(--accent)}

.actions{display:flex; gap:12px; margin-top:10px}

/* Reveal on scroll (stronger, with variants + motion) */
.reveal,
.reveal-up,
.reveal-left,
.reveal-right,
.reveal-scale{
  opacity:0; filter:blur(6px);
  transition: opacity .9s cubic-bezier(.2,.6,.2,1), transform .9s cubic-bezier(.2,.6,.2,1), filter .9s ease;
  will-change: transform, opacity, filter;
}
.reveal{transform: translateY(24px) scale(.98)}
.reveal-up{transform: translateY(48px) scale(.98)}
.reveal-left{transform: translateX(-90px) scale(.98)}
.reveal-right{transform: translateX(90px) scale(.98)}
.reveal-scale{transform: scale(.92)}
.reveal.show,
.reveal-up.show,
.reveal-left.show,
.reveal-right.show,
.reveal-scale.show{opacity:1; filter:blur(0); transform: none}

/* Brief section */
.brief-grid{align-items:center}
.section.surface-brief{position:relative; z-index:2; background:#F9FBFC; color:#0e152b; border-top:1px solid #e6e8ef; border-bottom:1px solid #e6e8ef}
.section.surface-brief .brief-title{color:#0b1020}
.section.surface-brief .brief-lead{color:#3a4661}
.brief-image img{width:100%; border-radius:16px; border:none; box-shadow:none}
.brief-content{padding:10px 0 10px 10px}
.brief-title{font-size:40px; line-height:1.05; margin:0 0 12px}
.brief-lead{color:#c7d1e3; margin:0 0 18px; font-size:16px}

/* Logo slider (Członkowie) */
.logo-slider{position:relative; overflow:hidden; padding:14px 0; border-radius:16px; border:1px solid var(--outline); background:rgba(16,26,51,.35)}
.logo-slider:before,.logo-slider:after{content:""; position:absolute; top:0; bottom:0; width:80px; z-index:2;}
.logo-slider:before{left:0; background:linear-gradient(90deg, rgba(11,16,32,1), rgba(11,16,32,0))}
.logo-slider:after{right:0; background:linear-gradient(270deg, rgba(11,16,32,1), rgba(11,16,32,0))}
.logo-track{display:flex; align-items:center; gap:28px; animation:logoScroll 28s linear infinite; will-change:transform}
.logo-item{
    flex:0 0 auto; 
    height:64px; 
    min-width:130px; 
    max-width:180px;
    display:flex; 
    align-items:center; 
    justify-content:center; 
    padding:12px 20px; 
    border-radius:14px; 
    background:rgba(255,255,255,.02); 
    border:1px solid var(--outline); 
    box-shadow:0 6px 20px rgba(0,0,0,.25);
    transition: all 0.3s ease;
}
.logo-item img{
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter:grayscale(100%) contrast(1.05) brightness(.95); 
    opacity:.9; 
    transition: all 0.25s ease;
    max-width: none;
    max-height: none;
}

/* Variants for different logo types */
.logo-item.logo-wide {
    min-width: 160px;
    max-width: 220px;
}

.logo-item.logo-square {
    min-width: 80px;
    max-width: 80px;
}

.logo-item.logo-tall {
    min-width: 100px;
    max-width: 120px;
}

.logo-item:hover {
    background: rgba(255,255,255,.05);
    border-color: rgba(42,166,255,.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,.35);
}

.logo-item:hover img{
    filter:none; 
    opacity:1; 
    transform:scale(1.05);
}

.logo-slider.paused .logo-track{animation-play-state:paused}

/* Responsive adjustments */
@media (max-width: 768px) {
    .logo-item {
        height: 56px;
        min-width: 110px;
        max-width: 150px;
        padding: 10px 16px;
    }
    
    .logo-item.logo-wide {
        min-width: 140px;
        max-width: 180px;
    }
    
    .logo-item.logo-square {
        min-width: 70px;
        max-width: 70px;
    }
    
    .logo-item.logo-tall {
        min-width: 90px;
        max-width: 110px;
    }
    
    .logo-track {
        gap: 20px;
    }
}

@keyframes logoScroll{from{transform:translateX(0)} to{transform:translateX(-50%)}}

/* Forms */
.form .form-row{display:flex; flex-direction:column; gap:8px; margin-bottom:14px}
.form label{font-weight:500; color:#cfd6e6}
.form input, .form textarea, .form select{background:#0c142c; border:1px solid var(--outline); color:var(--ink); border-radius:10px; padding:12px; font-weight:500}
.form input::placeholder, .form textarea::placeholder{color:#8ea2bf; font-weight:400; opacity:.95}
.form textarea{resize:vertical}
.form .help{color:var(--muted); margin-top:8px}
.form .form-grid{display:grid; grid-template-columns:repeat(auto-fit, minmax(240px,1fr)); gap:14px}
.form .form-group.full{grid-column:1 / -1}
.section-title{margin:18px 0 8px; font-size:16px; color:#cfe1ff; text-transform:uppercase; letter-spacing:.5px; font-weight:600}
.options-row{display:flex; flex-wrap:wrap; gap:10px}
.checkbox-grid{display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:10px; padding:8px; border:1px dashed var(--outline); border-radius:12px; background:rgba(255,255,255,0.02)}

.benefits{display:grid; grid-template-columns:1fr; gap:10px; margin-top:14px}
.benefit{display:flex; align-items:center; gap:10px; color:var(--ink)}
.benefit i{color:var(--accent)}

/* Contact section */
.contact-col{display:flex; flex-direction:column; gap:12px}
.contact-card{background:rgba(255,255,255,.02); border:1px solid var(--outline); border-radius:16px; padding:18px}
.contact-row{display:flex; align-items:center; gap:10px; color:#cfe1ff; padding:8px 0}
.contact-row i{color:#2aa6ff}
.contact-row a{color:#cfe1ff; text-decoration:none}
.contact-row a:hover{text-decoration:underline}
.contact-hint{margin-top:8px; font-size:12px; color:#9fb3d8}

/* Announcements */
.announcements .a-card{background:var(--card); border:1px solid var(--outline); border-radius:14px; padding:16px}
.a-card h4{margin:0 0 8px}
.a-card p{margin:0; color:var(--muted)}

/* Calendar */
/* New Calendar */
.calendar-toolbar{display:flex; align-items:center; gap:10px; margin-bottom:12px}
.calendar-toolbar .hint{color:#9fb3d8; font-size:13px}
.calendar-toolbar .spacer{flex:1}
.cal-chip{padding:8px 12px; border-radius:999px; border:1px solid var(--outline); background:rgba(255,255,255,.02); color:#cfe1ff; font-size:13px; cursor:pointer}
.cal-chip.active{background:linear-gradient(135deg, #1abc9c, #3498db); color:#041220; border-color:transparent}

.calendar-timeline{position:relative; border-left:2px solid rgba(42,166,255,.4); margin-left:18px; padding-left:18px; display:flex; flex-direction:column; gap:14px}
.cal-event{position:relative; background:var(--card); border:1px solid var(--outline); border-radius:14px; padding:14px 16px; box-shadow:0 8px 24px rgba(0,0,0,.25)}
.cal-event:before{content:""; position:absolute; left:-27px; top:16px; width:12px; height:12px; border-radius:50%; background:linear-gradient(135deg, #2aa6ff, #19e3aa); box-shadow:0 0 0 4px rgba(42,166,255,.2)}
.cal-head{display:flex; align-items:center; justify-content:space-between; margin-bottom:6px}
.cal-date{font-weight:800; color:#46ABDF}
.cal-desc{color:#9fb3d8; margin:0; overflow:auto; max-height:0; transition:max-height .25s ease, opacity .25s ease; opacity:0; padding-right:4px}
.cal-event[aria-expanded="true"] .cal-desc{max-height:220px; opacity:1}
/* Scrollbar styling (spójne) */
.cal-desc::-webkit-scrollbar{width:8px}
.cal-desc::-webkit-scrollbar-track{background:rgba(255,255,255,.03); border-radius:8px}
.cal-desc::-webkit-scrollbar-thumb{background:linear-gradient(180deg, var(--primary), #6fd0ff); border-radius:8px}
.cal-desc::-webkit-scrollbar-thumb:hover{background:linear-gradient(180deg, #6fd0ff, var(--primary))}

/* Events section (panel) */
.ev-form{display:grid; grid-template-columns:repeat(auto-fit, minmax(180px,1fr)); gap:10px; align-items:start}
.ev-form textarea, .ev-form input, .ev-form select{padding:10px 12px; border:1px solid var(--outline); border-radius:10px; background:#0f1530; color:var(--ink)}
.ev-admin-list .row{display:flex; justify-content:space-between; align-items:center; gap:10px; background:rgba(255,255,255,.02); border:1px solid var(--outline); border-radius:10px; padding:10px 12px; margin-bottom:8px}
.ev-admin-list .row .meta{color:#9fb3d8; font-size:13px}
.rsvp-chips{display:flex; gap:8px; flex-wrap:wrap}
.rsvp-chips .chip{padding:8px 12px; border-radius:999px; border:1px solid var(--outline); background:rgba(255,255,255,.02); color:#cfe1ff; cursor:pointer}
.rsvp-chips .chip.active, .rsvp-chips .chip:disabled{background:linear-gradient(135deg, var(--primary), #6fd0ff); color:#041220; border-color:transparent}
.ev-card .ev-head{display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:6px}
.ev-card .ev-date{font-weight:800; color:#46ABDF}
.ev-card .ev-tag{padding:4px 8px; border-radius:999px; border:1px solid var(--outline); font-size:12px; color:#9fb3d8}
.cal-tag{padding:4px 8px; border-radius:999px; border:1px solid var(--outline); font-size:12px; color:#9fb3d8}
.cal-title{font-weight:600; margin:0 0 4px}
.cal-desc{color:#9fb3d8; margin:0}

/* Register page */
.page-hero h1{margin:0 0 8px}
.page-hero p{color:var(--muted)}
.register-layout{display:grid; grid-template-columns:1.2fr .8fr; gap:22px; margin-top:18px}
.steps-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:14px; margin:16px 0}
.step-card{position:relative; background:transparent; border:0; padding:0}
.step-timeline{display:flex; align-items:center; gap:12px}
.step-node{flex:0 0 auto; width:36px; height:36px; border-radius:50%; background:linear-gradient(135deg,#1abc9c,#3498db); color:#041220; display:flex; align-items:center; justify-content:center; font-weight:800; box-shadow:0 6px 18px rgba(42,166,255,.35)}
.step-line{flex:1; height:2px; background:linear-gradient(90deg, rgba(42,166,255,.6), rgba(25,227,170,.6)); opacity:.6}
.step-card .title{margin:10px 0 6px; font-weight:600}
.step-card .desc{color:var(--muted); font-size:14px; margin:0}
.register-form .consents{margin:10px 0}
.register-form .consent{display:block; color:var(--muted); font-size:14px; margin-bottom:8px}

/* Form sections as cards (Swiss design feel) */
.form-section{background:transparent; border:0; border-left:4px solid #2a5dbf; padding:16px 18px; margin:18px 0}
.form-section .section-header{display:flex; align-items:center; gap:10px; margin-bottom:12px}
.form-section .section-header h3{margin:0; font-size:15px; letter-spacing:.5px; text-transform:uppercase; color:#cfe1ff; font-weight:600}
.form-section .section-header .tag{margin-left:auto; padding:2px 8px; border:1px solid var(--outline); border-radius:999px; font-size:11px; color:#9fb3d8}
.form-section .section-header i{width:28px; height:28px; display:flex; align-items:center; justify-content:center; border-radius:8px; background:linear-gradient(135deg, #1abc9c, #3498db); color:#041220}

@media (max-width: 960px){
  .register-layout{grid-template-columns:1fr}
}

/* Microinteractions */
.card:hover{border-color:#23406d}
.a-card:hover,.c-item:hover{border-color:#23406d; box-shadow:0 12px 40px rgba(0,0,0,.35)}

/* Eksperci i Ambasadorzy */
.experts-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:24px}
.expert-card{background:var(--card); border:1px solid var(--outline); border-radius:16px; box-shadow:var(--shadow); padding:24px; transition:all .3s ease; position:relative; overflow:hidden}
.expert-card:hover{border-color:#23406d; box-shadow:0 12px 40px rgba(0,0,0,.35); transform:translateY(-2px)}
.expert-card:before{content:""; position:absolute; top:-50%; right:-50%; width:100%; height:100%; border-radius:50%; background:radial-gradient(closest-side, rgba(42,166,255,.08), transparent); filter:blur(20px); transition:opacity .3s ease; opacity:0}
.expert-card:hover:before{opacity:1}

.expert-avatar{position:relative; margin:0 auto 18px; width:80px; height:80px; border-radius:50%; overflow:hidden; border:3px solid var(--outline)}
.expert-avatar img{width:100%; height:100%; object-fit:cover; filter:grayscale(30%); transition:filter .3s ease}
.expert-card:hover .expert-avatar img{filter:grayscale(0%)}

.expert-badge{position:absolute; bottom:-2px; right:-2px; width:28px; height:28px; border-radius:50%; background:linear-gradient(135deg, var(--primary), var(--accent)); display:flex; align-items:center; justify-content:center; color:#041220; font-size:12px; border:2px solid var(--card); box-shadow:0 4px 12px rgba(42,166,255,.35)}
.expert-badge.ambassador{background:linear-gradient(135deg, #ff6b35, #f7931e)}
.expert-badge.guest{background:linear-gradient(135deg, #667eea, #764ba2)}

.expert-info{text-align:center; position:relative; z-index:2}
.expert-name{font-size:18px; font-weight:700; margin:0 0 6px; color:var(--ink)}
.expert-title{font-size:14px; color:var(--primary); font-weight:600; margin-bottom:4px}
.expert-company{font-size:13px; color:var(--muted); margin-bottom:12px}
.expert-description{font-size:14px; line-height:1.5; color:var(--muted); margin-bottom:16px; opacity:.9}

.expert-specialties{display:flex; flex-wrap:wrap; gap:6px; justify-content:center}
.specialty-tag{padding:4px 8px; border-radius:12px; font-size:11px; background:linear-gradient(135deg, rgba(42,166,255,.15), rgba(25,227,170,.10)); color:#cfe1ff; border:1px solid rgba(42,166,255,.25); font-weight:500}

.experts-cta{margin-top:40px; text-align:center}
.experts-cta p{color:var(--muted); margin-bottom:16px}

/* Responsive dla ekspertów */
@media (max-width: 960px){
  .experts-grid{grid-template-columns:repeat(2,1fr); gap:20px}
}
@media (max-width: 640px){
  .experts-grid{grid-template-columns:1fr; gap:16px}
  .expert-card{padding:20px}
}

/* Company Profile Styles */
.company-profile-header {
  background: linear-gradient(135deg, rgba(42,166,255,.15), rgba(25,227,170,.08));
  border: 1px solid rgba(42,166,255,.2);
  border-radius: 20px;
  padding: 32px;
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
}

.company-profile-header:before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(closest-side, rgba(42,166,255,.08), transparent);
  border-radius: 50%;
  filter: blur(20px);
}

.company-header-content {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}

.company-logo-large {
  width: 120px;
  height: 120px;
  border-radius: 20px;
  background: rgba(255,255,255,.95);
  border: 2px solid var(--outline);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,.15);
  flex-shrink: 0;
}

.company-logo-large img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 12px;
}

.company-logo-large i {
  font-size: 48px;
  color: var(--muted);
}

.company-header-info {
  flex: 1;
}

.company-header-info h1 {
  margin: 0 0 8px;
  font-size: 32px;
  color: var(--ink);
  font-weight: 700;
}

.company-industry {
  font-size: 18px;
  color: var(--primary);
  margin: 0 0 12px;
  font-weight: 600;
}

.company-motto {
  font-size: 16px;
  color: var(--muted);
  font-style: italic;
  margin: 0 0 16px;
  padding: 12px 16px;
  background: rgba(255,255,255,.05);
  border-radius: 12px;
  text-align: left;
}

.company-motto i {
  font-size: 12px;
  opacity: 0.7;
}

.company-header-details {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 14px;
  color: var(--muted);
}

.company-header-details span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.company-header-details i {
  color: var(--primary);
  width: 16px;
}

.country-flag-small {
  width: 20px;
  height: 15px;
  border-radius: 2px;
}

.company-header-details a {
  color: var(--primary);
  text-decoration: none;
}

.company-header-details a:hover {
  text-decoration: underline;
}

/* Profile Grid Layout */
.profile-grid {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 32px;
  margin-bottom: 32px;
}

.profile-card {
  background: var(--card);
  border: 1px solid var(--outline);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
}

.profile-card h3 {
  margin: 0 0 16px;
  font-size: 18px;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
}

.profile-card h3 i {
  color: var(--primary);
  width: 20px;
}

.company-description,
.company-services {
  line-height: 1.7;
  color: var(--text);
  margin: 0;
}

/* Contact Grid */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: rgba(255,255,255,.02);
  border: 1px solid var(--outline);
  border-radius: 12px;
}

.contact-item i {
  color: var(--primary);
  font-size: 18px;
  margin-top: 2px;
  width: 20px;
  flex-shrink: 0;
}

.contact-item-info h4 {
  margin: 0 0 4px;
  font-size: 14px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-item-info p {
  margin: 0;
  color: var(--ink);
  font-weight: 500;
}

.contact-item-info a {
  color: var(--primary);
  text-decoration: none;
}

.contact-item-info a:hover {
  text-decoration: underline;
}

/* Premium Notice */
.premium-notice {
  position: relative;
}

.premium-blur {
  filter: blur(2px);
  pointer-events: none;
}

.premium-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--primary);
  color: white;
  padding: 12px 20px;
  border-radius: 12px;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(42,166,255,.3);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Info Grid */
.info-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--outline);
}

.info-item:last-child {
  border-bottom: none;
}

.info-item strong {
  color: var(--muted);
  font-size: 14px;
  min-width: 140px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.info-item strong i {
  color: var(--primary);
  width: 16px;
}

.info-item span {
  color: var(--ink);
  flex: 1;
}

/* Company Stats */
.company-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.stat-box {
  text-align: center;
  padding: 16px;
  background: rgba(255,255,255,.02);
  border: 1px solid var(--outline);
  border-radius: 12px;
}

.stat-number {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.stat-label {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Social Links */
.social-links-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255,255,255,.02);
  border: 1px solid var(--outline);
  border-radius: 10px;
  color: var(--ink);
  text-decoration: none;
  transition: all 0.2s ease;
}

.social-link:hover {
  background: rgba(42,166,255,.1);
  border-color: var(--primary);
  transform: translateX(4px);
}

.social-link i {
  color: var(--primary);
  width: 20px;
  font-size: 16px;
}

/* Action Buttons */
.action-buttons-vertical {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.action-buttons-bottom {
  display: flex;
  justify-content: center;
  gap: 16px;
  padding: 24px 0;
  border-top: 1px solid var(--outline);
}

.btn-action {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 14px;
}

.btn-primary-action {
  background: var(--primary);
  color: white;
}

.btn-primary-action:hover {
  background: #1e5bb8;
  transform: translateY(-2px);
}

.btn-secondary-action {
  background: rgba(255,255,255,.05);
  color: var(--ink);
  border: 1px solid var(--outline);
}

.btn-secondary-action:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--primary);
}

.btn-success-action {
  background: #27ae60;
  color: white;
}

.btn-success-action:hover {
  background: #219a52;
  transform: translateY(-2px);
}

.btn-info-action {
  background: #3498db;
  color: white;
}

.btn-info-action:hover {
  background: #2980b9;
  transform: translateY(-2px);
}

/* Membership Info */
.membership-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.info-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  color: var(--text);
  font-size: 14px;
}

.info-row i {
  color: var(--primary);
  width: 16px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .profile-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .company-header-content {
    flex-direction: column;
    text-align: center;
  }
  
  .company-logo-large {
    align-self: center;
  }
  
  .company-header-details {
    justify-content: center;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .company-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .action-buttons-bottom {
    flex-direction: column;
    align-items: center;
  }
}

/* Profile Editor Layout */
.company-profile-layout{
    display: block;
}
.profile-editor-layout{display:grid; grid-template-columns:1fr 400px; gap:32px; margin-top:20px}

.editor-panel{min-height:600px}
.preview-panel{position:sticky; top:20px; height:fit-content}

.preview-header{margin-bottom:16px; padding:16px; background:rgba(255,255,255,.03); border:1px solid var(--outline); border-radius:12px}
.preview-header h3{margin:0 0 4px; font-size:16px; color:var(--ink)}
.preview-header small{color:var(--muted); font-size:13px}

.preview-card{border:1px solid var(--outline); border-radius:16px; padding:20px; background:var(--card); box-shadow:var(--shadow)}
.preview-card .company-card{background:transparent; border:none; box-shadow:none; padding:0}

/* Form auto-save indicator */
.field.saving{position:relative}
.field.saving:after{content:""; position:absolute; top:8px; right:8px; width:12px; height:12px; border:2px solid var(--primary); border-top:2px solid transparent; border-radius:50%; animation:spin 1s linear infinite}

.field.saved{position:relative}
.field.saved:after{content:"✓"; position:absolute; top:8px; right:8px; color:var(--accent); font-weight:bold; font-size:14px}

/* Better form styling */
.prof-grid{display:grid; grid-template-columns:1fr 1fr; gap:16px}
.prof-grid .field{display:flex; flex-direction:column; gap:6px}
.prof-grid .field label{font-size:13px; color:#cfe1ff; font-weight:600}
.prof-grid .field input, .prof-grid .field select, .prof-grid .field textarea{
  background:rgba(255,255,255,.04); border:1px solid var(--outline); border-radius:10px; 
  padding:10px 12px; color:var(--ink); font-size:14px; transition:border-color .2s, background .2s
}
.prof-grid .field input:focus, .prof-grid .field select:focus, .prof-grid .field textarea:focus{
  outline:none; border-color:var(--primary); background:rgba(255,255,255,.06)
}

/* Logo uploader styling */
.logo-uploader{display:flex; gap:20px; align-items:center; padding:20px; background:rgba(255,255,255,.02); border:1px dashed var(--outline); border-radius:12px}
.logo-uploader .preview{width:80px; height:80px; border-radius:12px; background:rgba(255,255,255,.95); border:1px solid var(--outline); display:flex; align-items:center; justify-content:center; overflow:hidden; padding:6px; box-shadow:0 2px 8px rgba(0,0,0,.1)}
.logo-uploader .preview img{width:100%; height:100%; object-fit:contain; border-radius:6px}
.logo-uploader .preview i{font-size:32px; color:var(--muted)}

/* Logo upload container for edit forms */
.logo-upload-container{display:flex; gap:20px; align-items:center; padding:20px; background:rgba(255,255,255,.02); border:1px dashed var(--outline); border-radius:12px}
.logo-upload-container .logo-preview{width:80px; height:80px; border-radius:12px; background:rgba(255,255,255,.95); border:1px solid var(--outline); display:flex; align-items:center; justify-content:center; overflow:hidden; padding:6px; box-shadow:0 2px 8px rgba(0,0,0,.1)}
.logo-upload-container .logo-preview img{width:100%; height:100%; object-fit:contain; border-radius:6px}
.logo-upload-container .logo-preview i{font-size:32px; color:var(--muted)}
.logo-upload-container .logo-controls{display:flex; flex-direction:column; gap:8px}
.logo-upload-container .logo-controls .btn{font-size:14px; padding:8px 16px}

/* Intro card for company creation */
.create-company-intro{background:linear-gradient(135deg, rgba(42,166,255,.08), rgba(25,227,170,.05)); border:1px solid rgba(42,166,255,.2); border-radius:16px; padding:24px; text-align:center}
.create-company-intro i{font-size:48px; color:var(--primary); margin-bottom:16px}
.create-company-intro h3{margin:0 0 12px; color:var(--ink)}
.create-company-intro p{margin:0 0 16px; color:var(--muted)}
.create-company-intro ul{list-style:none; padding:0; margin:0; display:inline-block; text-align:left}
.create-company-intro li{padding:4px 0; color:var(--muted); font-size:14px}
.create-company-intro li i{color:var(--accent); margin-right:8px}

/* Responsive profile editor */
@media (max-width: 1200px){
  .profile-editor-layout{grid-template-columns:1fr 350px; gap:24px}
}
@media (max-width: 960px){
  .profile-editor-layout{grid-template-columns:1fr; gap:20px}
  .preview-panel{position:static; margin-top:20px}
}

/* Footer */
.site-footer{
    border-top: 1px solid var(--outline);
    background: linear-gradient(180deg, rgba(8,12,26,.95), rgba(5,8,18,.98));
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.site-footer::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.site-footer .container{
    padding: 48px 20px 24px;
    position: relative;
    z-index: 2;
}

.footer-grid{
    display: grid;
    /* 3 kolumny: marka / nawigacja / kontakt */
    grid-template-columns: minmax(320px, 1.6fr) minmax(220px, .9fr) minmax(280px, 1.1fr);
    gap: 52px;
    margin-bottom: 32px;
    align-items: start;
}

.footer-col{
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-brand{
    gap: 24px;
    max-width: 56ch;
}

.footer-logo-container{
    display: flex;
    align-items: center;
}

.footer-logo{
    height: 56px;
    width: auto;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,.3));
    transition: transform 0.3s ease;
}

.footer-logo:hover{
    transform: scale(1.05);
}

.footer-description{
    color: var(--muted);
    line-height: 1.6;
    font-size: 15px;
    margin: 0;
}

.footer-social h5{
    color: var(--ink);
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 12px 0;
}

.social-links{
    display: flex;
    gap: 12px;
}

.social-link{
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255,255,255,.05);
    border: 1px solid var(--outline);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-link::before{
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    transition: left 0.5s ease;
}

.social-link:hover{
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(42, 166, 255, 0.3);
    border-color: var(--primary);
}

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

.footer-col h4{
    color: var(--ink);
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 16px 0;
    position: relative;
}

.footer-col h4::after{
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 1px;
}

.footer-links{
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links li{
    position: relative;
}

.footer-links a{
    color: var(--muted);
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 0;
}

.footer-links a::before{
    content: '';
    position: absolute;
    left: -16px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.footer-links a:hover{
    color: var(--ink);
    padding-left: 16px;
}

.footer-links a:hover::before{
    width: 12px;
}

.contact-info{
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-item{
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(148,163,184,.16);
    box-shadow: 0 12px 26px rgba(0,0,0,.18);
    transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.contact-item:hover{
    transform: translateY(-1px);
    border-color: rgba(42,166,255,.35);
    background: rgba(255,255,255,.055);
}

.contact-item i{
    color: var(--primary);
    font-size: 16px;
    margin-top: 2px;
    flex-shrink: 0;
}

.contact-item > div{
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-label{
    font-size: 12px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.contact-item a,
.contact-item span{
    color: var(--ink);
    text-decoration: none;
    font-size: 14px;
    line-height: 1.4;
}

.contact-item a:hover{
    color: var(--primary);
}

.footer-bottom{
    border-top: 1px solid var(--outline);
    padding-top: 24px;
    position: relative;
}

.footer-bottom::before{
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    right: 20px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(42,166,255,0.3), transparent);
}

.footer-bottom-content{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.copyright{
    color: var(--muted);
    font-size: 14px;
    margin: 0;
}

.footer-legal{
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.footer-legal a{
    color: var(--muted);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-legal a:hover{
    color: var(--primary);
}

/* Responsive */
@media (max-width: 960px){
  .hero-inner{grid-template-columns:1fr}
  .hero{margin-top:0}
  .grid.two{grid-template-columns:1fr}
  .grid.three{grid-template-columns:1fr 1fr}
  .footer-grid{grid-template-columns:1fr 1fr; gap: 32px}
  .footer-brand{grid-column: 1 / -1; text-align: center}
  .footer-social{justify-content: center}
  .social-links{justify-content: center}
  .footer-logo-container{justify-content: center}
  .footer-brand{max-width: none}
  
  /* Responsywność animowanych kształtów */
  .shape-1, .shape-3, .shape-5 {
    width: 80px;
    height: 80px;
  }
  
  .shape-2, .shape-4, .shape-6 {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 768px){
  .footer-grid{grid-template-columns:1fr; gap: 32px; text-align: center}
  .footer-brand{text-align: center}
  .footer-social{justify-content: center}
  .social-links{justify-content: center}
  .footer-bottom-content{flex-direction: column; text-align: center; gap: 16px}
  .footer-legal{justify-content: center}
  .site-footer .container{padding: 32px 20px 20px}
  .contact-item{justify-content: center; text-align: left}
}
@media (max-width: 720px){
  .main-nav ul{display:none; position:absolute; right:20px; top:64px; background:#0c142c; border:1px solid var(--outline); border-radius:12px; padding:8px; width:calc(100% - 40px)}
  .main-nav ul.open{display:block}
  .nav-toggle{display:inline-flex}
  .grid.three{grid-template-columns:1fr}
}

/* Chat window styles */
.chat-bar {
    position: fixed;
    bottom: 0;
    right: 10px;
    display: flex;
    flex-direction: row;
    gap: 10px;
    z-index: 9999;
    align-items: flex-end;
}

.chat-window {
    position: fixed;
    width: 380px;
    height: 520px;
    background: linear-gradient(145deg, rgba(15,21,48,0.98), rgba(26,34,71,0.95));
    border: 1px solid rgba(42,166,255,0.4);
    border-radius: 24px 24px 0 0;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0,0,0,0.7), 0 0 0 1px rgba(42,166,255,0.3), inset 0 1px 0 rgba(255,255,255,0.1);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 0;
    z-index: 1000;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    backdrop-filter: blur(30px) saturate(1.2);
}

.chat-header {
    background: linear-gradient(135deg, var(--primary), #6fd0ff);
    color: #041220;
    padding: 18px 24px;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    position: relative;
}

.chat-header .chat-title {
    flex: 1;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.chat-header .chat-controls {
    display: flex;
    gap: 8px;
    align-items: center;
}

.chat-controls {
    flex-shrink: 0;
}

.chat-header .chat-toggle,
.chat-header .close-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.15);
    border: none;
    border-radius: 10px;
    color: #041220;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 14px;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1), inset 0 1px 0 rgba(255,255,255,0.2);
}

.chat-header .chat-toggle:hover {
    background: rgba(255,255,255,0.3);
    transform: scale(1.05);
}

.chat-header .close-btn:hover {
    background: rgba(231,76,60,0.8);
    color: #fff;
    transform: scale(1.05);
}

.chat-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, rgba(15,21,48,0.9), rgba(15,21,48,0.95));
    overflow-y: auto;
    padding: 24px 20px;
    min-height: 0;
    position: relative;
}

.chat-body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(42,166,255,0.3), transparent);
}

.messages {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Chat system messages */
.loading-message, .error-message, .no-messages {
    text-align: center;
    color: rgba(207,225,255,0.7);
    font-style: italic;
    padding: 20px;
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    margin: 10px 0;
    border: 1px solid rgba(42,166,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.error-message {
    color: #ff6b6b;
    background: rgba(255,107,107,0.1);
    border-color: rgba(255,107,107,0.3);
}

.loading-message i {
    font-size: 14px;
}

/* Message timestamps */
.message-time {
    font-size: 11px;
    opacity: 0.6;
    margin-top: 4px;
    color: rgba(207,225,255,0.5);
}

/* Dark scrollbar for chat */
.chat-body::-webkit-scrollbar {
    width: 6px;
}

.chat-body::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.05);
    border-radius: 3px;
}

.chat-body::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary), #6fd0ff);
    border-radius: 3px;
}

.chat-body::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #6fd0ff, var(--primary));
}

.message {
    max-width: 75%;
    padding: 14px 18px;
    border-radius: 20px;
    font-size: 14px;
    line-height: 1.5;
    word-wrap: break-word;
    position: relative;
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
    backdrop-filter: blur(10px);
}

.message.inbound {
    background: linear-gradient(135deg, rgba(255,255,255,0.12), rgba(255,255,255,0.08));
    color: #e8f4fd;
    align-self: flex-start;
    border-bottom-left-radius: 8px;
    border: 1px solid rgba(255,255,255,0.15);
    box-shadow: 0 4px 16px rgba(0,0,0,0.1), inset 0 1px 0 rgba(255,255,255,0.1);
}

.message.outbound {
    background: linear-gradient(135deg, var(--primary), #6fd0ff);
    color: #041220;
    align-self: flex-end;
    border-bottom-right-radius: 8px;
    font-weight: 600;
    box-shadow: 0 4px 16px rgba(42,166,255,0.3), inset 0 1px 0 rgba(255,255,255,0.3);
}

.chat-footer {
    display: flex;
    gap: 12px;
    border-top: 1px solid rgba(42,166,255,0.3);
    padding: 20px 24px;
    background: linear-gradient(180deg, rgba(15,21,48,0.95), rgba(15,21,48,0.98));
    align-items: center;
    backdrop-filter: blur(20px);
    position: relative;
}

.chat-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    right: 20px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(42,166,255,0.4), transparent);
}

.chat-input {
    flex: 1;
    border: 1px solid rgba(42,166,255,0.4);
    border-radius: 28px;
    padding: 14px 20px;
    font-size: 14px;
    outline: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.12));
    color: #e8f4fd;
    backdrop-filter: blur(10px);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 2px 8px rgba(0,0,0,0.1);
}

.chat-input::placeholder {
    color: rgba(207,225,255,0.6);
}

.chat-input:focus {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(255,255,255,0.15), rgba(255,255,255,0.18));
    box-shadow: 0 0 0 4px rgba(42,166,255,0.2), inset 0 1px 0 rgba(255,255,255,0.2), 0 4px 16px rgba(0,0,0,0.15);
    transform: translateY(-1px);
}

.btn-send {
    background: linear-gradient(135deg, var(--primary), #6fd0ff);
    color: #041220;
    border: none;
    padding: 14px 18px;
    border-radius: 28px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 52px;
    height: 52px;
    font-weight: 700;
    box-shadow: 0 6px 20px rgba(42,166,255,0.4), inset 0 1px 0 rgba(255,255,255,0.3);
    backdrop-filter: blur(10px);
}

.btn-send:hover {
    background: linear-gradient(135deg, #6fd0ff, var(--primary));
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(42,166,255,0.45);
}

.btn-send:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    filter: grayscale(50%);
}

.btn-send:active {
    transform: scale(0.95);
}

/* Focus states for accessibility */
.chat-toggle:focus,
.close-btn:focus,
.btn-send:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.chat-input:focus {
    outline: none; /* Already has box-shadow focus style */
}

.collapsed .chat-body,
.collapsed .chat-footer {
    display: none;
}

.collapsed.chat-window {
    height: 70px !important;
    border: none !important;
    box-shadow: 0 12px 40px rgba(0,0,0,0.5) !important;
    transition: height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.chat-window:not(.collapsed) {
    transition: height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Minimalized header styling */
.collapsed .chat-header {
    border-radius: 24px;
    box-shadow: 0 4px 20px rgba(42,166,255,0.3), inset 0 1px 0 rgba(255,255,255,0.2);
}


.collapsed .chat-header .chat-title {
    font-size: 15px;
}

/* Hover effect for collapsed chat */
.collapsed.chat-window:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 65px rgba(0,0,0,0.8), 0 0 0 1px rgba(42,166,255,0.4), inset 0 1px 0 rgba(255,255,255,0.15);
}

.chat-window.mobile {
    width: calc(100vw - 40px);
    height: 70vh;
    right: 20px !important;
    left: 20px;
}

@media (max-width: 768px) {
    .chat-window {
        width: calc(100vw - 20px);
        height: 60vh;
        right: 10px !important;
        left: 10px;
        border-radius: 16px 16px 0 0;
    }
    
    .chat-header {
        padding: 14px 16px;
        font-size: 14px;
    }
    
    .chat-body {
        padding: 16px 12px;
    }
    
    .chat-footer {
        padding: 12px 16px;
    }
    
    .btn-send {
        min-width: 44px;
        height: 44px;
        padding: 10px 14px;
    }
    
    .collapsed.chat-window {
        height: 60px !important;
    }
}

/* Style dla sekcji członków - przycisk rozwijania */
.expand-section-btn-container {
    display: flex;
    justify-content: center;
    margin-top: 24px;
}

.expand-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border: none;
    border-radius: 16px;
    color: white;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(42, 166, 255, 0.3);
}

.expand-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(42, 166, 255, 0.4);
}

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

/* Style dla rozwiniętej sekcji członków */
.members-expanded {
    margin-top: 32px;
    padding: 24px 0;
}

.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 24px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.member-card {
    background: var(--card);
    border: 1px solid var(--outline);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    max-width: 320px;
    width: 100%;
}

.member-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    border-color: var(--primary);
}

.member-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--outline);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.member-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.member-info {
    margin-bottom: 16px;
}

.member-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
    margin: 0 0 8px 0;
}

.member-industry {
    font-size: 14px;
    color: var(--muted);
    margin: 0;
}

.member-details-btn {
    background: linear-gradient(135deg, rgba(42, 166, 255, 0.1), rgba(25, 227, 170, 0.1));
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 12px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.member-details-btn:hover {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    transform: translateY(-1px);
}

.no-companies, .error-message {
    text-align: center;
    color: var(--muted);
    padding: 40px 20px;
    font-size: 16px;
}

/* Style dla modala firmy */
.company-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.company-modal {
    background: var(--surface, #1a1d29);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    max-width: 650px;
    width: 100%;
    max-height: 85vh;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6);
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.modal-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transform: scale(1.1);
}

.company-header-section {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 32px 32px 24px 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: var(--card, #252836);
}

.company-logo-large {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.company-logo-large img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.company-header-info {
    flex: 1;
}

.company-name {
    margin: 0 0 8px 0;
    font-size: 24px;
    font-weight: 700;
    color: var(--ink, #ffffff);
    line-height: 1.2;
}

.company-industry {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(var(--accent-rgb, 0, 123, 255), 0.1);
    color: var(--accent, #007bff);
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.company-motto {
    font-style: italic;
    color: var(--accent);
    margin: 16px 0;
    padding: 12px;
    background: rgba(var(--accent-rgb), 0.1);
    border-radius: 4px;
    text-align: left;
}

.company-social-media {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--outline);
}

.company-social-media .social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 18px;
}

.company-social-media .social-link.linkedin {
    background: #0077b5;
    color: white;
}

.company-social-media .social-link.facebook {
    background: #1877f2;
    color: white;
}

.company-social-media .social-link.twitter {
    background: #1da1f2;
    color: white;
}

.company-social-media .social-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Usunięte - stare style modal-header */

/* Usunięte - modal-title-section */

/* Usunięte - company-logo-header */

.modal-title-info h3 {
    margin: 0 0 8px 0;
    font-size: 24px;
    color: var(--ink);
    line-height: 1.2;
}

.company-industry-badge {
    display: inline-block;
    padding: 4px 12px;
    background: linear-gradient(135deg, var(--accent), rgba(var(--accent-rgb), 0.8));
    color: white;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Usunięte - stary modal-close */

/* Usunięte - stary modal-content ze scrollbar */

.detail-section {
    margin-bottom: 16px;
}

.detail-section:last-child {
    margin-bottom: 0;
}

.detail-section h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px 0;
    font-size: 16px;
    color: var(--accent);
    font-weight: 600;
}

.detail-section h4 i {
    font-size: 14px;
}

.company-description {
    color: var(--muted);
    line-height: 1.6;
    margin: 0;
}

.motto-section {
    text-align: center;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin: 12px 0;
}


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

.company-motto {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-style: italic;
    color: var(--accent);
    font-size: 18px;
    font-weight: 500;
    line-height: 1.4;
}

.company-motto i {
    font-size: 16px;
    opacity: 0.7;
    color: var(--accent);
}

.company-motto i:first-child {
    transform: translateY(-2px);
}

.company-motto i:last-child {
    transform: translateY(2px);
}

.info-grid {
    display: grid;
    gap: 12px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(255,255,255,0.02);
    border-radius: 8px;
    border: 1px solid var(--outline);
}

.info-item i {
    width: 20px;
    text-align: center;
    color: var(--accent);
    flex-shrink: 0;
}

.info-item span {
    color: var(--muted);
    line-height: 1.4;
}

.info-item a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s ease;
}

.info-item a:hover {
    color: var(--ink);
    text-decoration: underline;
}

.social-section .company-social-media {
    display: flex;
    gap: 16px;
    margin-top: 16px;
    border-top: none;
    padding-top: 0;
}

.social-section .social-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
    min-width: 120px;
    justify-content: center;
}

.social-section .social-link::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.5s ease;
}

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

.social-section .social-link span {
    color: inherit;
}

.social-section .social-link.linkedin {
    background: linear-gradient(135deg, #0077b5, #005885);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 119, 181, 0.3);
}

.social-section .social-link.facebook {
    background: linear-gradient(135deg, #1877f2, #0d5dbf);
    color: white;
    box-shadow: 0 4px 15px rgba(24, 119, 242, 0.3);
}

.social-section .social-link.twitter {
    background: linear-gradient(135deg, #000000, #333333);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.social-section .social-link:hover {
    transform: translateY(-3px) scale(1.02);
    border-color: rgba(255,255,255,0.3);
}

.social-section .social-link.linkedin:hover {
    box-shadow: 0 12px 30px rgba(0, 119, 181, 0.5);
}

.social-section .social-link.facebook:hover {
    box-shadow: 0 12px 30px rgba(24, 119, 242, 0.5);
}

.social-section .social-link.twitter:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

/* Zapobieganie znikaniu kursora i przewijaniu */
body.modal-open {
    overflow: hidden;
    padding-right: 0;
}

.company-modal-overlay {
    cursor: default;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

.company-modal {
    cursor: default;
    position: relative;
}

.company-modal * {
    cursor: inherit;
}

.company-modal a, .company-modal button {
    cursor: pointer !important;
}

.company-modal input, .company-modal textarea, .company-modal select {
    cursor: text !important;
}

.company-modal .modal-close {
    cursor: pointer !important;
}

.social-section .social-link {
    cursor: pointer !important;
}

/* Wymusz załadowanie Font Awesome Brands dla ikon social media */
.social-section .social-link i.fa-brands {
    font-family: "Font Awesome 6 Brands" !important;
    font-weight: 400 !important;
    font-style: normal !important;
}

/* Fallback dla ikon social media jeśli Font Awesome nie ładuje się */
.social-section .social-link.linkedin i::before {
    content: "in" !important;
    font-family: Arial, sans-serif !important;
    font-weight: bold !important;
    font-size: 12px !important;
    background: white !important;
    color: #0077b5 !important;
    border-radius: 2px !important;
    padding: 2px 4px !important;
}

.social-section .social-link.facebook i::before {
    content: "f" !important;
    font-family: Arial, sans-serif !important;
    font-weight: bold !important;
    font-size: 14px !important;
    background: white !important;
    color: #1877f2 !important;
    border-radius: 2px !important;
    padding: 2px 6px !important;
}

.social-section .social-link.twitter i::before {
    content: "𝕏" !important;
    font-family: Arial, sans-serif !important;
    font-weight: bold !important;
    font-size: 12px !important;
    background: white !important;
    color: #000000 !important;
    border-radius: 2px !important;
    padding: 2px 4px !important;
}

/* Jeśli Font Awesome działa poprawnie, ukryj fallback */
.fa-brands.fa-linkedin-in::before,
.fa-brands.fa-facebook-f::before,
.fa-brands.fa-twitter::before,
.fa-brands.fa-x-twitter::before {
    font-family: "Font Awesome 6 Brands" !important;
}

/* Usunięte - duplikujące się style modal-header */

/* Usunięte - kolejny duplikat modal-close */

/* Usunięte - duplikat modal-content */

.company-logo-large {
    width: 120px;
    height: 120px;
    margin: 0 auto 24px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--outline);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.company-logo-large img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
}

.company-details {
    text-align: left;
}

.company-description {
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink);
    margin-bottom: 20px;
}

.company-details p {
    margin: 12px 0;
    color: var(--muted);
    font-size: 14px;
}

.company-details strong {
    color: var(--ink);
    font-weight: 600;
}

.company-details a {
    color: var(--primary);
    text-decoration: none;
}

.company-details a:hover {
    text-decoration: underline;
}

/* Responsywność */
@media (max-width: 768px) {
    .members-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 16px;
    }
    
    .member-card {
        padding: 16px;
    }
    
    .member-logo {
        width: 60px;
        height: 60px;
    }
    
    .company-modal {
        margin: 10px;
        max-height: 90vh;
    }
    
    /* Usunięte - stary style modal-header */
    
    /* Usunięte - duplikat modal-content mobile */
    
    .company-logo-large {
        width: 100px;
        height: 100px;
    }
}

/* Licznik znaków dla textarea */
.textarea-with-counter {
    position: relative;
}

.textarea-with-counter textarea {
    width: 100%;
    resize: vertical;
}

.char-counter {
    display: flex;
    justify-content: flex-end;
    font-size: 12px;
    color: var(--muted);
    margin-top: 4px;
    padding-right: 4px;
}

.char-counter span {
    font-weight: 600;
}

/* Media Management Styles */
.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.media-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--muted);
}

.media-empty i {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.media-item {
    background: var(--card);
    border: 1px solid var(--outline);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

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

.media-preview {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--surface);
}

.media-preview img,
.media-preview video,
.media-preview iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none;
}

.media-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.media-item:hover .media-overlay {
    opacity: 1;
}

.btn-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    color: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-icon:hover {
    background: white;
    transform: scale(1.1);
}

.media-info {
    padding: 16px;
}

.media-info h4 {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--ink);
}

.media-info p {
    margin: 0 0 8px 0;
    font-size: 14px;
    color: var(--muted);
    line-height: 1.4;
}

.media-info small {
    font-size: 12px;
    color: var(--accent);
    font-weight: 500;
}

.video-preview video {
    object-fit: contain;
    background: #000;
}

.video-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: var(--surface);
    color: var(--muted);
    text-align: center;
    padding: 20px;
}

.video-error i {
    font-size: 32px;
    margin-bottom: 8px;
    color: #f39c12;
}

.video-error p {
    margin: 0;
    font-size: 14px;
}

.video-type-selector {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    justify-content: center;
}

.video-type-btn {
    flex: 1;
    max-width: 220px;
    padding: 20px 16px !important;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
    border: 2px solid var(--outline) !important;
    background: var(--surface) !important;
    transition: all 0.3s ease !important;
}

.video-type-btn:hover {
    border-color: var(--primary) !important;
    background: rgba(var(--primary-rgb), 0.1) !important;
    transform: translateY(-2px);
}

.video-type-btn.primary {
    border-color: var(--primary) !important;
    background: rgba(var(--primary-rgb), 0.15) !important;
    color: var(--primary) !important;
}

.video-type-btn i {
    font-size: 24px;
    margin-bottom: 4px;
}

.video-type-btn span {
    font-weight: 600;
    font-size: 14px;
}

.video-type-btn small {
    font-size: 12px;
    color: var(--muted);
    margin-top: 4px;
}

.file-upload-area {
    position: relative;
    border: 2px dashed var(--outline);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    background: var(--surface);
    transition: all 0.3s ease;
}

.file-upload-area:hover {
    border-color: var(--primary);
    background: rgba(var(--primary-rgb), 0.05);
}

.file-upload-area input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.file-upload-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    pointer-events: none;
}

.file-upload-placeholder i {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 8px;
}

.file-upload-placeholder p {
    margin: 0;
    font-weight: 500;
    color: var(--ink);
}

.file-upload-placeholder small {
    color: var(--muted);
    font-size: 12px;
}

.image-preview {
    position: relative;
    display: flex;
    justify-content: center;
    margin-top: 16px;
    padding: 16px;
    background: var(--surface);
    border-radius: 12px;
    border: 1px solid var(--outline);
}

.image-preview img {
    max-width: 100%;
    max-height: 200px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.remove-preview {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.remove-preview:hover {
    background: rgba(220, 53, 69, 0.8);
    transform: scale(1.1);
}

.btn.secondary {
    background: var(--surface) !important;
    color: var(--muted) !important;
    border: 1px solid var(--outline) !important;
}

.btn.secondary:hover {
    background: var(--outline) !important;
    color: var(--ink) !important;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(4px);
}

/* Usunięte - ostatni duplikat modal-content */

/* Usunięte - ostatni duplikat modal-header */

/* Usunięte - ostatni duplikat modal-close */

.modal-body {
    padding: 24px;
}

.modal-footer {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    padding: 20px 24px;
    border-top: 1px solid var(--outline);
}

@media (max-width: 768px) {
    .media-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 16px;
    }
    
    /* Usunięte - duplikat modal-content mobile 2 */
    
    .video-type-selector {
        flex-direction: column;
        gap: 12px;
    }
    
    .video-type-btn {
        max-width: none;
        padding: 16px !important;
    }
    
    .video-type-btn i {
        font-size: 20px;
    }
    
    .file-upload-area {
        padding: 20px 16px;
    }
    
    .file-upload-placeholder i {
        font-size: 28px;
    }
    
    .image-preview {
        padding: 12px;
    }
    
    .image-preview img {
        max-height: 150px;
    }
}

/* System edycji inline dla administratorów */
.edit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: rgba(42, 166, 255, 0.1);
    border: 1px solid rgba(42, 166, 255, 0.3);
    border-radius: 6px;
    color: var(--primary);
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 8px;
    opacity: 0.7;
}

.edit-btn:hover {
    background: rgba(42, 166, 255, 0.2);
    border-color: var(--primary);
    opacity: 1;
    transform: scale(1.1);
}

.edit-btn i {
    font-size: 10px;
}

/* Formularz edycji inline */
.inline-edit-form {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10000;
    background: var(--card);
    border: 2px solid var(--primary);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    padding: 16px;
    margin: 0;
    min-width: 300px;
    max-width: 500px;
    max-height: 80vh;
    overflow-y: auto;
}

/* Overlay dla formularzy edycji */
.edit-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 9999;
    cursor: pointer;
}

/* Licznik nieprzeczytanych wiadomości w menu */
.unread-badge {
    background: #ff4757;
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 0.7rem;
    font-weight: bold;
    min-width: 16px;
    text-align: center;
    margin-left: 8px;
    animation: pulse 2s infinite;
}

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

.edit-form-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.edit-textarea {
    width: 100%;
    min-height: 80px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--outline);
    border-radius: 8px;
    color: var(--ink);
    font-size: 14px;
    line-height: 1.5;
    resize: vertical;
    outline: none;
    transition: border-color 0.3s ease;
}

.edit-textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(42, 166, 255, 0.2);
}

.edit-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

.btn-save, .btn-cancel {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-save {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
}

.btn-save:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(42, 166, 255, 0.3);
}

.btn-cancel {
    background: rgba(255, 255, 255, 0.1);
    color: var(--muted);
    border: 1px solid var(--outline);
}

.btn-cancel:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--ink);
}

/* Powiadomienia */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 12px 20px;
    border-radius: 8px;
    color: white;
    font-size: 14px;
    font-weight: 500;
    z-index: 10000;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.notification.show {
    transform: translateX(0);
}

.notification-success {
    background: linear-gradient(135deg, #19e3aa, #1abc9c);
}

.notification-error {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
}

/* Responsywność dla systemu edycji */
@media (max-width: 768px) {
    .edit-btn {
        width: 20px;
        height: 20px;
        font-size: 10px;
        margin-left: 4px;
    }
    
    .inline-edit-form {
        margin: -4px;
        padding: 12px;
    }
    
    .edit-textarea {
        min-height: 60px;
        font-size: 13px;
    }
    
    .edit-actions {
        flex-direction: column;
    }
    
    .btn-save, .btn-cancel {
        width: 100%;
        justify-content: center;
    }
    
    .notification {
        right: 10px;
        left: 10px;
        transform: translateY(-100%);
    }
    
    .notification.show {
        transform: translateY(0);
    }
}

.hero-metrics-bar{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; margin-bottom:14px}
.metric-chip{position:relative; padding:20px 22px; border-radius:20px; border:1px solid rgba(255,255,255,.2); background:linear-gradient(160deg, rgba(8,12,26,.78), rgba(12,18,36,.58)); box-shadow:0 22px 48px rgba(6,10,22,.5); display:flex; flex-direction:column; gap:10px; min-height:148px}
.metric-number{font-size:34px; font-weight:800; color:#e9eef7; display:flex; align-items:center; gap:6px}
.metric-label{font-size:13px; text-transform:uppercase; letter-spacing:.5px; color:#9fb3d8; display:flex; align-items:center; gap:6px}
.metric-caption{margin:0; font-size:13px; color:#8da1c4; line-height:1.45}
.hero-metrics-bar .edit-btn{position:static}
.metric-chip .edit-btn{margin-left:auto}
.metric-chip .edit-btn i{font-size:12px}
.hero-signal-grid.hero-signal-grid-stack{grid-template-columns:1fr; gap:16px}

.admin-users{display:flex;flex-direction:column;gap:12px}
.admin-users-header{display:grid;grid-template-columns:2fr 1.5fr 1fr 1fr;gap:12px;padding:12px 16px;border-radius:12px;border:1px solid rgba(148,163,184,.2);background:rgba(10,16,32,.65);color:#9fb3d8;font-size:12px;letter-spacing:.08em;text-transform:uppercase;font-weight:700}
.admin-users-empty{padding:18px;border:1px dashed rgba(148,163,184,.3);border-radius:12px;color:#9fb3d8;background:rgba(10,16,32,.4);text-align:center}
.admin-user-card{border:1px solid rgba(148,163,184,.18);border-radius:14px;background:rgba(14,22,40,.72);padding:14px 16px;display:flex;flex-direction:column;gap:12px;position:relative;box-shadow:0 12px 28px rgba(6,12,32,.35)}
.admin-user-header{display:flex;justify-content:space-between;align-items:center;gap:12px}
.admin-user-header strong{font-size:15px;color:#e8f0ff}
.admin-user-status{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:999px;font-size:12px;font-weight:600}
.admin-user-status.pending{background:rgba(255,184,0,.12);color:#ffb800;border:1px solid rgba(255,184,0,.4)}
.admin-user-status.verified{background:rgba(42,166,255,.12);color:#7dd3ff;border:1px solid rgba(42,166,255,.4)}
.admin-user-meta{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px;font-size:13px;color:#b8c9e8}
.admin-user-meta span{display:flex;align-items:center;gap:8px}
.admin-user-meta i{color:var(--accent)}
.admin-user-actions{display:flex;justify-content:flex-end;gap:10px}
.admin-user-actions .btn{min-width:0}
.admin-user-toggle{cursor:pointer;display:flex;align-items:center;gap:8px;font-size:13px;color:#7dd3ff;transition:color .2s}
.admin-user-toggle:hover{color:#a8dcff}
.admin-user-details{display:none;border-top:1px solid rgba(148,163,184,.16);padding-top:12px;gap:14px;flex-direction:column}
.admin-user-card.open .admin-user-details{display:flex}
.admin-user-card.open .admin-user-toggle i{transform:rotate(180deg)}
.admin-user-toggle i{transition:transform .2s}

.admin-active-title{margin-top:24px;font-size:15px;color:#9fb3d8;letter-spacing:.08em;text-transform:uppercase}
.admin-active-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:12px}
.admin-active-item{border:1px solid rgba(148,163,184,.18);border-radius:14px;background:rgba(15,23,42,.68);padding:14px 16px;display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
.admin-active-main{display:flex;flex-direction:column;gap:6px;font-size:13px;color:#cfe1ff}
.admin-active-name{font-weight:700;font-size:15px;color:#e8f0ff}
.admin-active-email,.admin-active-company{display:flex;align-items:center;gap:6px;color:#9fb3d8}
.admin-active-controls{display:flex;flex-direction:column;gap:8px;align-items:flex-end;min-width:180px}
.admin-active-controls form{display:flex;gap:6px;align-items:center}
.admin-active-controls select{background:rgba(10,16,32,.8);border:1px solid rgba(148,163,184,.24);border-radius:10px;color:#e5edff;padding:6px 10px;font-size:13px}
.admin-active-logo{width:60px;height:60px;border-radius:16px;background:linear-gradient(135deg, rgba(42,166,255,.18), rgba(25,227,170,.14));display:flex;align-items:center;justify-content:center;border:1px solid rgba(148,163,184,.24);overflow:hidden}
.admin-active-logo img{width:100%;height:100%;object-fit:cover;background:#0a1328}
.admin-active-logo-initials{font-weight:700;font-size:18px;color:#e8f0ff;letter-spacing:.08em}

.admin-active-row{border:1px solid rgba(148,163,184,.18);border-radius:14px;background:rgba(15,23,42,.7);padding:10px 14px;display:grid;grid-template-columns:72px minmax(0,1fr) auto;gap:14px;align-items:center}
.admin-active-info{display:flex;flex-direction:column;gap:6px}
.admin-active-info-main{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.admin-active-info-main strong{color:#e8f0ff;font-size:15px;margin-right:8px}
.admin-active-user{color:#7dd3ff;font-size:12px;text-transform:uppercase;letter-spacing:.08em}
.admin-active-info-meta{display:flex;flex-wrap:wrap;gap:10px;font-size:12px;color:#9fb3d8}
.admin-active-info-meta span{display:flex;align-items:center;gap:6px}
.admin-active-actions{display:flex;align-items:center;gap:10px}
.admin-active-actions select{background:rgba(10,16,32,.8);border:1px solid rgba(148,163,184,.24);border-radius:10px;color:#e5edff;padding:6px 10px;font-size:12px}
.inline-role-form{display:flex;align-items:center;gap:12px;background:rgba(10,18,34,.75);padding:8px 14px;border-radius:14px;border:1px solid rgba(148,163,184,.28);box-shadow:0 8px 20px rgba(0,0,0,.25)}
.inline-role-form label{display:flex;align-items:center;gap:6px;color:#9fb3d8;font-size:12px;text-transform:uppercase;letter-spacing:.08em}
.inline-role-form select{background:rgba(8,14,28,.85);border:1px solid rgba(148,163,184,.35);border-radius:10px;color:#e5edff;font-size:13px;min-width:110px;padding:6px 10px;appearance:none;-webkit-appearance:none;-moz-appearance:none}
.inline-role-form select option{background:#0f1530;color:#e5edff}
.inline-role-form select:focus{outline:none;box-shadow:0 0 0 2px rgba(42,166,255,.35)}

.admin-active-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(360px,1fr));gap:16px;margin-top:12px}
.admin-active-card{border:1px solid rgba(148,163,184,.18);border-radius:18px;background:linear-gradient(160deg, rgba(14,22,40,.88), rgba(8,14,28,.74));padding:18px 20px;display:flex;flex-direction:column;gap:12px;box-shadow:0 18px 38px rgba(4,10,28,.55)}
.admin-active-card:hover{border-color:rgba(42,166,255,.45);box-shadow:0 22px 48px rgba(6,16,36,.6)}
.admin-active-top{display:flex;align-items:center;gap:16px}
.admin-active-avatar{width:56px;height:56px;border-radius:16px;background:linear-gradient(135deg, rgba(42,166,255,.25), rgba(25,227,170,.2));display:flex;align-items:center;justify-content:center;border:1px solid rgba(148,163,184,.25);overflow:hidden;flex-shrink:0}
.admin-active-avatar img{width:100%;height:100%;object-fit:cover;background:#0a1328}
.admin-active-avatar-text{font-weight:700;font-size:18px;color:#e8f0ff;letter-spacing:.08em}
.admin-active-heading{display:flex;flex-direction:column;gap:4px}
.admin-active-heading h4{margin:0;font-size:16px;color:#e8f0ff}
.admin-active-heading span{color:#7dd3ff;font-size:12px;text-transform:uppercase;letter-spacing:.08em}
.admin-active-badge{margin-left:auto;background:linear-gradient(135deg, rgba(25,227,170,.22), rgba(42,166,255,.22));border:1px solid rgba(42,166,255,.45);color:#abf5ff;font-size:12px;padding:6px 12px;border-radius:12px;display:inline-flex;align-items:center;gap:6px}
.admin-active-meta{display:flex;flex-wrap:wrap;gap:14px;font-size:12px;color:#9fb3d8}
.admin-active-meta span{display:inline-flex;align-items:center;gap:6px}
.admin-active-footer{display:flex;align-items:center;justify-content:space-between;gap:12px}
.inline-role-form{display:flex;align-items:center;gap:10px;background:rgba(8,14,26,.6);padding:6px 12px;border-radius:12px;border:1px solid rgba(148,163,184,.2)}
.inline-role-form label{display:flex;align-items:center;gap:6px;color:#9fb3d8;font-size:12px}
.inline-role-form select{background:transparent;border:none;color:#e5edff;font-size:13px;min-width:110px}
.inline-role-form select:focus{outline:none}
.inline-role-form i{color:#7dd3ff}
.admin-active-footer .btn{min-width:0}
.admin-active-footer .btn span{margin-left:6px}
.admin-active-footer .btn.ghost{display:inline-flex;align-items:center;gap:6px}

/* Admin sections styles */
.admin-section {
    margin-bottom: 32px;
}

.admin-section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.admin-section-title i {
    color: rgb(var(--primary-rgb));
}

.admin-section-count {
    background: rgba(var(--primary-rgb), 0.2);
    color: rgb(var(--primary-rgb));
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    margin-left: auto;
}

.admin-section-content {
    display: block;
}

/* Inline forms */
.inline {
    display: inline-block;
    margin-right: 8px;
}

.admin-user-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

/* Deleted card styles */
.admin-active-card.deleted {
    opacity: 0.7;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
}

.admin-active-badge.deleted {
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.2);
}

/* Verification Cards Styles */
.verification-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.verification-card:hover {
    border-color: rgba(var(--primary-rgb), 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.verification-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.verification-header:hover {
    background: rgba(255, 255, 255, 0.02);
}

.verification-main {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.verification-avatar {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: rgba(var(--primary-rgb), 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 2px solid rgba(var(--primary-rgb), 0.2);
}

.verification-avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.verification-avatar-text {
    font-size: 20px;
    font-weight: 600;
    color: rgb(var(--primary-rgb));
}

.verification-info {
    flex: 1;
}

.verification-company-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
    margin: 0 0 8px 0;
}

.verification-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 14px;
    color: var(--muted);
}

.verification-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.verification-meta i {
    color: rgb(var(--primary-rgb));
    width: 14px;
}

.verification-status {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.verification-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

.verification-badge.pending {
    background: rgba(255, 193, 7, 0.1);
    color: #ffc107;
    border: 1px solid rgba(255, 193, 7, 0.2);
}

.verification-badge.active {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.verification-date {
    font-size: 12px;
    color: var(--muted);
}

.verification-toggle {
    background: none;
    border: none;
    color: var(--muted);
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.verification-toggle:hover {
    color: rgb(var(--primary-rgb));
    background: rgba(var(--primary-rgb), 0.1);
}

.verification-toggle.expanded {
    transform: rotate(180deg);
}

.verification-details {
    padding: 0 24px 20px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    animation: slideDown 0.3s ease;
}

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

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

.verification-detail {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.verification-detail:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(var(--primary-rgb), 0.2);
    transform: translateY(-1px);
}

.verification-detail label {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.verification-detail label i {
    color: rgb(var(--primary-rgb));
    width: 14px;
    font-size: 12px;
}

.verification-detail span {
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
}

.verification-detail a {
    color: rgb(var(--primary-rgb));
    text-decoration: none;
}

.verification-detail a:hover {
    text-decoration: underline;
}

.verification-description {
    margin-bottom: 20px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.verification-description label {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.verification-description label i {
    color: rgb(var(--primary-rgb));
    width: 16px;
    font-size: 14px;
}

.verification-description p {
    color: #ffffff;
    line-height: 1.6;
    margin: 0;
    font-size: 14px;
    font-weight: 400;
}

.verification-sectors {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.sector-tag {
    background: rgba(var(--primary-rgb), 0.1);
    color: rgb(var(--primary-rgb));
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid rgba(var(--primary-rgb), 0.2);
}

.text-success {
    color: #10b981 !important;
}

.text-error {
    color: #ef4444 !important;
}

.text-muted {
    color: rgba(255, 255, 255, 0.5) !important;
}

.verification-detail span.text-success,
.verification-detail span.text-error,
.verification-detail span.text-muted {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
}

.verification-details-grid .verification-detail:empty {
    display: none;
}

/* Verification Sections */
.verification-section {
    margin-bottom: 28px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.01);
}

.verification-section-title {
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.15), rgba(var(--accent-rgb), 0.1));
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 16px 20px;
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.verification-section-title i {
    color: rgb(var(--primary-rgb));
    font-size: 16px;
    width: 16px;
}

.verification-section .verification-details-grid {
    padding: 20px;
    margin-bottom: 0;
}

/* Administrator Section Styles */
.admin-admin-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
}

.admin-admin-card {
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1), rgba(var(--accent-rgb), 0.05));
    border: 1px solid rgba(var(--primary-rgb), 0.2);
    border-radius: 16px;
    padding: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.admin-admin-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, rgb(var(--primary-rgb)), rgb(var(--accent-rgb)));
}

.admin-admin-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(var(--primary-rgb), 0.2);
    border-color: rgba(var(--primary-rgb), 0.4);
}

.admin-admin-top {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.admin-admin-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgb(var(--primary-rgb)), rgb(var(--accent-rgb)));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.3);
}

.admin-admin-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.admin-admin-avatar-text {
    font-size: 20px;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.admin-admin-heading {
    flex: 1;
}

.admin-admin-heading h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
    margin: 0 0 4px 0;
}

.admin-admin-heading span {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.admin-admin-badge {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #1a1a1a;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

.admin-admin-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.admin-admin-meta span {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 8px;
}

.admin-admin-meta i {
    color: rgb(var(--primary-rgb));
    width: 14px;
}

.admin-admin-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.admin-status-info {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
}

.admin-status-info i {
    color: #ffd700;
}

.admin-admin-footer .btn.ghost {
    padding: 8px 16px;
    font-size: 13px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.admin-admin-footer .btn.ghost:hover {
    background: rgba(var(--primary-rgb), 0.1);
    border-color: rgba(var(--primary-rgb), 0.3);
    color: rgb(var(--primary-rgb));
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .admin-admin-list {
        grid-template-columns: 1fr;
    }
    
    .admin-admin-top {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .admin-admin-footer {
        flex-direction: column;
        gap: 12px;
    }
}

.verification-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    align-items: center;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.verification-actions .status-form {
    display: flex;
    align-items: center;
    gap: 12px;
}

.verification-actions label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.verification-actions label i {
    font-size: 14px;
    color: rgba(var(--primary-rgb), 0.8);
}

.verification-actions select {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    color: #ffffff;
    font-size: 13px;
    padding: 6px 10px;
    min-width: 100px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.verification-actions select:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(var(--primary-rgb), 0.4);
}

.verification-actions select:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
    border-color: rgb(var(--primary-rgb));
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
}

.verification-actions select option {
    background: #1a1f2e;
    color: #ffffff;
    padding: 6px;
}

.verification-actions select[name="status"] option[value="deleted"] {
    color: #ef4444;
    font-weight: 500;
}

.verification-actions select[name="status"] option[value="blocked"] {
    color: #f59e0b;
    font-weight: 500;
}

.verification-actions select[name="role"] option[value="admin"] {
    color: rgba(var(--primary-rgb), 1);
    font-weight: 500;
}

.btn-verification {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-verification i {
    font-size: 14px;
}

.btn-reject {
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.2);
}

.btn-reject:hover {
    background: rgba(231, 76, 60, 0.2);
    border-color: rgba(231, 76, 60, 0.4);
    transform: translateY(-1px);
}

.btn-approve {
    background: linear-gradient(135deg, #10b981, #34d399);
    color: white;
    border: 1px solid transparent;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.2);
}

.btn-approve:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.4);
    background: linear-gradient(135deg, #059669, #10b981);
}

@media (max-width: 768px) {
    .verification-header {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }
    
    .verification-main {
        width: 100%;
    }
    
    .verification-status {
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .verification-meta {
        flex-direction: column;
        gap: 8px;
    }
    
    .verification-details-grid {
        grid-template-columns: 1fr;
    }
    
    .verification-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .verification-actions .status-form {
        justify-content: space-between;
        gap: 8px;
    }
    
    .verification-actions label {
        flex: 1;
        justify-content: center;
    }
    
    .verification-actions select {
        min-width: 80px;
        font-size: 12px;
        padding: 4px 8px;
    }
}

/* Company Modal Styles */
.company-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(4px);
}

/* Company Edit Modal Styles */
.company-edit-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.company-edit-modal-overlay.active {
    display: flex;
}

.company-edit-modal {
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.9));
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 24px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
    position: relative;
}

.company-edit-modal h2 {
    color: var(--text);
    margin: 0 0 24px 0;
    padding: 24px 24px 0;
    font-size: 24px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
}

.company-edit-modal h2 i {
    color: var(--primary);
}

.company-edit-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1;
}

.company-edit-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.company-edit-form {
    padding: 0 24px 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.company-edit-form .field {
    display: flex;
    flex-direction: column;
}

.company-edit-form .field.wide {
    grid-column: 1 / -1;
}

.company-edit-form label {
    color: var(--text);
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 14px;
}

.company-edit-form input,
.company-edit-form select,
.company-edit-form textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 12px;
    padding: 12px 16px;
    color: var(--text);
    font-size: 14px;
    transition: all 0.3s ease;
}

.company-edit-form input:focus,
.company-edit-form select:focus,
.company-edit-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(42, 166, 255, 0.1);
}

.company-edit-form .form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 8px;
}

.company-edit-form .btn {
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    border: none;
    font-size: 14px;
}

.company-edit-form .btn:not(.primary) {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text);
    border: 1px solid rgba(148, 163, 184, 0.2);
}

.company-edit-form .btn.primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    box-shadow: 0 4px 15px rgba(42, 166, 255, 0.3);
}

.company-edit-form .btn:hover {
    transform: translateY(-2px);
}

.company-edit-form .btn:not(.primary):hover {
    background: rgba(255, 255, 255, 0.15);
}

.company-edit-form .btn.primary:hover {
    box-shadow: 0 6px 20px rgba(42, 166, 255, 0.4);
}

.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 16px;
    border-radius: 24px;
    z-index: 10;
}

.company-edit-modal.loading .loading-overlay {
    display: flex;
}

.loading-overlay i {
    font-size: 32px;
    color: var(--primary);
    animation: spin 1s linear infinite;
}

.loading-overlay span {
    color: var(--text);
    font-weight: 500;
}

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

/* Logo upload styles */
.logo-upload-container {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.logo-preview {
    width: 80px;
    height: 80px;
    border: 2px dashed rgba(148, 163, 184, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.02);
    flex-shrink: 0;
}

.logo-preview img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.logo-preview i {
    font-size: 24px;
    color: rgba(148, 163, 184, 0.5);
}

.logo-controls {
    flex: 1;
}

.logo-controls .btn {
    margin-right: 8px;
    margin-bottom: 8px;
}

@media (max-width: 768px) {
    .company-edit-modal {
        margin: 10px;
        max-width: none;
        width: calc(100% - 20px);
    }
    
    .company-edit-form {
        grid-template-columns: 1fr;
        padding: 0 16px 16px;
    }
    
    .company-edit-modal h2 {
        padding: 16px 16px 0;
        font-size: 20px;
    }
    
    .logo-upload-container {
        flex-direction: column;
    }
    
    .company-edit-form .form-actions {
        flex-direction: column;
    }
}

.company-modal {
    background: var(--surface, #1a1d29);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.company-header-section {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: var(--card, #252836);
}

.company-logo-large {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.company-logo-large img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
}

.company-header-info {
    flex: 1;
}

.company-name {
    font-size: 24px;
    font-weight: 700;
    color: var(--ink, #ffffff);
    margin: 0 0 8px 0;
}

.company-industry {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(var(--accent-rgb, 0, 123, 255), 0.1);
    color: var(--accent, #007bff);
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

/* Announcements Feed Styles */
.announcements-feed {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Create Post Card */
.create-post-card {
    background: var(--card, #252836);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.create-post-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.create-post-header {
    display: flex;
    align-items: center;
    gap: 16px;
}

.user-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.default-avatar {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary, #2563eb), var(--accent, #10b981));
    color: white;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.create-post-actions {
    flex: 1;
    display: flex;
    gap: 12px;
}

.create-action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: var(--muted, #9ca3af);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.create-action-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    color: var(--ink, #ffffff);
    transform: translateY(-1px);
}

.create-action-btn i {
    font-size: 16px;
}

.create-action-btn:nth-child(1):hover {
    background: rgba(var(--accent-rgb, 16, 185, 129), 0.1);
    border-color: var(--accent, #10b981);
    color: var(--accent, #10b981);
}

.create-action-btn:nth-child(2):hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: #3b82f6;
    color: #3b82f6;
}

.create-action-btn:nth-child(2):hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: #3b82f6;
    color: #3b82f6;
}

/* Expanded Form Styles */
.create-post-expanded {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    animation: expandForm 0.3s ease-out;
}

@keyframes expandForm {
    from {
        opacity: 0;
        transform: translateY(-20px);
        max-height: 0;
    }
    to {
        opacity: 1;
        transform: translateY(0);
        max-height: 1000px;
    }
}

@keyframes collapseForm {
    from {
        opacity: 1;
        transform: translateY(0);
        max-height: 1000px;
    }
    to {
        opacity: 0;
        transform: translateY(-20px);
        max-height: 0;
    }
}

.expanded-form-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.expanded-form-header h4 {
    color: var(--ink, #ffffff);
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.collapse-btn {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--muted, #9ca3af);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.collapse-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--ink, #ffffff);
    transform: scale(1.1);
}

.form-section {
    transition: all 0.3s ease;
}

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

.form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.form-group input[type="date"],
.form-group input[type="time"],
.form-group input[type="url"] {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--ink, #ffffff);
    font-size: 15px;
    transition: all 0.3s ease;
}

.form-group input[type="date"]:focus,
.form-group input[type="time"]:focus,
.form-group input[type="url"]:focus {
    outline: none;
    border-color: var(--accent, #10b981);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(var(--accent-rgb, 16, 185, 129), 0.1);
}

/* Remove the third button hover style since we removed the button */
.create-action-btn:nth-child(1):hover {
    background: rgba(var(--accent-rgb, 16, 185, 129), 0.1);
    border-color: var(--accent, #10b981);
    color: var(--accent, #10b981);
}

/* Create Announcement Modal */
.announcement-author-info {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    margin-bottom: 20px;
}

.author-details {
    flex: 1;
}

.author-details strong {
    display: block;
    color: var(--ink, #ffffff);
    font-size: 16px;
    margin-bottom: 2px;
}

.author-details small {
    color: var(--muted, #9ca3af);
    font-size: 13px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: var(--ink, #ffffff);
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group input[type="text"],
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--ink, #ffffff);
    font-size: 15px;
    line-height: 1.5;
    transition: all 0.3s ease;
    resize: vertical;
}

.form-group input[type="text"]:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent, #10b981);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(var(--accent-rgb, 16, 185, 129), 0.1);
}

.form-group input[type="text"]::placeholder,
.form-group textarea::placeholder {
    color: var(--muted, #9ca3af);
}

.checkbox-label {
    display: flex !important;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    margin-bottom: 8px !important;
}

.checkbox-label input[type="checkbox"] {
    width: auto !important;
    margin: 0;
}

.form-help {
    display: block;
    color: var(--muted, #9ca3af);
    font-size: 12px;
    margin-top: 4px;
}

.modal-footer {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    padding: 20px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
}

.feed-empty {
    text-align: center;
    padding: 60px 20px;
    background: var(--card, #252836);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.empty-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--muted, #9ca3af);
}

.feed-empty h3 {
    font-size: 24px;
    color: var(--ink, #ffffff);
    margin: 0 0 12px 0;
}

.feed-empty p {
    color: var(--muted, #9ca3af);
    margin: 0 0 32px 0;
    line-height: 1.6;
}

.announcement-card {
    background: var(--card, #252836);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.announcement-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.announcement-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 16px;
}

.announcement-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.author-avatar.chamber {
    background: linear-gradient(135deg, var(--primary, #2563eb), var(--accent, #10b981));
    color: white;
    font-size: 20px;
}

.author-info {
    flex: 1;
}

.author-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--ink, #ffffff);
    margin: 0 0 4px 0;
}

.announcement-time {
    font-size: 14px;
    color: var(--muted, #9ca3af);
}

.pinned-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(var(--accent-rgb, 16, 185, 129), 0.1);
    color: var(--accent, #10b981);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.announcement-content {
    margin-bottom: 20px;
}

.announcement-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--ink, #ffffff);
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.announcement-text {
    color: var(--text, #e5e7eb);
    line-height: 1.6;
    font-size: 15px;
    transition: all 0.3s ease;
}

.read-more-btn {
    background: none;
    border: none;
    color: var(--accent, #10b981);
    font-weight: 600;
    cursor: pointer;
    padding: 4px 0;
    margin-left: 8px;
    text-decoration: underline;
    font-size: 14px;
}

.read-more-btn:hover {
    color: var(--primary, #2563eb);
}

.announcement-text.expanding {
    animation: expandContent 0.3s ease-out;
}

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

.announcement-card.expanded {
    border-color: rgba(var(--accent-rgb, 16, 185, 129), 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(var(--accent-rgb, 16, 185, 129), 0.1);
}

.announcement-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    color: var(--muted, #9ca3af);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.action-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--ink, #ffffff);
}

.action-btn.active {
    background: rgba(var(--accent-rgb, 16, 185, 129), 0.1);
    border-color: var(--accent, #10b981);
    color: var(--accent, #10b981);
}

.reaction-btn.active i {
    color: #ef4444;
}

/* Comments System */
.comments-section {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    animation: expandComments 0.3s ease-out;
}

@keyframes expandComments {
    from {
        opacity: 0;
        transform: translateY(-10px);
        max-height: 0;
    }
    to {
        opacity: 1;
        transform: translateY(0);
        max-height: 500px;
    }
}

.comments-header {
    margin-bottom: 16px;
}

.comment-form {
    margin-bottom: 16px;
}

.comment-form-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.commenter-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.commenter-avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.commenter-avatar .default-avatar {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary, #2563eb), var(--accent, #10b981));
    color: white;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.comment-input-wrapper {
    flex: 1;
    position: relative;
}

.comment-input {
    width: 100%;
    min-height: 36px;
    max-height: 120px;
    padding: 8px 50px 8px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    color: var(--ink, #ffffff);
    font-size: 14px;
    line-height: 1.4;
    resize: none;
    transition: all 0.3s ease;
}

.comment-input:focus {
    outline: none;
    border-color: var(--accent, #10b981);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 2px rgba(var(--accent-rgb, 16, 185, 129), 0.1);
}

.comment-input::placeholder {
    color: var(--muted, #9ca3af);
}

.comment-form-actions {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
}

.btn-comment-submit {
    width: 32px;
    height: 32px;
    background: var(--accent, #10b981);
    border: none;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 12px;
}

.btn-comment-submit:hover {
    background: var(--primary, #2563eb);
    transform: translateY(-50%) scale(1.1);
}

.btn-comment-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: translateY(-50%);
}

.comments-list {
    max-height: 400px;
    overflow-y: auto;
    padding-right: 4px;
}

.comments-list::-webkit-scrollbar {
    width: 6px;
}

.comments-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.comments-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.comments-list::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

.comments-loading {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 20px;
    color: var(--muted, #9ca3af);
    font-size: 14px;
    justify-content: center;
}

.comments-empty {
    text-align: center;
    padding: 20px;
    color: var(--muted, #9ca3af);
    font-size: 14px;
}

.comment-item {
    margin-bottom: 16px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.comment-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
}

.comment-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 8px;
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 8px;
}

.comment-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.comment-avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.comment-avatar .default-avatar {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary, #2563eb), var(--accent, #10b981));
    color: white;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.comment-author-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.comment-author-name {
    color: var(--ink, #ffffff);
    font-size: 13px;
    font-weight: 600;
    margin: 0;
}

.comment-author-link {
    text-decoration: none;
    color: var(--accent, #10b981);
    transition: all 0.3s ease;
    cursor: pointer;
}

.comment-author-link:hover {
    color: var(--primary, #2563eb);
    text-decoration: underline;
}

.comment-time {
    color: var(--muted, #9ca3af);
    font-size: 11px;
}

.comment-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.comment-like-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--muted, #9ca3af);
    font-size: 11px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.comment-like-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--ink, #ffffff);
}

.comment-like-btn.active {
    background: rgba(239, 68, 68, 0.1);
    border-color: #ef4444;
    color: #ef4444;
}

.comment-like-btn i {
    font-size: 10px;
}

.comment-delete-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 6px;
    color: #ef4444;
    font-size: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.comment-delete-btn:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: #ef4444;
    transform: scale(1.1);
}

.comment-delete-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.comment-item {
    transition: all 0.3s ease;
}

.comment-content {
    margin-left: 36px;
}

.comment-content p {
    color: var(--text, #e5e7eb);
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

/* Notification System */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    min-width: 300px;
    max-width: 500px;
    background: var(--card, #252836);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    z-index: 10000;
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.3s ease;
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    gap: 12px;
}

.notification-message {
    flex: 1;
    color: var(--ink, #ffffff);
    font-size: 14px;
    line-height: 1.4;
}

.notification-close {
    background: none;
    border: none;
    color: var(--muted, #9ca3af);
    cursor: pointer;
    padding: 4px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.notification-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--ink, #ffffff);
}

.notification-success {
    border-left: 4px solid var(--accent, #10b981);
}

.notification-error {
    border-left: 4px solid #ef4444;
}

.notification-info {
    border-left: 4px solid var(--primary, #2563eb);
}

/* Announcement structure */
.announcement-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 8px 24px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.announcement-author {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.announcement-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    position: absolute;
    top: 4px;
    right: 20px;
}

/* Author actions for announcements */
.author-actions {
    display: flex;
    gap: 6px;
}

.edit-btn, .delete-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    color: var(--muted, #9ca3af);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.edit-btn:hover {
    background: rgba(59, 130, 246, 0.15);
    border-color: #3b82f6;
    color: #3b82f6;
    transform: translateY(-1px);
}

.delete-btn:hover {
    background: rgba(239, 68, 68, 0.15);
    border-color: #ef4444;
    color: #ef4444;
    transform: translateY(-1px);
}

.pinned-badge {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    background: rgba(var(--accent-rgb, 16, 185, 129), 0.1);
    border: 1px solid var(--accent, #10b981);
    border-radius: 12px;
    color: var(--accent, #10b981);
    font-size: 12px;
    font-weight: 500;
}

.feed-load-more {
    text-align: center;
    padding: 40px 0;
}

/* Company profile announcements and events */
.announcements-list, .events-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.announcement-card-mini {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 16px;
    transition: all 0.3s ease;
}

.announcement-card-mini:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

.announcement-header-mini {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.announcement-meta {
    display: flex;
    align-items: center;
    gap: 8px;
}

.announcement-time {
    font-size: 12px;
    color: var(--muted, #9ca3af);
}

.pinned-badge-mini {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 2px 6px;
    background: rgba(var(--accent-rgb, 16, 185, 129), 0.1);
    border: 1px solid var(--accent, #10b981);
    border-radius: 8px;
    color: var(--accent, #10b981);
    font-size: 10px;
}

.announcement-content-mini {
    margin-bottom: 12px;
}

.announcement-title-mini {
    font-size: 14px;
    font-weight: 600;
    color: var(--ink, #ffffff);
    margin: 0 0 6px 0;
    line-height: 1.3;
}

.announcement-text-mini {
    font-size: 13px;
    color: var(--muted, #9ca3af);
    line-height: 1.4;
}

.announcement-stats-mini {
    display: flex;
    gap: 16px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--muted, #9ca3af);
}

.stat-item i {
    font-size: 11px;
}

/* Event cards */
.event-card-mini {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    gap: 16px;
    transition: all 0.3s ease;
}

.event-card-mini:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

.event-date-mini {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary, #2563eb), var(--accent, #10b981));
    border-radius: 10px;
    color: white;
    text-align: center;
}

.event-day {
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
}

.event-month {
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    line-height: 1;
}

.event-content-mini {
    flex: 1;
}

.event-title-mini {
    font-size: 14px;
    font-weight: 600;
    color: var(--ink, #ffffff);
    margin: 0 0 6px 0;
    line-height: 1.3;
}

.event-meta-mini {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 6px;
}

.event-time, .event-location {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--muted, #9ca3af);
}

.event-time i, .event-location i {
    font-size: 10px;
}

.event-description-mini {
    font-size: 13px;
    color: var(--muted, #9ca3af);
    line-height: 1.4;
}

/* See more button */
.see-more {
    text-align: center;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.btn-see-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--muted, #9ca3af);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-see-more:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--ink, #ffffff);
    transform: translateY(-1px);
}

.feed-load-more .btn {
    min-width: 200px;
}

/* Followed Companies Modal */
.followed-companies-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(4px);
}

.followed-companies-content {
    background: var(--surface, #1a1d29);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.followed-companies-header {
    padding: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.followed-companies-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--ink, #ffffff);
    margin: 0;
}

.followed-companies-body {
    padding: 24px;
}

.followed-company-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.followed-company-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

.followed-company-logo {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.followed-company-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.followed-company-info {
    flex: 1;
}

.followed-company-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--ink, #ffffff);
    margin: 0 0 4px 0;
}

.followed-company-industry {
    font-size: 14px;
    color: var(--muted, #9ca3af);
}

.unfollow-btn {
    padding: 8px 16px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 8px;
    color: #ef4444;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.unfollow-btn:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: #ef4444;
}

body.custom-cursor-active,
body.custom-cursor-active *{cursor:none!important}
.cursor-dot{position:fixed;top:0;left:0;width:8px;height:8px;background:linear-gradient(135deg,var(--primary),var(--accent));border-radius:50%;pointer-events:none;z-index:10001;transition:transform .1s ease-out;box-shadow:0 0 20px rgba(42,166,255,.6),0 0 40px rgba(25,227,170,.4)}
.cursor-outline{position:fixed;top:0;left:0;width:40px;height:40px;border:2px solid rgba(42,166,255,.3);border-radius:50%;pointer-events:none;z-index:10001;transition:all .15s ease-out;background:radial-gradient(circle,rgba(25,227,170,.1) 0%,transparent 70%)}
.cursor-dot.hover{transform:scale(1.5);background:linear-gradient(135deg,var(--accent),var(--primary));box-shadow:0 0 30px rgba(25,227,170,.8),0 0 60px rgba(42,166,255,.6)}
.cursor-outline.hover{transform:scale(1.5);border-color:rgba(25,227,170,.6);background:radial-gradient(circle,rgba(42,166,255,.15) 0%,transparent 70%)}
.cursor-dot.click{transform:scale(.85);opacity:.8}
.cursor-outline.click{transform:scale(1.1);border-color:rgba(25,227,170,.8)}
.cursor-dot.fade{opacity:0;transform:scale(1.2)}
.cursor-outline.fade{opacity:0}
@media (hover: none) and (pointer: coarse) {
    .cursor-dot, .cursor-outline { 
        display: none !important; 
    }
    body.custom-cursor-active,
    body.custom-cursor-active * { 
        cursor: auto !important; 
    }
}

.cal-empty{padding:30px;border:1px dashed rgba(148,163,184,.4);border-radius:16px;color:#9fb3d8;text-align:center;margin-top:12px}

