:root {
  --color-bg: #f3f6f5; /* Soft, light off-white with green tint */
  --color-surface: rgba(255, 255, 255, 0.75); /* Semi-transparent white surface */
  --color-border: rgba(18, 51, 18, 0.08); /* Soft dark green/gray border tint */
  --color-text: #111827; /* Dark charcoal text */
  --color-text-dim: #4b5563; /* Medium gray text */
  --color-primary: #10b981; /* Emerald Green accent */
  --color-accent: #c2410c; /* Burnt orange accent */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 24px;
  --font-heading: 'Outfit', sans-serif;
}

/* =========================================
   Base & Typography (Inherited from Main)
   ========================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
  background-color: #eaf4f4;
}

body, html {
  min-height: 100%;
  font-family: 'Inter', sans-serif;
  color: #ffffff;
  overflow-x: hidden;
  cursor: default;
}

/* Brand Focus States */
button:hover, a:hover {
  outline: 2px solid #123312;
  outline-offset: 4px;
}

button:focus, a:focus, input:focus, textarea:focus {
  outline: 2px solid #123312; 
  outline-offset: 2px;
}

/* Base Wrapper */
.content-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 4%;
  max-width: 1300px;
  margin: 0 auto;
}

/* =========================================
   Navigation
   ========================================= */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1.25rem 0.75rem 2rem;
  border-radius: 50px;
  background: rgba(25, 25, 25, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 2px solid rgba(255, 255, 255, 0.1);
  z-index: 9999;
  position: fixed; 
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);  
  width: 92%;
  max-width: 1280px;            
}

.brand {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.brand a {
    color: aliceblue;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: -0.5px;
    text-decoration: none;
}

.brand a:last-child {
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
}

.brand a:last-child::before {
    content: '|';
    margin-right: 0.5rem;
    color: rgba(255, 255, 255, 0.3);
}

.menu-btn, .close-btn {
  display: none;
}

.nav-menu {
  display: flex;
  flex-grow: 1;
  justify-content: space-between;
  align-items: center;
  margin-left: 2.5rem;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-left input {
  padding: 0.6rem;
  font-family: 'League Spartan', sans-serif;
  border-radius: 15px;
  border-top: 2px #fff;
  border-left: 2px #fff;
  font-size: 0.8rem;
  color: #fff;
  background: rgba(65, 65, 65, 0.75);
}

.nav-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 0.4rem 1rem;
  border-radius: 50px;
}

.nav-link:hover {
  color: #ffffff;
}

.nav-link.active {
  background-color: #123312;
  color: #ffffff;
  font-weight: 600;
}

.btn-solid {
  background: #ffffff;
  color: #000000;
  border: 1px solid #ffffff;
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
}

.btn-solid:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

/* =========================================
   Blog Hero Section
   ========================================= */
.blog-hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: linear-gradient(rgba(234, 244, 244, 0.75), rgba(234, 244, 244, 1)), 
              url('Circular\ pattern\ on\ card2.png') center/cover;
  padding-top: 120px; /* Offset for fixed nav */
}

.hero-content {
  max-width: 800px;
}

.hero-badge {
  display: inline-block;
  background-color: rgba(194, 65, 12, 0.2);
  color: #C2410C;
  border: 1px solid #C2410C;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-title {
  font-family: 'Geist', sans-serif;
  font-size: 4.2rem;
  line-height: 1.1;
  font-weight: 600;
  color: #123312;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-family: 'League Spartan', sans-serif;
  font-size: 1.25rem;
  line-height: 1.6;
  color: rgba(0, 0, 0, 0.8);
  margin-bottom: 2.5rem;
  max-width: 650px;
}

.btn-dark {
  background: #151515;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
}

.btn-dark:hover {
  background: #2a2a2a;
  border-color: #ffffff;
}

/* =========================================
   Blog Feed Grid
   ========================================= */
.blog-feed {
  padding: 5rem 0;
  background-color: #EAF4F4;
}

.section-heading {
  font-family: 'Geist', sans-serif;
  font-size: 2.5rem;
  color: #000000;
  margin-bottom: 3rem;
  letter-spacing: -0.5px;
}

.section-heading2 {
  font-family: 'Geist', sans-serif;
  font-size: 2.5rem;
  color: var(--color-text);
  margin-bottom: 3rem;
  letter-spacing: -0.5px;
}

.feed-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2.5rem;
}

.blog-card {
  background-color: #151515;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.215, 0.61, 0.355, 1), box-shadow 0.4s ease;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  border-color: rgba(255, 255, 255, 0.15);
  outline: none; /* overriding the global link hover for cards to keep it clean */
}

.card-image {
  height: 200px;
  background-color: #1a1a1a;
  width: 100%;
}

/* Placeholders for actual thumbnail images */
.bg-pattern-1 { background: linear-gradient(135deg, #1a4d43, #0a0a0a); }
.bg-pattern-2 { background: linear-gradient(135deg, #C2410C, #0a0a0a); }
.bg-pattern-3 { background: linear-gradient(135deg, #2a2a2a, #0a0a0a); }

.card-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.category-tag {
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  color: #C2410C;
  font-weight: 600;
  margin-bottom: 1rem;
}

.card-title {
  font-family: 'Geist', sans-serif;
  font-size: 1.5rem;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: #ffffff;
}

.card-excerpt {
  font-family: 'League Spartan', sans-serif;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.2rem;
}

.read-time {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

.read-more-link {
  color: #ffffff;
  text-decoration: none;
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: color 0.3s ease;
}

.read-more-link:hover {
  color: #C2410C;
  outline: none; /* prevents the global 2px outline on this specific small link */
}

/* =========================================
   Reveal Animations
   ========================================= */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1.2s cubic-bezier(0.215, 0.61, 0.355, 1);
  will-change: transform, opacity;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================
   Footer
   ========================================= */
.site-footer {
  background-color: #050505;
  padding: 60px 4% 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-main {
  display: flex;
  justify-content: space-between;
  max-width: 1300px;
  margin: 0 auto 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  display: block;
  margin-bottom: 8px;
  font-family: 'League Spartan', sans-serif;
}

.footer-tagline {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  font-family: 'League Spartan', sans-serif;
}

.footer-legal-links {
  display: flex;
  gap: 16px;
  font-family: 'League Spartan', sans-serif;
}

.footer-legal-links a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-legal-links a:hover {
  color: #ffffff;
  outline: none;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1300px;
  margin: 0 auto;
}

.footer-copyright {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  font-family: 'League Spartan', sans-serif;
}

.footer-back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-family: 'League Spartan', sans-serif;
}


/* =========================================
   Publish Page Styles
   ========================================= */
.publish-section {
  padding: 150px 0 100px;
  min-height: 100vh;
}

.publish-container {
  max-width: 800px;
  margin: 0 auto;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 24px;
  padding: 3rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.publish-subtitle {
  font-family: 'League Spartan', sans-serif;
  color: var(--color-text-dim);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
}

.publish-form .form-group {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
}

.form-row.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.publish-form label {
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.publish-form input,
.publish-form select,
.publish-form textarea {
  background-color: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 1rem;
  color: var(--color-text);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.publish-form input:focus,
.publish-form select:focus,
.publish-form textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15);
  background-color: #ffffff;
}

.form-actions {
  margin-top: 2rem;
  display: flex;
  justify-content: flex-end;
}

.publish-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

/* =========================================
   Article Page Styles
   ========================================= */
.article-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.article-hero {
  padding: 180px 0 60px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.large-tag {
  font-size: 1rem;
  display: inline-block;
  margin-bottom: 1.5rem;
}

.article-title {
  font-size: 3.5rem;
  margin-bottom: 2rem;
}

.article-meta {
  display: flex;
  gap: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.meta-label {
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(0, 0, 0, 0.4);
}

.meta-value {
  font-family: 'Geist', sans-serif;
  font-weight: 500;
  color: #000000;
  font-size: 1.05rem;
}

.article-body {
  padding: 4rem 0 6rem;
}

.prose p {
  font-family: 'Inter', sans-serif;
  font-size: 1.15rem;
  line-height: 1.8;
  color: rgba(10, 10, 10, 0.75);
  margin-bottom: 2rem;
}

.prose .lead-text {
  font-family: 'League Spartan', sans-serif;
  font-size: 1.4rem;
  color: #000000;
  font-weight: 400;
}

.prose h2 {
  font-family: 'Geist', serif;
  font-size: 2.2rem;
  color: #000000;
  margin: 3rem 0 1.5rem;
}

.article-quote {
  font-family: 'League Spartan', serif;
  font-size: 1.8rem;
  font-style: italic;
  color: #C2410C;
  border-left: 4px solid #C2410C;
  padding-left: 2rem;
  margin: 3rem 0;
  line-height: 1.4;
}

/* =========================================
   Responsive Adjustments & Mobile Menu
   ========================================= */
@media (max-width: 992px) {
  .hero-title { font-size: 3.5rem; }
  .feed-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  /* Navbar adjustments */
  .navbar { top: 1rem; border-radius: 20px; padding: 1rem 1.5rem; }
  .menu-btn { display: block; background: none; border: none; color: #fff; font-size: 2rem; cursor: pointer; }
  
  /* Mobile Drawer Setup */
  .nav-menu { 
    position: fixed;
    top: 0;
    right: -100%; /* Hidden off-screen by default */
    width: 75%;
    max-width: 320px;
    height: 100vh;
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 6rem 2rem 2rem; /* Space for close button */
    transition: right 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
    margin-left: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
  }

  /* Active class added via JS */
  .nav-menu.active {
    right: 0;
  }

  /* Close Button Setup */
  .close-btn {
    display: block;
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.2rem;
    cursor: pointer;
    transition: color 0.3s ease;
  }

  .close-btn:hover {
    color: #C2410C;
  }

  /* Internal Nav Alignment for Mobile */
  .nav-left {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 1.5rem;
    margin-bottom: 2rem;
  }

  .nav-left input {
    width: 100%; /* Search bar takes full width of drawer */
    margin-top: 1rem;
  }

  .nav-right {
    width: 100%;
  }
  
  .btn-solid {
    width: 100%;
    justify-content: center;
  }

  /* Existing Page Adjustments */
  .hero-title { font-size: 2.8rem; }
  .feed-grid { grid-template-columns: 1fr; }
  .footer-main { flex-direction: column; gap: 2rem; }
  
  /* Inherited from extra pages if they exist */
  .publish-container { padding: 2rem 1.5rem; }
  .form-row.split { grid-template-columns: 1fr; }
  .article-title { font-size: 2.5rem; }
  .article-meta { flex-direction: column; gap: 1.5rem; }
}

/* --- Login & Dashboard Styles --- */
.login-body {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background-color: var(--color-bg);
  overflow: hidden;
}

.glowing-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  z-index: 1;
  opacity: 0.18; /* Softer opacity for light background theme */
  pointer-events: none;
  animation: float 20s infinite alternate ease-in-out;
}

.orb-1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--color-primary) 0%, rgba(255,255,255,0) 70%);
  top: -10%;
  left: -5%;
  animation-duration: 22s;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--color-accent) 0%, rgba(255,255,255,0) 70%);
  bottom: -15%;
  right: -5%;
  animation-duration: 28s;
  animation-delay: -7s;
}

@keyframes float {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(80px, 40px) scale(1.15);
  }
  100% {
    transform: translate(-40px, 80px) scale(0.9);
  }
}

.login-container {
  position: relative;
  z-index: 10;
  background-color: var(--color-surface);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 3.5rem 3rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  width: 100%;
  max-width: 440px;
  box-shadow: 0 25px 50px -12px rgba(18, 51, 18, 0.08); /* Soft shadow for light mode */
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.login-container:hover {
  transform: translateY(-4px);
  box-shadow: 0 35px 60px -10px rgba(18, 51, 18, 0.12), 0 0 30px rgba(16, 185, 129, 0.05);
}

.login-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.login-header .brand {
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}

.login-header .brand a {
  text-decoration: none;
  font-family: var(--font-heading);
  letter-spacing: -0.5px;
}

.login-header .brand a:first-child {
  color: var(--color-text);
  font-weight: 700;
}

.login-header .brand a:last-child {
  color: var(--color-accent);
  font-weight: 500;
}

.login-header .brand a:last-child::before {
  content: '|';
  margin-right: 0.5rem;
  color: rgba(0, 0, 0, 0.15);
}

.login-header p {
  color: var(--color-text-dim);
  font-size: 0.95rem;
  line-height: 1.5;
}

.login-form .form-group {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.login-form label {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.login-form input {
  width: 100%;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.2rem;
  color: var(--color-text);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.login-form input::placeholder {
  color: rgba(17, 24, 39, 0.35);
}

.login-form input:hover {
  border-color: rgba(18, 51, 18, 0.2);
  background: #ffffff;
}

.login-form input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
  background: #ffffff;
  outline: none;
}

.password-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.password-input-wrapper input {
  padding-right: 3.5rem;
}

.password-toggle-btn {
  position: absolute;
  right: 0.75rem;
  background: none;
  border: none;
  color: var(--color-text-dim);
  cursor: pointer;
  padding: 0.5rem;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease, transform 0.2s ease;
  border-radius: 50%;
}

.password-toggle-btn:hover {
  color: var(--color-text);
}

.password-toggle-btn:active {
  transform: scale(0.9);
}

.password-toggle-btn:focus {
  outline: none;
  color: var(--color-primary);
}

.login-btn {
  width: 100%;
  margin-top: 1.5rem;
  background: linear-gradient(135deg, var(--color-primary) 0%, #059669 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 2rem;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: 50px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.15);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.25);
  background: linear-gradient(135deg, #10b981 0%, #047857 100%);
  border-color: rgba(255, 255, 255, 0.2);
}

.login-btn:active {
  transform: translateY(0);
}

.login-btn i {
  font-size: 1.25rem;
  transition: transform 0.3s ease;
}

.login-btn:hover i {
  transform: translateX(4px);
}

.login-error {
  background-color: rgba(239, 68, 68, 0.08);
  color: #ef4444;
  padding: 0.9rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  text-align: center;
  font-size: 0.9rem;
  border: 1px solid rgba(239, 68, 68, 0.15);
  animation: shake 0.5s cubic-bezier(.36,.07,.19,.97) both;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  perspective: 1000px;
}

@keyframes shake {
  10%, 90% { transform: translate3d(-1px, 0, 0); }
  20%, 80% { transform: translate3d(2px, 0, 0); }
  30%, 50%, 70% { transform: translate3d(-4px, 0, 0); }
  40%, 60% { transform: translate3d(4px, 0, 0); }
}

.login-footer {
  text-align: center;
  margin-top: 2rem;
  border-top: 1px solid var(--color-border);
  padding-top: 1.5rem;
}

.login-footer a {
  color: var(--color-text-dim);
  text-decoration: none;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s ease;
}

.login-footer a i {
  transition: transform 0.3s ease;
}

.login-footer a:hover {
  color: var(--color-text);
}

.login-footer a:hover i {
  transform: translateX(-4px);
}

.dashboard-body {
  background-color: var(--color-bg);
  color: var(--color-text);
  min-height: 100vh;
}

.dashboard-section {
  padding: 120px 0 100px;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.posts-table-container {
  overflow-x: auto;
  background-color: var(--color-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.posts-table {
  width: 100%;
  border-collapse: collapse;
}

.posts-table th, .posts-table td {
  padding: 1rem 1.5rem;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.posts-table tr:hover td {
  background-color: rgba(16, 185, 129, 0.02);
}

.posts-table th {
  color: var(--color-text-dim);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.posts-table tr:last-child td {
  border-bottom: none;
}

.action-btn {
  background: none;
  border: none;
  color: var(--color-text-dim);
  cursor: pointer;
  padding: 0.5rem;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.action-btn:hover {
  color: var(--color-text);
}

.action-btn.delete:hover {
  color: #ff4d4d;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 5rem 2rem;
  background-color: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}

.empty-state i {
  font-size: 4rem;
  color: var(--color-text-dim);
  margin-bottom: 1rem;
}

.empty-state h3 {
  font-size: 1.8rem;
  font-family: var(--font-heading);
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.empty-state p {
  color: var(--color-text-dim);
}

/* --- Added Form Elements --- */
.required-asterisk {
  color: var(--color-accent);
  font-weight: bold;
  margin-left: 2px;
}

.category-select-wrapper {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  width: 100%;
}

.category-select-wrapper select {
  flex-grow: 1;
}

.btn-icon-plus {
  background: var(--color-primary);
  border: none;
  color: #ffffff;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.btn-icon-plus:hover {
  background: #059669;
  transform: scale(1.05);
}

.inline-category-form {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-top: 0.75rem;
  padding: 1rem;
  background: rgba(16, 185, 129, 0.03);
  border: 1px dashed var(--color-border);
  border-radius: 12px;
}

.inline-category-form input {
  flex-grow: 1;
  padding: 0.6rem 1rem !important;
}

.btn-primary-sm {
  background: var(--color-primary);
  color: #ffffff;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary-sm:hover {
  background: #059669;
}

.btn-outline-sm {
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text-dim);
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-outline-sm:hover {
  color: var(--color-text);
  border-color: var(--color-text-dim);
}

.file-upload-wrapper {
  position: relative;
  width: 100%;
}

.file-upload-wrapper input[type="file"] {
  width: 100%;
  padding: 1.5rem;
  background: rgba(16, 185, 129, 0.01);
  border: 2px dashed var(--color-border);
  border-radius: 12px;
  cursor: pointer;
  color: var(--color-text-dim);
  transition: all 0.3s ease;
}

.file-upload-wrapper input[type="file"]:hover {
  border-color: var(--color-primary);
  background: rgba(16, 185, 129, 0.03);
}

.file-upload-preview {
  margin-top: 1rem;
  max-width: 100%;
  height: 200px;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.checkbox-group {
  flex-direction: row !important;
  align-items: center;
  gap: 0.75rem !important;
}

.checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Inter', sans-serif !important;
  font-size: 0.95rem !important;
  color: var(--color-text) !important;
  cursor: pointer;
  text-transform: none !important;
  font-weight: 500 !important;
}

.checkbox-label input[type="checkbox"] {
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 4px;
  accent-color: var(--color-primary);
  cursor: pointer;
}

/* Dashboard Tabs */
.dashboard-tabs {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 0.5rem;
}

.tab-btn {
  background: none;
  border: none;
  color: var(--color-text-dim);
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 500;
  cursor: pointer;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.tab-btn:hover {
  background-color: rgba(0,0,0,0.05);
  color: var(--color-text);
}

.tab-btn.active {
  background-color: var(--color-primary);
  color: #fff;
}

/* Badges */
.status-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
}

.status-badge.published {
  background-color: rgba(34, 197, 94, 0.1);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.status-badge.draft {
  background-color: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.action-btn.publish {
  color: #22c55e;
}
.action-btn.unpublish {
  color: #f59e0b;
}