/* ===== Senyum Odontologia – Static version ===== */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap');

:root{
  --background:#fff;
  --foreground:#333;
  --muted:#f7f7f7;
  --muted-foreground:#666;
  --border:#e5e5e5;
  --card:#fff;
  --heading:#1f1f1f;
  --primary:#7a4080;          /* hsl(299 33% 36%) */
  --primary-foreground:#fff;
  --primary-glow:rgba(122,64,128,.08);
  --secondary:#7cc6c0;        /* hsl(175 35% 60%) */
  --secondary-foreground:#fff;
  --section-alt:#f7f3f7;
  --section-warm:#faf7f3;
  --radius:.625rem;
  --shadow-sm:0 1px 2px rgba(0,0,0,.05);
  --shadow-md:0 4px 12px rgba(0,0,0,.08);
  --shadow-lg:0 10px 30px rgba(0,0,0,.1);
  --shadow-xl:0 20px 50px rgba(0,0,0,.15);
}

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:'DM Sans',system-ui,sans-serif;
  background:var(--background);
  color:var(--foreground);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
h1,h2,h3,h4{color:var(--heading);font-family:'DM Sans',sans-serif;line-height:1.2}

.container{max-width:1400px;margin:0 auto;padding:0 1.5rem}
@media(min-width:768px){.container{padding:0 2rem}}

.text-primary{color:var(--primary)}
.text-secondary{color:var(--secondary)}
.text-muted{color:var(--muted-foreground)}

/* ===== Buttons ===== */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.5rem;
  padding:.75rem 1.5rem;border-radius:var(--radius);font-weight:600;font-size:.95rem;
  cursor:pointer;border:2px solid transparent;transition:all .2s ease;
  white-space:nowrap;
}
.btn-lg{padding:.95rem 1.85rem;font-size:1rem}
.btn-sm{padding:.5rem 1rem;font-size:.875rem}
a.btn-hero,.btn-hero{background:var(--primary);color:#fff !important;box-shadow:var(--shadow-md)}
a.btn-hero:hover,.btn-hero:hover{background:#653469;color:#fff !important;transform:translateY(-1px);box-shadow:var(--shadow-lg)}
a.btn-outline,.btn-outline{background:transparent;color:var(--primary) !important;border-color:var(--primary)}
a.btn-outline:hover,.btn-outline:hover{background:var(--primary);color:#fff !important}
a.btn-whatsapp,.btn-whatsapp{background:#25d366;color:#fff !important}
a.btn-whatsapp:hover,.btn-whatsapp:hover{background:#1ebe5b;color:#fff !important}
a.btn-ghost,.btn-ghost{background:transparent;color:var(--foreground) !important;border-color:var(--border)}
a.btn-ghost:hover,.btn-ghost:hover{background:var(--muted)}

/* ===== Navbar ===== */
.navbar{position:fixed;top:0;left:0;right:0;z-index:50;background:rgba(255,255,255,.95);backdrop-filter:blur(10px);border-bottom:1px solid var(--border)}
.nav-inner{display:flex;align-items:center;justify-content:space-between;height:64px}
@media(min-width:768px){.nav-inner{height:80px}}
.nav-logo img{height:40px;width:auto}
@media(min-width:768px){.nav-logo img{height:48px}}
.nav-menu{display:none;align-items:center;gap:2rem}
@media(min-width:768px){.nav-menu{display:flex}}
.nav-menu a{font-size:.875rem;font-weight:500;color:rgba(51,51,51,.7);transition:color .2s}
.nav-menu a:hover{color:var(--primary)}
.nav-toggle{display:flex;background:none;border:none;padding:.5rem;cursor:pointer;color:var(--foreground)}
@media(min-width:768px){.nav-toggle{display:none}}
.nav-mobile{display:none;background:#fff;border-top:1px solid var(--border);padding:.5rem 1.5rem 1.5rem}
.nav-mobile.open{display:block}
.nav-mobile a{display:block;padding:.75rem 0;font-weight:500;color:rgba(51,51,51,.8);border-bottom:1px solid var(--muted)}
.nav-mobile a:hover{color:var(--primary)}
.nav-mobile .btn{margin-top:1rem;width:100%}

/* ===== Hero ===== */
.hero{position:relative;min-height:90vh;display:flex;align-items:center;padding-top:80px;overflow:hidden}
.hero-bg{position:absolute;inset:0;z-index:0}
.hero-bg img{width:100%;height:100%;object-fit:cover}
.hero-bg::after{content:"";position:absolute;inset:0;background:linear-gradient(to right,#fff,rgba(255,255,255,.95) 50%,rgba(255,255,255,.3))}
.hero-content{position:relative;z-index:1;padding-top:4rem;padding-bottom:4rem}
.hero-grid{display:grid;grid-template-columns:1fr;gap:3rem;align-items:center}
@media(min-width:768px){.hero-grid{grid-template-columns:1fr 1fr}}
.hero h1{font-size:2.25rem;font-weight:700;margin-bottom:1.5rem}
@media(min-width:768px){.hero h1{font-size:3rem}}
@media(min-width:1024px){.hero h1{font-size:3.75rem}}
.hero p.lead{font-size:1.1rem;color:var(--muted-foreground);margin-bottom:2rem}
@media(min-width:768px){.hero p.lead{font-size:1.25rem}}
.hero-bullets{list-style:none;margin-bottom:2.5rem}
.hero-bullets li{display:flex;gap:.75rem;align-items:flex-start;color:rgba(51,51,51,.85);margin-bottom:.75rem}
.hero-bullets svg{color:var(--secondary);flex-shrink:0;margin-top:2px}
.hero-cta{display:flex;flex-direction:column;gap:1rem}
@media(min-width:640px){.hero-cta{flex-direction:row}}
.hero-img{display:none}
@media(min-width:768px){.hero-img{display:block}}
.hero-img img{border-radius:1rem;box-shadow:var(--shadow-xl);width:100%;aspect-ratio:3/4;object-fit:cover;border:4px solid #fff}

/* ===== Sections ===== */
section.section{padding:5rem 0}
@media(min-width:768px){section.section{padding:7rem 0}}
.section-alt{background:var(--section-alt)}
.section-warm{background:var(--section-warm)}
.section-gradient{background:linear-gradient(135deg,rgba(122,64,128,.05),#fff,rgba(124,198,192,.05))}
.section-title{text-align:center;max-width:48rem;margin:0 auto 3.5rem}
.section-title h2{font-size:1.875rem;font-weight:700;margin-bottom:1rem}
@media(min-width:768px){.section-title h2{font-size:2.25rem}}
.section-title p{font-size:1.1rem;color:var(--muted-foreground)}

.split-grid{display:grid;grid-template-columns:1fr;gap:3rem;align-items:center}
@media(min-width:768px){.split-grid{grid-template-columns:1fr 1fr}}
.split-grid h2{font-size:1.875rem;font-weight:700;margin-bottom:1rem}
@media(min-width:768px){.split-grid h2{font-size:2.25rem}}
.split-grid p{color:var(--muted-foreground);font-size:1.1rem}
.split-grid .img-wrap img{border-radius:1rem;box-shadow:var(--shadow-lg);width:100%;object-fit:cover}
.aspect-43{aspect-ratio:4/3}
.aspect-45{aspect-ratio:4/5}
.aspect-34{aspect-ratio:3/4}

/* ===== Cards Grid ===== */
.cards-grid{display:grid;grid-template-columns:1fr;gap:1.5rem;margin-top:3.5rem}
@media(min-width:640px){.cards-grid{grid-template-columns:1fr 1fr}}
@media(min-width:1024px){.cards-grid{grid-template-columns:repeat(4,1fr)}}
.cards-grid-3{display:grid;grid-template-columns:1fr;gap:1.5rem;margin-bottom:4rem}
@media(min-width:768px){.cards-grid-3{grid-template-columns:repeat(3,1fr)}}

.card{background:var(--card);border-radius:.75rem;padding:1.5rem;box-shadow:var(--shadow-md);border:1px solid var(--border);transition:all .3s}
.card:hover{box-shadow:var(--shadow-lg);transform:translateY(-4px)}
.card-top-primary{border-top:4px solid var(--primary)}
.card-top-secondary{border-top:4px solid var(--secondary)}
.card-icon{width:3rem;height:3rem;border-radius:.75rem;display:flex;align-items:center;justify-content:center;margin-bottom:1rem;background:rgba(122,64,128,.1);color:var(--primary)}
.card-icon.secondary{background:rgba(124,198,192,.15);color:var(--secondary)}
.card h3{font-size:1.125rem;font-weight:600;margin-bottom:.5rem}
.card p{color:var(--muted-foreground);font-size:.9rem}

.card-num{width:2.5rem;height:2.5rem;border-radius:9999px;background:rgba(122,64,128,.1);color:var(--primary);font-weight:700;display:flex;align-items:center;justify-content:center;margin-bottom:1rem}

/* Steps */
.steps-box{background:rgba(122,64,128,.05);border-radius:1rem;padding:2rem;margin-bottom:3rem}
.steps-box h3{text-align:center;font-weight:700;font-size:1.125rem;margin-bottom:1.5rem}
.steps-list{display:flex;flex-direction:column;align-items:flex-start;gap:1rem;justify-content:center}
@media(min-width:768px){.steps-list{flex-direction:row;align-items:center;gap:.5rem}}
.step{display:flex;align-items:center;gap:.5rem}
.step-num{width:2rem;height:2rem;border-radius:9999px;background:var(--primary);color:#fff;font-size:.875rem;font-weight:700;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}
.step-text{font-size:.875rem;font-weight:500}
.step-arrow{display:none;color:var(--muted-foreground);margin-left:.5rem}
@media(min-width:768px){.step-arrow{display:inline-flex}}

/* Profissionais */
.team-grid{display:grid;grid-template-columns:1fr;gap:2rem;max-width:64rem;margin:0 auto}
@media(min-width:768px){.team-grid{grid-template-columns:1fr 1fr}}
.team-card{background:var(--card);border-radius:1rem;overflow:hidden;box-shadow:var(--shadow-md);border:1px solid var(--border);transition:all .3s}
.team-card:hover{box-shadow:var(--shadow-lg)}
.team-card .photo{aspect-ratio:4/5;overflow:hidden}
.team-card .photo img{width:100%;height:100%;object-fit:cover;object-position:top;transition:transform .5s}
.team-card:hover .photo img{transform:scale(1.05)}
.team-card .body{padding:1.5rem}
.team-card h3{font-size:1.25rem;font-weight:700;display:inline-block;margin-right:.5rem}
.badge{display:inline-flex;align-items:center;gap:.25rem;font-size:.75rem;font-weight:600;background:rgba(122,64,128,.1);color:var(--primary);padding:.25rem .65rem;border-radius:9999px;vertical-align:middle}
.team-card .role{font-size:.875rem;color:var(--secondary);font-weight:500;margin:.5rem 0 .75rem}
.team-card .desc{color:var(--muted-foreground);font-size:.9rem}

/* Outros tratamentos chips */
.chips-grid{display:grid;grid-template-columns:1fr 1fr;gap:.75rem}
.chip{background:rgba(122,64,128,.05);border:1px solid rgba(122,64,128,.1);border-radius:.5rem;padding:.75rem 1rem;font-size:.875rem;font-weight:500;transition:all .2s}
.chip:hover{background:rgba(122,64,128,.1);border-color:rgba(122,64,128,.3)}
.chip-icon{display:flex;align-items:center;gap:.75rem}
.chip-icon .ico{width:2rem;height:2rem;border-radius:.5rem;display:flex;align-items:center;justify-content:center;flex-shrink:0;background:rgba(122,64,128,.1);color:var(--primary)}
.chip-icon .ico.secondary{background:rgba(124,198,192,.15);color:var(--secondary)}

/* Invisalign image stack */
.img-stack{position:relative}
.img-stack .accent{position:absolute;bottom:-1.5rem;left:-1.5rem;width:10rem!important;height:10rem!important;border-radius:.75rem;box-shadow:var(--shadow-lg);object-fit:cover;border:4px solid #fff;display:none}
@media(min-width:768px){.img-stack .accent{display:block}}

/* Depoimentos */
.testimonial-box{max-width:42rem;margin:0 auto;position:relative}
.testimonial{background:var(--card);border-radius:1rem;padding:2rem;box-shadow:var(--shadow-lg);border:1px solid rgba(122,64,128,.1);text-align:center;min-height:200px;display:flex;flex-direction:column;align-items:center;justify-content:center}
@media(min-width:768px){.testimonial{padding:3rem}}
.testimonial .quote-icon{color:rgba(122,64,128,.2);margin-bottom:1rem}
.testimonial p.text{font-size:1.1rem;font-style:italic;line-height:1.6;margin-bottom:1.5rem}
@media(min-width:768px){.testimonial p.text{font-size:1.25rem}}
.testimonial p.author{font-size:.875rem;font-weight:600;color:var(--primary)}
.testimonial-controls{display:flex;align-items:center;justify-content:center;gap:1rem;margin-top:1.5rem}
.t-btn{width:2.5rem;height:2.5rem;border-radius:9999px;border:1px solid var(--border);background:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;color:var(--foreground);transition:all .2s}
.t-btn:hover{border-color:var(--primary);color:var(--primary);background:rgba(122,64,128,.05)}
.t-dots{display:flex;gap:.5rem}
.t-dot{width:.625rem;height:.625rem;border-radius:9999px;background:var(--border);border:none;cursor:pointer;padding:0}
.t-dot.active{background:var(--primary)}

/* Contato */
.contact-grid{display:grid;grid-template-columns:1fr;gap:3rem;max-width:64rem;margin:0 auto}
@media(min-width:768px){.contact-grid{grid-template-columns:1fr 1fr}}
.contact-item{display:flex;align-items:flex-start;gap:1rem;margin-bottom:1.5rem}
.contact-item .ico{width:2.5rem;height:2.5rem;border-radius:.5rem;background:rgba(122,64,128,.1);color:var(--primary);display:flex;align-items:center;justify-content:center;flex-shrink:0}
.contact-item p.label{font-weight:600;color:var(--heading);margin-bottom:.25rem}
.contact-item p.val{color:var(--muted-foreground)}
.contact-note{font-size:.875rem;color:var(--muted-foreground);border-left:4px solid var(--secondary);padding:.75rem 1rem;background:rgba(124,198,192,.05);border-radius:0 .5rem .5rem 0;margin:1.5rem 0}
.contact-actions{display:flex;flex-direction:column;gap:.75rem;padding-top:1rem}
@media(min-width:640px){.contact-actions{flex-direction:row}}
.contact-actions .btn{width:100%}
@media(min-width:640px){.contact-actions .btn{width:auto}}
.map-wrap{border-radius:.75rem;overflow:hidden;border:1px solid var(--border);box-shadow:var(--shadow-md);min-height:300px}
.map-wrap iframe{width:100%;height:100%;min-height:300px;border:0;display:block}

/* Footer */
.footer{background:var(--primary);color:rgba(255,255,255,.8);padding:3rem 0}
.footer-grid{display:grid;grid-template-columns:1fr;gap:2rem}
@media(min-width:768px){.footer-grid{grid-template-columns:repeat(3,1fr)}}
.footer h3{color:#fff;font-size:1.25rem;font-weight:700;margin-bottom:1rem}
.footer h4{color:#fff;font-size:.875rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;margin-bottom:1rem}
.footer p,.footer a{color:rgba(255,255,255,.65);font-size:.875rem;line-height:1.6}
.footer a{display:block;padding:.25rem 0;transition:color .2s}
.footer a:hover{color:#fff}
.footer-bottom{border-top:1px solid rgba(255,255,255,.1);margin-top:2.5rem;padding-top:1.5rem;text-align:center;font-size:.75rem;color:rgba(255,255,255,.5)}

/* Page hero (subpages) */
.page-hero{padding:4rem 0;background:var(--section-alt);text-align:center}
@media(min-width:768px){.page-hero{padding:6rem 0}}
.page-hero h1{font-size:2.25rem;font-weight:700;margin-bottom:1rem}
@media(min-width:768px){.page-hero h1{font-size:3rem}}
.page-hero p{font-size:1.1rem;color:var(--muted-foreground);max-width:48rem;margin:0 auto}
.pt-nav{padding-top:80px}

/* Reveal animation */
.reveal{opacity:0;transform:translateY(30px);transition:opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),transform 0.8s cubic-bezier(0.16, 1, 0.3, 1)}
.reveal-left{transform:translateX(-30px)}
.reveal-right{transform:translateX(30px)}
.reveal-scale{transform:scale(0.95)}
.reveal.visible{opacity:1;transform:translate(0) scale(1)}
.delay-150{transition-delay:150ms}
.delay-300{transition-delay:300ms}
.delay-450{transition-delay:450ms}

.tag{display:inline-block;font-size:.875rem;font-weight:600;color:var(--secondary);text-transform:uppercase;letter-spacing:.05em;margin-bottom:.75rem}

/* ===== Blog ===== */
.blog-grid{display:grid;grid-template-columns:1fr;gap:2rem}
@media(min-width:768px){.blog-grid{grid-template-columns:1fr 1fr}}
@media(min-width:1024px){.blog-grid{grid-template-columns:repeat(3,1fr)}}
.blog-card{background:var(--card);border-radius:1rem;overflow:hidden;border:1px solid var(--border);box-shadow:var(--shadow-md);transition:all .3s}
.blog-card:hover{box-shadow:var(--shadow-lg);transform:translateY(-2px)}
.blog-card a{display:block;color:inherit}
.blog-card-img{aspect-ratio:16/10;overflow:hidden;background:var(--muted)}
.blog-card-img img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.blog-card:hover .blog-card-img img{transform:scale(1.05)}
.blog-card-body{padding:1.5rem}
.blog-card-date{display:inline-flex;align-items:center;gap:.4rem;font-size:.75rem;color:var(--muted-foreground);margin-bottom:.75rem}
.blog-card h2{font-size:1.15rem;font-weight:600;line-height:1.35;margin-bottom:.75rem;color:var(--heading);transition:color .2s}
.blog-card:hover h2{color:var(--primary)}
.blog-card p{font-size:.9rem;color:var(--muted-foreground);margin-bottom:1rem;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.blog-read-more{display:inline-flex;align-items:center;gap:.25rem;font-size:.875rem;font-weight:600;color:var(--primary)}

.blog-post-container{max-width:48rem}
.blog-back{display:inline-flex;align-items:center;gap:.5rem;font-size:.875rem;color:var(--muted-foreground);margin-bottom:2rem;transition:color .2s}
.blog-back:hover{color:var(--primary)}
.blog-post-title{font-size:2rem;font-weight:700;line-height:1.2;margin:.5rem 0 1.25rem}
@media(min-width:768px){.blog-post-title{font-size:2.75rem}}
.blog-post-excerpt{font-size:1.1rem;color:var(--muted-foreground);line-height:1.6;margin-bottom:2rem}
.blog-post-cover{aspect-ratio:16/9;border-radius:1rem;overflow:hidden;margin-bottom:2.5rem;background:var(--muted)}
.blog-post-cover img{width:100%;height:100%;object-fit:cover}
.blog-post-content{white-space:pre-wrap;word-break:break-word;line-height:1.75;color:rgba(51,51,51,.88);font-size:1.05rem}

/* Steps grid (5 steps) */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media(min-width: 640px) {
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media(min-width: 1024px) {
  .steps-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}
.step-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}
.step-card h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--heading);
}
.step-card p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.5;
}

/* Planos de Saúde */
.planos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 64rem;
  margin: 0 auto;
}
@media(min-width: 640px) {
  .planos-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.plano-card {
  background: var(--card);
  border-radius: 1rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 160px;
  transition: box-shadow 0.3s, transform 0.3s;
}
.plano-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.plano-card img {
  max-height: 4.5rem;
  width: auto;
  object-fit: contain;
}

/* ===== Admin & Auth Panels ===== */
.auth-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 160px);
}
.auth-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  box-shadow: var(--shadow-md);
  padding: 2rem;
  width: 100%;
  max-width: 400px;
}
.auth-card h1 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.auth-card p {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

/* Forms */
.form-group {
  margin-bottom: 1.25rem;
}
.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.375rem;
  color: var(--heading);
}
.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--foreground);
  background: #fff;
  transition: border-color 0.2s;
}
.form-control:focus {
  outline: none;
  border-color: var(--primary);
}
textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

/* Custom Switch Toggle */
.switch-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}
.switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: var(--border);
  transition: .3s;
  border-radius: 24px;
}
.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .3s;
  border-radius: 50%;
}
input:checked + .slider {
  background-color: var(--primary);
}
input:checked + .slider:before {
  transform: translateX(20px);
}

/* Admin Dashboard layout */
.admin-header {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
@media(min-width: 640px) {
  .admin-header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
.admin-header h1 {
  font-size: 1.75rem;
  font-weight: 700;
}
.admin-header p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}
.admin-actions {
  display: flex;
  gap: 0.5rem;
}

/* Post form box */
.admin-form-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
}
.admin-form-box h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.5rem;
}
.file-upload-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.file-upload-wrapper img {
  width: 5rem;
  height: 3.5rem;
  object-fit: cover;
  border-radius: 0.375rem;
  border: 1px solid var(--border);
}

/* Post list */
.admin-posts-list {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.admin-posts-list .empty-state {
  padding: 3rem;
  text-align: center;
  color: var(--muted-foreground);
}
.admin-posts-list ul {
  list-style: none;
}
.admin-post-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-bottom: 1px solid var(--border);
}
.admin-post-item:last-child {
  border-bottom: none;
}
.admin-post-thumb {
  width: 4rem;
  height: 4rem;
  border-radius: 0.375rem;
  background: var(--muted);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.admin-post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.admin-post-thumb svg {
  color: rgba(0, 0, 0, 0.2);
}
.admin-post-info {
  flex-grow: 1;
  min-width: 0;
}
.admin-post-info p.title {
  font-weight: 600;
  color: var(--heading);
  margin-bottom: 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.admin-post-info p.meta {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

/* SQL command preview */
.admin-sql-box {
  background: var(--muted);
  border-radius: 0.5rem;
  padding: 1rem;
  font-family: monospace;
  font-size: 0.75rem;
  overflow-x: auto;
  white-space: pre;
  color: var(--foreground);
  margin-top: 1rem;
}
