/* =========================================
   BLOG PAGE STYLES - PREMIUM DARK THEME
   ========================================= */

/* --- Variables & Theming --- */
/* --- Variables & Theming --- */
:root {
  --background: hsl(240, 15%, 8%);
  --foreground: hsl(0, 0%, 98%);
  --card: hsl(240, 15%, 10%);
  --card-foreground: hsl(0, 0%, 98%);
  --primary: hsl(270, 80%, 65%);
  --primary-foreground: hsl(0, 0%, 100%);
  --secondary: hsl(240, 10%, 15%);
  --secondary-foreground: hsl(0, 0%, 98%);
  --muted: hsl(240, 10%, 20%);
  --muted-foreground: hsl(240, 5%, 65%);
  --accent: hsl(280, 70%, 60%);
  --accent-foreground: hsl(0, 0%, 98%);
  --border: hsl(240, 10%, 20%);
  --input: hsl(240, 10%, 15%);
  --ring: hsl(270, 80%, 65%);

  --violet-glow: hsl(270, 80%, 55%);
  --gradient-hero: linear-gradient(135deg, hsl(270, 80%, 65%), hsl(280, 70%, 60%));
  --gradient-card: linear-gradient(145deg, hsl(240, 15%, 12%), hsl(240, 15%, 8%));
  --shadow-glow: 0 0 40px hsl(270, 80%, 65%, 0.3);
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.3);

  --radius: 1rem;
  --font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
  font-family: var(--font-family);
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
}

/* --- Layout & Container --- */
.main-content {
  padding-top: 6rem;
  padding-bottom: 4rem;
  min-height: calc(100vh - 400px);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* --- Page Header (Consistent with other pages) --- */
.page-header {
  text-align: center;
  margin-bottom: 3rem;
}

.page-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

@media (min-width: 1024px) {
  .page-title {
    font-size: 2.5rem;
  }
}

.page-subtitle {
  color: var(--muted-foreground);
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

.text-gradient-violet {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Create Blog Button */
.create-blog-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.btn.create-blog-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-size: 0.95rem;
}

.create-blog-btn svg {
  width: 20px;
  height: 20px;
}

/* --- Search & Filters (Improved UI) --- */
.search-filter-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .search-filter-container {
    flex-direction: row;
    align-items: center;
  }
}

/* Search Wrapper */
.search-wrapper {
  position: relative;
  flex: 1;
  min-width: 250px;
}

.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted-foreground);
  pointer-events: none;
  z-index: 1;
}

.search-input {
  width: 100%;
  background: var(--secondary);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.875rem 1rem 0.875rem 3rem;
  color: var(--foreground);
  font-size: 0.95rem;
  font-family: inherit;
  transition: all 0.3s ease;
}

.search-input::placeholder {
  color: var(--muted-foreground);
}

.search-input:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--input);
  box-shadow: 0 0 0 3px hsla(270, 80%, 65%, 0.1);
}

/* Filter Buttons Container */
.filter-scroll-container {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.filter-scroll-container::-webkit-scrollbar {
  display: none;
}

.filter-buttons {
  display: flex;
  gap: 0.75rem;
  padding: 0.25rem 0;
}

.filter-btn {
  flex-shrink: 0;
  padding: 0.625rem 1.25rem;
  background: var(--secondary);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--muted-foreground);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.filter-btn:hover {
  background: var(--muted);
  border-color: var(--primary);
  color: var(--foreground);
}

.filter-btn.active {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-color: transparent;
  color: white;
  box-shadow: 0 2px 10px hsla(270, 80%, 65%, 0.3);
}

/* --- Blog Grid --- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
  padding-bottom: 4rem;
}

.blog-card {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-4px);
  border-color: hsl(270, 80%, 65%, 0.4);
  box-shadow: var(--shadow-glow);
}

.blog-card-image {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  position: relative;
}

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

.blog-card:hover .blog-card-image img {
  transform: scale(1.05);
}

.blog-card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-card-category {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: hsla(270, 80%, 65%, 0.1);
  color: var(--primary);
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  align-self: flex-start;
}

.blog-card-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.3;
  color: var(--foreground);
}

.blog-card-excerpt {
  color: var(--muted-foreground);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
  font-size: 0.85rem;
  color: var(--muted-foreground);
}

.author-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.author-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--muted);
}

/* --- Modal Styles --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  animation: fadeIn 0.3s forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

.modal {
  background: #141419;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  width: 90%;
  max-width: 700px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
  transform: scale(0.95);
  animation: zoomIn 0.3s forwards;
}

@keyframes zoomIn {
  to {
    transform: scale(1);
  }
}

.modal-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
}

.close-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 8px;
  transition: all 0.2s;
}

.close-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  color: white;
}

.modal-body {
  padding: 2rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Form Styles */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #cbd5e1;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.modal-input-lg {
  background: transparent;
  border: none;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  padding: 0.5rem 0;
  transition: border-color 0.2s;
}

.modal-input-lg:focus {
  outline: none;
  border-color: #8b5cf6;
}

.modal-input-lg::placeholder {
  color: rgba(255, 255, 255, 0.2);
}

.modal-textarea {
  background: rgba(30, 30, 35, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1rem;
  color: white;
  font-size: 1rem;
  min-height: 200px;
  resize: vertical;
  font-family: inherit;
}

.modal-textarea:focus {
  outline: none;
  border-color: #8b5cf6;
}

.modal-select {
  background: #1e1e24;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  padding: 0.75rem;
  border-radius: 8px;
  width: 100%;
  cursor: pointer;
}

/* File Upload */
.file-upload-area {
  border: 2px dashed rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  background: rgba(0, 0, 0, 0.2);
}

.file-upload-area:hover {
  border-color: #8b5cf6;
  background: rgba(139, 92, 246, 0.05);
}

.upload-placeholder {
  color: #94a3b8;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.upload-placeholder span {
  color: #8b5cf6;
  font-weight: 600;
}

.image-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 0.5rem;
  margin-top: 1rem;
}

.preview-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Footer of Modal */
.modal-footer {
  padding: 1.5rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
}

.btn-ghost {
  background: transparent;
  color: #94a3b8;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.05);
  color: white;
}

.btn-primary {
  background: #8b5cf6;
  color: white;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
}

.btn-primary:hover {
  background: #7c3aed;
}

/* No Results */
.no-results-content {
  text-align: center;
  padding: 4rem 0;
  color: #94a3b8;
}

.no-results-content svg {
  margin-bottom: 1rem;
  color: #475569;
}

/* Responsive */
@media (max-width: 768px) {
  .blog-header-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .header-content h1 {
    font-size: 2.5rem;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   BLOG HERO HEADER — REDESIGNED
   ============================================ */
.blog-hero {
  text-align: center;
  padding: 2rem 0 3rem;
  position: relative;
}

.blog-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.9rem;
  background: hsla(270, 80%, 65%, 0.1);
  border: 1px solid hsla(270, 80%, 65%, 0.25);
  border-radius: 2rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: hsl(270, 80%, 70%);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.25rem;
}

.blog-hero-title {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.15;
  color: hsl(0, 0%, 98%);
  margin-bottom: 0.85rem;
}

@media (min-width: 768px) {
  .blog-hero-title { font-size: 3rem; }
}

.blog-hero-subtitle {
  font-size: 1rem;
  color: var(--muted-foreground);
  max-width: 520px;
  margin: 0 auto 1.75rem;
  line-height: 1.6;
}

.blog-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.75rem;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border: none;
  border-radius: 0.75rem;
  color: white;
  font-size: 0.9rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 20px hsla(270, 80%, 65%, 0.35);
}

.blog-hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px hsla(270, 80%, 65%, 0.5);
}

/* ============================================
   BLOG SEARCH BAR — REDESIGNED
   ============================================ */
.blog-search-bar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1.25rem 1.5rem;
  background: hsla(240, 15%, 10%, 0.6);
  border: 1px solid hsla(270, 30%, 35%, 0.2);
  border-radius: 1.25rem;
  backdrop-filter: blur(10px);
}

@media (min-width: 768px) {
  .blog-search-bar {
    flex-direction: row;
    align-items: center;
  }
}

.blog-search-input-wrap {
  position: relative;
  flex: 1;
}

.blog-search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted-foreground);
  pointer-events: none;
}

.blog-search-input {
  width: 100%;
  padding: 0.8rem 2.5rem 0.8rem 2.75rem;
  background: hsla(240, 15%, 8%, 0.7);
  border: 1.5px solid hsla(270, 30%, 35%, 0.2);
  border-radius: 0.75rem;
  color: var(--foreground);
  font-size: 0.9rem;
  font-family: inherit;
  transition: all 0.2s ease;
}

.blog-search-input::placeholder { color: var(--muted-foreground); }

.blog-search-input:focus {
  outline: none;
  border-color: hsla(270, 80%, 65%, 0.5);
  box-shadow: 0 0 0 3px hsla(270, 80%, 65%, 0.1);
}

.blog-search-clear {
  position: absolute;
  right: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted-foreground);
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: color 0.2s;
}

.blog-search-clear:hover { color: var(--foreground); }

.blog-filter-wrap {
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.blog-filter-wrap::-webkit-scrollbar { display: none; }

.blog-filter-pills {
  display: flex;
  gap: 0.5rem;
  padding: 0.1rem 0;
  white-space: nowrap;
}

.blog-filter-pill {
  flex-shrink: 0;
  padding: 0.5rem 1rem;
  background: hsla(240, 15%, 14%, 0.8);
  border: 1px solid hsla(270, 30%, 35%, 0.2);
  border-radius: 2rem;
  color: var(--muted-foreground);
  font-size: 0.8rem;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s ease;
}

.blog-filter-pill:hover {
  border-color: hsla(270, 80%, 65%, 0.4);
  color: var(--foreground);
}

.blog-filter-pill.active {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-color: transparent;
  color: white;
  box-shadow: 0 2px 12px hsla(270, 80%, 65%, 0.3);
}

/* Results meta */
.blog-results-meta {
  margin-bottom: 1.5rem;
  font-size: 0.8rem;
  color: var(--muted-foreground);
}

/* Blog card image placeholder */
.blog-card-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: hsla(240, 15%, 14%, 0.8);
  color: var(--muted-foreground);
}

/* Category badge on card image */
.blog-card-category-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.25rem 0.65rem;
  background: hsla(270, 80%, 65%, 0.15);
  backdrop-filter: blur(8px);
  color: hsl(270, 80%, 75%);
  border: 1px solid hsla(270, 80%, 65%, 0.25);
  border-radius: 2rem;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Card footer */
.blog-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
  padding-top: 0.85rem;
  margin-top: auto;
  font-size: 0.8rem;
  color: var(--muted-foreground);
}

.blog-card-author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.blog-author-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

.blog-author-name {
  font-weight: 500;
  color: var(--foreground);
}

.blog-card-date {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
}

/* Empty state */
.blog-empty-state {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  text-align: center;
  color: var(--muted-foreground);
  gap: 0.75rem;
}

.blog-empty-state h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--foreground);
}

.blog-empty-state p {
  font-size: 0.9rem;
  max-width: 320px;
}

.blog-reset-btn {
  margin-top: 0.5rem;
  padding: 0.6rem 1.25rem;
  background: hsla(270, 80%, 65%, 0.1);
  border: 1px solid hsla(270, 80%, 65%, 0.25);
  border-radius: 0.6rem;
  color: hsl(270, 80%, 70%);
  font-size: 0.85rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s;
}

.blog-reset-btn:hover {
  background: hsla(270, 80%, 65%, 0.2);
}

/* ============================================
   BLOG CREATE MODAL — REDESIGNED
   ============================================ */
.blog-modal-overlay {
  position: fixed;
  inset: 0;
  background: hsla(240, 20%, 4%, 0.85);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  animation: fadeIn 0.2s ease;
}

.blog-modal {
  background: hsl(240, 15%, 9%);
  border: 1px solid hsla(270, 30%, 35%, 0.25);
  border-radius: 1.25rem;
  width: 100%;
  max-width: 680px;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 60px rgba(0,0,0,0.7);
  animation: zoomIn 0.25s ease;
}

.blog-modal-header {
  padding: 1.5rem 1.75rem;
  border-bottom: 1px solid hsla(270, 30%, 35%, 0.15);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-shrink: 0;
}

.blog-modal-header h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.blog-modal-header p {
  font-size: 0.8rem;
  color: var(--muted-foreground);
  margin: 0;
}

.blog-modal-close {
  width: 34px;
  height: 34px;
  border-radius: 0.5rem;
  background: hsla(0, 0%, 100%, 0.05);
  border: 1px solid hsla(0, 0%, 100%, 0.08);
  color: var(--muted-foreground);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  flex-shrink: 0;
}

.blog-modal-close:hover {
  background: hsla(0, 80%, 60%, 0.15);
  color: hsl(0, 80%, 70%);
}

.blog-modal-body {
  padding: 1.5rem 1.75rem;
  overflow-y: auto;
  flex: 1;
}

.blog-form-group {
  margin-bottom: 1.25rem;
}

.blog-form-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: hsla(0, 0%, 100%, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.45rem;
}

.required { color: hsl(0, 80%, 65%); }

.blog-form-input,
.blog-form-textarea,
.blog-form-select {
  width: 100%;
  padding: 0.8rem 1rem;
  background: hsla(240, 15%, 8%, 0.7);
  border: 1.5px solid hsla(270, 30%, 35%, 0.2);
  border-radius: 0.75rem;
  color: var(--foreground);
  font-size: 0.9rem;
  font-family: inherit;
  transition: all 0.2s;
}

.blog-input-lg {
  font-size: 1.1rem;
  font-weight: 600;
  padding: 0.85rem 1rem;
}

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

.blog-form-input:focus,
.blog-form-textarea:focus,
.blog-form-select:focus {
  outline: none;
  border-color: hsla(270, 80%, 65%, 0.5);
  box-shadow: 0 0 0 3px hsla(270, 80%, 65%, 0.1);
}

.blog-form-input::placeholder,
.blog-form-textarea::placeholder { color: hsla(0, 0%, 100%, 0.25); }

.blog-form-select option { background: hsl(240, 15%, 9%); }

.blog-char-hint {
  font-size: 0.72rem;
  color: var(--muted-foreground);
  margin-top: 0.3rem;
  display: block;
}

.blog-form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 480px) {
  .blog-form-row { grid-template-columns: 1fr 1fr; }
}

.blog-upload-area {
  border: 2px dashed hsla(270, 30%, 35%, 0.3);
  border-radius: 0.85rem;
  padding: 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  background: hsla(240, 15%, 8%, 0.4);
  position: relative;
}

.blog-upload-area:hover {
  border-color: hsla(270, 80%, 65%, 0.4);
  background: hsla(270, 80%, 65%, 0.04);
}

.blog-upload-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: var(--muted-foreground);
}

.blog-upload-placeholder p { font-size: 0.875rem; margin: 0; }
.blog-upload-placeholder span { color: hsl(270, 80%, 70%); font-weight: 600; }
.blog-upload-placeholder small { font-size: 0.75rem; }

.blog-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.blog-preview-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 0.5rem;
  border: 1px solid hsla(270, 30%, 35%, 0.2);
}

.blog-modal-footer {
  padding: 1.25rem 1.75rem;
  border-top: 1px solid hsla(270, 30%, 35%, 0.15);
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  flex-shrink: 0;
}

.blog-btn-ghost {
  padding: 0.7rem 1.25rem;
  background: transparent;
  border: 1px solid hsla(0, 0%, 100%, 0.1);
  border-radius: 0.65rem;
  color: var(--muted-foreground);
  font-size: 0.875rem;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s;
}

.blog-btn-ghost:hover {
  background: hsla(0, 0%, 100%, 0.05);
  color: var(--foreground);
}

.blog-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 1.5rem;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border: none;
  border-radius: 0.65rem;
  color: white;
  font-size: 0.875rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 15px hsla(270, 80%, 65%, 0.3);
}

.blog-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px hsla(270, 80%, 65%, 0.45);
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes zoomIn { from { transform: scale(0.96); opacity: 0; } to { transform: scale(1); opacity: 1; } }
