/* ==========================================================================
   IT THINK ZONE - PREMIUM BLOG & ADMIN DESIGN SYSTEM
   Exact pixel-perfect implementation matching mobiindia.in/blog screenshots:
   - Deep Navy Hero with 3D illustration & Stats Row
   - Split Featured Card + Top Stories Sidebar
   - Sticky Table of Contents with active orange card styling
   - Reading Progress Bar with Percentage (0% to 100%)
   - Full Comparison Tables, FAQs Accordion, Author Bio, Related Articles
   - Sticky Right Sidebar: Dream App CTA, Related Services, Recent Posts,
     Stay Updated Newsletter, and Need Help Planning App Box
   - Bottom Full-Width "Ready To Build Your Next Great App?" Banner
   - Advanced WYSIWYG Editor with Highlighted Hyperlinks, In-Content Image
     Uploads, and Interactive Link Modals for Admin Panel
   ========================================================================== */

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

:root {
  --itz-orange: #eb6700;
  --itz-orange-hover: #d35c00;
  --itz-orange-light: rgba(235, 103, 0, 0.08);
  --itz-orange-border: rgba(235, 103, 0, 0.3);
  --itz-green: #76bd4e;
  --itz-green-light: rgba(118, 189, 78, 0.15);
  --itz-navy-hero: #050d24;
  --itz-navy-card: #091638;
  --itz-navy-dark: #04091a;
  --itz-dark: #0f172a;
  --itz-text-main: #1e293b;
  --itz-text-muted: #64748b;
  --itz-border: #e2e8f0;
  --itz-bg-light: #f8fafc;
  --itz-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.07);
  --itz-shadow-lg: 0 20px 45px -10px rgba(0, 0, 0, 0.12);
  --itz-radius: 18px;
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

body.itz-blog-scope {
  font-family: var(--font-body);
  color: var(--itz-text-main);
  background-color: #ffffff;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

/* ==========================================================================
   FLOATING NAVBAR PILL (Exact Reference Style)
   ========================================================================== */
.itz-navbar-pill-wrap {
  position: sticky;
  top: 36px;
  z-index: 99999;
  padding: 0 20px;
}

.itz-navbar-pill {
  max-width: 1240px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 50px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 24px;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.itz-navbar-pill .brand-logo img {
  max-height: 38px;
  display: block;
}

.itz-nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.itz-nav-menu a {
  color: #1e293b;
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
  font-family: var(--font-heading);
}

.itz-nav-menu a:hover,
.itz-nav-menu a.active {
  color: var(--itz-orange);
  font-weight: 600;
}

.itz-nav-cta {
  background: var(--itz-orange);
  color: #ffffff !important;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 30px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 6px 18px rgba(235, 103, 0, 0.35);
  transition: all 0.25s ease;
}

.itz-nav-cta:hover {
  background: var(--itz-orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(235, 103, 0, 0.45);
}

/* ==========================================================================
   DEEP NAVY HERO SECTION
   ========================================================================== */
.itz-navy-hero {
  background: linear-gradient(135deg, #050d24 0%, #071338 60%, #04091a 100%);
  color: #ffffff;
  padding: 70px 0 65px;
  position: relative;
  overflow: hidden;
}

.itz-navy-hero::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(235, 103, 0, 0.12) 0%, rgba(0, 0, 0, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.itz-hero-pill-badge {
  display: inline-block;
  padding: 6px 18px;
  border: 1px solid rgba(235, 103, 0, 0.4);
  border-radius: 30px;
  color: #ff9142;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
  background: rgba(235, 103, 0, 0.08);
}

.itz-navy-hero h1 {
  font-size: clamp(34px, 4.4vw, 54px);
  font-weight: 800;
  line-height: 1.22;
  margin-bottom: 18px;
  color: #ffffff;
  font-family: var(--font-heading);
}

.itz-navy-hero h1 span.highlight {
  color: var(--itz-orange);
  display: block;
}

.itz-navy-hero p.hero-desc {
  color: #94a3b8;
  font-size: 16px;
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 32px;
}

/* Big Search Bar */
.itz-hero-search-box {
  display: flex;
  align-items: center;
  background: #ffffff;
  border-radius: 40px;
  padding: 6px 8px 6px 24px;
  max-width: 580px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  margin-bottom: 36px;
}

.itz-hero-search-box input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 15px;
  font-family: var(--font-body);
  color: #1e293b;
  background: transparent;
}

.itz-hero-search-box button {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--itz-orange);
  color: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.2s;
}

.itz-hero-search-box button:hover {
  background: var(--itz-orange-hover);
  transform: scale(1.05);
}

/* Stats Row */
.itz-hero-stats-row {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.itz-hero-stat-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.itz-hero-stat-item .icon {
  font-size: 22px;
  color: var(--itz-orange);
}

.itz-hero-stat-item .num {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  font-family: var(--font-heading);
  line-height: 1.1;
}

.itz-hero-stat-item .lbl {
  font-size: 12px;
  color: #94a3b8;
}

/* 3D Phone Hero Mockup */
.itz-hero-phone-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.itz-phone-mockup {
  width: 290px;
  height: 490px;
  background: linear-gradient(145deg, #0d1e4c, #06112d);
  border: 7px solid #23376e;
  border-radius: 46px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), inset 0 0 20px rgba(235, 103, 0, 0.2);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 24px 18px;
}

.itz-phone-mockup .notch {
  width: 90px;
  height: 18px;
  background: #23376e;
  border-radius: 0 0 14px 14px;
  margin: -24px auto 20px;
}

.itz-phone-mockup .screen-header {
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 2px;
  color: #ffffff;
  margin-bottom: 20px;
}

.itz-phone-feed-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 14px;
  margin-bottom: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.itz-phone-feed-bar {
  height: 8px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  margin-bottom: 8px;
}

.itz-floating-badge-3d {
  position: absolute;
  background: rgba(13, 30, 76, 0.95);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  animation: floatAnim 4s ease-in-out infinite alternate;
}

.itz-floating-badge-3d.b1 { top: 20px; left: -30px; animation-delay: 0s; }
.itz-floating-badge-3d.b2 { bottom: 60px; right: -25px; animation-delay: 2s; }
.itz-floating-badge-3d.b3 { bottom: 20px; left: -20px; animation-delay: 1s; }

@keyframes floatAnim {
  0% { transform: translateY(0); }
  100% { transform: translateY(-12px); }
}

/* ==========================================================================
   FEATURED STORY + TOP STORIES SPLIT SECTION
   ========================================================================== */
.itz-split-featured-section {
  padding: 50px 0 30px;
}

.itz-featured-main-card {
  background: #ffffff;
  border: 1px solid var(--itz-border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--itz-shadow);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.itz-featured-main-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--itz-shadow-lg);
}

.itz-featured-img-box {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #0f172a;
  overflow: hidden;
}

.itz-featured-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.itz-featured-main-card:hover .itz-featured-img-box img {
  transform: scale(1.04);
}

.itz-tag-featured {
  position: absolute;
  top: 18px;
  left: 18px;
  background: var(--itz-orange);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 5px 14px;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(235, 103, 0, 0.4);
}

.itz-featured-body {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.itz-featured-cat {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #2563eb;
  margin-bottom: 10px;
}

.itz-featured-title {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 14px;
  color: #050d24;
}

.itz-featured-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.itz-featured-title a:hover {
  color: var(--itz-orange);
}

.itz-featured-desc {
  font-size: 15px;
  color: var(--itz-text-muted);
  line-height: 1.65;
  margin-bottom: 24px;
  flex: 1;
}

.itz-featured-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--itz-border);
  padding-top: 18px;
  font-size: 13.5px;
  color: var(--itz-text-muted);
}

.itz-featured-author {
  font-weight: 600;
  color: #1e293b;
}

.itz-link-arrow {
  color: #2563eb;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

.itz-link-arrow:hover {
  color: var(--itz-orange);
  gap: 10px;
}

/* Right Side: Top Stories Card */
.itz-top-stories-card {
  background: #ffffff;
  border: 1px solid var(--itz-border);
  border-radius: 24px;
  padding: 28px 24px;
  box-shadow: var(--itz-shadow);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.itz-top-stories-title {
  font-size: 20px;
  font-weight: 800;
  color: #050d24;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.itz-top-story-item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--itz-border);
  align-items: flex-start;
}

.itz-top-story-item:last-child {
  border-bottom: none;
}

.itz-top-story-thumb {
  width: 76px;
  height: 64px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  background: #e2e8f0;
}

.itz-top-story-info h4 {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 6px;
}

.itz-top-story-info h4 a {
  color: #0f172a;
  text-decoration: none;
  transition: color 0.2s;
}

.itz-top-story-info h4 a:hover {
  color: var(--itz-orange);
}

.itz-top-story-info .time {
  font-size: 12px;
  color: var(--itz-text-muted);
}

.itz-view-all-stories {
  margin-top: auto;
  padding-top: 18px;
  text-align: left;
}

/* ==========================================================================
   CATEGORY CHIPS & ARTICLES GRID
   ========================================================================== */
.itz-chips-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  padding: 20px 0 10px;
  margin-bottom: 25px;
  scrollbar-width: none;
}
.itz-chips-bar::-webkit-scrollbar { display: none; }

.itz-filter-chip {
  padding: 9px 20px;
  border-radius: 30px;
  font-size: 13.5px;
  font-weight: 600;
  font-family: var(--font-heading);
  border: 1px solid var(--itz-border);
  background: #ffffff;
  color: #475569;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}

.itz-filter-chip:hover {
  color: var(--itz-orange);
  border-color: rgba(235, 103, 0, 0.4);
}

.itz-filter-chip.active {
  background: var(--itz-orange);
  color: #ffffff;
  border-color: var(--itz-orange);
  box-shadow: 0 4px 14px rgba(235, 103, 0, 0.3);
}

.itz-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 70px;
}

.itz-card-item {
  background: #ffffff;
  border: 1px solid var(--itz-border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--itz-shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.itz-card-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--itz-shadow-lg);
}

.itz-card-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #0f172a;
  overflow: hidden;
}

.itz-card-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.itz-card-item:hover .itz-card-thumb-wrap img {
  transform: scale(1.05);
}

.itz-card-cat-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(255, 255, 255, 0.95);
  color: #0f172a;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.itz-card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.itz-card-content h3 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.42;
  margin: 0 0 12px;
}

.itz-card-content h3 a {
  color: #050d24;
  text-decoration: none;
  transition: color 0.2s;
}

.itz-card-content h3 a:hover {
  color: var(--itz-orange);
}

.itz-card-content p {
  font-size: 14px;
  color: var(--itz-text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.itz-card-item-footer {
  border-top: 1px solid var(--itz-border);
  padding-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--itz-text-muted);
}

/* Card Metadata Row */
.itz-card-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #64748b;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--itz-border);
}

.itz-card-meta-row span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.read-time-pill {
  font-size: 12px;
  color: #64748b;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* Prominent Read Article Button on Every Card (User Request) */
.itz-read-article-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--itz-orange);
  color: #ffffff !important;
  font-family: var(--font-heading);
  font-size: 12.5px;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(235, 103, 0, 0.25);
}

.itz-read-article-btn:hover {
  background: var(--itz-orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(235, 103, 0, 0.4);
}

/* Hero Right 3D Illustration Graphic */
.itz-hero-image-wrap {
  position: relative;
  display: inline-block;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 40px rgba(235, 103, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.4s ease;
}

.itz-hero-image-wrap:hover {
  transform: translateY(-5px) scale(1.02);
}

.itz-hero-graphic {
  width: 100%;
  max-width: 480px;
  height: auto;
  display: block;
  border-radius: 24px;
}

/* Dynamic Numbered Pagination Component */
.itz-pagination-wrapper {
  margin: 50px 0 20px;
  display: flex;
  justify-content: center;
}

.itz-pagination {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  padding: 8px 14px;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  border: 1px solid var(--itz-border);
}

.itz-page-btn {
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: #1e293b;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.itz-page-btn.nav-btn {
  border-radius: 25px;
  padding: 0 16px;
  font-size: 13px;
  gap: 6px;
}

.itz-page-btn:hover:not(.disabled) {
  background: var(--itz-orange-light);
  color: var(--itz-orange);
}

.itz-page-btn.active {
  background: var(--itz-orange) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(235, 103, 0, 0.4);
}

.itz-page-btn.disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

/* ==========================================================================
   BLOG DETAIL / READER PAGE
   ========================================================================== */

/* Dark Article Hero */
.itz-article-dark-hero {
  background: linear-gradient(rgba(5, 13, 36, 0.94), rgba(5, 13, 36, 0.96)),
              url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?auto=format&fit=crop&w=1600&q=80') center/cover;
  color: #ffffff;
  padding: 55px 0 65px;
  position: relative;
}

.itz-article-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: #94a3b8;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.itz-article-breadcrumbs a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s;
}

.itz-article-breadcrumbs a:hover {
  color: var(--itz-orange);
}

.itz-article-breadcrumbs span.curr {
  color: #ffffff;
  font-weight: 500;
}

.itz-article-cat-pill {
  display: inline-block;
  background: #1d4ed8;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 18px;
}

.itz-article-dark-hero h1 {
  font-size: clamp(30px, 4.2vw, 48px);
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
  margin-bottom: 26px;
  max-width: 950px;
}

.itz-article-author-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 22px;
}

.itz-author-details {
  display: flex;
  align-items: center;
  gap: 14px;
}

.itz-author-avatar-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--itz-orange);
  object-fit: cover;
  background: #1e293b;
}

.itz-author-text .name {
  font-weight: 700;
  font-size: 15px;
  color: #ffffff;
}

.itz-author-text .role {
  font-size: 12.5px;
  color: #94a3b8;
}

.itz-meta-stats {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 13.5px;
  color: #94a3b8;
}

/* Share Icons */
.itz-share-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.itz-share-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  transition: transform 0.2s;
  border: none;
  cursor: pointer;
}

.itz-share-btn:hover {
  transform: translateY(-2px);
  color: #ffffff;
}

.itz-share-btn.fb { background: #1877f2; }
.itz-share-btn.tw { background: #0f1419; }
.itz-share-btn.insta { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.itz-share-btn.li { background: #0077b5; }
.itz-share-btn.wa { background: #25d366; }
.itz-share-btn.copy { background: #475569; }

/* 2-Column Modern Article Layout (No Wasted Space) */
.itz-article-body-wrap {
  padding: 50px 0 80px;
}

.itz-article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 48px;
  align-items: start;
}

@media (max-width: 991px) {
  .itz-article-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* Dynamic Table of Contents (Inside Sidebar) */
.itz-sticky-toc {
  background: #ffffff;
  border: 1px solid var(--itz-border);
  border-radius: 18px;
  padding: 22px 18px;
  box-shadow: var(--itz-shadow);
  max-height: 380px;
  overflow-y: auto;
}

.itz-sticky-toc::-webkit-scrollbar {
  width: 4px;
}
.itz-sticky-toc::-webkit-scrollbar-thumb {
  background: var(--itz-orange);
  border-radius: 4px;
}

.itz-toc-title {
  font-size: 12.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #0f172a;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--itz-border);
}

.itz-toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.itz-toc-item {
  margin-bottom: 8px;
}

/* Active TOC Link */
.itz-toc-link {
  display: block;
  padding: 8px 12px;
  color: #64748b;
  font-size: 13px;
  line-height: 1.45;
  text-decoration: none;
  border-radius: 8px;
  border-left: 3px solid transparent;
  transition: all 0.2s;
}

.itz-toc-link:hover {
  color: var(--itz-orange);
  background: var(--itz-orange-light);
}

.itz-toc-link.active {
  color: var(--itz-orange);
  font-weight: 700;
  background: #fff8f2;
  border-left: 3px solid var(--itz-orange);
  box-shadow: 0 2px 8px rgba(235, 103, 0, 0.08);
}

/* Center Content */
.itz-article-center-content {
  font-size: 17px;
  line-height: 1.85;
  color: #334155;
}

.itz-article-center-content h2 {
  font-size: 26px;
  font-weight: 800;
  color: #050d24;
  margin: 40px 0 16px;
  padding-top: 10px;
  scroll-margin-top: 120px;
}

.itz-article-center-content h3 {
  font-size: 20px;
  font-weight: 700;
  color: #050d24;
  margin: 32px 0 14px;
  scroll-margin-top: 120px;
}

.itz-article-center-content p {
  margin-bottom: 22px;
}

.itz-article-center-content ul,
.itz-article-center-content ol {
  margin: 0 0 24px 20px;
  padding: 0;
}

.itz-article-center-content li {
  margin-bottom: 10px;
}

/* Inline Links in Article */
.itz-inline-link {
  color: #2563eb;
  font-weight: 600;
  text-decoration: underline;
  transition: color 0.2s;
}

.itz-inline-link:hover {
  color: var(--itz-orange);
}

/* Key Takeaways Box */
.itz-key-takeaways {
  background: #f8fafc;
  border: 1px solid var(--itz-border);
  border-radius: 18px;
  padding: 26px;
  margin: 30px 0;
}

.itz-key-takeaways h4 {
  font-size: 18px;
  font-weight: 800;
  color: #050d24;
  margin-bottom: 14px;
}

/* In-Content Images */
.itz-article-img-wrap {
  margin: 32px 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.itz-article-img-wrap img {
  width: 100%;
  display: block;
}

.itz-article-img-wrap figcaption {
  font-size: 12.5px;
  color: #64748b;
  text-align: center;
  padding: 8px 12px;
  background: #f8fafc;
}

/* Comparison Table */
.itz-clean-pricing-table,
.blog-table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
  font-size: 14.5px;
  border: 1px solid var(--itz-border);
  border-radius: 12px;
  overflow: hidden;
}

.itz-clean-pricing-table th,
.blog-table th {
  background: #f8fafc;
  color: #0f172a;
  font-weight: 700;
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1.5px solid var(--itz-border);
}

.itz-clean-pricing-table td,
.blog-table td {
  padding: 13px 18px;
  border-bottom: 1px solid var(--itz-border);
  color: #334155;
}

.itz-clean-pricing-table tr:last-child td,
.blog-table tr:last-child td {
  border-bottom: none;
}

/* FAQs Accordion */
.itz-faqs-section {
  margin: 45px 0;
}

.itz-faqs-section h2 {
  font-size: 26px;
  font-weight: 800;
  color: #050d24;
  margin-bottom: 22px;
}

.itz-faq-item {
  border: 1px solid var(--itz-border);
  border-radius: 12px;
  margin-bottom: 12px;
  background: #ffffff;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.itz-faq-item:hover {
  border-color: rgba(235, 103, 0, 0.4);
}

.itz-faq-question {
  padding: 18px 22px;
  font-weight: 700;
  font-size: 15.5px;
  color: #0f172a;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}

.itz-faq-question .icon {
  font-size: 16px;
  color: #64748b;
  transition: transform 0.25s;
}

.itz-faq-item.open .itz-faq-question .icon {
  transform: rotate(45deg);
  color: var(--itz-orange);
}

.itz-faq-answer {
  padding: 0 22px 18px;
  color: #475569;
  font-size: 14.5px;
  line-height: 1.7;
  display: none;
}

.itz-faq-item.open .itz-faq-answer {
  display: block;
}

/* Related Articles Section */
.itz-related-articles-section {
  margin: 50px 0;
  padding-top: 30px;
  border-top: 1px solid var(--itz-border);
}

.itz-related-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.itz-related-header h3 {
  font-size: 22px;
  font-weight: 800;
  margin: 0;
  color: #050d24;
}

.itz-related-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 26px;
}

.itz-related-card {
  background: #ffffff;
  border: 1px solid var(--itz-border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.itz-related-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.09);
}

.itz-related-card-img-link {
  display: block;
  width: 100%;
  height: 170px;
  overflow: hidden;
  background: #f1f5f9;
}

.itz-related-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.itz-related-card:hover img {
  transform: scale(1.05);
}

.itz-related-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.itz-related-card-cat {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--itz-orange);
  margin-bottom: 8px;
}

.itz-related-card-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
  color: #0f172a;
  margin: 0;
}

.itz-related-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
.itz-related-card-title a:hover {
  color: var(--itz-orange);
}

/* Author Bio Card */
.itz-author-profile-box {
  background: #ffffff;
  border: 1px solid var(--itz-border);
  border-radius: 20px;
  padding: 32px;
  margin: 50px 0;
  display: flex;
  gap: 24px;
  align-items: center;
  box-shadow: var(--itz-shadow);
}

.itz-author-bio-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--itz-orange);
  flex-shrink: 0;
}

.itz-author-profile-box h4 {
  font-size: 19px;
  font-weight: 800;
  margin: 0 0 4px;
  color: #050d24;
}

.itz-author-role-sub {
  font-size: 13px;
  color: var(--itz-orange);
  font-weight: 600;
  margin-bottom: 10px;
}

.itz-author-desc {
  font-size: 14px;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 14px;
}

.itz-author-social-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.itz-author-social-link {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  text-decoration: none;
  transition: all 0.2s;
}

.itz-author-social-link:hover {
  background: var(--itz-orange);
  color: #ffffff;
}

/* Bottom Full-Width Banner */
.itz-bottom-full-cta {
  background: #fff7ed;
  border-radius: 26px;
  padding: 60px 30px;
  text-align: center;
  margin: 60px 0 80px;
  border: 1px solid #fed7aa;
}

.itz-bottom-full-cta h2 {
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 800;
  color: #050d24;
  margin-bottom: 12px;
}

.itz-bottom-full-cta p {
  font-size: 16px;
  color: #475569;
  max-width: 620px;
  margin: 0 auto 28px;
}

.itz-bottom-full-cta .btn-cta-start {
  background: var(--itz-orange);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 38px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(235, 103, 0, 0.35);
  transition: all 0.25s;
  display: inline-block;
  text-decoration: none;
}

.itz-bottom-full-cta .btn-cta-start:hover {
  background: var(--itz-orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(235, 103, 0, 0.45);
}

/* Sticky Right Sidebar */
.itz-sticky-right-sidebar {
  position: sticky;
  top: 110px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

/* Card 1: Build Your Dream App */
.itz-cta-sidebar-box {
  background: linear-gradient(145deg, #071338, #050d24);
  color: #ffffff;
  border-radius: 22px;
  padding: 30px 22px;
  box-shadow: 0 15px 35px rgba(5, 13, 36, 0.4);
}

.itz-cta-sidebar-box h3 {
  font-size: 21px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 8px;
}

.itz-cta-sidebar-box p {
  color: #94a3b8;
  font-size: 13.5px;
  line-height: 1.5;
  margin-bottom: 20px;
}

.itz-cta-features-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}

.itz-cta-features-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 11px;
}

.itz-cta-features-list li i {
  color: var(--itz-green);
  font-size: 14px;
}

.itz-cta-btn-orange {
  display: block;
  text-align: center;
  background: var(--itz-orange);
  color: #ffffff !important;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  padding: 13px 20px;
  border-radius: 30px;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(235, 103, 0, 0.4);
  transition: all 0.25s;
}

.itz-cta-btn-orange:hover {
  background: var(--itz-orange-hover);
  transform: translateY(-2px);
}

.itz-cta-sub-call {
  text-align: center;
  font-size: 12.5px;
  color: #94a3b8;
  margin-top: 14px;
}

.itz-cta-sub-call a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
}

/* Card 2: RELATED SERVICES */
.itz-related-services-card {
  background: #ffffff;
  border: 1px solid var(--itz-border);
  border-radius: 20px;
  padding: 24px 20px;
  box-shadow: var(--itz-shadow);
}

.itz-related-services-card h4 {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #64748b;
  margin-bottom: 14px;
}

.itz-related-service-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  color: #1e293b;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  transition: all 0.2s;
  margin-bottom: 4px;
}

.itz-related-service-link i {
  color: #2563eb;
  font-size: 15px;
  width: 20px;
  text-align: center;
}

.itz-related-service-link:hover {
  background: var(--itz-orange-light);
  color: var(--itz-orange);
}

.itz-related-service-link:hover i {
  color: var(--itz-orange);
}

.itz-view-services-all {
  display: block;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--itz-border);
  font-size: 13px;
  font-weight: 600;
  color: #2563eb;
  text-decoration: none;
}

.itz-view-services-all:hover {
  color: var(--itz-orange);
}

/* Card 3: RECENT POSTS */
.itz-recent-posts-card {
  background: #ffffff;
  border: 1px solid var(--itz-border);
  border-radius: 20px;
  padding: 24px 20px;
  box-shadow: var(--itz-shadow);
}

.itz-recent-posts-card h4 {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #64748b;
  margin-bottom: 14px;
}

.itz-recent-post-row {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--itz-border);
  align-items: flex-start;
}

.itz-recent-post-row:last-child {
  border-bottom: none;
}

.itz-recent-post-row img {
  width: 58px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.itz-recent-post-info h5 {
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 4px;
  line-height: 1.35;
}

.itz-recent-post-info h5 a {
  color: #0f172a;
  text-decoration: none;
}
.itz-recent-post-info h5 a:hover {
  color: var(--itz-orange);
}

.itz-recent-post-info .date {
  font-size: 11.5px;
  color: #94a3b8;
}

/* Card 4: Newsletter */
.itz-newsletter-sidebar-card {
  background: #071338;
  color: #ffffff;
  border-radius: 20px;
  padding: 26px 20px;
}

.itz-newsletter-sidebar-card h4 {
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 6px;
  color: #ffffff;
}

.itz-newsletter-sidebar-card p {
  color: #94a3b8;
  font-size: 13px;
  margin-bottom: 16px;
}

.itz-newsletter-sidebar-card input {
  width: 100%;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 13px;
  margin-bottom: 10px;
  outline: none;
}

.itz-newsletter-sidebar-card input::placeholder {
  color: #64748b;
}

.itz-newsletter-sidebar-card button {
  width: 100%;
  padding: 11px;
  border-radius: 10px;
  border: none;
  background: var(--itz-orange);
  color: #ffffff;
  font-weight: 700;
  font-size: 13.5px;
  cursor: pointer;
  transition: background 0.2s;
}

.itz-newsletter-sidebar-card button:hover {
  background: var(--itz-orange-hover);
}

.itz-newsletter-sidebar-card .micro {
  font-size: 11px;
  color: #64748b;
  margin-top: 8px;
  text-align: center;
}

/* Card 5: Need Help Planning */
.itz-help-planning-card {
  background: #ffffff;
  border: 1px solid var(--itz-border);
  border-radius: 20px;
  padding: 24px 20px;
  box-shadow: var(--itz-shadow);
  text-align: center;
}

.itz-help-planning-card h4 {
  font-size: 16px;
  font-weight: 800;
  color: #050d24;
  margin-bottom: 8px;
}

.itz-help-planning-card p {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 16px;
}

.itz-btn-book-call {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 25px;
  border: 1px solid var(--itz-border);
  background: #ffffff;
  color: #050d24;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
}

.itz-btn-book-call:hover {
  border-color: var(--itz-orange);
  color: var(--itz-orange);
  background: var(--itz-orange-light);
}

/* ==========================================================================
   ADVANCED WYSIWYG & ADMIN EDITOR STYLING
   Requested by user:
   - Clear Visual Highlighting for Hyperlinks inside Admin
   - Interactive Hyperlink Popover / Modal
   - In-content Image Inserter
   - WYSIWYG Visual Canvas vs HTML Source Tabs
   ========================================================================== */

.itz-editor-container {
  border: 1.5px solid var(--itz-border);
  border-radius: 12px;
  background: #ffffff;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.itz-editor-container:focus-within {
  border-color: var(--itz-orange);
  box-shadow: 0 0 0 3px var(--itz-orange-light);
}

.itz-editor-top-tabs {
  display: flex;
  background: #f1f5f9;
  border-bottom: 1px solid var(--itz-border);
  padding: 4px 8px 0;
  gap: 4px;
}

.itz-editor-tab-btn {
  padding: 8px 18px;
  background: transparent;
  border: none;
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  border-radius: 8px 8px 0 0;
  transition: all 0.2s;
}

.itz-editor-tab-btn.active {
  background: #ffffff;
  color: var(--itz-navy-hero);
  border-bottom: 2px solid var(--itz-orange);
}

/* Toolbar */
.itz-rich-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px 12px;
  background: #f8fafc;
  border-bottom: 1px solid var(--itz-border);
  align-items: center;
}

.itz-toolbar-divider {
  width: 1px;
  height: 22px;
  background: #cbd5e1;
  margin: 0 4px;
}

.itz-tb-btn {
  padding: 6px 10px;
  background: #ffffff;
  border: 1px solid var(--itz-border);
  border-radius: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  transition: all 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.itz-tb-btn:hover {
  background: var(--itz-orange-light);
  color: var(--itz-orange);
  border-color: var(--itz-orange);
}

.itz-tb-btn.active {
  background: var(--itz-orange);
  color: #ffffff;
  border-color: var(--itz-orange);
}

/* Visual Canvas */
.itz-visual-canvas {
  min-height: 320px;
  max-height: 600px;
  overflow-y: auto;
  padding: 24px;
  outline: none;
  font-size: 16px;
  line-height: 1.8;
  color: #1e293b;
  background: #ffffff;
}

.itz-visual-canvas p {
  margin-bottom: 18px;
}

.itz-visual-canvas h2 {
  font-size: 24px;
  font-weight: 800;
  color: #050d24;
  margin: 30px 0 14px;
}

.itz-visual-canvas h3 {
  font-size: 19px;
  font-weight: 700;
  color: #050d24;
  margin: 24px 0 12px;
}

/* VISUAL LINK HIGHLIGHT IN EDITOR (Explicit User Request) */
.itz-visual-canvas a,
.itz-visual-canvas .itz-inline-link {
  background: #eff6ff !important;
  color: #1d4ed8 !important;
  padding: 2px 8px !important;
  border-radius: 6px !important;
  border-bottom: 2px solid #2563eb !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
}

.itz-visual-canvas a::before {
  content: "🔗";
  font-size: 11px;
}

.itz-visual-canvas a:hover {
  background: #dbeafe !important;
}

/* Interactive Link Modal / Popover */
.itz-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 13, 36, 0.65);
  backdrop-filter: blur(4px);
  z-index: 99999999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.itz-modal-backdrop.show {
  display: flex;
}

.itz-modal-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 30px;
  max-width: 520px;
  width: 100%;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
  position: relative;
  animation: modalPop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPop {
  0% { transform: scale(0.95); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.itz-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--itz-border);
}

.itz-modal-header h4 {
  font-size: 18px;
  font-weight: 800;
  color: #050d24;
  margin: 0;
}

.itz-modal-close {
  background: transparent;
  border: none;
  font-size: 20px;
  color: #64748b;
  cursor: pointer;
}

/* FAQs Builder inside Admin */
.itz-admin-faq-builder {
  background: #f8fafc;
  border: 1px solid var(--itz-border);
  border-radius: 16px;
  padding: 22px;
  margin: 25px 0;
}

.itz-faq-edit-row {
  background: #ffffff;
  border: 1px solid var(--itz-border);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
  position: relative;
}

.itz-faq-remove-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  color: #ef4444;
  background: #fef2f2;
  border: 1px solid #fee2e2;
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 12px;
  cursor: pointer;
}

/* Toast */
.itz-toast {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: #050d24;
  color: #ffffff;
  padding: 12px 22px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  z-index: 99999999;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: all 0.3s ease;
}

.itz-toast.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.itz-toast.success i { color: var(--itz-green); }
.itz-toast.error i { color: #ef4444; }

/* ==========================================================================
   ADMIN DASHBOARD & FORM STYLING
   ========================================================================== */
.itz-admin-wrapper {
  background-color: #f1f5f9;
  font-family: var(--font-body);
  color: var(--itz-text-main);
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

.itz-admin-topbar {
  background: #ffffff;
  border-bottom: 1px solid var(--itz-border);
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 9999;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.itz-admin-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.itz-admin-brand h2 {
  font-size: 19px;
  font-weight: 700;
  margin: 0;
  color: var(--itz-navy-hero);
  font-family: var(--font-heading);
  display: flex;
  align-items: center;
  gap: 10px;
}

.badge-admin {
  background: var(--itz-orange-light);
  color: var(--itz-orange);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid var(--itz-orange-border);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Stats Cards Grid */
.itz-admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 25px;
}

@media (max-width: 768px) {
  .itz-admin-stats-grid {
    grid-template-columns: 1fr;
  }
}

.itz-stat-card {
  background: #ffffff;
  border: 1px solid var(--itz-border);
  border-radius: 16px;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--itz-shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.itz-stat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--itz-shadow-lg);
}

.itz-stat-info .num {
  font-size: 32px;
  font-weight: 800;
  color: var(--itz-navy-hero);
  line-height: 1.1;
  font-family: var(--font-heading);
}

.itz-stat-info .label {
  font-size: 13.5px;
  color: var(--itz-text-muted);
  font-weight: 500;
  margin-top: 4px;
}

.itz-stat-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.itz-stat-icon.orange {
  background: var(--itz-orange-light);
  color: var(--itz-orange);
}

.itz-stat-icon.green {
  background: var(--itz-green-light);
  color: var(--itz-green);
}

.itz-stat-icon.blue {
  background: #eff6ff;
  color: #2563eb;
}

/* Form Card Container */
.itz-form-card {
  background: #ffffff;
  border: 1px solid var(--itz-border);
  border-radius: 20px;
  padding: 32px;
  margin-bottom: 30px;
  box-shadow: var(--itz-shadow);
}

.itz-form-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 26px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--itz-border);
}

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

.itz-form-group label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 8px;
}

.itz-form-group label .req {
  color: #ef4444;
}

.itz-form-control {
  width: 100%;
  padding: 11px 16px;
  border: 1.5px solid var(--itz-border);
  border-radius: 10px;
  font-size: 14px;
  font-family: var(--font-body);
  color: var(--itz-text-main);
  background: #ffffff;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.itz-form-control:focus {
  border-color: var(--itz-orange);
  box-shadow: 0 0 0 3px var(--itz-orange-light);
}

.itz-preview-box {
  margin-top: 10px;
  display: none;
  border-radius: 12px;
  overflow: hidden;
  max-width: 280px;
  max-height: 160px;
  border: 1px solid var(--itz-border);
}

.itz-preview-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Primary and Secondary Buttons */
.itz-btn-primary {
  background: var(--itz-orange);
  color: #ffffff !important;
  border: none;
  padding: 11px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(235, 103, 0, 0.25);
}

.itz-btn-primary:hover {
  background: var(--itz-orange-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(235, 103, 0, 0.35);
}

.itz-btn-secondary {
  background: #ffffff;
  color: #334155 !important;
  border: 1.5px solid var(--itz-border);
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 13.5px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.2s;
}

.itz-btn-secondary:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #0f172a !important;
}

/* Management Table Card */
.itz-admin-table-card {
  background: #ffffff;
  border: 1px solid var(--itz-border);
  border-radius: 20px;
  padding: 30px;
  box-shadow: var(--itz-shadow);
  margin-bottom: 50px;
}

.itz-table-responsive {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid var(--itz-border);
}

.itz-admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

.itz-admin-table thead th {
  background: #f8fafc;
  color: #475569;
  font-weight: 700;
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--itz-border);
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.itz-admin-table tbody td {
  padding: 16px 18px;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
}

.itz-admin-table tbody tr:hover {
  background: #f8fafc;
}

.itz-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 600;
}

.itz-status-badge.published {
  background: var(--itz-green-light);
  color: #15803d;
}

.itz-status-badge.draft {
  background: #f1f5f9;
  color: #64748b;
}

.itz-action-btns {
  display: flex;
  align-items: center;
  gap: 8px;
}

.itz-btn-action {
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid var(--itz-border);
  background: #ffffff;
  color: #334155;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  transition: all 0.15s;
}

.itz-btn-action:hover {
  border-color: var(--itz-orange);
  color: var(--itz-orange);
  background: var(--itz-orange-light);
}

.itz-btn-action.delete {
  color: #ef4444;
  border-color: #fee2e2;
  background: #fef2f2;
}

.itz-btn-action.delete:hover {
  background: #fee2e2;
  color: #dc2626;
}

.itz-btn-action.view {
  color: #2563eb;
  border-color: #dbeafe;
  background: #eff6ff;
}

.itz-btn-action.view:hover {
  background: #dbeafe;
  color: #1d4ed8;
}

/* Fix Table Thumbnail Dimensions (Explicit User Request) */
.itz-table-thumb {
  width: 56px !important;
  height: 42px !important;
  max-width: 56px !important;
  max-height: 42px !important;
  min-width: 56px !important;
  object-fit: cover !important;
  border-radius: 8px !important;
  border: 1px solid var(--itz-border) !important;
  display: block !important;
  background-color: #f1f5f9;
}

.itz-admin-table td:first-child,
.itz-admin-table th:first-child {
  width: 72px !important;
  max-width: 72px !important;
  min-width: 72px !important;
  padding: 12px 14px !important;
}

.badge-cat {
  display: inline-block;
  background: #f1f5f9;
  color: #475569;
  padding: 2px 8px;
  border-radius: 12px;
  font-weight: 600;
  border: 1px solid var(--itz-border);
}

.itz-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 600;
}

.itz-status-pill.live {
  background: var(--itz-green-light);
  color: #15803d;
}

.itz-status-pill.draft {
  background: #f1f5f9;
  color: #64748b;
}

/* Eliminate horizontal scrollbar on Admin Table */
.itz-table-responsive {
  overflow-x: auto;
  border-radius: 14px;
  border: 1px solid var(--itz-border);
  background: #ffffff;
  width: 100%;
}

.itz-admin-table {
  width: 100%;
  table-layout: auto;
}

/* Image Preview Box for Admin */
.itz-preview-box {
  margin-top: 14px;
  background: #f8fafc;
  border: 1.5px dashed #cbd5e1;
  border-radius: 12px;
  padding: 12px;
  display: none;
  align-items: center;
  gap: 16px;
  max-width: 600px;
  position: relative;
  transition: all 0.2s ease;
}

.itz-preview-box img {
  width: 140px;
  height: 95px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
  background: #e2e8f0;
}

.itz-preview-info {
  flex: 1;
  min-width: 0;
}

.itz-preview-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  color: #15803d;
  background: #dcfce7;
  padding: 2px 8px;
  border-radius: 6px;
  margin-bottom: 4px;
}

.itz-preview-text {
  font-size: 12px;
  color: #64748b;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.itz-preview-remove {
  background: none;
  border: none;
  color: #ef4444;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
}
.itz-preview-remove:hover {
  background: #fee2e2;
}

