/* ==========================================================================
   LITTLE SPROUTS ACADEMY - MODERN SCHOOL & ADMIN DESIGN SYSTEM
   Vibrant, playful yet clean typography, glassmorphic admin, print layouts
   ========================================================================== */

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

:root {
  /* Brand Palette - Primary & Kindergarten Friendly */
  --primary: #4f46e5;
  --primary-hover: #4338ca;
  --primary-light: #eef2ff;
  --secondary: #06b6d4;
  --accent-sun: #f59e0b;
  --accent-coral: #f43f5e;
  --accent-green: #10b981;
  --accent-purple: #8b5cf6;

  /* Neutrals */
  --bg-body: #f8fafc;
  --bg-card: #ffffff;
  --bg-sidebar: #0f172a;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --border-color: #e2e8f0;

  /* Gradients */
  --grad-primary: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  --grad-fun: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
  --grad-sun: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
  --grad-emerald: linear-gradient(135deg, #10b981 0%, #059669 100%);
  --grad-sky: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
  --grad-hero: linear-gradient(135deg, #4338ca 0%, #3b82f6 50%, #06b6d4 100%);

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.07), 0 2px 4px -2px rgb(0 0 0 / 0.05);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.08), 0 4px 6px -4px rgb(0 0 0 / 0.04);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.06);
  --shadow-glow: 0 0 20px rgba(79, 70, 229, 0.25);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
}

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

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .brand-font {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.font-playful {
  font-family: 'Fredoka', cursive;
}

/* ==========================================================================
   PUBLIC WEBSITE STYLES
   ========================================================================== */

/* Top Ticker */
.top-ticker {
  background: #0f172a;
  color: #94a3b8;
  font-size: 0.825rem;
  padding: 6px 0;
}
.ticker-badge {
  background: var(--accent-coral);
  color: #fff;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
}

/* Main Navbar */
.site-navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 15px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}
.nav-brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--grad-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.35rem;
  box-shadow: 0 4px 10px rgba(79, 70, 229, 0.35);
}
.brand-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.1;
}
.brand-subtitle {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent-coral);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.nav-link-custom {
  font-weight: 600;
  color: #334155 !important;
  padding: 8px 14px !important;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}
.nav-link-custom:hover, .nav-link-custom.active {
  color: var(--primary) !important;
  background: var(--primary-light);
}

/* Hero Carousel / Slider */
.hero-slider-section {
  position: relative;
  overflow: hidden;
  background: #f1f5f9;
}
.hero-slide {
  min-height: 560px;
  display: flex;
  align-items: center;
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 60px 0;
}
.hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.88) 0%, rgba(15, 23, 42, 0.65) 50%, rgba(15, 23, 42, 0.3) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-full);
  color: #fde047;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 20px;
}
.hero-title {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero-title span {
  background: linear-gradient(135deg, #fde047, #f43f5e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-desc {
  font-size: 1.15rem;
  color: #e2e8f0;
  max-width: 580px;
  margin-bottom: 30px;
}

/* Feature Badge Cards */
.feature-badge-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-badge-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}
.feature-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 16px;
}

/* Class Card (LKG - Class 5) */
.class-program-card {
  background: #fff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 2px solid #f1f5f9;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.class-program-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: 0 15px 30px rgba(79, 70, 229, 0.12);
}
.class-card-header {
  padding: 24px 24px 16px;
  position: relative;
}
.class-tag {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
}
.class-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: #0f172a;
}
.class-age {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}
.class-features-list {
  list-style: none;
  padding: 0 24px;
  margin: 16px 0;
  flex-grow: 1;
}
.class-features-list li {
  font-size: 0.875rem;
  color: #475569;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.class-card-footer {
  padding: 16px 24px 24px;
  background: #f8fafc;
  border-top: 1px solid #f1f5f9;
}

/* Notice Item */
.notice-item-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 16px;
  border-left: 5px solid var(--primary);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}
.notice-item-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}
.notice-date-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
  padding: 8px 14px;
  border-radius: var(--radius-md);
  text-align: center;
}
.notice-date-day {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1;
}
.notice-date-month {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Event Item Card */
.event-item-card {
  background: #fff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}
.event-item-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}
.event-thumb {
  height: 180px;
  width: 100%;
  object-fit: cover;
}

/* Gallery Grid */
.gallery-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  height: 240px;
  box-shadow: var(--shadow-md);
}
.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-card:hover img {
  transform: scale(1.08);
}
.gallery-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 20px;
  background: linear-gradient(transparent, rgba(15, 23, 42, 0.9));
  color: #fff;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.gallery-card:hover .gallery-overlay {
  opacity: 1;
}

/* Modern React / Tailwind Inspired Footer */
.site-footer {
  background: #090d16;
  color: #94a3b8;
  padding: 60px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.site-footer p, .site-footer .text-muted, .site-footer .footer-desc {
  color: #94a3b8 !important;
  font-size: 0.875rem;
  line-height: 1.65;
}
.site-footer h6 {
  color: #f8fafc !important;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.site-footer a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.875rem;
  transition: all 0.2s ease;
  display: inline-block;
}
.site-footer a:hover {
  color: #38bdf8;
  transform: translateX(4px);
}
.site-footer .btn-portal {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f1f5f9;
  border-radius: var(--radius-full);
  padding: 9px 20px;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  text-decoration: none;
}
.site-footer .btn-portal:hover {
  background: var(--grad-primary);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(79, 70, 229, 0.4);
  transform: translateY(-2px);
}
.site-footer .footer-divider {
  border-color: rgba(255, 255, 255, 0.08) !important;
}
.site-footer .footer-copy {
  color: #64748b !important;
  font-size: 0.8rem;
}

/* ==========================================================================
   ADMIN PANEL STYLES
   ========================================================================== */

.admin-wrapper {
  display: flex;
  min-height: 100vh;
}

/* Sidebar */
.admin-sidebar {
  width: 270px;
  background: #0f172a;
  color: #94a3b8;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 1050;
  transition: transform 0.3s ease;
  overflow-y: auto;
  border-right: 1px solid rgba(255,255,255,0.06);
}
.sidebar-header {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.sidebar-menu {
  list-style: none;
  padding: 16px 12px;
  margin: 0;
  flex-grow: 1;
}
.menu-heading {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  color: #64748b;
  padding: 14px 14px 6px;
}
.menu-item a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  color: #94a3b8;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius-md);
  margin-bottom: 4px;
  transition: all 0.2s ease;
}
.menu-item a:hover {
  background: rgba(255,255,255,0.06);
  color: #f8fafc;
}
.menu-item.active a {
  background: var(--grad-primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.4);
}
.menu-item .menu-badge {
  margin-left: auto;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
}

/* Main Content Area */
.admin-main {
  margin-left: 270px;
  flex-grow: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #f8fafc;
  transition: margin-left 0.3s ease;
}

/* Admin Topbar */
.admin-topbar {
  height: 70px;
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 999;
}
.topbar-search {
  position: relative;
  width: 320px;
}
.topbar-search input {
  width: 100%;
  padding: 8px 16px 8px 38px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  background: #f8fafc;
  font-size: 0.875rem;
  outline: none;
  transition: all 0.2s;
}
.topbar-search input:focus {
  background: #fff;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
}
.topbar-search .search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  pointer-events: none;
}

.topbar-user {
  display: flex;
  align-items: center;
  gap: 12px;
}
.topbar-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #e0e7ff;
}

/* Admin Body Container */
.admin-content {
  padding: 28px;
  flex-grow: 1;
}

/* Stat KPI Cards */
.kpi-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 14px 18px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: all 0.25s ease;
}
.kpi-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.kpi-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
}
.kpi-card.purple::before { background: var(--grad-primary); }
.kpi-card.emerald::before { background: var(--grad-emerald); }
.kpi-card.amber::before { background: var(--grad-sun); }
.kpi-card.sky::before { background: var(--grad-sky); }
.kpi-card.coral::before { background: var(--grad-fun); }

.kpi-value {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.1;
}
.kpi-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 1px;
}
.kpi-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}

/* Tables Styling */
.table-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  overflow: hidden;
}
.table-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.custom-table {
  width: 100%;
  margin-bottom: 0;
  border-collapse: collapse;
}
.custom-table th {
  background: #f8fafc;
  color: #475569;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-color);
}
.custom-table td {
  padding: 16px 20px;
  vertical-align: middle;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.875rem;
  color: #334155;
}
.custom-table tr:hover td {
  background: #f8fafc;
}

/* Compact Attendance Toggle */
.att-toggle-group {
  display: inline-flex;
  align-items: center;
  background: #f1f5f9;
  padding: 3px;
  border-radius: var(--radius-full);
  gap: 3px;
  border: 1px solid #e2e8f0;
}
.att-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  font-weight: 800;
  font-size: 0.825rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  color: #64748b;
  background: transparent;
}
.att-btn:hover {
  background: rgba(0,0,0,0.06);
  color: #1e293b;
}
.att-btn.btn-p.active {
  background: #10b981;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(16, 185, 129, 0.4);
  transform: scale(1.06);
}
.att-btn.btn-a.active {
  background: #ef4444;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(239, 68, 68, 0.4);
  transform: scale(1.06);
}
.att-btn.btn-l.active {
  background: #f59e0b;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(245, 158, 11, 0.4);
  transform: scale(1.06);
}
.att-btn.btn-leave.active {
  background: #0284c7;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.4);
  transform: scale(1.06);
}

/* Status Badges */
.badge-status {
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.badge-present { background: #dcfce7; color: #15803d; }
.badge-absent { background: #fee2e2; color: #b91c1c; }
.badge-late { background: #fef3c7; color: #b45309; }
.badge-leave { background: #e0e7ff; color: #4338ca; }
.badge-paid { background: #dcfce7; color: #15803d; }
.badge-pending { background: #fee2e2; color: #b91c1c; }
.badge-active { background: #dcfce7; color: #15803d; }

/* Buttons */
.btn-primary-custom {
  background: var(--grad-primary);
  color: #fff;
  border: none;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
  transition: all 0.2s ease;
  text-decoration: none;
  cursor: pointer;
}
.btn-primary-custom:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(79, 70, 229, 0.35);
}

.btn-secondary-custom {
  background: #f1f5f9;
  color: #334155;
  border: 1px solid var(--border-color);
  font-weight: 600;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  text-decoration: none;
  cursor: pointer;
}
.btn-secondary-custom:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.btn-action-icon {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-color);
  background: #fff;
  color: #64748b;
  transition: all 0.2s;
  cursor: pointer;
}
.btn-action-icon:hover {
  background: var(--primary-light);
  color: var(--primary);
  border-color: #c7d2fe;
}
.btn-action-icon.delete:hover {
  background: #fee2e2;
  color: #dc2626;
  border-color: #fca5a5;
}

/* ==========================================================================
   PRINT TEMPLATES (Receipts, Marksheets, Certificates)
   ========================================================================== */

.printable-frame {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  max-width: 800px;
  margin: 0 auto;
}

/* Printable Fee Receipt */
.receipt-header {
  border-bottom: 2px dashed #cbd5e1;
  padding-bottom: 20px;
  margin-bottom: 24px;
}
.receipt-stamp {
  border: 2px solid #16a34a;
  color: #16a34a;
  padding: 6px 14px;
  border-radius: 6px;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 2px;
  transform: rotate(-8deg);
  display: inline-block;
}

/* Printable Marksheet / Report Card */
.marksheet-frame {
  background: #ffffff;
  border: 4px double #4f46e5;
  border-radius: 12px;
  padding: 30px;
  position: relative;
}
.marksheet-title-badge {
  background: #4f46e5;
  color: #fff;
  padding: 6px 20px;
  border-radius: 30px;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 12px;
}

/* Printable Royal Certificate */
.certificate-frame {
  background: #fffdf7;
  border: 12px solid #b45309;
  outline: 4px solid #fde68a;
  outline-offset: -8px;
  border-radius: 8px;
  padding: 40px;
  position: relative;
  text-align: center;
  box-shadow: var(--shadow-xl);
}
.certificate-ornament {
  font-size: 2.4rem;
  color: #d97706;
  margin-bottom: 10px;
}
.certificate-heading {
  font-family: 'Fredoka', cursive;
  font-size: 2.6rem;
  color: #78350f;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
}
.certificate-student-name {
  font-size: 2.2rem;
  font-weight: 900;
  color: #1e1b4b;
  border-bottom: 2px dashed #d97706;
  display: inline-block;
  padding: 0 30px 4px;
  margin: 14px 0;
}
.certificate-seal {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: radial-gradient(circle, #f59e0b 0%, #b45309 100%);
  color: #fff;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.7rem;
  box-shadow: 0 4px 10px rgba(180, 83, 9, 0.4);
}

/* Toast Notifications */
.toast-container-custom {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 2000;
}

/* Media Queries */
@media (max-width: 992px) {
  .admin-sidebar {
    transform: translateX(-100%);
  }
  .admin-sidebar.show {
    transform: translateX(0);
  }
  .admin-main {
    margin-left: 0;
  }
  .hero-title {
    font-size: 2.2rem;
  }
}

@media print {
  body * {
    visibility: hidden;
  }
  .printable-area, .printable-area * {
    visibility: visible;
  }
  .printable-area {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    border: none;
    box-shadow: none;
  }
  .no-print {
    display: none !important;
  }
}
