/* ========================================
   Global Theme Variables
   ======================================== */
:root {
  --accent: #5c6ff6;
  --font-main: Inter, sans-serif;
  --radius: 14px;
  --shadow-soft: 0px 6px 18px rgba(0,0,0,0.12);
  --glass-blur: 18px;
}

/* ========================================
   Admin Panel Base Layout
   ======================================== */
body {
  background: #f3f3f7;
  font-family: var(--font-main);
  padding: 0;
  margin: 0;
}

#admin-main {
  display: grid;
  grid-template-columns: 280px 1fr;
  height: 100vh;
}

#sidebar {
  background: white;
  box-shadow: var(--shadow-soft);
  padding: 20px;
  overflow-y: auto;
}

#editor {
  padding: 20px;
  overflow-y: auto;
}

/* ========================================
   Preview styles
   ======================================== */
#preview-frame {
  padding: 30px;
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  min-height: 400px;
}

/* Hero block */
.preview-hero {
  text-align: center;
  padding: 60px 20px;
  background: var(--accent);
  color: white;
  border-radius: var(--radius);
  margin-bottom: 30px;
}
.preview-hero h1 {
  margin: 0;
  font-size: 42px;
}

/* Text block */
.preview-text-block {
  padding: 22px;
  background: #fafafa;
  border-radius: var(--radius);
  margin-bottom: 25px;
  font-size: 18px;
  line-height: 1.6;
}

/* Gallery */
.preview-gallery,
.preview-carousel {
  padding: 22px;
  background: #efefef;
  border-radius: var(--radius);
  margin-bottom: 25px;
}

/* ========================================
   UI PRESETS
   ======================================== */

/* TYPOGRAPHY */
.preset-typography {
  --font-main: "Playfair Display", serif;
  --accent: #222;
  color: #222;
}
.preset-typography h1,
.preset-typography h2,
.preset-typography strong {
  font-family: "Playfair Display", serif;
}

/* CLAYMORPHISM */
.preset-clay {
  background: #e6e9ef;
}
.preset-clay .preview-text-block,
.preset-clay .preview-gallery,
.preset-clay .preview-carousel {
  background: #dfe3eb;
  box-shadow: 6px 6px 12px #c5c9cf, -6px -6px 12px #ffffff;
}

/* GLASSMORPHISM */
.preset-glass #preview-frame {
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(var(--glass-blur));
  border: 1px solid rgba(255,255,255,0.4);
}

/* MEMPHIS */
.preset-memphis {
  background: repeating-linear-gradient(
    45deg,
    #fffae6,
    #fffae6 12px,
    #ffdce6 12px,
    #ffdce6 24px
  );
}
.preset-memphis .preview-text-block {
  border-left: 6px solid #ff5ea2;
}

/* MAXIMALISM */
.preset-maximal {
  background: linear-gradient(120deg, #ff004c, #ffa800, #00d9ff);
  color: white;
}
.preset-maximal .preview-text-block {
  background: rgba(255,255,255,0.2);
}

/* POP ART */
.preset-popart {
  --accent: #ff0088;
  background: #fce519;
}
.preset-popart h1 {
  text-shadow: 4px 4px 0px #000;
}

/* RETRO */
.preset-retro {
  --accent: #b66f39;
  background: #fff1d6;
  color: #5e3012;
}
.preset-retro h1 {
  font-family: "Cooper Black", serif;
}

/* PIXEL */
.preset-pixel {
  image-rendering: pixelated;
  font-family: "Press Start 2P", monospace;
  --accent: #00eaff;
}
.preset-pixel .preview-hero {
  border: 4px solid #000;
}

/* WATERCOLOR */
.preset-watercolor {
  background: url('https://i.imgur.com/2kZ2y7K.png');
  background-size: cover;
  color: #2b2b2b;
}

/* MINIMALIST */
.preset-minimalist {
  background: #ffffff;
  color: #111;
  --accent: #000;
}

/* AERO (Windows Vista glass) */
.preset-aero #preview-frame {
  background: rgba(255,255,255,0.33);
  border: 1px solid rgba(255,255,255,0.4);
  backdrop-filter: blur(24px) saturate(1.5);
}

/* ART DECO */
.preset-artdeco {
  background: #111;
  color: gold;
  font-family: "Cormorant Garamond", serif;
}
.preset-artdeco h1 {
  border-bottom: 2px solid gold;
}

/* KAWAII */
.preset-kawaii {
  background: #ffe8f3;
  --accent: #ff8bcf;
  font-family: "Nunito", sans-serif;
}
.preset-kawaii h1 {
  font-weight: 900;
}

/* NEUMORPHISM */
.preset-neu {
  background: #e5e5e5;
}
.preset-neu .preview-text-block,
.preset-neu .preview-gallery {
  box-shadow: inset 4px 4px 10px #c5c5c5,
              inset -4px -4px 10px #ffffff;
}

/* GOTHIC */
.preset-goth {
  background: #111;
  color: #eee;
  --accent: #870000;
  font-family: "Cinzel", serif;
}

/* GRAFFITI */
.preset-graffiti {
  background: url('https://i.imgur.com/nV8iRql.jpeg');
  background-size: cover;
  color: #fff;
}
.preset-graffiti h1 {
  text-shadow: 3px 3px 0px #000;
}

/* HACKER (Matrix) */
.preset-hacker {
  background: #000;
  color: #00ff84;
  font-family: "Source Code Pro", monospace;
}
.preset-hacker #preview-frame {
  border: 2px solid #00ff84;
}















