/* 
   Delider Premium Design System & Layouts
   Vibrant green color palette, modern glassmorphism, responsive grids, and CSS device mockups.
*/

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

:root {
  --delider-green: #FFDE21;
  --delider-hover-green: #E5C61E;
  --delider-dark: #0b0e14;
  --delider-dark-green: #2B2500;
  --delider-light-green: #FFFCEB;
  --delider-white: #ffffff;
  --delider-gray: #64748b;
  --delider-light-gray: #f8fafc;
  --delider-border: #e2e8f0;
  --delider-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --delider-shadow-md: 0 8px 30px rgba(0, 0, 0, 0.06);
  --delider-shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.1);
  --font-title: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  background-color: var(--delider-light-gray);
  color: var(--delider-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ─────────────────────────────────────────
   COMMON HEADER / NAVIGATION
   ───────────────────────────────────────── */
.delider-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transform: none;
  border-radius: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.delider-header.on-green {
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 3rem);
  max-width: 1200px;
  background-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: none;
  border-radius: 28px 28px 0 0;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.delider-logo {
  font-family: var(--font-title);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--delider-green);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.delider-logo:hover {
  transform: scale(1.02);
}

.delider-header.on-green .delider-logo {
  color: #2B2500; /* Dark green logo on the hero background */
}

.delider-logo.white-text {
  color: var(--delider-white);
}

.delider-nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--delider-gray);
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--delider-green);
}

.delider-header.on-green .nav-link {
  color: #2B2500; /* Dark text for nav links when header is on green hero */
}

.delider-header.on-green .nav-link:hover {
  color: #000;
}

.header-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.btn-pill {
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-outline-green {
  background-color: transparent;
  color: var(--delider-green);
  border: 1px solid var(--delider-green);
}

.btn-outline-green:hover {
  background-color: var(--delider-green);
  color: #565656;
}

.delider-header.on-green .btn-outline-green {
  background-color: rgba(255, 255, 255, 0.75); /* Highly visible highlight background */
  color: #2B2500;
  border: 1px solid rgba(5, 55, 28, 0.15);
}

.delider-header.on-green .btn-outline-green:hover {
  background-color: var(--delider-white);
  color: #2B2500;
  border-color: var(--delider-white);
}

.btn-dark {
  background-color: var(--delider-dark);
  color: var(--delider-white);
}

.btn-dark:hover {
  background-color: #161c28;
  transform: translateY(-2px);
}

.delider-header.on-green .btn-dark {
  background-color: #2B2500; /* Dark forest green button on landing green header */
  color: var(--delider-white);
}

.delider-header.on-green .btn-dark:hover {
  background-color: #032110;
  transform: translateY(-2px);
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: inherit;
  font-size: 1.5rem;
  cursor: pointer;
}

/* ─────────────────────────────────────────
   LANDING PAGE (site-delider.html)
   ───────────────────────────────────────── */
.hero-wrapper {
  background-color: var(--delider-light-gray);
  padding: 1.5rem 0; /* Add margin space top/bottom */
  margin: 0;
  width: 100%;
}

.hero-card {
  width: calc(100% - 3rem); /* Leaves 1.5rem margins on left and right */
  max-width: 1200px;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--delider-green) 0%, #E5C61E 100%);
  border-radius: 28px; /* Rounded corners on all sides */
  padding: 6.5rem 3rem 2.5rem 3rem; /* padding leaves space for absolute header */
  color: var(--delider-white);
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 208, 90, 0.15);
}

.hero-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1.12fr 0.88fr;
  }
}

.hero-left {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  z-index: 10;
}

.hero-logo-badge {
  font-family: var(--font-title);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
}

.hero-title {
  font-family: var(--font-title);
  font-size: 5rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -2px;
  text-transform: uppercase;
  margin-top: -1rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  opacity: 0.95;
  font-weight: 400;
  max-width: 480px;
  color: var(--delider-dark-green);
  line-height: 1.5;
  margin-left: 0.2rem;
}

.hero-right {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  min-height: 400px;
}

.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 3rem;
}

.indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator.active {
  width: 30px;
  border-radius: 10px;
  background-color: var(--delider-white);
}

/* ─────────────────────────────────────────
   CSS DEVICES MOCKUPS (Ultra Premium)
   ───────────────────────────────────────── */
.device-container {
  position: relative;
  width: 100%;
  max-width: 520px;
  height: 380px;
}

/* Tablet Mockup */
.tablet-mockup {
  position: absolute;
  top: 10px;
  left: 30px;
  width: 380px;
  height: 260px;
  background-color: #1e293b;
  border: 12px solid #0f172a;
  border-radius: 24px;
  box-shadow: var(--delider-shadow-lg), 0 30px 60px rgba(0,0,0,0.4);
  z-index: 5;
  overflow: hidden;
}

.tablet-camera {
  position: absolute;
  top: -7px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #334155;
  z-index: 10;
}

.tablet-screen {
  width: 100%;
  height: 100%;
  background-color: #f1f5f9;
  display: flex;
  flex-direction: column;
}

.tablet-nav {
  height: 32px;
  background-color: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
}

.tablet-logo {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 0.8rem;
  color: var(--delider-green);
}

.tablet-nav-icons {
  display: flex;
  gap: 10px;
}

.tablet-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #cbd5e1;
}

.tablet-content {
  flex: 1;
  display: grid;
  grid-template-columns: 80px 1fr 120px;
  background-color: #f8fafc;
}

.tablet-sidebar {
  background-color: #ffffff;
  border-right: 1px solid #e2e8f0;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sidebar-item-mock {
  height: 14px;
  background-color: #f1f5f9;
  border-radius: 4px;
}

.sidebar-item-mock.active {
  background-color: var(--delider-light-green);
  border-left: 2px solid var(--delider-green);
}

.tablet-menu-grid {
  padding: 10px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  overflow: hidden;
}

.menu-card-mock {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 5px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.menu-card-image {
  height: 35px;
  background: linear-gradient(135deg, #fed7aa, #ffedd5);
  border-radius: 6px;
}

.menu-card-text {
  height: 6px;
  background-color: #e2e8f0;
  border-radius: 2px;
}

.tablet-cart {
  background-color: #ffffff;
  border-left: 1px solid #e2e8f0;
  padding: 8px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cart-items-mock {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cart-item-line {
  height: 6px;
  background-color: #cbd5e1;
  border-radius: 2px;
}

.cart-btn-mock {
  height: 20px;
  background-color: var(--delider-green);
  border-radius: 4px;
}

/* Phone Mockup */
.phone-mockup {
  position: absolute;
  bottom: 20px;
  left: 0px;
  width: 140px;
  height: 250px;
  background-color: #0f172a;
  border: 8px solid #1e293b;
  border-radius: 20px;
  box-shadow: var(--delider-shadow-lg);
  z-index: 15;
  overflow: hidden;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background-color: var(--delider-dark);
  display: flex;
  flex-direction: column;
  padding: 10px 8px;
  color: white;
  justify-content: space-between;
}

.phone-header {
  height: 15px;
  background-color: rgba(255,255,255,0.05);
  border-radius: 4px;
}

.phone-banner {
  height: 80px;
  background: linear-gradient(135deg, #ef4444, #b91c1c);
  border-radius: 8px;
  margin: 8px 0;
}

.phone-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.phone-item {
  height: 24px;
  background-color: rgba(255,255,255,0.05);
  border-radius: 6px;
}

/* Receipt Printer Mockup */
.printer-mockup {
  position: absolute;
  right: 10px;
  bottom: 40px;
  width: 130px;
  height: 130px;
  background-color: #334155;
  border-radius: 12px;
  box-shadow: var(--delider-shadow-lg);
  z-index: 8;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 10px;
  border-top: 15px solid #1e293b;
}

.printer-mouth {
  width: 100%;
  height: 8px;
  background-color: #0f172a;
  border-radius: 4px;
  margin-bottom: 2px;
  position: relative;
}

.paper-slip {
  width: 90px;
  background-color: #ffffff;
  color: #0f172a;
  margin: 0 auto;
  font-family: monospace;
  font-size: 5px;
  padding: 8px 6px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  gap: 4px;
  animation: printOut 3s ease-out infinite alternate;
  transform-origin: top center;
}

.paper-qr {
  width: 25px;
  height: 25px;
  background-color: #000;
  margin: 4px auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  padding: 2px;
}

.qr-dot {
  background-color: #fff;
}

.paper-line {
  height: 2px;
  background-color: #cbd5e1;
  border-radius: 1px;
}

@keyframes printOut {
  0% {
    height: 10px;
    opacity: 0.8;
  }
  100% {
    height: 70px;
    opacity: 1;
  }
}

/* Tablet Keyboard Mockup (for tools selection page) */
.keyboard-tablet-mockup {
  width: 100%;
  max-width: 440px;
  background-color: #1e293b;
  border-radius: 16px;
  padding: 12px;
  box-shadow: var(--delider-shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-bottom: 8px solid #0f172a;
}

.keyboard-screen-part {
  height: 180px;
  background-color: #ffffff;
  border-radius: 10px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
  border: 4px solid #334155;
}

.keyboard-screen-header {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 6px;
}

.keyboard-screen-body {
  flex: 1;
  display: flex;
  gap: 8px;
}

.kbd-body-side {
  width: 60px;
  border-right: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.kbd-body-content {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.kbd-grid-item {
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  background-color: #f8fafc;
}

.keyboard-key-part {
  background-color: #334155;
  border-radius: 8px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.keyboard-row {
  display: flex;
  justify-content: space-between;
  gap: 3px;
}

.keyboard-key {
  flex: 1;
  height: 12px;
  background-color: #475569;
  border-radius: 2px;
}

.keyboard-key.space {
  flex: 4;
}

/* ─────────────────────────────────────────
   TOOLS SELECTION PAGE (estabelecimento/globais/ferramentas)
   ───────────────────────────────────────── */
.split-layout {
  display: flex;
  min-height: 100vh;
  width: 100vw;
}

.split-left {
  width: 45%;
  background: linear-gradient(135deg, var(--delider-green) 0%, #E5C61E 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 4rem;
  color: var(--delider-white);
  position: relative;
}

.split-left-content {
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.tag-badge {
  background-color: var(--delider-dark-green);
  color: var(--delider-green);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.8rem;
  align-self: flex-start;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.split-left h2 {
  font-family: var(--font-title);
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.15;
}

.split-left p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-top: -1rem;
}

.split-right {
  width: 55%;
  background-color: var(--delider-white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 4rem;
}

.split-right-content {
  width: 100%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.tools-title-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.tools-title {
  font-family: var(--font-title);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--delider-dark);
  line-height: 1.2;
}

.tools-subtitle {
  font-size: 1rem;
  color: var(--delider-gray);
}

.tools-cards {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.tool-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border: 1px solid var(--delider-border);
  border-radius: 16px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  background-color: var(--delider-white);
  cursor: pointer;
}

.tool-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 208, 90, 0.3);
}

.tool-card-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.tool-icon-wrapper {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background-color: var(--delider-light-green);
  color: var(--delider-green);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.tool-card:hover .tool-icon-wrapper {
  background-color: var(--delider-green);
  color: #565656;
}

.tool-details {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.tool-name {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--delider-dark);
  font-family: var(--font-title);
}

.tool-desc {
  font-size: 0.85rem;
  color: var(--delider-gray);
}

.tool-arrow {
  color: #cbd5e1;
  transition: all 0.3s ease;
}

.tool-card:hover .tool-arrow {
  color: var(--delider-green);
  transform: translateX(4px);
}

/* Scoped classes specifically for Tools Page body configuration */
.tools-page-body {
  height: 100vh;
  width: 100vw;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  background-color: var(--delider-white);
  margin: 0;
  padding: 0;
}

.tools-page-body *,
.tools-page-body *::before,
.tools-page-body *::after {
  box-sizing: border-box;
}

.tools-page-body .split-layout {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  display: flex;
  align-items: stretch;
}

.tools-page-body .split-left-container {
  width: 50%;
  height: 100%;
  padding: 1.5rem; /* Margin spacing around borders */
  display: flex;
}

.tools-page-body .split-left {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--delider-green) 0%, #E5C61E 100%);
  border-radius: 10px; /* Card style with rounded corners on all sides */
  padding: 3rem 2.5rem;
  color: var(--delider-white);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  position: relative;
  box-shadow: 0 15px 45px rgba(0, 208, 90, 0.12);
  overflow: hidden;
}

.tools-page-body .split-left-content {
  width: 100%;
  height: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.tools-page-body .device-container-scaled {
  transform: scale(0.7);
  transform-origin: center center;
  margin: -3.5rem 0; /* pulls scaled box bounding box back in */
  width: 100%;
  max-width: 520px;
  height: 380px;
  position: relative;
}

.tools-page-body .split-left h3.card-title {
  font-family: var(--font-title);
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
  color: var(--delider-white);
  max-width: 340px;
  margin-top: auto;
  margin-bottom: 0.5rem;
}

.tools-page-body .split-right {
  width: 50%;
  height: 100%;
  background-color: transparent;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center; /* Center horizontally in right half */
  padding: 1.5rem;
}

.tools-page-body .split-right-content {
  width: 100%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (max-width: 991px) {
  .split-layout {
    flex-direction: column;
  }
  .split-left, .split-right {
    width: 100%;
    min-height: auto;
    padding: 3rem 1.5rem;
  }
  .split-left {
    padding-top: 5rem;
  }
  .split-left-content {
    align-items: center;
    text-align: center;
  }
  .split-left-content .tag-badge {
    align-self: center;
  }
  
  /* Responsive overrides for scoped tools page configuration */
  .tools-page-body {
    height: auto;
    overflow-y: auto;
  }
  .tools-page-body .split-layout {
    flex-direction: column;
    height: auto;
    max-height: none;
    padding: 3rem 1.5rem;
    gap: 3rem;
  }
  .tools-page-body .split-left, .tools-page-body .split-right {
    width: 100%;
  }
  .tools-page-body .device-container-scaled {
    transform: scale(0.85);
    margin: -1.5rem 0;
  }
}

/* ─────────────────────────────────────────
   ADMIN PORTAL DASHBOARD (admin/dashboard.html)
   ───────────────────────────────────────── */
.admin-layout {
  display: flex;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
  background-color: #f1f5f9;
}

/* Sidebar */
.admin-sidebar {
  width: 260px;
  background-color: #0f172a;
  color: #94a3b8;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  z-index: 100;
}

.sidebar-header {
  padding: 1.5rem;
  border-bottom: 1px solid #1e293b;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.sidebar-menu {
  flex: 1;
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  overflow-y: auto;
}

.menu-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  cursor: pointer;
}

.menu-item:hover, .menu-item.active {
  color: var(--delider-white);
  background-color: #1e293b;
}

.menu-item.active {
  background-color: var(--delider-green);
  color: #565656;
}

.sidebar-footer {
  padding: 1.5rem;
  border-top: 1px solid #1e293b;
}

/* Content Area */
.admin-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.admin-header {
  height: 70px;
  background-color: var(--delider-white);
  border-bottom: 1px solid var(--delider-border);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-title-section h1 {
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 700;
}

.admin-profile {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.profile-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--delider-light-green);
  color: var(--delider-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.admin-content {
  flex: 1;
  padding: 2rem;
  overflow-y: auto;
}

/* Stats Cards Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.stat-card {
  background-color: var(--delider-white);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: var(--delider-shadow-sm);
  border: 1px solid var(--delider-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.stat-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--delider-gray);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.stat-value {
  font-size: 1.8rem;
  font-weight: 800;
  font-family: var(--font-title);
}

.stat-trend {
  font-size: 0.75rem;
  color: var(--delider-green);
  font-weight: 600;
}

.stat-trend.down {
  color: #ef4444;
}

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background-color: var(--delider-light-green);
  color: var(--delider-green);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Recent Orders Dashboard Layout */
.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 1200px) {
  .dashboard-grid {
    grid-template-columns: 2fr 1fr;
  }
}

.dashboard-card {
  background-color: var(--delider-white);
  border-radius: 16px;
  border: 1px solid var(--delider-border);
  box-shadow: var(--delider-shadow-sm);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.card-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--delider-border);
  padding-bottom: 1rem;
}

.card-header-flex h3 {
  font-family: var(--font-title);
  font-size: 1.2rem;
  font-weight: 700;
}

/* Tables */
.admin-table-container {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.admin-table th {
  padding: 0.75rem 1rem;
  background-color: var(--delider-light-gray);
  color: var(--delider-gray);
  font-weight: 600;
  font-size: 0.85rem;
  border-bottom: 1px solid var(--delider-border);
}

.admin-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--delider-border);
  font-size: 0.9rem;
}

.badge-status {
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-status.preparo {
  background-color: #fef3c7;
  color: #d97706;
}

.badge-status.entregue {
  background-color: var(--delider-light-green);
  color: var(--delider-green);
}

.badge-status.caminho {
  background-color: #e0f2fe;
  color: #0284c7;
}

.badge-status.cancelado {
  background-color: #fee2e2;
  color: #ef4444;
}

/* Action link classes */
.btn-text-action {
  color: var(--delider-green);
  font-weight: 600;
  background: none;
  border: none;
  cursor: pointer;
}

.btn-text-action:hover {
  color: var(--delider-hover-green);
}

/* Back Link styling */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--delider-gray);
  margin-bottom: 1.5rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.back-link:hover {
  color: var(--delider-green);
}

/* Responsive sidebars */
@media (max-width: 768px) {
  .admin-sidebar {
    position: absolute;
    left: -260px;
    height: 100%;
  }
  .admin-sidebar.open {
    left: 0;
  }
}

/* ─────────────────────────────────────────
   NEW LANDING SECTIONS (Scrollable content)
   ───────────────────────────────────────── */
.landing-section {
  padding: 6rem 2rem;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-family: var(--font-title);
  font-size: 2.75rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 4rem;
  color: var(--delider-dark);
}

.section-title span {
  color: var(--delider-green);
}

/* About Section */
.sobre-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 992px) {
  .sobre-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.sobre-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sobre-text h3 {
  font-family: var(--font-title);
  font-size: 2rem;
  color: var(--delider-dark-green);
  font-weight: 700;
}

.sobre-text p {
  color: var(--delider-gray);
  font-size: 1.05rem;
  line-height: 1.7;
}

.stats-subgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.stat-box {
  background-color: var(--delider-white);
  padding: 2.5rem 2rem;
  border-radius: 20px;
  border: 1px solid var(--delider-border);
  text-align: center;
  box-shadow: var(--delider-shadow-sm);
  transition: all 0.3s ease;
}

.stat-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--delider-shadow-md);
  border-color: rgba(0, 208, 90, 0.2);
}

.stat-num {
  font-family: var(--font-title);
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--delider-green);
  line-height: 1.1;
}

.stat-desc {
  font-size: 0.9rem;
  color: var(--delider-gray);
  margin-top: 0.5rem;
  font-weight: 500;
}

/* Benefits Section */
.beneficios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.beneficio-card {
  background-color: var(--delider-white);
  border-radius: 24px;
  padding: 3rem 2.25rem;
  border: 1px solid var(--delider-border);
  box-shadow: var(--delider-shadow-sm);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.beneficio-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--delider-shadow-md);
  border-color: rgba(0, 208, 90, 0.2);
}

.beneficio-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background-color: var(--delider-light-green);
  color: var(--delider-green);
  display: flex;
  align-items: center;
  justify-content: center;
}

.beneficio-icon svg {
  width: 28px;
  height: 28px;
}

.beneficio-title {
  font-family: var(--font-title);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--delider-dark);
}

.beneficio-desc {
  color: var(--delider-gray);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Plans Section */
.planos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: stretch;
}

.plano-card {
  background-color: var(--delider-white);
  border-radius: 28px;
  padding: 3.5rem 2.5rem;
  border: 1px solid var(--delider-border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--delider-shadow-sm);
}

.plano-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--delider-shadow-lg);
}

.plano-card.destaque {
  border: 2px solid var(--delider-green);
  transform: scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 208, 90, 0.08);
}

.plano-card.destaque:hover {
  transform: translateY(-10px) scale(1.02);
}

.plano-tag {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background-color: var(--delider-green);
  color: #565656;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.plano-header-info {
  margin-bottom: 2rem;
}

.plano-name {
  font-family: var(--font-title);
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--delider-dark);
}

.plano-price {
  font-family: var(--font-title);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--delider-dark);
}

.plano-price span {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--delider-gray);
}

.plano-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.plano-features li {
  font-size: 0.95rem;
  color: var(--delider-gray);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.plano-features li svg {
  color: var(--delider-green);
  flex-shrink: 0;
}

.btn-plan-select {
  width: 100%;
  padding: 1rem;
  border-radius: 50px;
  font-weight: 700;
  border: 1px solid var(--delider-green);
  background-color: transparent;
  color: var(--delider-green);
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.btn-plan-select:hover {
  background-color: var(--delider-green);
  color: #565656;
}

.plano-card.destaque .btn-plan-select {
  background-color: var(--delider-green);
  color: #565656;
}

.plano-card.destaque .btn-plan-select:hover {
  background-color: var(--delider-hover-green);
  border-color: var(--delider-hover-green);
  color: #565656;
}

/* Contact Section */
.contato-wrapper {
  background-color: var(--delider-white);
  border-radius: 32px;
  border: 1px solid var(--delider-border);
  box-shadow: var(--delider-shadow-sm);
  padding: 4rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  margin-top: 2rem;
}

@media (min-width: 992px) {
  .contato-wrapper {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.contato-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--delider-dark);
}

.form-group input, .form-group textarea {
  padding: 0.9rem 1.1rem;
  border-radius: 10px;
  border: 1px solid var(--delider-border);
  outline: none;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  background-color: var(--delider-light-gray);
}

.form-group input:focus, .form-group textarea:focus {
  border-color: var(--delider-green);
  background-color: white;
  box-shadow: 0 0 0 4px rgba(0, 208, 90, 0.08);
}

.contato-info {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  justify-content: center;
}

.info-item {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

.info-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background-color: var(--delider-light-green);
  color: var(--delider-green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-icon svg {
  width: 24px;
  height: 24px;
}

.info-details {
  display: flex;
  flex-direction: column;
}

.info-details strong {
  font-family: var(--font-title);
  font-size: 1.05rem;
  color: var(--delider-dark);
}

.info-details span {
  font-size: 0.95rem;
  color: var(--delider-gray);
}

