:root{
  --brick-red:#D0111B;
  --brick-red-dark:#A80D16;
  --sun-yellow:#FFD400;
  --deep-blue:#0058A3;
  --meadow-green:#00A651;
  --ink:#1B1B1E;
  --paper:#FFFFFF;
  --cloud:#F3F5F8;
  --muted:#6B6F76;
  --radius-lg:22px;
  --radius-md:16px;
}

*{ box-sizing:border-box; scroll-behavior:smooth; }

body{
  font-family:'Figtree', sans-serif;
  color:var(--ink);
  background:var(--paper);
  overflow-x:hidden;
}

h1,h2,h3,h4,.display-font{
  font-family:'Baloo 2', sans-serif;
  font-weight:700;
  letter-spacing:.2px;
}

a{ text-decoration:none; }

:focus-visible{
  outline:3px solid var(--deep-blue);
  outline-offset:3px;
}

.eyebrow{
  font-family:'Baloo 2', sans-serif;
  font-weight:600;
  font-size:.8rem;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--brick-red);
}

.logo-mark{
  display:inline-grid;
  width:56px;
  height:56px;
  margin-right:10px;
}
.logo-mark span{ border-radius:50%; }
.logo-mark span:nth-child(1){background:var(--brick-red);}
.logo-mark span:nth-child(2){background:var(--sun-yellow);}
.logo-mark span:nth-child(3){background:var(--deep-blue);}
.logo-mark span:nth-child(4){background:var(--meadow-green);}

.brand-name{
  font-family:'Baloo 2', sans-serif;
  font-weight:700;
  font-size:1.25rem;
  color:var(--ink);
}
.brand-name .light{ font-weight:500; color:var(--muted); }

.navbar-custom{
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(8px);
  box-shadow:0 1px 0 rgba(27,27,30,.06);
}

.nav-link-custom{
  font-weight:600;
  color:var(--ink) !important;
  padding:.5rem 1rem !important;
}
.nav-link-custom:hover{ color:var(--brick-red) !important; }

.btn-brick,
.btn-brick:visited{
  background:var(--brick-red);
  border:none;
  color:#fff;
  font-family:'Baloo 2', sans-serif;
  font-weight:600;
  padding:.7rem 1.6rem;
  border-radius:999px;
  box-shadow:0 4px 0 var(--brick-red-dark);
  transition:transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.btn-brick:hover,
.btn-brick:focus-visible,
.btn-brick:visited:hover{
  background-color:var(--brick-red-dark);
  color:#fff !important;
  transform:translateY(2px);
  box-shadow:0 2px 0 #7d0a10;
}
.btn-brick:active{
  background-color:var(--brick-red-dark);
  color:#fff !important;
  transform:translateY(4px);
  box-shadow:0 0 0 #7d0a10;
}

.btn-outline-ink{
  border:2px solid var(--ink);
  color:var(--ink);
  font-family:'Baloo 2', sans-serif;
  font-weight:600;
  padding:.65rem 1.5rem;
  border-radius:999px;
  background:transparent;
}
.btn-outline-ink:hover{
  background:var(--ink);
  color:#fff;
}

.hero{
  position:relative;
  padding:7rem 0 6rem;
  background:
    radial-gradient(circle at 85% 15%, rgba(255,212,0,.28) 0, transparent 45%),
    radial-gradient(circle at 10% 85%, rgba(0,88,163,.18) 0, transparent 45%),
    var(--paper);
  overflow:hidden;
}

.bubble{
  position:absolute;
  border-radius:50%;
  opacity:.9;
  animation:float 7s ease-in-out infinite;
}
@keyframes float{
  0%,100%{ transform:translateY(0); }
  50%{ transform:translateY(-18px); }
}
.b1{ width:26px; height:26px; background:var(--brick-red); top:14%; left:6%; animation-delay:0s; }
.b2{ width:16px; height:16px; background:var(--sun-yellow); top:28%; left:16%; animation-delay:1.2s; }
.b3{ width:20px; height:20px; background:var(--deep-blue); top:70%; left:9%; animation-delay:.6s; }
.b4{ width:30px; height:30px; background:var(--meadow-green); top:60%; right:8%; animation-delay:.3s; }
.b5{ width:18px; height:18px; background:var(--brick-red); top:18%; right:18%; animation-delay:1.6s; }
.b6{ width:14px; height:14px; background:var(--deep-blue); top:80%; right:22%; animation-delay:.9s; }

.hero h1{
  font-size:clamp(2.3rem, 4.4vw, 3.6rem);
  line-height:1.08;
}
.hero h1 .hl{ color:var(--brick-red); }
.hero .lead{
  font-size:1.15rem;
  color:var(--muted);
  max-width:560px;
}

.hero-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  background:#fff;
  border:1px solid rgba(27,27,30,.08);
  border-radius:999px;
  padding:.4rem .9rem .4rem .5rem;
  font-size:.85rem;
  font-weight:600;
  box-shadow:0 6px 16px rgba(27,27,30,.06);
}

.stud{
  display:inline-block;
  width:14px;
  height:14px;
  border-radius:50%;
  box-shadow: inset 0 -2px 3px rgba(0,0,0,.18), inset 0 2px 2px rgba(255,255,255,.35);
}
.stud-row{
  display:flex;
  gap:10px;
  align-items:center;
}

.brick-strip{
  display:flex;
  width:100%;
  height:10px;
}
.brick-strip span{ flex:1; }
.brick-strip .c1{background:var(--brick-red);}
.brick-strip .c2{background:var(--sun-yellow);}
.brick-strip .c3{background:var(--deep-blue);}
.brick-strip .c4{background:var(--meadow-green);}

.brick-tower{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px;
}
.brick{
  position:relative;
  height:52px;
  border-radius:10px;
  box-shadow:0 6px 0 rgba(0,0,0,.15), 0 10px 20px rgba(27,27,30,.12);
}
.brick .studs{
  position:absolute;
  top:-9px; left:0; right:0;
  display:flex;
  justify-content:center;
  gap:14px;
}
.brick .studs .stud{ width:16px; height:16px; }
.brick-2{ width:220px; background:var(--brick-red); }
.brick-3{ width:170px; background:var(--sun-yellow); }
.brick-4{ width:260px; background:var(--deep-blue); }
.brick-1{ width:120px; background:var(--meadow-green); }

section{ padding:5.5rem 0; }
.section-alt{ background:var(--cloud); }
.section-title{ font-size:clamp(1.7rem, 3vw, 2.4rem); }
.section-sub{ color:var(--muted); max-width:640px; }

.activity-card{
  background:#fff;
  border-radius:var(--radius-lg);
  padding:2.1rem 1.6rem 1.7rem;
  height:100%;
  position:relative;
  border:1px solid rgba(27,27,30,.06);
  transition:transform .2s ease, box-shadow .2s ease;
}
.activity-card:hover{
  transform:translateY(-6px);
  box-shadow:0 18px 34px rgba(27,27,30,.1);
}
.activity-card .studs-top{
  position:absolute;
  top:-9px; left:24px;
  display:flex;
  gap:10px;
}
.activity-card .studs-top .stud{ width:14px; height:14px; }
.activity-icon{
  width:54px; height:54px;
  border-radius:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:1.5rem;
  color:#fff;
  margin-bottom:1.1rem;
}
.activity-card h3{ font-size:1.15rem; margin-bottom:.6rem; }
.activity-card p{ color:var(--muted); font-size:.96rem; margin-bottom:0; }

.event-card{
  background:#fff;
  border-radius:var(--radius-md);
  overflow:hidden;
  border:1px solid rgba(27,27,30,.06);
  height:100%;
  transition:transform .2s ease, box-shadow .2s ease;
}
.event-card:hover{
  transform:translateY(-4px);
  box-shadow:0 16px 28px rgba(27,27,30,.09);
}
.event-date{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  color:#fff;
  font-family:'Baloo 2', sans-serif;
  width:76px;
  flex:0 0 76px;
}
.event-date .day{ font-size:1.6rem; font-weight:700; line-height:1; }
.event-date .month{ font-size:.75rem; text-transform:uppercase; letter-spacing:.08em; }
.event-body{ padding:1.1rem 1.2rem; }
.event-body h3{ font-size:1.05rem; margin-bottom:.3rem; }
.event-meta{ font-size:.85rem; color:var(--muted); }
.event-tag{
  display:inline-block;
  font-size:.72rem;
  font-weight:700;
  letter-spacing:.04em;
  text-transform:uppercase;
  padding:.2rem .55rem;
  border-radius:999px;
  margin-bottom:.5rem;
}

.page-hero{
  position:relative;
  padding:8.5rem 0 4.5rem;
  background:
    radial-gradient(circle at 15% 20%, rgba(255,212,0,.22) 0, transparent 38%),
    radial-gradient(circle at 80% 10%, rgba(0,88,163,.18) 0, transparent 35%),
    linear-gradient(180deg, rgba(243,245,248,.9), rgba(255,255,255,1));
  text-align:center;
}
.page-hero .lead{
  max-width:720px;
  margin:0 auto;
  color:var(--muted);
  font-size:1.1rem;
}

.events-listing{
  padding-top:4rem;
}

.event-page-card{
  background:#fff;
  border-radius:22px;
  overflow:hidden;
  border:1px solid rgba(27,27,30,.06);
  height:100%;
  transition:transform .2s ease, box-shadow .2s ease;
  cursor:pointer;
}
.event-page-card:hover{
  transform:translateY(-6px);
  box-shadow:0 18px 30px rgba(27,27,30,.08);
}
.event-visual img{
  display:block;
  width:100%;
  height:220px;
  object-fit:cover;
}
.event-page-body{
  padding:1.5rem 1.35rem 1.45rem;
}
.event-page-body h3{
  font-size:1.3rem;
  margin-bottom:.55rem;
  line-height:1.15;
}
.event-page-body p{
  color:var(--muted);
  margin-bottom:0;
}
.event-actions{
  margin-top:1.1rem;
}

.event-modal-body{
  padding:2rem 1.6rem 1.6rem;
}
.modal-event-image{
  height:100%;
  min-height:100%;
  object-fit:cover;
}
.modal-content{
  border-radius:24px;
  overflow:hidden;
}
.modal-event-title{
  font-size:2rem;
  margin-bottom:.75rem;
  line-height:1.1;
}
.modal-event-meta{
  color:var(--muted);
  margin-bottom:.4rem;
  font-weight:600;
}
.modal-event-description{
  color:var(--muted);
  margin-top:1rem;
  line-height:1.7;
}
.modal-event-extra{
  margin-top:1.5rem;
}
.modal-event-extra h4{
  font-size:1.05rem;
  margin-bottom:.75rem;
}
.modal-event-extra ul{
  margin:0;
  padding-left:1.1rem;
  color:var(--muted);
  line-height:1.8;
}

.why-item{
  display:flex;
  gap:1rem;
  align-items:flex-start;
  margin-bottom:1.8rem;
}
.why-icon{
  flex:0 0 46px;
  width:46px; height:46px;
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  font-size:1.2rem;
}
.why-item h3{ font-size:1.05rem; margin-bottom:.25rem; }
.why-item p{ color:var(--muted); font-size:.95rem; margin-bottom:0; }

.cta-band{
  position:relative;
  border-radius:28px;
  background:var(--ink);
  color:#fff;
  padding:3.5rem 2rem;
  overflow:hidden;
  text-align:center;
}
.cta-band::before, .cta-band::after{
  content:"";
  position:absolute;
  border-radius:50%;
}
.cta-band::before{
  width:220px; height:220px;
  background:var(--brick-red);
  opacity:.35;
  top:-90px; left:-70px;
}
.cta-band::after{
  width:180px; height:180px;
  background:var(--deep-blue);
  opacity:.35;
  bottom:-80px; right:-60px;
}
.cta-band h2{ color:#fff; }
.cta-band p{ color:rgba(255,255,255,.75); }
.cta-band .btn-brick{ box-shadow:0 4px 0 var(--brick-red-dark); }

footer{
  background:var(--ink);
  color:rgba(255,255,255,.7);
  padding:3rem 0 1.5rem;
}
footer a{ color:rgba(255,255,255,.75); }
footer a:hover{ color:#fff; }
.footer-brand{
  font-family:'Baloo 2', sans-serif;
  font-weight:700;
  color:#fff;
  font-size:1.2rem;
}
.social-btn{
  width:38px; height:38px;
  border-radius:50%;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:rgba(255,255,255,.08);
  margin-right:.5rem;
  transition:background .15s ease;
}
.social-btn:hover{ background:var(--brick-red); }

.pricing-card{
  background:#fff;
  border-radius:18px;
  padding:1.6rem;
  border:1px solid rgba(27,27,30,.06);
  height:100%;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}
.price{ font-size:2.4rem; color:var(--brick-red); font-weight:800; }
.price small{ font-size:.9rem; color:var(--muted); font-weight:600; }
.features li{ color:var(--muted); }
.form-card{ background:#fff; border-radius:18px; padding:1.6rem; border:1px solid rgba(27,27,30,.06); }

body{
  min-height:100vh;
  background:linear-gradient(135deg, #fdfdfd 0%, #f2f5f9 100%);
}

main.login-shell{
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:2rem 1rem;
}

.login-shell{
  position:relative;
  width:min(920px, 100%);
  background:#fff;
  border:1px solid rgba(27,27,30,.06);
  border-radius:28px;
  overflow:hidden;
  box-shadow:0 24px 60px rgba(27,27,30,.08);
  margin:auto;
}
.login-panel{ position:relative; min-height:680px; display:flex; align-items:stretch; }
.form-panel{
  display:flex;
  align-items:center;
  justify-content:center;
  padding:2.5rem 2rem;
  background:linear-gradient(180deg, #fff 0%, #f9fafc 100%);
  width:100%;
}
.form-box{ width:min(100%, 430px); }
.topbar{ display:flex; justify-content:space-between; align-items:center; margin-bottom:1.5rem; }
.topbar a{ color:var(--muted); font-weight:600; }
.form-box h2{ font-size:2rem; margin-bottom:.5rem; }
.subtitle{ color:var(--muted); margin-bottom:1.8rem; font-size:.96rem; }
.form-label{ font-weight:600; color:var(--ink); margin-bottom:.5rem; }
.input-group-text,
.form-control{
  border-radius:12px;
  min-height:52px;
  border:1px solid rgba(27,27,30,.12);
  background:#fff;
}
.input-group-text{
  background:var(--cloud);
  color:var(--ink);
  border-right:none;
  width:52px;
  justify-content:center;
}
.form-control{ padding:.8rem 1rem; font-size:1rem; }
.form-control:focus{
  border-color:rgba(0,88,163,.5);
  box-shadow:0 0 0 .25rem rgba(0,88,163,.12);
}
.form-check-input:checked{ background-color:var(--deep-blue); border-color:var(--deep-blue); }
.remember-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  margin-top:1rem;
  margin-bottom:1.2rem;
  font-size:.92rem;
}
.remember-row label,
.remember-row a{ color:var(--muted); }
.btn-brick.full-width{ width:100%; }
.alert-success{
  background:rgba(0,166,81,.08);
  border:1px solid rgba(0,166,81,.18);
  border-radius:12px;
  color:#0f6c3c;
  padding:.8rem .9rem;
  margin-top:1rem;
  display:none;
}
.security-note{
  margin-top:1.5rem;
  padding-top:1rem;
  border-top:1px solid rgba(27,27,30,.08);
  color:var(--muted);
  font-size:.82rem;
  display:flex;
  align-items:center;
  gap:.5rem;
}

.dashboard-body{
  margin:0;
  background:#f5f7fb;
}

.admin-layout{
  display:flex;
  min-height:100vh;
  background:#f5f7fb;
}

.admin-sidebar{
  width:260px;
  background:#fff;
  border-right:1px solid rgba(27,27,30,.08);
  padding:1.2rem .9rem 1rem;
  display:flex;
  flex-direction:column;
  gap:1.2rem;
  box-shadow:inset -1px 0 0 rgba(27,27,30,.03);
}

.admin-brand{
  display:flex;
  align-items:center;
  gap:.8rem;
  padding:.5rem .5rem .8rem;
  border-bottom:1px solid rgba(27,27,30,.06);
}

.admin-brand-subtitle{
  display:block;
  color:var(--muted);
  font-size:.72rem;
  letter-spacing:.08em;
  text-transform:uppercase;
  margin-top:.1rem;
}

.admin-nav{
  display:flex;
  flex-direction:column;
  gap:.3rem;
  margin-top:.25rem;
}

.admin-link{
  display:flex;
  align-items:center;
  gap:.75rem;
  padding:.75rem .85rem;
  border-radius:10px;
  color:var(--ink);
  font-weight:600;
  transition:all .15s ease;
}

.admin-link:hover,
.admin-link:focus-visible{
  background:#f5f7fb;
  color:var(--deep-blue);
  text-decoration:none;
}

.admin-link.active{
  background:rgba(208,17,27,.08);
  color:var(--brick-red);
  box-shadow:inset 3px 0 0 var(--brick-red);
}

.admin-mini-card{
  background:var(--cloud);
  border:1px solid rgba(27,27,30,.06);
  border-radius:18px;
  padding:1rem 1.1rem;
  display:flex;
  flex-direction:column;
  gap:.35rem;
}

.admin-mini-card strong{
  font-size:1.1rem;
  color:var(--ink);
}

.admin-mini-card small{
  color:var(--muted);
}

.small-eyebrow{
  font-size:.68rem !important;
  letter-spacing:.12em !important;
}

.admin-main{
  flex:1;
  padding:1.6rem 1.8rem 2rem;
  background:#f5f7fb;
}

.admin-toolbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  margin-bottom:1.2rem;
  padding:0 0 .25rem;
  background:transparent;
  border:none;
  box-shadow:none;
}

.toolbar-search{
  display:flex;
  align-items:center;
  gap:.7rem;
  flex:1;
  max-width:420px;
  background:#fff;
  border:1px solid rgba(27,27,30,.07);
  border-radius:12px;
  padding:.7rem .9rem;
  box-shadow:0 2px 8px rgba(17,24,39,.025);
}

.toolbar-search i{
  color:var(--muted);
  font-size:1rem;
}

.toolbar-search input{
  border:none;
  background:transparent;
  width:100%;
  color:var(--ink);
  font-size:.95rem;
}

.toolbar-search input:focus{
  outline:none;
}

.admin-user-menu{
  margin-left:auto;
}

.admin-user-btn{
  display:flex;
  align-items:center;
  gap:.8rem;
  background:#fff;
  border:1px solid rgba(27,27,30,.07);
  border-radius:12px;
  padding:.55rem .75rem;
  color:var(--ink);
  box-shadow:0 2px 8px rgba(17,24,39,.025);
}

.admin-user-btn:hover,
.admin-user-btn:focus-visible,
.admin-user-btn:active{
  background:#fff;
  border-color:rgba(27,27,30,.12);
  color:var(--ink);
}

.admin-user-btn::after{
  margin-left:.4rem;
  color:var(--muted);
}

.user-avatar{
  width:40px;
  height:40px;
  border-radius:50%;
  background:linear-gradient(135deg, var(--brick-red), var(--deep-blue));
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:.76rem;
  font-weight:700;
}

.user-meta{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  line-height:1.2;
}

.user-meta strong{
  font-size:.92rem;
  color:var(--ink);
}

.user-meta small{
  color:var(--muted);
}

.admin-dropdown-menu{
  border:none;
  border-radius:16px;
  box-shadow:0 18px 32px rgba(27,27,30,.12);
  padding:.6rem;
  min-width:220px;
}

.admin-dropdown-menu .dropdown-item{
  border-radius:10px;
  padding:.7rem .8rem;
  font-weight:600;
  color:var(--ink);
}

.admin-dropdown-menu .dropdown-item:hover,
.admin-dropdown-menu .dropdown-item:focus-visible{
  background:var(--cloud);
}

.admin-topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  margin-bottom:1.6rem;
  padding:.25rem 0 0;
}

.admin-topbar h1{
  margin:0.35rem 0 0;
  font-size:clamp(2rem, 3vw, 2.4rem);
}

.admin-tools{
  display:flex;
  align-items:center;
  gap:.8rem;
  flex-wrap:wrap;
}

.stats-grid{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:1.15rem;
  margin-bottom:1.5rem;
}

.stat-card{
  background:#fff;
  border:1px solid rgba(27,27,30,.06);
  border-radius:14px;
  padding:1.15rem 1rem;
  box-shadow:0 2px 10px rgba(17,24,39,.03);
}

.stat-card-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:.75rem;
  margin-bottom:1rem;
}

.stat-label{
  font-size:.8rem;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:var(--muted);
  font-weight:700;
}

.stat-icon{
  width:42px;
  height:42px;
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  font-size:1.1rem;
}

.stat-red{ background:var(--brick-red); }
.stat-blue{ background:var(--deep-blue); }
.stat-green{ background:var(--meadow-green); }
.stat-yellow{ background:var(--sun-yellow); color:var(--ink) !important; }

.stat-value{
  font-family:'Baloo 2', sans-serif;
  font-weight:700;
  font-size:2.1rem;
  line-height:1;
  margin-bottom:.45rem;
}

.stat-foot{
  margin:0;
  color:var(--muted);
  font-size:.85rem;
}

.dashboard-panels{
  display:grid;
  grid-template-columns:1.6fr .9fr;
  gap:1.25rem;
  margin-bottom:1.25rem;
}

.lower-panels{
  grid-template-columns:1fr 1fr;
}

.panel{
  background:#fff;
  border:1px solid rgba(27,27,30,.06);
  border-radius:14px;
  padding:1.1rem 1rem;
  box-shadow:0 2px 10px rgba(17,24,39,.03);
}

.panel-lg{
  min-height:100%;
}

.panel-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  margin-bottom:1rem;
}

.panel-header h2{
  margin:0;
  font-size:1.35rem;
}

.panel-header a{
  color:var(--deep-blue);
  font-weight:600;
}

.admin-table{
  width:100%;
  border-collapse:collapse;
}

.admin-table th,
.admin-table td{
  padding:.9rem .7rem;
  border-bottom:1px solid rgba(27,27,30,.07);
  text-align:left;
  vertical-align:middle;
}

.admin-table thead th{
  font-size:.78rem;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:var(--muted);
  font-weight:700;
}

.admin-table tbody td{
  color:var(--ink);
  font-weight:500;
}

.status-badge{
  display:inline-flex;
  align-items:center;
  padding:.35rem .7rem;
  border-radius:999px;
  font-size:.73rem;
  font-weight:700;
}

.status-confirmed{
  background:rgba(0,166,81,.12);
  color:#0f6c3c;
}

.status-pending{
  background:rgba(255,212,0,.18);
  color:#8a6700;
}

.status-draft{
  background:rgba(27,27,30,.08);
  color:var(--muted);
}

.quick-actions{
  display:flex;
  flex-direction:column;
  gap:.8rem;
}

.quick-action{
  width:100%;
  display:flex;
  align-items:center;
  gap:.75rem;
  border:1px solid rgba(27,27,30,.08);
  background:var(--cloud);
  color:var(--ink);
  border-radius:14px;
  padding:.9rem 1rem;
  font-weight:600;
  text-align:left;
}

.quick-action i{
  color:var(--brick-red);
  font-size:1.1rem;
}

.member-list{
  list-style:none;
  padding:0;
  margin:0;
  display:flex;
  flex-direction:column;
  gap:1rem;
}

.member-list li{
  display:flex;
  align-items:center;
  gap:.9rem;
  padding:.7rem 0;
  border-bottom:1px solid rgba(27,27,30,.06);
}

.member-list li:last-child{
  border-bottom:none;
}

.member-avatar{
  width:42px;
  height:42px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  font-size:.78rem;
  font-weight:700;
}

.avatar-red{ background:var(--brick-red); }
.avatar-blue{ background:var(--deep-blue); }
.avatar-green{ background:var(--meadow-green); }

.member-list strong{
  display:block;
  font-size:.96rem;
}

.member-list small{
  color:var(--muted);
}

.member-pill{
  margin-left:auto;
  display:inline-flex;
  align-items:center;
  padding:.3rem .65rem;
  border-radius:999px;
  background:rgba(0,88,163,.08);
  color:var(--deep-blue);
  font-size:.72rem;
  font-weight:700;
}

.event-list{
  display:flex;
  flex-direction:column;
  gap:1rem;
}

.mini-event{
  display:flex;
  align-items:center;
  gap:1rem;
  padding:.7rem 0;
  border-bottom:1px solid rgba(27,27,30,.06);
}

.mini-event:last-child{
  border-bottom:none;
}

.mini-date{
  width:56px;
  min-width:56px;
  background:var(--brick-red);
  color:#fff;
  border-radius:14px;
  text-align:center;
  padding:.5rem 0;
  font-family:'Baloo 2', sans-serif;
}

.mini-date.blue{ background:var(--deep-blue); }
.mini-date.green{ background:var(--meadow-green); }

.mini-date span{ display:block; font-size:1.35rem; line-height:1; font-weight:700; }
.mini-date small{ display:block; font-size:.62rem; letter-spacing:.1em; }

.mini-event-body strong{ display:block; font-size:.95rem; }
.mini-event-body small{ color:var(--muted); }

@media (prefers-reduced-motion: reduce){
  .bubble{ animation:none; }
  *{ scroll-behavior:auto; }
}

@media (max-width: 991px){
  .brick-tower{ margin-top:3rem; }
  .form-panel{ padding-top:1.4rem; }

  .admin-layout{
    flex-direction:column;
  }

  .admin-sidebar{
    width:100%;
    border-right:none;
    border-bottom:1px solid rgba(27,27,30,.08);
  }

  .admin-toolbar{
    flex-direction:column;
    align-items:stretch;
  }

  .toolbar-search{
    max-width:none;
  }

  .dashboard-panels,
  .lower-panels,
  .stats-grid{
    grid-template-columns:1fr 1fr;
  }
}

@media (max-width: 640px){
  .admin-main{
    padding:1.25rem;
  }

  .admin-topbar{
    flex-direction:column;
    align-items:flex-start;
  }

  .admin-user-btn{
    width:100%;
    justify-content:space-between;
  }

  .dashboard-panels,
  .lower-panels,
  .stats-grid{
    grid-template-columns:1fr;
  }

  .admin-tools{
    width:100%;
  }

  .admin-tools .btn{
    flex:1 1 100%;
  }
}
