/**
 * IPNU Connect - Master Design System
 * Theme: IPNU Emerald Green & Royal Gold
 * Designed for PC IPNU Kabupaten Cianjur
 */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Outfit:wght@400;600;700;800&display=swap');

:root {
  /* Brand Colors */
  --ipnu-emerald: #006a4e;
  --ipnu-emerald-dark: #054734;
  --ipnu-emerald-deep: #032d20;
  --ipnu-emerald-light: #0d8a67;
  --ipnu-emerald-soft: #e6f5f0;
  --ipnu-emerald-glow: rgba(0, 106, 78, 0.25);

  --ipnu-gold: #d4af37;
  --ipnu-gold-light: #fef3c7;
  --ipnu-gold-dark: #b38e22;
  --ipnu-gold-glow: rgba(212, 175, 55, 0.35);

  --accent-amber: #f59e0b;
  --accent-cyan: #06b6d4;
  --accent-red: #ef4444;
  --accent-green: #10b981;

  /* Surfaces & Backgrounds */
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --bg-sidebar: #052c1e;
  --bg-sidebar-hover: #08432e;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --text-white: #ffffff;

  /* Borders & Shadows */
  --border-color: #e2e8f0;
  --border-focus: #006a4e;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 14px rgba(0, 106, 78, 0.08);
  --shadow-lg: 0 10px 25px rgba(0, 106, 78, 0.12);
  --shadow-gold: 0 4px 20px rgba(212, 175, 55, 0.25);

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  color: #0f231b;
  letter-spacing: -0.02em;
}

a {
  color: var(--ipnu-emerald);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: var(--ipnu-emerald-dark);
}

/* =====================================================================
   ADMIN APP LAYOUT (Sidebar + Topbar + Content)
===================================================================== */
.app-container {
  display: flex;
  min-height: 100vh;
  width: 100%;
}

/* Sidebar */
.app-sidebar {
  width: 270px;
  background: linear-gradient(180deg, #03261a 0%, #063827 50%, #021a12 100%);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 1000;
  box-shadow: 4px 0 20px rgba(0,0,0,0.15);
  transition: var(--transition-normal);
  overflow-y: auto;
}

.sidebar-brand {
  padding: 22px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0,0,0,0.15);
}

.sidebar-brand img {
  height: 44px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
}

.sidebar-brand-text h2 {
  font-size: 1.15rem;
  color: #ffffff;
  font-weight: 800;
  line-height: 1.2;
}

.sidebar-brand-text span {
  font-size: 0.72rem;
  color: var(--ipnu-gold);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
}

.sidebar-menu {
  padding: 16px 12px;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-header {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: rgba(255, 255, 255, 0.4);
  padding: 16px 12px 6px;
}

.sidebar-item a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  color: rgba(255, 255, 255, 0.75);
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 500;
  transition: var(--transition-fast);
}

.sidebar-item a i {
  font-size: 1.1rem;
  width: 20px;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition-fast);
}

.sidebar-item a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.sidebar-item a:hover i {
  color: var(--ipnu-gold);
  transform: translateX(2px);
}

.sidebar-item.active a {
  background: linear-gradient(90deg, var(--ipnu-emerald) 0%, #0c7a59 100%);
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0, 106, 78, 0.35);
  border-left: 3px solid var(--ipnu-gold);
}

.sidebar-item.active a i {
  color: var(--ipnu-gold);
}

.sidebar-badge {
  margin-left: auto;
  font-size: 0.7rem;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  font-weight: 700;
}

/* Sidebar Footer User Info */
.sidebar-footer {
  margin-top: auto;
  padding: 16px;
  background: rgba(0, 0, 0, 0.25);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  gap: 12px;
}

.sidebar-avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--ipnu-emerald);
  border: 2px solid var(--ipnu-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  font-size: 0.95rem;
}

.sidebar-user-details {
  flex: 1;
  overflow: hidden;
}

.sidebar-user-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-user-role {
  font-size: 0.7rem;
  color: var(--ipnu-gold);
  font-weight: 500;
}

/* Main Content Area */
.app-main {
  flex: 1;
  margin-left: 270px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: var(--bg-main);
  transition: var(--transition-normal);
}

/* Top Navbar */
.app-topbar {
  height: 72px;
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  padding: 0 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 900;
  box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 18px;
}

.btn-sidebar-toggle {
  background: none;
  border: none;
  font-size: 1.25rem;
  color: var(--text-muted);
  cursor: pointer;
  display: none;
}

.topbar-title h1 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ipnu-emerald-dark);
}

.topbar-title p {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: -2px;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.role-switcher-dropdown {
  position: relative;
}

.role-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ipnu-emerald-soft);
  color: var(--ipnu-emerald-dark);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid rgba(0, 106, 78, 0.2);
}

/* Quick Action Buttons */
.btn-quick {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
  border: none;
}

.btn-quick-primary {
  background: linear-gradient(135deg, var(--ipnu-emerald) 0%, var(--ipnu-emerald-light) 100%);
  color: #fff;
  box-shadow: 0 3px 10px rgba(0, 106, 78, 0.25);
}

.btn-quick-primary:hover {
  background: linear-gradient(135deg, var(--ipnu-emerald-dark) 0%, var(--ipnu-emerald) 100%);
  color: #fff;
  transform: translateY(-1px);
}

.btn-quick-gold {
  background: linear-gradient(135deg, var(--ipnu-gold) 0%, #ecc94b 100%);
  color: #3b2c04;
  box-shadow: var(--shadow-gold);
}

.btn-quick-gold:hover {
  background: linear-gradient(135deg, #c59f2c 0%, var(--ipnu-gold) 100%);
  transform: translateY(-1px);
}

/* Page Body Container */
.page-content {
  padding: 30px;
  flex: 1;
}

/* =====================================================================
   CARDS & STATS WIDGETS
===================================================================== */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  margin-bottom: 25px;
}

.stat-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 22px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 18px;
  position: relative;
  overflow: hidden;
  transition: var(--transition-normal);
}

.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 106, 78, 0.25);
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
}

.stat-card.stat-green::before { background: var(--ipnu-emerald); }
.stat-card.stat-gold::before { background: var(--ipnu-gold); }
.stat-card.stat-blue::before { background: #3b82f6; }
.stat-card.stat-amber::before { background: #f59e0b; }
.stat-card.stat-red::before { background: #ef4444; }

.stat-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.stat-green .stat-icon { background: var(--ipnu-emerald-soft); color: var(--ipnu-emerald); }
.stat-gold .stat-icon { background: var(--ipnu-gold-light); color: var(--ipnu-gold-dark); }
.stat-blue .stat-icon { background: #eff6ff; color: #3b82f6; }
.stat-amber .stat-icon { background: #fffbeb; color: #d97706; }
.stat-red .stat-icon { background: #fef2f2; color: #ef4444; }

.stat-info {
  flex: 1;
}

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

.stat-value {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
  margin: 4px 0;
}

.stat-desc {
  font-size: 0.72rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Content Box Cards */
.card-box {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  margin-bottom: 25px;
  overflow: hidden;
}

.card-header-custom {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
}

.card-header-custom h3 {
  font-size: 1.05rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ipnu-emerald-dark);
}

.card-body-custom {
  padding: 24px;
}

/* =====================================================================
   STATUS BADGES
===================================================================== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  line-height: 1;
}

.badge-success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.badge-warning { background: #fffbeb; color: #92400e; border: 1px solid #fde68a; }
.badge-danger { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.badge-info { background: #eff6ff; color: #1e40af; border: 1px solid #bfdbfe; }
.badge-secondary { background: #f1f5f9; color: #475569; border: 1px solid #cbd5e1; }
.badge-primary { background: var(--ipnu-emerald-soft); color: var(--ipnu-emerald-dark); border: 1px solid rgba(0, 106, 78, 0.2); }

/* Kondisi Organisasi Spesifik */
.badge-kondisi-baik {
  background: #dcfce7;
  color: #14532d;
  border: 1px solid #86efac;
}
.badge-kondisi-pendampingan {
  background: #fef9c3;
  color: #713f12;
  border: 1px solid #fde047;
}
.badge-kondisi-kritis {
  background: #fee2e2;
  color: #7f1d1d;
  border: 1px solid #fca5a5;
}
.badge-kondisi-belum {
  background: #f3f4f6;
  color: #374151;
  border: 1px solid #d1d5db;
}

/* =====================================================================
   TABLES & DATA PRESENTATION
===================================================================== */
.table-responsive {
  overflow-x: auto;
  width: 100%;
}

.table-custom {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.85rem;
}

.table-custom th {
  background: #f8fafc;
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.5px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-color);
  text-align: left;
}

.table-custom td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-color);
  vertical-align: middle;
  color: var(--text-main);
}

.table-custom tr:last-child td {
  border-bottom: none;
}

.table-custom tbody tr:hover td {
  background-color: #f8fafc;
}

/* Action button icons in table */
.btn-action {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-color);
  background: #ffffff;
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: var(--transition-fast);
  cursor: pointer;
}

.btn-action:hover {
  background: var(--ipnu-emerald-soft);
  color: var(--ipnu-emerald);
  border-color: var(--ipnu-emerald);
}

.btn-action.btn-action-danger:hover {
  background: #fee2e2;
  color: #ef4444;
  border-color: #ef4444;
}

/* =====================================================================
   KTA DIGITAL CARD (Kartu Tanda Anggota)
===================================================================== */
.kta-card-preview {
  width: 480px;
  height: 290px;
  border-radius: 18px;
  background: linear-gradient(135deg, #032b1e 0%, #064732 40%, #006a4e 80%, #03261a 100%);
  color: #ffffff;
  padding: 20px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 50, 30, 0.35), 0 0 0 1px rgba(212, 175, 55, 0.4);
  margin: 0 auto 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.kta-card-preview::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.25) 0%, rgba(0,0,0,0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.kta-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(212, 175, 55, 0.3);
  padding-bottom: 10px;
}

.kta-logo-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.kta-logo-left img {
  height: 38px;
}

.kta-title-text h4 {
  font-size: 0.85rem;
  color: #ffffff;
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.kta-title-text p {
  font-size: 0.65rem;
  color: var(--ipnu-gold);
  font-weight: 600;
}

.kta-chip {
  width: 36px;
  height: 28px;
  background: linear-gradient(135deg, #ffd700 0%, #b8860b 100%);
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.4);
  position: relative;
}

.kta-body {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 10px 0;
}

.kta-photo-wrapper {
  width: 78px;
  height: 98px;
  border-radius: 8px;
  border: 2px solid var(--ipnu-gold);
  overflow: hidden;
  background: #ffffff;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.kta-photo-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kta-member-info {
  flex: 1;
}

.kta-member-name {
  font-size: 1rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
}

.kta-member-nia {
  font-size: 0.8rem;
  font-family: monospace;
  color: var(--ipnu-gold);
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.kta-details-grid {
  display: grid;
  grid-template-columns: 80px 1fr;
  font-size: 0.68rem;
  row-gap: 2px;
  color: rgba(255,255,255,0.8);
}

.kta-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 8px;
}

.kta-qr-box {
  width: 44px;
  height: 44px;
  background: #fff;
  border-radius: 4px;
  padding: 2px;
}

.kta-qr-box img {
  width: 100%;
  height: 100%;
}

.kta-signature {
  text-align: right;
  font-size: 0.62rem;
  color: rgba(255,255,255,0.7);
}

.kta-signature-name {
  color: #ffffff;
  font-weight: 700;
  margin-top: 14px;
  text-decoration: underline;
}

/* =====================================================================
   FORM CONTROLS
===================================================================== */
.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 6px;
}

.form-control, .form-select {
  width: 100%;
  padding: 10px 14px;
  font-size: 0.86rem;
  font-family: inherit;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background-color: #ffffff;
  color: var(--text-main);
  transition: var(--transition-fast);
}

.form-control:focus, .form-select:focus {
  outline: none;
  border-color: var(--ipnu-emerald);
  box-shadow: 0 0 0 3px var(--ipnu-emerald-glow);
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 0.86rem;
  font-weight: 600;
  font-family: inherit;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition-fast);
  text-decoration: none;
}

.btn-primary {
  background: var(--ipnu-emerald);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--ipnu-emerald-dark);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-gold {
  background: var(--ipnu-gold);
  color: #2b1f02;
  font-weight: 700;
}

.btn-gold:hover {
  background: var(--ipnu-gold-dark);
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-outline {
  border-color: var(--border-color);
  background: #ffffff;
  color: var(--text-main);
}

.btn-outline:hover {
  background: #f8fafc;
  border-color: var(--text-muted);
}

.btn-outline-primary {
  border-color: var(--ipnu-emerald);
  color: var(--ipnu-emerald);
  background: transparent;
}

.btn-outline-primary:hover {
  background: var(--ipnu-emerald);
  color: #ffffff;
}

.btn-danger {
  background: #ef4444;
  color: #ffffff;
}

.btn-danger:hover {
  background: #dc2626;
  color: #ffffff;
}

/* =====================================================================
   PUBLIC LANDING PAGE HERO & STYLES
===================================================================== */
.public-navbar {
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.public-navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1240px;
  margin: 0 auto;
}

.public-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.public-brand img {
  height: 48px;
}

.public-nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.public-nav-links a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-main);
}

.public-nav-links a:hover {
  color: var(--ipnu-emerald);
}

.hero-section {
  background: linear-gradient(135deg, #03261a 0%, #064732 50%, #006a4e 100%);
  color: #ffffff;
  padding: 90px 20px 80px;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.25) 0%, transparent 60%);
  pointer-events: none;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 50px;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid var(--ipnu-gold);
  color: var(--ipnu-gold);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-title {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 18px;
}

.hero-title span {
  color: var(--ipnu-gold);
}

.hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 30px;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-hero-secondary {
  background: rgba(255, 255, 255, 0.12);
  border: 2px solid rgba(255, 255, 255, 0.9);
  color: #ffffff !important;
  font-weight: 700;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  transition: all 0.25s ease;
}

.btn-hero-secondary:hover {
  background: #ffffff;
  border-color: #ffffff;
  color: #032b1e !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

.btn-hero-secondary:hover i {
  color: #032b1e !important;
}

.hero-card-preview {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-logo-display {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 30px;
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
  text-align: center;
}

.hero-logo-display img {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3));
}

/* =====================================================================
   PRINT & KOP SURAT
===================================================================== */
.kop-surat {
  display: flex;
  align-items: center;
  border-bottom: 3px double #006a4e;
  padding-bottom: 12px;
  margin-bottom: 24px;
  gap: 18px;
}

.kop-logo {
  width: 90px;
  height: auto;
}

.kop-text {
  flex: 1;
  text-align: center;
}

.kop-text h2 {
  font-size: 1.25rem;
  color: var(--ipnu-emerald-dark);
  font-weight: 800;
  text-transform: uppercase;
}

.kop-text h1 {
  font-size: 1.5rem;
  color: #006a4e;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.kop-text p {
  font-size: 0.8rem;
  color: #334155;
  margin-top: 2px;
}

/* Mobile Topbar Subtitle Strip */
.topbar-subtitle-mobile {
  background: #f8fafc;
  border-bottom: 1px solid var(--border-color);
  padding: 10px 16px;
  font-size: 0.8rem;
  color: #475569;
  line-height: 1.45;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

/* Responsive */
@media (max-width: 992px) {
  .app-sidebar {
    transform: translateX(-100%);
  }
  .app-sidebar.show {
    transform: translateX(0);
  }
  .app-main {
    margin-left: 0;
  }
  .btn-sidebar-toggle {
    display: block;
  }
  .app-topbar {
    height: 60px;
    padding: 0 16px;
  }
  .topbar-left {
    gap: 12px;
    min-width: 0;
    flex: 1;
  }
  .topbar-title {
    min-width: 0;
    overflow: hidden;
  }
  .topbar-title h1 {
    font-size: 1.05rem;
    margin-bottom: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .topbar-right {
    gap: 8px;
    flex-shrink: 0;
  }
  .topbar-right .btn-sm {
    padding: 5px 10px;
    font-size: 0.75rem;
  }
  .page-content {
    padding: 16px;
  }
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-desc {
    margin: 0 auto 30px;
  }
  .hero-actions {
    justify-content: center;
  }
  .kta-card-preview {
    width: 100%;
    max-width: 440px;
  }
}
