:root {
  --mpk-bg-deep: #07090E;        
  --mpk-bg-surface: #0E131F;     
  --mpk-card-dark: #121824;      
  --mpk-card-border: #1E293B;    
  --mpk-blue: #3B82F6;           
  --mpk-blue-light: #60A5FA;     
  --mpk-gold: #D97706;           
  --mpk-gold-light: #FBBF24;     
  --mpk-gold-glow: rgba(217, 119, 6, 0.2);
  --mpk-white: #F8FAFC;
  --mpk-muted: #94A3B8;
}

html {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

* { 
  margin: 0; 
  padding: 0; 
  box-sizing: border-box; 
  font-family: 'Outfit', sans-serif; 
}

body {
  background-color: var(--mpk-bg-deep); 
  color: var(--mpk-white); 
  line-height: 1.7; 
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden; 
  position: relative;
}

/* KANVAS / BACKGROUND ANIMASI */
.bg-animation-wrapper {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  z-index: -999;
  pointer-events: none;
  overflow: hidden;
  background: #07090E;
}

img { max-width: 100%; height: auto; display: block; }

/* NAVBAR */
.navbar {
  background: rgba(7, 9, 14, 0.85); 
  backdrop-filter: blur(20px); 
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--mpk-card-border);
  position: sticky; top: 0; z-index: 1000; isolation: isolate;
  width: 100%; max-width: 100vw;
}

.nav-container { 
  max-width: 1200px; margin: 0 auto; padding: 0.9rem 1.2rem; 
  display: flex; justify-content: space-between; align-items: center; width: 100%;
}

.nav-brand-wrapper { display: flex; align-items: center; gap: 0.75rem; min-width: 0; text-decoration: none; }
.nav-logo-refined { width: 38px; height: 38px; min-width: 38px; min-height: 38px; object-fit: contain; flex-shrink: 0; }
.nav-brand-text { display: flex; flex-direction: column; min-width: 0; }
.brand-main-title { font-weight: 900; font-size: 0.9rem; color: var(--mpk-gold-light); line-height: 1.1; }
.brand-sub-title { font-weight: 800; font-size: 0.6rem; color: var(--mpk-blue-light); letter-spacing: 1.5px; }

.hamburger-btn { 
  display: none; flex-direction: column; justify-content: space-between; 
  width: 26px; height: 18px; background: transparent; border: none; cursor: pointer; z-index: 2500; position: relative;
}
.hamburger-btn span { width: 100%; height: 2.5px; background-color: var(--mpk-gold-light); border-radius: 4px; transition: all 0.3s ease; }
.hamburger-btn.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger-btn.open span:nth-child(2) { opacity: 0; }
.hamburger-btn.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.nav-links { display: flex; list-style: none; gap: 1.5rem; align-items: center; }
.nav-links a { color: var(--mpk-muted); text-decoration: none; font-weight: 700; padding: 0.4rem 0; font-size: 0.95rem; transition: color 0.25s ease; }
.nav-links a:hover, .nav-links a.active-nav { color: var(--mpk-gold-light); }

.btn-cta-nav { 
  background: linear-gradient(135deg, #2563EB, #1D4ED8); 
  color: var(--mpk-white) !important; padding: 0.45rem 1.1rem !important; border-radius: 8px; font-weight: 800; 
}

/* HERO SECTION */
.hero-section { 
  min-height: 75vh; display: flex; align-items: center; justify-content: center; 
  text-align: center; padding: 3rem 1rem; border-bottom: 1px solid var(--mpk-card-border);
  width: 100%; max-width: 100vw;
}
.hero-content { max-width: 750px; display: flex; flex-direction: column; align-items: center; margin: 0 auto; width: 100%; }

.logo-wrapper { display: flex; justify-content: center; align-items: center; width: 100%; margin-bottom: 1.2rem; }
.hero-logo { 
  width: 105px; height: 105px; min-width: 105px; min-height: 105px; 
  object-fit: contain; filter: drop-shadow(0 0 25px rgba(217, 119, 6, 0.25));
  animation: floatLogo 4s ease-in-out infinite; 
}

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

.hero-title { font-size: clamp(1.5rem, 4.5vw, 2.5rem); font-weight: 900; color: var(--mpk-white); margin-bottom: 0.4rem; letter-spacing: -0.5px; }
.hero-subtitle { font-size: clamp(1rem, 2.5vw, 1.3rem); font-weight: 800; color: var(--mpk-gold-light); margin-bottom: 0.8rem; }
.hero-desc { color: var(--mpk-muted); font-size: clamp(0.9rem, 2vw, 1.05rem); max-width: 600px; margin: 0 auto 2rem auto; }

.hero-action { display: flex; gap: 0.8rem; justify-content: center; align-items: center; width: 100%; flex-wrap: wrap; }

.btn-main, .btn-secondary {
  padding: 0.85rem 1.5rem; font-size: 0.95rem; font-weight: 800; text-decoration: none; 
  border-radius: 12px; cursor: pointer; text-align: center; width: 100%; max-width: 250px;
  transition: all 0.3s ease; display: inline-flex; justify-content: center; align-items: center; gap: 0.4rem;
}
.btn-main { background: linear-gradient(135deg, #2563EB, #1D4ED8); color: var(--mpk-white); border: none; box-shadow: 0 4px 20px rgba(37, 99, 235, 0.25); }
.btn-main:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4); }

.btn-secondary { background: rgba(18, 24, 36, 0.7); backdrop-filter: blur(10px); color: var(--mpk-gold-light); border: 1.5px solid rgba(217, 119, 6, 0.25); }
.btn-secondary:hover { background: rgba(217, 119, 6, 0.08); border-color: var(--mpk-gold-light); transform: translateY(-3px); }

/* SECTIONS & KARTU */
.section-container { max-width: 1100px; margin: 0 auto; padding: 3.5rem 1rem; width: 100%; }
.section-heading { text-align: center; font-size: clamp(1.5rem, 4vw, 2.2rem); font-weight: 900; color: var(--mpk-white); margin-bottom: 2rem; letter-spacing: -0.5px; }

.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; width: 100%; max-width: 100%; }
.shield-card {
  background: rgba(18, 24, 36, 0.75); backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.06); border-radius: 20px; 
  padding: 1.8rem 1.2rem; box-shadow: 0 10px 30px rgba(0,0,0,0.5); position: relative; width: 100%; max-width: 100%;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.shield-card:hover { transform: translateY(-5px); border-color: rgba(217, 119, 6, 0.35); box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7), 0 0 20px rgba(217, 119, 6, 0.08); }
.shield-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: linear-gradient(90deg, #2563EB, var(--mpk-gold-light)); border-top-left-radius: 20px; border-top-right-radius: 20px; }

/* MEMBER CARD */
.member-card { 
  background: rgba(18, 24, 36, 0.75); backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.06); border-radius: 20px; 
  padding: 1.5rem 1rem; box-shadow: 0 10px 30px rgba(0,0,0,0.5); text-align: center; width: 100%; max-width: 100%;
  transition: transform 0.35s ease, border-color 0.35s ease;
}
.member-card:hover { transform: translateY(-5px); border-color: rgba(217, 119, 6, 0.35); }

.member-img-wrapper { 
  width: 110px; height: 110px; margin: 0 auto 1rem auto; overflow: hidden; 
  border-radius: 50%; border: 2.5px solid var(--mpk-gold-light); background: var(--mpk-bg-surface);
  display: flex; align-items: center; justify-content: center; box-shadow: 0 0 15px rgba(217, 119, 6, 0.15);
}
.member-img { width: 100%; height: 100%; object-fit: contain; }
.member-name { font-size: 1.05rem; font-weight: 900; color: var(--mpk-white); margin-bottom: 0.2rem; }
.member-role { color: var(--mpk-blue-light); font-size: 0.75rem; font-weight: 800; text-transform: uppercase; margin-bottom: 0.75rem; letter-spacing: 0.5px; }
.member-motto { font-size: 0.78rem; color: var(--mpk-muted); font-style: italic; background: rgba(11, 15, 25, 0.6); padding: 0.6rem; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.04); }

/* ACTION BAR & PILLS */
.nav-action-bar { display: flex; justify-content: space-between; align-items: center; gap: 0.8rem; max-width: 680px; margin: 0 auto 1.5rem auto; flex-wrap: wrap; width: 100%; }
.nav-action-pill { 
  background: rgba(18, 24, 36, 0.75); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.08); color: var(--mpk-white); 
  padding: 0.65rem 1rem; border-radius: 12px; font-size: 0.85rem; font-weight: 800; text-decoration: none; 
  display: flex; align-items: center; justify-content: center; gap: 0.4rem; flex: 1; min-width: 140px; 
  transition: all 0.25s ease;
}
.nav-action-pill:hover { border-color: var(--mpk-gold-light); background: rgba(217, 119, 6, 0.08); transform: translateY(-2px); }
.highlight-pill { background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(59, 130, 246, 0.15)); border-color: rgba(59, 130, 246, 0.4); color: var(--mpk-blue-light); }

/* STRUKTUR FORM */
.form-card {
  background: rgba(18, 24, 36, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 2.2rem 1.6rem;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
  max-width: 650px;
  margin: 0 auto;
  width: 100%;
}

.form-group {
  margin-bottom: 1.4rem;
  display: flex;
  flex-direction: column;
  width: 100%;
  text-align: left;
}

.form-group label {
  display: block;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--mpk-white);
  font-size: 0.88rem;
}

.form-group input, 
.form-group select, 
.form-group textarea {
  background: rgba(11, 15, 25, 0.9);
  border: 1.5px solid var(--mpk-card-border);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  color: var(--mpk-white);
  font-size: 0.95rem;
  width: 100%;
  max-width: 100%;
  display: block;
  transition: all 0.3s ease;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
  outline: none;
  border-color: var(--mpk-gold-light);
  box-shadow: 0 0 0 4px rgba(217, 119, 6, 0.15);
}

.checkbox-group {
  flex-direction: row !important;
  align-items: center;
  gap: 0.8rem;
  background: rgba(11, 15, 25, 0.8);
  padding: 0.9rem;
  border-radius: 12px;
  border: 1.5px solid var(--mpk-card-border);
  cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--mpk-gold-light);
  cursor: pointer;
  margin: 0;
}

.otp-container { 
  display: flex; flex-direction: column; align-items: center; justify-content: center; 
  background: rgba(11, 15, 25, 0.8); padding: 1.5rem; border-radius: 16px; 
  border: 1.5px solid var(--mpk-card-border); width: 100%; max-width: 100%; margin-bottom: 1.5rem;
}
.otp-inputs { display: flex; gap: 10px; justify-content: center; width: 100%; max-width: 100%; }
.otp-box { 
  width: 52px; height: 58px; background: rgba(18, 24, 36, 0.9); 
  border: 2px solid var(--mpk-card-border); border-radius: 12px; 
  color: var(--mpk-white); font-size: 1.4rem; font-weight: 900; text-align: center; 
  transition: all 0.2s ease; pointer-events: none; caret-color: transparent;
}
.otp-box.filled { border-color: var(--mpk-gold); box-shadow: 0 0 12px rgba(217, 119, 6, 0.16); }

/* KEYBOARD ANGKA KHUSUS — mencegah keyboard bawaan HP membuka viewport dan menggeser halaman */
.numeric-keypad {
  width: 100%; max-width: 310px; margin: 1.2rem auto 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px;
  touch-action: manipulation; user-select: none; -webkit-user-select: none;
}
.keypad-key {
  min-height: 52px; border: 1px solid var(--mpk-card-border); border-radius: 12px;
  background: linear-gradient(180deg, rgba(30,41,59,.95), rgba(18,24,36,.95));
  color: var(--mpk-white); font: 900 1.1rem 'Outfit', sans-serif;
  cursor: pointer; -webkit-tap-highlight-color: transparent;
  touch-action: manipulation; transition: transform .12s ease, border-color .12s ease, background .12s ease;
}
.keypad-key:active { transform: scale(.96); border-color: var(--mpk-gold-light); background: rgba(217,119,6,.18); }
.keypad-clear, .keypad-backspace { color: var(--mpk-gold-light); }
.keypad-hint { margin-top: .75rem; color: var(--mpk-muted); font-size: .72rem; line-height: 1.4; text-align: center; }

/* POP-UP MODAL KOMISI AGAR MELAYANG DI TENGAH */
.modal-overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(7, 9, 14, 0.85) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  z-index: 99999 !important;
  padding: 1rem !important;
  opacity: 1 !important;
  visibility: visible !important;
  transition: all 0.3s ease !important;
}

.modal-overlay.hidden {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.modal-content {
  background: rgba(18, 24, 36, 0.95) !important;
  backdrop-filter: blur(20px) !important;
  border: 1.5px solid var(--mpk-gold-light) !important;
  border-radius: 22px !important;
  width: 100% !important;
  max-width: 620px !important;
  max-height: 85vh !important;
  overflow-y: auto !important;
  padding: 1.8rem !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 25px rgba(217, 119, 6, 0.2) !important;
  position: relative !important;
  animation: scaleUpModal 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}

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



/* ===== DETAIL DATA DIRI ANGGOTA KOMISI ===== */
.member-card-clickable {
  cursor: pointer;
  position: relative;
  outline: none;
}

.member-card-clickable:hover {
  transform: translateY(-6px) scale(1.01);
  border-color: var(--mpk-gold-light);
  box-shadow: 0 16px 38px rgba(0,0,0,.6), 0 0 20px rgba(217,119,6,.12);
}

.member-card-clickable:focus-visible {
  border-color: var(--mpk-blue-light);
  box-shadow: 0 0 0 3px rgba(59,130,246,.25);
}

.member-detail-hint {
  display: block;
  margin-top: .9rem;
  padding-top: .7rem;
  border-top: 1px solid rgba(255,255,255,.06);
  color: var(--mpk-blue-light);
  font-size: .7rem;
  font-weight: 800;
}

.member-detail-modal {
  max-width: 520px !important;
}

.member-detail-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--mpk-card-border);
}

.member-detail-header h3 {
  color: var(--mpk-white);
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1.25;
  margin-top: .25rem;
}

.member-detail-label {
  color: var(--mpk-gold-light);
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: 1.2px;
}

.modal-close-btn {
  background: transparent;
  border: none;
  color: var(--mpk-white);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 .2rem;
}

.member-detail-profile {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.1rem;
  border-radius: 16px;
  background: rgba(11,15,25,.65);
  border: 1px solid rgba(255,255,255,.06);
  margin-bottom: 1rem;
}

.member-detail-photo {
  width: 105px;
  height: 105px;
  min-width: 105px;
  overflow: hidden;
  border-radius: 50%;
  border: 2.5px solid var(--mpk-gold-light);
  background: var(--mpk-bg-surface);
  box-shadow: 0 0 18px rgba(217,119,6,.16);
}

.member-detail-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.member-detail-main h4 {
  color: var(--mpk-blue-light);
  font-size: .9rem;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: .45rem;
}

.member-detail-main span {
  display: inline-block;
  color: var(--mpk-gold-light);
  background: rgba(217,119,6,.1);
  border: 1px solid rgba(217,119,6,.25);
  padding: .35rem .65rem;
  border-radius: 8px;
  font-size: .72rem;
  font-weight: 800;
}

.member-detail-info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .8rem;
  margin-bottom: .8rem;
}

.detail-info-item {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .85rem;
  border-radius: 12px;
  background: rgba(11,15,25,.65);
  border: 1px solid rgba(255,255,255,.06);
}

.detail-info-icon {
  font-size: 1.15rem;
}

.detail-info-item small {
  display: block;
  color: var(--mpk-muted);
  font-size: .62rem;
  font-weight: 900;
  letter-spacing: .6px;
  margin-bottom: .15rem;
}

.detail-info-item strong {
  display: block;
  color: var(--mpk-white);
  font-size: .8rem;
  font-weight: 800;
}

.member-detail-motto {
  padding: 1rem;
  border-radius: 12px;
  background: rgba(11,15,25,.65);
  border: 1px solid rgba(255,255,255,.06);
}

.member-detail-motto > span {
  color: var(--mpk-gold-light);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .6px;
}

.member-detail-motto p {
  color: var(--mpk-muted);
  font-size: .86rem;
  font-style: italic;
  line-height: 1.55;
  margin-top: .45rem;
}

@media (max-width: 520px) {
  .member-detail-modal {
    padding: 1.25rem !important;
  }

  .member-detail-profile {
    flex-direction: column;
    text-align: center;
  }

  .member-detail-info {
    grid-template-columns: 1fr;
  }
}

/* Stabilkan layout di browser mobile/iOS saat input dan hasil status berubah */
html, body {
  min-height: 100%;
  overscroll-behavior-x: none;
}
body {
  -webkit-text-size-adjust: 100%;
}

@media (max-width: 480px) {
  .form-card { padding: 1.5rem 1rem; }
  .otp-container { padding: 1.15rem .75rem; }
  .otp-inputs { gap: 8px; }
  .otp-box { width: 48px; height: 54px; }
  .numeric-keypad { max-width: 290px; gap: 8px; }
  .keypad-key { min-height: 50px; }
}

/* FOOTER */
.footer { background-color: rgba(18, 24, 36, 0.85); backdrop-filter: blur(16px); border-top: 1px solid rgba(255, 255, 255, 0.06); padding: 3.5rem 1rem 2rem 1.5rem; margin-top: 4rem; text-align: center; width: 100%; max-width: 100vw; }
.footer-container { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; gap: 1.2rem; align-items: center; width: 100%; }
.footer-copyright { border-top: 1px solid rgba(255, 255, 255, 0.06); width: 100%; padding-top: 1.2rem; color: var(--mpk-muted); font-size: 0.8rem; }

.reveal { opacity: 0; transform: translateY(25px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }
.hidden { display: none !important; }

@media (max-width: 768px) {
  .hamburger-btn { display: flex; }
  .nav-links {
    position: fixed; top: 0; right: -100%; width: 270px; height: 100dvh; min-height: 100vh; 
    background: rgba(11, 15, 25, 0.98); backdrop-filter: blur(25px); 
    border-left: 1px solid var(--mpk-card-border); flex-direction: column; 
    justify-content: flex-start; align-items: flex-start; padding: 5rem 1.8rem 2rem 1.8rem; 
    gap: 1.3rem; transition: right 0.4s ease; box-shadow: -15px 0 40px rgba(0,0,0,0.8); z-index: 2000;
  }
  .nav-links.active { right: 0; }
  .nav-links a { font-size: 1.05rem; text-align: left; width: 100%; }
}

/* Digital Student ID + WebMPK Scanner */
#qr-reader video{width:100%!important;height:auto!important;border-radius:12px} #qr-reader__dashboard{padding:12px!important;color:var(--mpk-muted)!important} #qr-reader__dashboard button{background:var(--mpk-gold)!important;color:#111827!important;border:0!important;border-radius:10px!important;padding:8px 12px!important;font-weight:800!important} #qr-reader__status_span{color:var(--mpk-muted)!important}


/* ===== ADMIN DASHBOARD TABLE ===== */
.admin-table-shell {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  border: 1px solid var(--mpk-card-border);
  border-radius: 18px;
  background: rgba(11,15,25,.82);
  box-shadow: 0 14px 35px rgba(0,0,0,.35);
}
.admin-table-scroll {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}
.admin-table {
  width: 100%;
  min-width: 1120px;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
}
.admin-table th,
.admin-table td {
  padding: 14px 13px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(255,255,255,.07);
  color: var(--mpk-white);
  font-size: .84rem;
  line-height: 1.45;
}
.admin-table th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #151c2a;
  color: var(--mpk-gold-light);
  font-size: .75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .45px;
  white-space: nowrap;
}
.admin-table tr:last-child td { border-bottom: 0; }
.admin-table tbody tr { transition: background .2s ease; }
.admin-table tbody tr:hover { background: rgba(255,255,255,.035); }
.admin-table td:nth-child(1) { width: 125px; white-space: nowrap; }
.admin-table td:nth-child(2) { width: 130px; }
.admin-table td:nth-child(3) { width: 85px; white-space: nowrap; }
.admin-table td:nth-child(4) { width: 150px; }
.admin-table td:nth-child(5) { width: 300px; }
.admin-table td:nth-child(6) { width: 135px; white-space: nowrap; }
.admin-table td:nth-child(7) { width: 105px; white-space: nowrap; }
.admin-table td:nth-child(8) { width: 280px; }
.admin-table .cell-wrap {
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.admin-table-empty {
  padding: 32px 18px;
  text-align: center;
  color: var(--mpk-muted);
}
.table-hint {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 9px;
  color: var(--mpk-muted);
  font-size: .74rem;
}

/* ===== SINGLE WEBMPK CAMERA PREVIEW ===== */
#qr-reader {
  position: relative;
  width: 100%;
  max-width: 520px;
  min-height: 0;
  margin: 0 auto;
  border: 1px solid var(--mpk-card-border);
  border-radius: 16px;
  overflow: hidden;
  background: #07090e;
}
#qr-reader video {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-height: 260px;
  max-height: 62vh;
  object-fit: cover !important;
  border-radius: 0 !important;
}
#qr-reader canvas {
  display: none !important;
}
#qr-reader > div:first-child {
  max-width: 100% !important;
}
#qr-reader__scan_region {
  min-height: 0 !important;
}
#qr-reader__scan_region img {
  display: none !important;
}
@media (max-width: 700px) {
  .admin-table th, .admin-table td { padding: 11px 10px; }
  .table-hint { padding-left: 2px; }
}


/* Social media */
.social-section{text-align:center;padding:2rem}.social-label{font-size:.72rem;font-weight:900;letter-spacing:1.8px;color:var(--mpk-gold-light)}.social-links{display:flex;justify-content:center;gap:10px;flex-wrap:wrap}.social-link{display:inline-flex;align-items:center;gap:8px;padding:.7rem 1rem;border:1px solid var(--mpk-card-border);border-radius:999px;color:var(--mpk-white);text-decoration:none;font-weight:800;background:rgba(255,255,255,.03);transition:.2s}.social-link:hover{transform:translateY(-2px);border-color:var(--mpk-gold)}.social-link span{font-size:1.05rem;color:var(--mpk-gold-light)}.social-config-note{margin-top:1.2rem;color:var(--mpk-muted);font-size:.78rem}.social-config-note code{color:var(--mpk-gold-light)}
