/* ==============================================================

   GBS GEMS LAB PRO — ULTRA MODERN & LUXURIOUS DESIGN SYSTEM

   ============================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;800;900&family=Outfit:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');



:root {

  --bg-dark: #0a0813;

  --bg-card: rgba(22, 18, 38, 0.75);

  --bg-card-hover: rgba(30, 24, 52, 0.9);

  --border-glass: rgba(255, 215, 0, 0.2);

  --border-subtle: rgba(255, 255, 255, 0.08);

  

  --gold: #f4c430;

  --gold-glow: rgba(244, 196, 48, 0.35);

  --gold-grad: linear-gradient(135deg, #ffd700 0%, #ff9a00 100%);

  --gold-text: linear-gradient(135deg, #fff2a3 0%, #d4af37 100%);

  

  --emerald: #00e676;

  --ruby: #ff1744;

  --sapphire: #2979ff;

  --amethyst: #9d4edd;

  

  --text-main: #f0f0f5;

  --text-muted: #9590a8;

  --text-dark: #12101b;

  

  --radius-sm: 8px;

  --radius-md: 14px;

  --radius-lg: 22px;

  --radius-full: 9999px;

  

  --shadow-card: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 1px rgba(255, 215, 0, 0.2);

  --shadow-glow: 0 0 30px rgba(244, 196, 48, 0.25);

  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);

}



*, *::before, *::after {

  box-sizing: border-box;

  margin: 0;

  padding: 0;

}



body {

  background-color: var(--bg-dark);

  color: var(--text-main);

  font-family: 'Outfit', sans-serif;

  line-height: 1.6;

  min-height: 100vh;

  overflow-x: hidden;

  background-image: 

    radial-gradient(circle at 15% 15%, rgba(157, 78, 221, 0.12) 0%, transparent 40%),

    radial-gradient(circle at 85% 85%, rgba(244, 196, 48, 0.08) 0%, transparent 40%),

    radial-gradient(circle at 50% 50%, rgba(41, 121, 255, 0.05) 0%, transparent 60%);

  background-attachment: fixed;

}



/* NAVBAR */

.navbar {

  position: sticky;

  top: 0;

  z-index: 1000;

  background: rgba(10, 8, 19, 0.85);

  backdrop-filter: blur(20px);

  border-bottom: 1px solid var(--border-glass);

  padding: 0 28px;

  height: 75px;

  display: flex;

  align-items: center;

  justify-content: space-between;

}



.nav-brand {

  display: flex;

  align-items: center;

  gap: 14px;

  text-decoration: none;

}



.nav-logo-badge {

  width: 46px;

  height: 46px;

  border-radius: 12px;

  background: linear-gradient(135deg, #1c1433, #2f1d5e);

  border: 1px solid var(--gold);

  display: flex;

  align-items: center;

  justify-content: center;

  font-size: 24px;

  box-shadow: 0 0 15px var(--gold-glow);

}



.brand-text h1 {

  font-family: 'Cinzel', serif;

  font-size: 20px;

  font-weight: 800;

  letter-spacing: 1.5px;

  color: #fff;

  line-height: 1.1;

}



.brand-text span {

  font-size: 11px;

  text-transform: uppercase;

  letter-spacing: 2.5px;

  color: var(--gold);

  font-weight: 600;

}



.nav-menu {

  display: flex;

  align-items: center;

  gap: 28px;

  list-style: none;

}



.nav-menu a {

  color: var(--text-muted);

  text-decoration: none;

  font-size: 14px;

  font-weight: 500;

  transition: var(--transition);

  padding: 6px 12px;

  border-radius: var(--radius-sm);

}



.nav-menu a:hover, .nav-menu a.active {

  color: #fff;

  background: rgba(255, 255, 255, 0.05);

}



/* BUTTONS */

.btn-gold {

  background: var(--gold-grad);

  color: #000 !important;

  font-weight: 700;

  padding: 12px 24px;

  border-radius: var(--radius-sm);

  border: none;

  cursor: pointer;

  text-decoration: none;

  font-size: 14px;

  display: inline-flex;

  align-items: center;

  gap: 8px;

  box-shadow: 0 4px 15px var(--gold-glow);

  transition: var(--transition);

}



.btn-gold:hover {

  transform: translateY(-2px);

  box-shadow: 0 8px 25px rgba(244, 196, 48, 0.5);

}



.btn-outline {

  background: transparent;

  color: var(--text-main);

  border: 1px solid rgba(255, 255, 255, 0.2);

  padding: 12px 22px;

  border-radius: var(--radius-sm);

  font-weight: 600;

  font-size: 14px;

  cursor: pointer;

  text-decoration: none;

  display: inline-flex;

  align-items: center;

  gap: 8px;

  transition: var(--transition);

}



.btn-outline:hover {

  border-color: var(--gold);

  color: var(--gold);

  background: rgba(244, 196, 48, 0.05);

}



/* ADMIN LAYOUT */

.admin-layout {

  display: flex;

  min-height: 100vh;

}



.admin-sidebar {

  width: 270px;

  background: rgba(14, 11, 25, 0.95);

  backdrop-filter: blur(25px);

  border-right: 1px solid var(--border-glass);

  padding: 24px 16px;

  display: flex;

  flex-direction: column;

  justify-content: space-between;

}



.sidebar-heading {

  font-size: 11px;

  font-weight: 700;

  text-transform: uppercase;

  letter-spacing: 1.5px;

  color: #6d6786;

  padding: 16px 12px 6px 12px;

}



.sidebar-menu {

  list-style: none;

}



.sidebar-menu li a {

  display: flex;

  align-items: center;

  gap: 12px;

  padding: 11px 16px;

  border-radius: var(--radius-sm);

  color: #bbb5d0;

  text-decoration: none;

  font-size: 14px;

  font-weight: 500;

  margin-bottom: 4px;

  transition: var(--transition);

}



.sidebar-menu li a:hover {

  background: rgba(255, 215, 0, 0.08);

  color: var(--gold);

  transform: translateX(4px);

}



.sidebar-menu li a.active {

  background: linear-gradient(90deg, rgba(244, 196, 48, 0.2), rgba(157, 78, 221, 0.15));

  border-left: 3px solid var(--gold);

  color: #fff;

  font-weight: 600;

}



.admin-main {

  flex: 1;

  padding: 35px 45px;

  overflow-y: auto;

}



/* GLASS CARDS */

.glass-card {

  background: var(--bg-card);

  backdrop-filter: blur(16px);

  border: 1px solid var(--border-glass);

  border-radius: var(--radius-sm);

  padding: 14px 18px;

  box-shadow: var(--shadow-card);

  transition: var(--transition);

}



.glass-card:hover {

  border-color: rgba(255, 215, 0, 0.35);

}



/* STATS GRID */

.stats-grid {

  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));

  gap: 20px;

  margin-bottom: 30px;

}



.stat-box {

  background: linear-gradient(145deg, rgba(24, 19, 44, 0.8), rgba(15, 12, 28, 0.9));

  border: 1px solid var(--border-glass);

  border-radius: var(--radius-md);

  padding: 22px;

  position: relative;

  overflow: hidden;

  transition: var(--transition);

}



.stat-box:hover {

  transform: translateY(-4px);

  box-shadow: var(--shadow-glow);

}



.stat-box .stat-icon {

  position: absolute;

  top: 18px;

  right: 18px;

  font-size: 32px;

  opacity: 0.25;

}



.stat-box .stat-num {

  font-size: 32px;

  font-weight: 800;

  font-family: 'Cinzel', serif;

  color: var(--gold);

  margin-top: 6px;

}



.stat-box .stat-label {

  font-size: 13px;

  color: var(--text-muted);

  text-transform: uppercase;

  letter-spacing: 0.8px;

}



/* FORM STYLES */

.form-grid {

  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));

  gap: 8px 12px;

}



.form-group {

  margin-bottom: 8px;

}



.form-label {

  display: block;

  font-size: 11px;

  font-weight: 700;

  text-transform: uppercase;

  letter-spacing: 0.5px;

  color: #cdc7e5;

  margin-bottom: 2px;

}



.form-control {

  width: 100%;

  padding: 4px 8px;

  height: 31px;

  background: rgba(255, 255, 255, 0.05);

  border: 1px solid var(--border-subtle);

  border-radius: 4px;

  color: #fff;

  font-family: inherit;

  font-size: 12px;

  transition: var(--transition);

}



.form-control:focus {

  outline: none;

  border-color: var(--gold);

  background: rgba(255, 255, 255, 0.08);

  box-shadow: 0 0 12px var(--gold-glow);

}



/* LIVE CAMERA MODAL / BOX */

.camera-box {

  background: #000;

  border: 2px dashed var(--gold);

  border-radius: var(--radius-md);

  padding: 15px;

  text-align: center;

  position: relative;

  overflow: hidden;

}



.camera-preview {

  width: 100%;

  max-height: 280px;

  border-radius: var(--radius-sm);

  object-fit: cover;

  background: #111;

}



/* DATA TABLE */

.table-wrap {

  overflow-x: auto;

}



.custom-table {

  width: 100%;

  border-collapse: collapse;

  text-align: left;

}



.custom-table th {

  padding: 14px 16px;

  font-size: 12px;

  text-transform: uppercase;

  letter-spacing: 0.8px;

  color: var(--text-muted);

  border-bottom: 1px solid var(--border-subtle);

  background: rgba(255, 255, 255, 0.02);

}



.custom-table td {

  padding: 14px 16px;

  font-size: 14px;

  border-bottom: 1px solid var(--border-subtle);

  color: var(--text-main);

}



.custom-table tr:hover td {

  background: rgba(255, 215, 0, 0.03);

}



.badge-tag {

  padding: 4px 10px;

  border-radius: var(--radius-full);

  font-size: 11px;

  font-weight: 700;

  text-transform: uppercase;

}



.badge-rudraksh { background: rgba(255, 138, 101, 0.2); color: #ff8a65; }

.badge-gemstone { background: rgba(0, 230, 118, 0.2); color: #00e676; }

.badge-mala { background: rgba(157, 78, 221, 0.2); color: #b388ff; }



/* MODAL OVERLAYS - ULTRA FAST INSTANT ZERO-LAG DISPLAY */

.modal-overlay {
  position: fixed !important;
  top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important;
  width: 100vw !important; height: 100vh !important;
  background: rgba(7, 5, 14, 0.90) !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  z-index: 999999 !important;
  display: none;
  align-items: center !important;
  justify-content: center !important;
  padding: 15px !important;
  overflow-y: auto !important;
  animation: none !important;
  transition: none !important;
  contain: layout style;
}

.modal-overlay.show,
.modal-overlay[style*="display: flex"],
.modal-overlay[style*="display:flex"] {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  animation: none !important;
}



.modal-dialog {

  width: 100%;

  max-width: 680px;

  background: linear-gradient(145deg, rgba(26, 21, 46, 0.98), rgba(16, 13, 30, 0.98));

  border: 1px solid var(--border-glass);

  border-radius: var(--radius-lg);

  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.75), 0 0 35px var(--gold-glow);

  padding: 30px;

  position: relative;

  max-height: 90vh;

  overflow-y: auto;

}



.modal-header {

  display: flex;

  justify-content: space-between;

  align-items: center;

  border-bottom: 1px solid var(--border-subtle);

  padding-bottom: 18px;

  margin-bottom: 22px;

}



.modal-title {

  font-family: 'Cinzel', serif;

  font-size: 20px;

  color: #fff;

  display: flex;

  align-items: center;

  gap: 10px;

}



.modal-close-btn {

  background: rgba(255, 255, 255, 0.08);

  border: 1px solid var(--border-subtle);

  color: #fff;

  width: 34px;

  height: 34px;

  border-radius: 50%;

  cursor: pointer;

  display: flex;

  align-items: center;

  justify-content: center;

  transition: var(--transition);

}

.modal-close-btn:hover {

  background: #ff1744;

  border-color: #ff1744;

}



/* ACTIVE PARTY CARD ON DATA ENTRY FORMS */

.party-active-card {

  background: linear-gradient(135deg, rgba(244, 196, 48, 0.12), rgba(157, 78, 221, 0.15));

  border: 1.5px solid var(--gold);

  border-radius: var(--radius-md);

  padding: 16px 20px;

  margin-bottom: 22px;

  display: flex;

  justify-content: space-between;

  align-items: center;

  flex-wrap: wrap;

  gap: 15px;

  box-shadow: 0 8px 25px rgba(0,0,0,0.3);

}



.party-active-info {

  display: flex;

  align-items: center;

  gap: 15px;

}



.party-avatar {

  width: 48px;

  height: 48px;

  border-radius: 12px;

  background: var(--gold-grad);

  color: #000;

  display: flex;

  align-items: center;

  justify-content: center;

  font-weight: 800;

  font-size: 20px;

  font-family: 'Cinzel', serif;

}



.party-tags-row {

  display: flex;

  gap: 12px;

  flex-wrap: wrap;

  font-size: 13px;

  margin-top: 4px;

  color: #ccc;

}



.party-tag-item {

  background: rgba(0, 0, 0, 0.35);

  padding: 3px 10px;

  border-radius: 6px;

  border: 1px solid var(--border-subtle);

}



/* PARTY INTAKE / SELECTION MODAL CARDS */

.party-pick-list {

  display: flex;

  flex-direction: column;

  gap: 10px;

  max-height: 280px;

  overflow-y: auto;

  margin: 15px 0;

  padding-right: 4px;

}



.party-pick-item {

  background: rgba(255, 255, 255, 0.04);

  border: 1px solid var(--border-subtle);

  border-radius: var(--radius-sm);

  padding: 12px 16px;

  display: flex;

  justify-content: space-between;

  align-items: center;

  cursor: pointer;

  transition: var(--transition);

}



.party-pick-item:hover, .party-pick-item.selected {

  background: rgba(244, 196, 48, 0.15);

  border-color: var(--gold);

  transform: translateX(4px);

}



.work-type-cards {

  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 12px;

  margin: 20px 0;

}



.work-type-card {

  background: rgba(255, 255, 255, 0.04);

  border: 1.5px solid var(--border-subtle);

  border-radius: var(--radius-md);

  padding: 16px 12px;

  text-align: center;

  cursor: pointer;

  transition: var(--transition);

}



.work-type-card:hover, .work-type-card.active {

  border-color: var(--gold);

  background: rgba(244, 196, 48, 0.12);

  transform: translateY(-3px);

  box-shadow: 0 8px 20px var(--gold-glow);

}



.work-type-card i {

  font-size: 28px;

  margin-bottom: 8px;

  display: block;

}



.btn-whatsapp {

  background: #25d366;

  color: #fff;

  border: none;

  padding: 6px 12px;

  border-radius: 6px;

  font-size: 12px;

  font-weight: 600;

  text-decoration: none;

  display: inline-flex;

  align-items: center;

  gap: 6px;

  transition: var(--transition);

}

.btn-whatsapp:hover {

  background: #1eb855;

  color: #fff;

  transform: scale(1.05);

}



/* CERTIFICATE CATEGORY TABS */

.cert-cat-tabs {

  display: flex;

  gap: 10px;

  flex-wrap: wrap;

  margin-bottom: 20px;

}



.cert-cat-tab {

  background: rgba(255, 255, 255, 0.04);

  border: 1.5px solid var(--border-subtle);

  border-radius: var(--radius-sm);

  padding: 10px 18px;

  color: #ccc;

  cursor: pointer;

  font-size: 14px;

  font-weight: 600;

  display: inline-flex;

  align-items: center;

  gap: 8px;

  transition: var(--transition);

}



.cert-cat-tab:hover {

  background: rgba(244, 196, 48, 0.08);

  color: #fff;

  border-color: rgba(244, 196, 48, 0.4);

}



.cert-cat-tab.active {

  background: linear-gradient(135deg, rgba(244, 196, 48, 0.2), rgba(157, 78, 221, 0.2));

  border-color: var(--gold);

  color: #fff;

  box-shadow: 0 0 15px var(--gold-glow);

}



.tab-badge {

  background: rgba(0, 0, 0, 0.4);

  padding: 2px 8px;

  border-radius: var(--radius-full);

  font-size: 11px;

  font-weight: 700;

}



/* BATCH MERGE RANGE BOX (SLEEK & COMPACT INLINE TOOLBAR) */

.merge-range-card {

  margin-top: 14px;

  background: linear-gradient(145deg, rgba(22, 16, 40, 0.96), rgba(12, 9, 24, 0.98));

  border: 1px solid rgba(244, 196, 48, 0.45);

  border-radius: 8px;

  padding: 8px 12px;

  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);

}



.range-inputs-row {

  display: flex;

  align-items: center;

  gap: 8px;

  flex-wrap: wrap;

  margin-top: 8px;

}



.range-box {

  width: 55px;

  height: 28px;

  text-align: center;

  font-family: 'JetBrains Mono', monospace;

  font-size: 12px;

  font-weight: 700;

  color: var(--gold);

  background: rgba(0, 0, 0, 0.5);

  border: 1px solid var(--border-glass);

  border-radius: 4px;

}



.quick-range-btn {

  background: rgba(255, 255, 255, 0.06);

  border: 1px solid rgba(255, 255, 255, 0.12);

  color: #ccc;

  padding: 2px 6px;

  height: 24px;

  border-radius: 4px;

  font-size: 10px;

  cursor: pointer;

  transition: var(--transition);

  display: inline-flex;

  align-items: center;

}

.quick-range-btn:hover {

  background: rgba(244, 196, 48, 0.15);

  color: var(--gold);

  border-color: var(--gold);

}



/* MULTI-PAGE PRINT STACK */

@media print {

  .page-break {

    page-break-after: always;

    break-after: page;

  }

}



/* ==============================================================

   CERTIFICATE DESIGNS & PAPER / CARD SIZES (क्लाइंट अनुसार डिजाइन & साइज)

   ============================================================== */

/* SIZES */

.cert-frame.size-a4 {

  width: 860px;

}



.cert-frame.size-a5 {

  width: 660px;

  padding: 24px 30px;

}

.cert-frame.size-a5 .cert-logo-name { font-size: 22px; }

.cert-frame.size-a5 .cert-title-badge { font-size: 18px; }

.cert-frame.size-a5 .cert-photo-box img { height: 160px; }

.cert-frame.size-a5 .cert-specs-table td { padding: 4px 8px; font-size: 12px; }



.cert-frame.size-a6 {

  width: 500px;

  padding: 18px 22px;

}

.cert-frame.size-a6 .cert-logo-name { font-size: 18px; }

.cert-frame.size-a6 .cert-subtitle { font-size: 9px; letter-spacing: 1px; }

.cert-frame.size-a6 .cert-title-badge { font-size: 15px; margin-top: 5px; }

.cert-frame.size-a6 .cert-body-grid { grid-template-columns: 140px 1fr; gap: 15px; }

.cert-frame.size-a6 .cert-photo-box img { height: 130px; }

.cert-frame.size-a6 .cert-specs-table td { padding: 3px 6px; font-size: 11px; }

.cert-frame.size-a6 .qr-holder img { width: 60px; height: 60px; }

.cert-frame.size-a6 .cert-seal { width: 65px; height: 65px; font-size: 7px; }

.cert-frame.size-a6 .cert-signature { width: 130px; }



/* ==============================================================

   PVC CARD DESIGN & 10-ON-A4 SHEET LAYOUT (MATCHING USER IMAGES)

   ============================================================== */

.pvc-a4-sheet {

  width: 210mm;

  height: 297mm;

  min-height: 297mm;

  max-height: 297mm;

  box-sizing: border-box;

  padding: 10mm 14mm 10mm 14mm;

  display: grid;

  grid-template-columns: repeat(2, 86mm);

  grid-template-rows: repeat(5, 54mm);

  gap: 3.5mm 10mm;

  background: #ffffff;

  margin: 0 auto 30px auto;

  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);

  border: 1px solid #444;

  page-break-after: always;

  break-after: page;

}



.pvc-card-item {

  width: 86mm;

  height: 54mm;

  box-sizing: border-box !important;

  border: 1px solid #c5d4e8;

  border-radius: 3.5px;

  overflow: hidden !important;

  background: #ffffff;

  position: relative !important;

  display: block !important;

  padding: 0 !important;

  margin: 0 !important;

  font-family: 'Roboto', Arial, Helvetica, sans-serif;

  color: #111;

  box-shadow: 0 1px 4px rgba(0,0,0,0.08);

}



.pvc-card-item table td {

  vertical-align: top;

}



@media print {

  .pvc-a4-sheet {

    width: 210mm !important;

    height: 297mm !important;

    min-height: 297mm !important;

    max-height: 297mm !important;

    padding: 10mm 14mm !important;

    margin: 0 !important;

    border: none !important;

    box-shadow: none !important;

    page-break-after: always !important;

    break-after: page !important;

  }

}



/* THEMES / DESIGNS */

/* 1. Royal Gold (Default) */

.cert-frame.design-royal-gold {

  background: #fffdf7 url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23c5a059' fill-opacity='0.04' fill-rule='evenodd'%3E%3Cpath d='M20 20L0 0h40L20 20zm0 0l20 20H0l20-20z'/%3E%3C/g%3E%3C/svg%3E");

  border-color: #1a1224;

  outline-color: #c5a059;

}



/* 2. Compact PVC Card Design */

.cert-frame.design-compact-card {

  background: #ffffff;

  border-color: #15102a;

  outline-color: #00e676;

}

.cert-frame.design-compact-card .cert-title-badge { color: #00b0ff; }

.cert-frame.design-compact-card .cert-header-box { border-bottom-color: #00e676; }



/* 3. Modern Emerald Lab Design */

.cert-frame.design-modern-emerald {

  background: #f7fdf9;

  border-color: #062b1a;

  outline-color: #00c853;

}

.cert-frame.design-modern-emerald .cert-title-badge { color: #00875a; }

.cert-frame.design-modern-emerald .cert-header-box { border-bottom-color: #00c853; }

.cert-frame.design-modern-emerald .cert-photo-box img { border-color: #00c853; }



/* 4. Imperial Navy Platinum Design */

.cert-frame.design-classic-navy {

  background: #f9faff;

  border-color: #0b1c36;

  outline-color: #2979ff;

}

.cert-frame.design-classic-navy .cert-title-badge { color: #1565c0; }

.cert-frame.design-classic-navy .cert-header-box { border-bottom-color: #2979ff; }

.cert-frame.design-classic-navy .cert-photo-box img { border-color: #2979ff; }



/* DESIGN & SIZE PICKER GRIDS */

.design-pick-grid, .size-pick-grid {

  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));

  gap: 10px;

  margin-top: 8px;

}



.design-pick-card, .size-pick-card {

  background: rgba(255, 255, 255, 0.04);

  border: 1.5px solid var(--border-subtle);

  border-radius: var(--radius-sm);

  padding: 12px 10px;

  text-align: center;

  cursor: pointer;

  transition: var(--transition);

}



.design-pick-card:hover, .design-pick-card.active,

.size-pick-card:hover, .size-pick-card.active {

  background: rgba(244, 196, 48, 0.12);

  border-color: var(--gold);

  transform: translateY(-2px);

  box-shadow: 0 6px 15px var(--gold-glow);

}



.design-pick-card strong, .size-pick-card strong {

  display: block;

  font-size: 13px;

  color: #fff;

  margin-top: 4px;

}



.design-pick-card span, .size-pick-card span {

  font-size: 11px;

  color: var(--text-muted);

}



/* CONTINUOUS ENTRY SUCCESS BANNER */

.entry-success-banner {

  background: linear-gradient(135deg, rgba(0, 230, 118, 0.18), rgba(0, 178, 72, 0.25));

  border: 1.5px solid #00e676;

  border-radius: var(--radius-md);

  padding: 14px 20px;

  margin-bottom: 20px;

  display: flex;

  justify-content: space-between;

  align-items: center;

  flex-wrap: wrap;

  gap: 12px;

  box-shadow: 0 8px 25px rgba(0, 230, 118, 0.25);

  animation: fadeIn 0.3s ease;

}



/* CUSTOM CERTIFICATE TEMPLATE IMAGE & CUSTOM SIZE STYLES */

.cert-frame.design-custom-image {

  background-color: #fff;

  background-size: 100% 100% !important;

  background-repeat: no-repeat !important;

  background-position: center !important;

  border: 1px solid rgba(197, 160, 89, 0.4);

  outline: none;

  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.7);

}



.cert-frame.hide-default-decorations {

  border: 1px solid rgba(197, 160, 89, 0.3) !important;

  outline: none !important;

  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.7) !important;

}



.cert-frame.hide-default-decorations .cert-header-box {

  display: none !important;

}



/* COMPACT PROPORTIONAL CARD LAYOUT (FOR PVC CARDS & SMALL CUSTOM SIZES <= 150mm) */

.cert-frame.compact-card-layout {

  padding: 14px 18px !important;

  border-radius: 10px !important;

  box-sizing: border-box !important;

  overflow: hidden !important;

  display: flex !important;

  flex-direction: column !important;

  justify-content: space-between !important;

}



.cert-frame.compact-card-layout .cert-header-box {

  padding-bottom: 5px !important;

  margin-bottom: 6px !important;

  border-bottom: 1.5px solid #c5a059 !important;

}

.cert-frame.compact-card-layout .cert-logo-name {

  font-size: 15px !important;

  letter-spacing: 1px !important;

}

.cert-frame.compact-card-layout .cert-subtitle {

  font-size: 7.5px !important;

  letter-spacing: 1.2px !important;

}

.cert-frame.compact-card-layout .cert-title-badge {

  font-size: 12px !important;

  margin-top: 3px !important;

}



.cert-frame.compact-card-layout .cert-body-grid {

  display: grid !important;

  grid-template-columns: 145px 1fr !important;

  gap: 14px !important;

  align-items: center !important;

  flex: 1 !important;

  min-height: 0 !important;

}



.cert-frame.compact-card-layout .cert-photo-box {

  text-align: center !important;

}

.cert-frame.compact-card-layout .cert-photo-box img {

  width: 135px !important;

  height: 135px !important;

  object-fit: cover !important;

  border-radius: 6px !important;

  border: 2px solid #c5a059 !important;

  background: #f7f7f7 !important;

}

.cert-frame.compact-card-layout #c-photo-caption {

  font-size: 8.5px !important;

  margin-top: 4px !important;

}



.cert-frame.compact-card-layout .cert-specs-table td {

  padding: 2px 5px !important;

  font-size: 11px !important;

  line-height: 1.25 !important;

  border-bottom: 1px dashed rgba(200, 180, 140, 0.5) !important;

}

.cert-frame.compact-card-layout .cert-specs-table td.lbl {

  width: 44% !important;

  font-size: 10.5px !important;

  color: #443725 !important;

}

.cert-frame.compact-card-layout .cert-specs-table td.val {

  font-size: 11px !important;

  color: #000 !important;

}



.cert-frame.compact-card-layout .cert-footer-row {

  margin-top: 6px !important;

  padding-top: 6px !important;

  border-top: 1px solid rgba(216, 199, 157, 0.6) !important;

}

.cert-frame.compact-card-layout .qr-holder img {

  width: 44px !important;

  height: 44px !important;

  border-width: 1.5px !important;

  border-radius: 4px !important;

}

.cert-frame.compact-card-layout .qr-label {

  font-size: 7px !important;

  letter-spacing: 0.5px !important;

  margin-top: 2px !important;

}

.cert-frame.compact-card-layout .cert-seal {

  width: 48px !important;

  height: 48px !important;

  font-size: 6.5px !important;

  border-width: 1.5px !important;

}

.cert-frame.compact-card-layout .cert-signature {

  width: 110px !important;

}

.cert-frame.compact-card-layout .cert-sig-line {

  height: 22px !important;

  font-size: 12px !important;

  margin-bottom: 2px !important;

}

.cert-frame.compact-card-layout .cert-sig-title {

  font-size: 7.5px !important;

}



/* FONT SIZE MODIFIERS */

.cert-frame.font-compact .cert-specs-table td {

  font-size: 10px !important;

  padding: 1.5px 4px !important;

}

.cert-frame.font-compact .cert-specs-table td.lbl {

  font-size: 9.5px !important;

}

.cert-frame.font-large .cert-specs-table td {

  font-size: 12.5px !important;

  padding: 3px 6px !important;

}



.custom-size-inputs-row {

  display: flex;

  align-items: center;

  gap: 10px;

  background: rgba(0, 0, 0, 0.35);

  border: 1px dashed var(--gold);

  border-radius: 6px;

  padding: 8px 12px;

  margin-top: 8px;

  flex-wrap: wrap;

}



.template-upload-card {

  background: rgba(0, 0, 0, 0.3);

  border: 1px dashed var(--border-subtle);

  border-radius: 8px;

  padding: 12px;

  margin-top: 10px;

  display: flex;

  align-items: center;

  gap: 15px;

  flex-wrap: wrap;

}



.template-preview-thumb {

  width: 90px;

  height: 60px;

  border-radius: 6px;

  border: 1px solid var(--border-glass);

  object-fit: cover;

  background: #222;

}



/* ==============================================================

   CERTIFICATE DESIGNER STUDIO & VISUAL LAYOUT WORKSPACE

   ============================================================== */

.designer-workspace {

  display: grid;

  grid-template-columns: 1fr 360px;

  gap: 20px;

  align-items: start;

}



@media (max-width: 1100px) {

  .designer-workspace {

    grid-template-columns: 1fr;

  }

}



.designer-canvas-wrap {

  background: #0d0a1a;

  border: 1.5px solid var(--border-glass);

  border-radius: var(--radius-md);

  padding: 24px;

  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: center;

  position: relative;

  overflow: auto;

  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7);

  min-height: 440px;

}



.designer-card-canvas {

  width: 86mm;

  height: 54mm;

  background: #ffffff;

  border-radius: 4px;

  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.8), 0 0 0 1px #888;

  position: relative;

  overflow: hidden;

  user-select: none;

  touch-action: none;

  box-sizing: border-box !important;

  padding: 0 !important;

  margin: 55px auto;

  transform: scale(1.65);

  transform-origin: center center;

  transition: width 0.2s ease, height 0.2s ease;

}



/* Movable Element Box inside Designer */

.designer-box {

  position: absolute;

  cursor: grab;

  user-select: none;

  box-sizing: border-box;

  transition: box-shadow 0.15s ease, outline-color 0.15s ease;

  z-index: 10;

}



.designer-box:active {

  cursor: grabbing;

}



.designer-box.active-selected {

  outline: 1.5px dashed #00e5ff;

  outline-offset: 1px;

  box-shadow: 0 0 10px rgba(0, 229, 255, 0.5);

  z-index: 30;

}



/* CorelDRAW Style 8-Point Selection Handles */

.resize-handle {

  position: absolute;

  width: 7px;

  height: 7px;

  background: #ffffff;

  border: 1.2px solid #00e5ff;

  border-radius: 1px;

  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);

  z-index: 50;

  display: none;

  pointer-events: auto;

}



.designer-box.active-selected .resize-handle {

  display: block;

}



.handle-nw { top: -4px; left: -4px; cursor: nwse-resize; }

.handle-n  { top: -4px; left: calc(50% - 3.5px); cursor: ns-resize; }

.handle-ne { top: -4px; right: -4px; cursor: nesw-resize; }

.handle-e  { top: calc(50% - 3.5px); right: -4px; cursor: ew-resize; }

.handle-se { bottom: -4px; right: -4px; cursor: nwse-resize; }

.handle-s  { bottom: -4px; left: calc(50% - 3.5px); cursor: ns-resize; }

.handle-sw { bottom: -4px; left: -4px; cursor: nesw-resize; }

.handle-w  { top: calc(50% - 3.5px); left: -4px; cursor: ew-resize; }



.resize-handle:hover {

  background: #ffd700;

  border-color: #000;

  transform: scale(1.3);

}



/* Live Drag Dimension / Position Tooltip */

#designer-drag-tooltip {

  position: absolute;

  background: rgba(10, 8, 24, 0.94);

  border: 1px solid var(--gold);

  color: #ffd700;

  font-family: 'JetBrains Mono', monospace;

  font-size: 9.5px;

  font-weight: 700;

  padding: 3px 8px;

  border-radius: 4px;

  pointer-events: none;

  z-index: 100;

  box-shadow: 0 4px 15px rgba(0,0,0,0.85);

  white-space: nowrap;

  display: none;

}



.designer-box-label {

  position: absolute;

  top: -15px;

  left: 0;

  background: #00e5ff;

  color: #000;

  font-size: 8px;

  font-weight: 800;

  padding: 1px 4px;

  border-radius: 2px;

  white-space: nowrap;

  pointer-events: none;

  opacity: 0.85;

  box-shadow: 0 1px 4px rgba(0,0,0,0.4);

}



.designer-box.active-selected .designer-box-label {

  opacity: 1;

  background: #ffd700;

  color: #000;

}



.element-pill-btn {

  background: rgba(255, 255, 255, 0.05);

  border: 1px solid var(--border-subtle);

  color: #ccc;

  padding: 6px 10px;

  border-radius: 6px;

  font-size: 11px;

  font-weight: 600;

  cursor: pointer;

  transition: var(--transition);

  display: flex;

  align-items: center;

  gap: 5px;

}



.element-pill-btn:hover, .element-pill-btn.active {

  background: rgba(0, 229, 255, 0.15);

  border-color: #00e5ff;

  color: #00e5ff;

}



.coord-slider-row {

  display: grid;

  grid-template-columns: 80px 1fr 50px;

  align-items: center;

  gap: 8px;

  margin-bottom: 10px;

}



.coord-slider-row label {

  font-size: 11px;

  color: #ccc;

  font-weight: 600;

}



.coord-slider-row input[type="range"] {

  accent-color: #00e5ff;

  cursor: pointer;

}



.coord-slider-row input[type="number"] {

  height: 26px;

  font-size: 11px;

  text-align: center;

  background: rgba(0, 0, 0, 0.5);

  border: 1px solid var(--border-glass);

  color: #00e5ff;

  border-radius: 4px;

  font-family: 'JetBrains Mono', monospace;

  font-weight: 700;

}



/* ============================================================== */

/* 1-CLICK SMART PILLS (MODE 2: SMART PILLS STUDIO)               */

/* ============================================================== */

.pill-group {

  display: flex;

  flex-wrap: wrap;

  gap: 3px;

  margin-top: 3px;

}



.smart-micro-pill {

  height: 20px;

  padding: 0 6px;

  background: rgba(255, 255, 255, 0.08);

  border: 1px solid rgba(255, 255, 255, 0.16);

  border-radius: 3px;

  color: #cbd5e1;

  font-size: 9.5px;

  font-weight: 700;

  cursor: pointer;

  display: inline-flex;

  align-items: center;

  gap: 3px;

  line-height: 1;

  transition: all 0.12s ease;

  user-select: none;

}



.smart-micro-pill:hover {

  background: rgba(255, 255, 255, 0.18);

  border-color: #00e5ff;

  color: #00e5ff;

}



.smart-micro-pill.active {

  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);

  color: #ffffff;

  border-color: #0284c7;

  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);

}

.smart-micro-pill.active i { font-size: 7.5px; }



/* 5. GBS Elite Navy & Gold Design (Image 3 Official Match) */

.cert-frame.design-elite-navy {

  background: #ffffff;

  border: 1.5px solid #061224;

  outline: none;

}



/* ============================================================== */

/* 🌟 GBS ELITE NAVY & GOLD CERTIFICATE DESIGN (IMAGE 3 MATCH)    */

/* ============================================================== */

.cert-frame.design-elite-navy {

  background: #ffffff !important;

  color: #0f172a !important;

  border: 1.5px solid #061224 !important;

  box-shadow: 0 10px 30px rgba(6, 18, 36, 0.25) !important;

  position: relative;

  overflow: hidden;

}



.cert-frame.design-elite-navy .cert-header {

  background: #061224 !important;

  border-bottom: 1.5px solid #eab308 !important;

  color: #ffffff !important;

  padding: 6px 14px !important;

  display: flex !important;

  justify-content: space-between !important;

  align-items: center !important;

}



.cert-frame.design-elite-navy .cert-header .cert-brand-title {

  font-family: 'Cinzel', serif !important;

  font-size: 16px !important;

  font-weight: 800 !important;

  color: #ffffff !important;

  letter-spacing: 0.8px !important;

}



.cert-frame.design-elite-navy .cert-badge-gold {

  color: #eab308 !important;

  font-weight: 700 !important;

  font-size: 11px !important;

  letter-spacing: 0.5px !important;

  text-transform: uppercase !important;

}



.cert-frame.design-elite-navy .cert-table td {

  border-color: #e2e8f0 !important;

  font-size: 11px !important;

  padding: 4px 8px !important;

  color: #1e293b !important;

}



.cert-frame.design-elite-navy .cert-table td.cert-lbl {

  color: #64748b !important;

  font-weight: 600 !important;

}



.cert-frame.design-elite-navy .cert-table td.cert-val {

  color: #0f172a !important;

  font-weight: 700 !important;

}



.cert-frame.design-elite-navy .cert-val-cyan {

  color: #0284c7 !important;

  font-weight: 800 !important;

}



.cert-frame.design-elite-navy .cert-val-green {

  color: #15803d !important;

  font-weight: 800 !important;

}



/* ============================================================== */

/* 📱 RESTORE DOWN / FLOATING WINDOW OPTIMIZATIONS (900px-1180px) */

/* ============================================================== */

@media (max-width: 1180px) {

  .admin-sidebar {

    width: 215px !important;

    padding: 16px 10px !important;

    transition: width 0.2s ease !important;

    flex-shrink: 0 !important;

  }

  .admin-sidebar .sidebar-heading {

    padding: 10px 8px 4px 8px !important;

    font-size: 9.5px !important;

  }

  .admin-sidebar li a {

    padding: 8px 10px !important;

    font-size: 12px !important;

    gap: 8px !important;

    white-space: nowrap !important;

    overflow: hidden !important;

    text-overflow: ellipsis !important;

  }

  .admin-main {

    padding: 12px 14px !important;

  }

  .form-control {

    height: 29px !important;

    padding: 3px 8px !important;

    font-size: 11.5px !important;

  }

  .glass-card {

    padding: 12px 14px !important;

    margin-bottom: 12px !important;

  }

  .form-grid {

    gap: 8px 12px !important;

  }

  .form-group {

    margin-bottom: 8px !important;

  }

  .form-label {

    font-size: 11px !important;

    margin-bottom: 3px !important;

  }

}





/* ============================================================== */

/* SMART MICRO PILL BUTTONS (DARK GOLD LAB THEME)                 */

/* ============================================================== */

.pill-group {

  display: flex;

  flex-wrap: wrap;

  gap: 5px;

  margin-top: 5px;

}

.smart-micro-pill {

  padding: 3px 9px;

  font-size: 11px;

  font-weight: 600;

  border-radius: 4px;

  border: 1px solid rgba(255, 215, 0, 0.25);

  background: rgba(255, 255, 255, 0.04);

  color: #e0e0e0;

  cursor: pointer;

  display: inline-flex;

  align-items: center;

  gap: 4px;

  transition: all 0.15s ease;

}

.smart-micro-pill:hover {

  background: rgba(244, 196, 48, 0.15);

  border-color: var(--gold);

  color: var(--gold);

  transform: translateY(-1px);

}

.smart-micro-pill.active {

  background: var(--gold);

  border-color: var(--gold);

  color: #0b0814;

  font-weight: 800;

  box-shadow: 0 0 8px rgba(244, 196, 48, 0.4);

}







/* ========================================================================== */

/* ☀️ GBS DAYLIGHT CLINICAL WHITE THEME (PRECISION MEDICAL/GEMOLOGICAL STUDIO) */

/* ========================================================================== */

body.theme-daylight {

  --bg-dark: #f8fafc;

  --bg-card: #ffffff;

  --bg-card-hover: #f1f5f9;

  --border-glass: #e2e8f0;

  --border-subtle: #cbd5e1;

  --text-main: #0f172a;

  --text-muted: #64748b;

  --text-dark: #0f172a;

  --gold: #d97706;

  --gold-glow: rgba(217, 119, 6, 0.15);

  --gold-grad: linear-gradient(135deg, #d97706 0%, #b45309 100%);

  --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);

  background-color: #f1f5f9 !important;

  background-image: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%) !important;

  color: #0f172a !important;

}



/* TOP NAVBAR */

body.theme-daylight .navbar {

  background: rgba(255, 255, 255, 0.98) !important;

  border-bottom: 1.5px solid #e2e8f0 !important;

  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05) !important;

}

body.theme-daylight .nav-brand h1 {

  color: #0284c7 !important;

}

body.theme-daylight .nav-brand span {

  color: #64748b !important;

}

body.theme-daylight .nav-menu a {

  color: #334155 !important;

}

body.theme-daylight .nav-menu a:hover,

body.theme-daylight .nav-menu a.active {

  background: #eff6ff !important;

  color: #0284c7 !important;

  border-color: #0284c7 !important;

}



/* ADMIN SIDEBAR */

body.theme-daylight .admin-sidebar {

  background: #ffffff !important;

  border-right: 1.5px solid #e2e8f0 !important;

  box-shadow: 2px 0 8px rgba(15, 23, 42, 0.03) !important;

}

body.theme-daylight .admin-sidebar .sidebar-heading {

  color: #94a3b8 !important;

  font-weight: 800 !important;

}

body.theme-daylight .admin-sidebar .sidebar-menu li a {

  color: #334155 !important;

}

body.theme-daylight .admin-sidebar .sidebar-menu li a:hover {

  background: #f1f5f9 !important;

  color: #0284c7 !important;

}

body.theme-daylight .admin-sidebar .sidebar-menu li a.active {

  background: #eff6ff !important;

  color: #0284c7 !important;

  font-weight: 700 !important;

  border-left: 3.5px solid #0284c7 !important;

}

body.theme-daylight #backup-reminder-sidebar-widget {

  background: #f8fafc !important;

  border: 1px solid #e2e8f0 !important;

}

body.theme-daylight #sidebar-backup-time-display {

  color: #334155 !important;

}



/* ADMIN MAIN AREA */

body.theme-daylight .admin-main {

  background: #f8fafc !important;

}



/* CARDS & CONTAINERS */

body.theme-daylight .glass-card {

  background: #ffffff !important;

  border: 1.5px solid #e2e8f0 !important;

  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06) !important;

  backdrop-filter: none !important;

}

body.theme-daylight .glass-card h1,

body.theme-daylight .glass-card h2,

body.theme-daylight .glass-card h3,

body.theme-daylight .admin-main h1,

body.theme-daylight .admin-main h2,

body.theme-daylight .admin-main h3 {

  color: #0f172a !important;

}

body.theme-daylight .glass-card p,

body.theme-daylight .admin-main p {

  color: #64748b !important;

}



/* FORM LABELS & HEADINGS */

body.theme-daylight .form-label {

  color: #334155 !important;

  font-weight: 700 !important;

}

body.theme-daylight strong,

body.theme-daylight b {

  color: #0f172a !important;

}



/* INPUTS & SELECTS */

body.theme-daylight .form-control,

body.theme-daylight input:not([type="button"]):not([type="submit"]):not([type="checkbox"]):not([type="radio"]),

body.theme-daylight select,

body.theme-daylight textarea {

  background: #ffffff !important;

  border: 1.5px solid #cbd5e1 !important;

  color: #0f172a !important;

  border-radius: 6px !important;

}

body.theme-daylight .form-control:focus,

body.theme-daylight select:focus,

body.theme-daylight input:focus {

  border-color: #0284c7 !important;

  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15) !important;

  outline: none !important;

}

body.theme-daylight select option {

  background: #ffffff !important;

  color: #0f172a !important;

}



/* ACTIVE LINKED PARTY CARD */

body.theme-daylight .party-active-card,

body.theme-daylight #rdk-active-party-card,

body.theme-daylight #gem-active-party-card,

body.theme-daylight #mala-active-party-card,

body.theme-daylight #jewel-active-party-card {

  background: #ffffff !important;

  border: 1.5px solid #e2e8f0 !important;

  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05) !important;

}

body.theme-daylight .party-tag-item {

  background: #f1f5f9 !important;

  border: 1px solid #e2e8f0 !important;

  color: #334155 !important;

}

body.theme-daylight .party-tag-item span,

body.theme-daylight .party-tag-item strong {

  color: #0f172a !important;

}



/* MASTER PRESET AUTO-FILL BAR */

body.theme-daylight div[style*="background:rgba(255,138,101,0.08)"],

body.theme-daylight div[style*="background: rgba(255, 138, 101, 0.08)"] {

  background: #fff7ed !important;

  border: 1.5px solid #fed7aa !important;

}

body.theme-daylight div[style*="background:rgba(0,230,118,0.08)"],

body.theme-daylight div[style*="background: rgba(0, 230, 118, 0.08)"] {

  background: #f0fdf4 !important;

  border: 1.5px solid #bbf7d0 !important;

}

body.theme-daylight div[style*="background:rgba(179,136,255,0.08)"],

body.theme-daylight div[style*="background: rgba(179, 136, 255, 0.08)"] {

  background: #faf5ff !important;

  border: 1.5px solid #e9d5ff !important;

}



/* MATERIAL MASTER SELECTION BOX */

body.theme-daylight div[style*="background:rgba(92,107,192,0.1)"],

body.theme-daylight div[style*="background: rgba(92, 107, 192, 0.1)"] {

  background: #eff6ff !important;

  border: 1.5px solid #bfdbfe !important;

}



/* CARAT RATTI CONVERTER BOX */

body.theme-daylight div[style*="radial-gradient(ellipse at top, #151124"] {

  background: #ffffff !important;

  border: 1.5px solid #e2e8f0 !important;

  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05) !important;

}

body.theme-daylight input#rdk-weight-carat,

body.theme-daylight input#gem-weight-carat,

body.theme-daylight input#mala-weight-carat {

  background: #eff6ff !important;

  border: 1.8px solid #0284c7 !important;

  color: #0284c7 !important;

}

body.theme-daylight input#rdk-weight-ratti,

body.theme-daylight input#gem-weight-ratti,

body.theme-daylight input#mala-weight-ratti {

  background: #fffbeb !important;

  border: 1.8px solid #d97706 !important;

  color: #b45309 !important;

}

body.theme-daylight input#rdk-weight-gram,

body.theme-daylight input#gem-weight-gram,

body.theme-daylight input#mala-weight-gram {

  background: #f8fafc !important;

  border: 1.5px solid #cbd5e1 !important;

  color: #334155 !important;

}



/* SMART MICRO PILLS IN DAYLIGHT THEME */

body.theme-daylight .smart-micro-pill {

  background: #ffffff !important;

  border: 1.2px solid #cbd5e1 !important;

  color: #334155 !important;

  font-weight: 600 !important;

}

body.theme-daylight .smart-micro-pill:hover {

  background: #eff6ff !important;

  border-color: #0284c7 !important;

  color: #0284c7 !important;

}

body.theme-daylight .smart-micro-pill.active {

  background: #0284c7 !important;

  border-color: #0284c7 !important;

  color: #ffffff !important;

  font-weight: 700 !important;

  box-shadow: 0 1px 3px rgba(2, 132, 199, 0.3) !important;

}



/* STAT BOXES (DASHBOARD) */

body.theme-daylight .stat-box {

  background: #ffffff !important;

  border: 1.5px solid #e2e8f0 !important;

  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05) !important;

}

body.theme-daylight .stat-box .stat-label {

  color: #64748b !important;

}

body.theme-daylight .stat-box .stat-num {

  color: #0f172a !important;

}



/* DATA TABLES */

body.theme-daylight .data-table {

  background: #ffffff !important;

  border: 1.5px solid #e2e8f0 !important;

}

body.theme-daylight .data-table th {

  background: #f8fafc !important;

  color: #475569 !important;

  border-bottom: 1.5px solid #e2e8f0 !important;

}

body.theme-daylight .data-table td {

  border-bottom: 1px solid #f1f5f9 !important;

  color: #1e293b !important;

}

body.theme-daylight .data-table tr:hover td {

  background: #f8fafc !important;

}



/* X-RAY STUDIO TOOLBAR IN DAYLIGHT */

body.theme-daylight div[style*="background:rgba(20,16,36,0.85)"],

body.theme-daylight div[style*="background: rgba(20, 16, 36, 0.85)"] {

  background: #ffffff !important;

  border: 1.5px solid #e2e8f0 !important;

  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05) !important;

}



/* OUTLINE BUTTONS */

body.theme-daylight .btn-outline {

  border-color: #cbd5e1 !important;

  color: #334155 !important;

  background: #ffffff !important;

}

body.theme-daylight .btn-outline:hover {

  background: #f1f5f9 !important;

  border-color: #0284c7 !important;

  color: #0284c7 !important;

}





/* ==============================================================

   🌟 GBS RESPONSIVE RESTORED WINDOW & MULTI-THEME ENGINE

   ============================================================== */



/* 1. SIDEBAR TOGGLE & COLLAPSED STYLES */

.sidebar-toggle-btn {

  background: rgba(255, 255, 255, 0.08);

  border: 1.5px solid var(--border-glass);

  color: var(--text-main);

  padding: 6px 10px;

  border-radius: 8px;

  cursor: pointer;

  display: inline-flex;

  align-items: center;

  justify-content: center;

  font-size: 14px;

  transition: all 0.2s ease;

  margin-right: 8px;

}

.sidebar-toggle-btn:hover {

  background: rgba(255, 255, 255, 0.15);

  transform: scale(1.05);

}



.admin-sidebar {

  transition: width 0.22s cubic-bezier(0.4, 0, 0.2, 1), min-width 0.22s ease, padding 0.22s ease !important;

}



/* Strict Clean Collapsed Mode - zero overflow */

.admin-sidebar.collapsed {

  width: 60px !important;

  min-width: 60px !important;

  max-width: 60px !important;

  padding: 14px 6px !important;

  overflow: hidden !important;

  box-sizing: border-box !important;

  flex: 0 0 60px !important;

}

.admin-sidebar.collapsed .menu-text,

.admin-sidebar.collapsed .sidebar-quick-actions,

.admin-sidebar.collapsed .sidebar-user-details,

.admin-sidebar.collapsed .sidebar-heading,

.admin-sidebar.collapsed #backup-reminder-sidebar-widget,

.admin-sidebar.collapsed .party-active-info,

.admin-sidebar.collapsed .sidebar-btn-text,

.admin-sidebar.collapsed .badge-tag,

.admin-sidebar.collapsed div[style*="margin: 0 0 10px 0"],

.admin-sidebar.collapsed div[style*="margin: 18px 0 8px 0"],

.admin-sidebar.collapsed div[style*="margin: 0 0 12px 0"],

.admin-sidebar.collapsed div[style*="margin: 0 0 14px 0"],

.admin-sidebar.collapsed div[style*="margin: -4px 0 14px 0"],

.admin-sidebar.collapsed .btn-outline {

  display: none !important;

}

.admin-sidebar.collapsed .nav-logo-badge {

  margin: 0 auto !important;

  width: 34px !important;

  height: 34px !important;

  font-size: 16px !important;

}

.admin-sidebar.collapsed .sidebar-menu {

  display: flex !important;

  flex-direction: column !important;

  gap: 8px !important;

  padding: 10px 0 !important;

  list-style: none !important;

}

.admin-sidebar.collapsed .sidebar-menu li {

  margin: 0 !important;

  text-align: center !important;

}

.admin-sidebar.collapsed .sidebar-menu li a {

  justify-content: center !important;

  align-items: center !important;

  padding: 11px 0 !important;

  width: 44px !important;

  height: 44px !important;

  margin: 0 auto !important;

  border-radius: 8px !important;

  overflow: hidden !important;

  white-space: nowrap !important;

  display: flex !important;

}

.admin-sidebar.collapsed .sidebar-menu li a i {

  font-size: 20px !important;

  color: inherit !important;

  margin: 0 auto !important;

  display: inline-block !important;

}

.admin-sidebar.collapsed .sidebar-collapse-btn {

  margin: 0 auto !important;

  display: flex !important;

  justify-content: center !important;

  width: 100% !important;

}



/* 2. RESTORED WINDOW RESPONSIVENESS - GUARANTEED SIDE-BY-SIDE (DATA ENTRY + CAMERA) */

.form-resizable-container {

  display: flex !important;

  flex-direction: row !important;

  flex-wrap: nowrap !important;

  width: 100% !important;

  max-width: 100% !important;

  box-sizing: border-box !important;

  align-items: stretch !important;

}



@media (max-width: 1366px) {

  .admin-sidebar:not(.collapsed) {

    width: 195px !important;

    padding: 12px 8px !important;

    flex: 0 0 195px !important;

  }

  .admin-sidebar .sidebar-heading {

    padding: 8px 6px 4px 6px !important;

    font-size: 9.5px !important;

  }

  .admin-sidebar li a {

    padding: 7px 8px !important;

    font-size: 11.5px !important;

    gap: 6px !important;

  }

  .admin-main {

    padding: 10px 14px !important;

    overflow-x: hidden !important;

  }

  

  /* Side-by-side columns: Form Left + Camera Right */

  .form-resizable-container {

    display: flex !important;

    flex-direction: row !important;

    flex-wrap: nowrap !important;

    width: 100% !important;

    gap: 0 !important;

  }

  .form-left-col {

    flex: 0 0 47% !important;

    min-width: 320px !important;

    max-width: 530px !important;

    box-sizing: border-box !important;

    padding: 10px 12px !important;

  }

  .form-right-col {

    flex: 1 1 0 !important;

    min-width: 270px !important;

    box-sizing: border-box !important;

    padding-left: 10px !important;

    overflow: visible !important;

  }

  

  /* Fluid Camera Specimen Viewport */

  #specimen-viewport-wrap,

  .specimen-viewport-wrap {

    width: 100% !important;

    max-width: 100% !important;

    height: auto !important;

    aspect-ratio: 4 / 3 !important;

    max-height: 230px !important;

    box-sizing: border-box !important;

    margin: 0 auto !important;

  }

  

  /* Compact Inputs & Labels in Restored Window */

  .form-control {

    height: 30px !important;

    padding: 3px 8px !important;

    font-size: 12px !important;

  }

  .form-label {

    font-size: 11px !important;

    margin-bottom: 2px !important;

  }

  .form-group {

    margin-bottom: 7px !important;

  }

  .glass-card {

    padding: 10px 12px !important;

  }

  

  /* Compact Carat ⇄ Ratti Converter */

  div[style*="radial-gradient(ellipse at top, #151124"] {

    padding: 10px !important;

    margin-bottom: 10px !important;

  }

  div[style*="grid-template-columns: 1fr 34px 1fr 1fr"] {

    display: grid !important;

    grid-template-columns: 1fr auto 1fr 1fr !important;

    gap: 4px !important;

    align-items: center !important;

  }

  input#rdk-weight-carat,

  input#rdk-weight-ratti,

  input#rdk-weight-gram,

  input#gem-weight-carat,

  input#gem-weight-ratti,

  input#gem-weight-gram,

  input#mala-weight-carat,

  input#mala-weight-ratti,

  input#mala-weight-gram {

    font-size: 13px !important;

    padding: 5px 6px !important;

    height: 32px !important;

  }

  

  /* Party Card Compact */

  .party-active-card {

    padding: 8px 10px !important;

    margin-bottom: 10px !important;

  }

  .party-tags-row {

    flex-wrap: wrap !important;

    gap: 4px !important;

  }

  .party-tag-item {

    font-size: 10.5px !important;

    padding: 2px 6px !important;

  }

  

  /* Navbar Compact */

  .navbar {

    padding: 6px 12px !important;

  }

  .brand-text h1 {

    font-size: 14px !important;

  }

  .brand-text span {

    display: none !important;

  }

  .nav-menu {

    gap: 4px !important;

  }

  .nav-menu li a {

    padding: 4px 6px !important;

    font-size: 11px !important;

    gap: 4px !important;

  }

}



@media (max-width: 1050px) {

  .admin-sidebar:not(.collapsed) {

    width: 165px !important;

    flex: 0 0 165px !important;

  }

  .form-left-col {

    flex: 1 1 50% !important;

    max-width: 510px !important;

  }

  .form-right-col {

    flex: 1 1 0 !important;

    min-width: 240px !important;

  }

  #specimen-viewport-wrap {

    max-height: 200px !important;

  }

}



/* 3. THEME PICKER DROPDOWN PALETTE */

.theme-picker-container {

  position: relative;

  display: inline-block;

}

.theme-picker-btn {

  padding: 6px 12px;

  font-size: 12px;

  font-weight: 700;

  border-radius: 8px;

  cursor: pointer;

  display: inline-flex;

  align-items: center;

  gap: 7px;

  border: 1.5px solid var(--border-glass);

  background: rgba(255, 255, 255, 0.08);

  color: var(--text-main);

  transition: all 0.2s ease;

}

.theme-picker-btn:hover {

  background: rgba(255, 255, 255, 0.15);

  transform: translateY(-1px);

}

.theme-dropdown-palette {

  position: absolute;

  top: calc(100% + 8px);

  right: 0;

  width: 290px;

  background: #141221;

  border: 1.5px solid rgba(255, 215, 0, 0.35);

  border-radius: 12px;

  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8), 0 0 20px rgba(255, 215, 0, 0.15);

  z-index: 99999;

  padding: 10px;

  backdrop-filter: blur(16px);

  animation: fadeInMenu 0.18s ease-out;

}

@keyframes fadeInMenu {

  from { opacity: 0; transform: translateY(-8px); }

  to { opacity: 1; transform: translateY(0); }

}

.theme-palette-header {

  display: flex;

  justify-content: space-between;

  align-items: center;

  padding: 4px 8px 10px 8px;

  border-bottom: 1px solid rgba(255, 255, 255, 0.1);

  font-size: 12px;

  font-weight: 800;

  color: #ffd700;

  text-transform: uppercase;

  letter-spacing: 0.5px;

}

.theme-palette-list {

  display: flex;

  flex-direction: column;

  gap: 6px;

  margin-top: 8px;

}

.theme-palette-item {

  display: flex;

  align-items: center;

  gap: 10px;

  padding: 8px 10px;

  border-radius: 8px;

  cursor: pointer;

  background: rgba(255, 255, 255, 0.03);

  border: 1px solid transparent;

  transition: all 0.15s ease;

}

.theme-palette-item:hover {

  background: rgba(255, 255, 255, 0.1);

  border-color: rgba(255, 215, 0, 0.4);

  transform: translateX(2px);

}

.theme-palette-item.active {

  background: rgba(255, 215, 0, 0.12);

  border-color: #ffd700;

}

.theme-color-dots {

  display: flex;

  gap: 3px;

  align-items: center;

  flex-shrink: 0;

}

.theme-color-dots span {

  width: 14px;

  height: 14px;

  border-radius: 50%;

  box-shadow: 0 1px 3px rgba(0,0,0,0.4);

}

.theme-item-text {

  flex: 1;

  display: flex;

  flex-direction: column;

  line-height: 1.25;

}

.theme-dropdown-palette {

  background: #141221 !important;

  border: 1.5px solid rgba(255, 215, 0, 0.35) !important;

}

body.theme-daylight .theme-dropdown-palette,

body.theme-amber .theme-dropdown-palette {

  background: #ffffff !important;

  border-color: #cbd5e1 !important;

  box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;

}

.theme-item-text strong {

  font-size: 12.5px !important;

  color: #f8fafc !important;

  font-weight: 700 !important;

}

.theme-item-text span {

  font-size: 11px !important;

  color: #94a3b8 !important;

}

body.theme-daylight .theme-item-text strong,

body.theme-amber .theme-item-text strong {

  color: #0f172a !important;

}

body.theme-daylight .theme-item-text span,

body.theme-amber .theme-item-text span {

  color: #64748b !important;

}

body.theme-daylight .theme-palette-header,

body.theme-amber .theme-palette-header {

  color: #0284c7 !important;

  border-bottom-color: #e2e8f0 !important;

}

body.theme-daylight .theme-palette-item,

body.theme-amber .theme-palette-item {

  background: #f8fafc !important;

}

body.theme-daylight .theme-palette-item:hover,

body.theme-amber .theme-palette-item:hover {

  background: #eff6ff !important;

  border-color: #0284c7 !important;

}

body.theme-daylight .theme-palette-item.active,

body.theme-amber .theme-palette-item.active {

  background: #e0f2fe !important;

  border-color: #0284c7 !important;

}

.theme-check {

  font-size: 12px;

  color: #ffd700;

  opacity: 0;

}

.theme-palette-item.active .theme-check {

  opacity: 1;

}



/* ==============================================================

   🎨 THEME 3: SAPPHIRE LAB BLUE (HIGH-TECH DIGITAL GEMOLOGY)

   ============================================================== */

body.theme-sapphire {

  --bg-dark: #080e1e;

  --bg-card: #0c1833;

  --bg-card-hover: #112247;

  --border-glass: rgba(56, 189, 248, 0.28);

  --border-subtle: rgba(56, 189, 248, 0.12);

  --text-main: #f0f9ff;

  --text-muted: #94a3b8;

  --gold: #38bdf8;

  --gold-glow: rgba(56, 189, 248, 0.25);

  --gold-grad: linear-gradient(135deg, #0284c7 0%, #38bdf8 100%);

  background-color: #080e1e !important;

  background-image: radial-gradient(circle at top, #0d1b3a 0%, #060b17 100%) !important;

  color: #f0f9ff !important;

}

body.theme-sapphire .navbar {

  background: rgba(10, 19, 41, 0.95) !important;

  border-bottom: 1.5px solid rgba(56, 189, 248, 0.25) !important;

}

body.theme-sapphire .nav-brand h1 { color: #38bdf8 !important; }

body.theme-sapphire .admin-sidebar {

  background: #091326 !important;

  border-right: 1.5px solid rgba(56, 189, 248, 0.2) !important;

}

body.theme-sapphire .admin-sidebar .sidebar-menu li a:hover,

body.theme-sapphire .admin-sidebar .sidebar-menu li a.active {

  background: rgba(56, 189, 248, 0.15) !important;

  color: #38bdf8 !important;

  border-left: 3px solid #38bdf8 !important;

}

body.theme-sapphire .glass-card {

  background: #0d1a36 !important;

  border: 1.5px solid rgba(56, 189, 248, 0.22) !important;

  box-shadow: 0 4px 20px rgba(4, 9, 22, 0.6) !important;

}

body.theme-sapphire .form-control,

body.theme-sapphire select,

body.theme-sapphire input:not([type="button"]):not([type="submit"]):not([type="checkbox"]):not([type="radio"]) {

  background: #071024 !important;

  border: 1.5px solid rgba(56, 189, 248, 0.35) !important;

  color: #f0f9ff !important;

}

body.theme-sapphire .form-control:focus,

body.theme-sapphire select:focus {

  border-color: #38bdf8 !important;

  box-shadow: 0 0 10px rgba(56, 189, 248, 0.3) !important;

}

body.theme-sapphire .smart-micro-pill {

  background: #091326 !important;

  border: 1.2px solid rgba(56, 189, 248, 0.3) !important;

  color: #93c5fd !important;

}

body.theme-sapphire .smart-micro-pill.active {

  background: #0284c7 !important;

  border-color: #38bdf8 !important;

  color: #ffffff !important;

  box-shadow: 0 0 10px rgba(56, 189, 248, 0.4) !important;

}

body.theme-sapphire .theme-dropdown-palette {

  background: #0a142c !important;

  border-color: #38bdf8 !important;

}



/* ==============================================================

   🎨 THEME 4: VEDIC SANDAL & AMBER (SPIRITUAL IVORY & SAFFRON)

   ============================================================== */

body.theme-amber {

  --bg-dark: #faf6ee;

  --bg-card: #ffffff;

  --bg-card-hover: #f7f1e5;

  --border-glass: #e7ddcb;

  --border-subtle: #d6c4a8;

  --text-main: #2d1b0d;

  --text-muted: #78593a;

  --text-dark: #2d1b0d;

  --gold: #b45309;

  --gold-glow: rgba(180, 83, 9, 0.2);

  --gold-grad: linear-gradient(135deg, #d97706 0%, #b45309 100%);

  background-color: #faf6ee !important;

  background-image: linear-gradient(180deg, #fdfbf7 0%, #f4eee2 100%) !important;

  color: #2d1b0d !important;

}

body.theme-amber .navbar {

  background: rgba(255, 253, 249, 0.98) !important;

  border-bottom: 1.5px solid #e7ddcb !important;

  box-shadow: 0 1px 4px rgba(69, 36, 12, 0.06) !important;

}

body.theme-amber .nav-brand h1 { color: #b45309 !important; }

body.theme-amber .nav-brand span { color: #78593a !important; }

body.theme-amber .nav-menu a { color: #45240c !important; }

body.theme-amber .nav-menu a:hover,

body.theme-amber .nav-menu a.active {

  background: #fbf0dc !important;

  color: #b45309 !important;

  border-color: #b45309 !important;

}

body.theme-amber .admin-sidebar {

  background: #ffffff !important;

  border-right: 1.5px solid #e7ddcb !important;

}

body.theme-amber .admin-sidebar .sidebar-heading { color: #a17a52 !important; }

body.theme-amber .admin-sidebar .sidebar-menu li a { color: #45240c !important; }

body.theme-amber .admin-sidebar .sidebar-menu li a:hover,

body.theme-amber .admin-sidebar .sidebar-menu li a.active {

  background: #fbf0dc !important;

  color: #b45309 !important;

  border-left: 3.5px solid #b45309 !important;

}

body.theme-amber .admin-main { background: #faf6ee !important; }

body.theme-amber .glass-card {

  background: #ffffff !important;

  border: 1.5px solid #e7ddcb !important;

  box-shadow: 0 2px 8px rgba(69, 36, 12, 0.05) !important;

  backdrop-filter: none !important;

}

body.theme-amber .glass-card h1,

body.theme-amber .glass-card h2,

body.theme-amber .glass-card h3,

body.theme-amber .admin-main h1,

body.theme-amber .admin-main h2,

body.theme-amber .admin-main h3 {

  color: #2d1b0d !important;

}

body.theme-amber .glass-card p,

body.theme-amber .admin-main p { color: #78593a !important; }

body.theme-amber .form-label { color: #45240c !important; }

body.theme-amber strong, body.theme-amber b { color: #2d1b0d !important; }

body.theme-amber .form-control,

body.theme-amber select,

body.theme-amber textarea,

body.theme-amber input:not([type="button"]):not([type="submit"]):not([type="checkbox"]):not([type="radio"]) {

  background: #ffffff !important;

  border: 1.5px solid #d6c4a8 !important;

  color: #2d1b0d !important;

}

body.theme-amber .form-control:focus,

body.theme-amber select:focus {

  border-color: #b45309 !important;

  box-shadow: 0 0 0 3px rgba(180, 83, 9, 0.15) !important;

}

body.theme-amber .smart-micro-pill {

  background: #ffffff !important;

  border: 1.2px solid #d6c4a8 !important;

  color: #78593a !important;

}

body.theme-amber .smart-micro-pill.active {

  background: #b45309 !important;

  border-color: #b45309 !important;

  color: #ffffff !important;

}

body.theme-amber .theme-dropdown-palette {

  background: #ffffff !important;

  border-color: #b45309 !important;

}

body.theme-amber .theme-palette-header { color: #b45309 !important; }

body.theme-amber .theme-item-text strong { color: #2d1b0d !important; }

body.theme-amber .theme-palette-item { background: #faf6ee !important; }

body.theme-amber .theme-palette-item:hover { background: #fbf0dc !important; }

body.theme-amber .theme-palette-item.active { background: #fbf0dc !important; border-color: #b45309 !important; }



/* ==============================================================

   🎨 THEME 5: EMERALD NATURE GREEN (JADE & FORESTRY GEMOLOGY)

   ============================================================== */

body.theme-emerald {

  --bg-dark: #04130d;

  --bg-card: #092218;

  --bg-card-hover: #0e3022;

  --border-glass: rgba(16, 185, 129, 0.28);

  --border-subtle: rgba(16, 185, 129, 0.12);

  --text-main: #ecfdf5;

  --text-muted: #6ee7b7;

  --gold: #10b981;

  --gold-glow: rgba(16, 185, 129, 0.25);

  --gold-grad: linear-gradient(135deg, #059669 0%, #10b981 100%);

  background-color: #04130d !important;

  background-image: radial-gradient(circle at top, #08261b 0%, #030d09 100%) !important;

  color: #ecfdf5 !important;

}

body.theme-emerald .navbar {

  background: rgba(6, 25, 17, 0.95) !important;

  border-bottom: 1.5px solid rgba(16, 185, 129, 0.25) !important;

}

body.theme-emerald .nav-brand h1 { color: #34d399 !important; }

body.theme-emerald .admin-sidebar {

  background: #051a12 !important;

  border-right: 1.5px solid rgba(16, 185, 129, 0.2) !important;

}

body.theme-emerald .admin-sidebar .sidebar-menu li a:hover,

body.theme-emerald .admin-sidebar .sidebar-menu li a.active {

  background: rgba(16, 185, 129, 0.15) !important;

  color: #34d399 !important;

  border-left: 3px solid #10b981 !important;

}

body.theme-emerald .glass-card {

  background: #092419 !important;

  border: 1.5px solid rgba(16, 185, 129, 0.22) !important;

  box-shadow: 0 4px 20px rgba(2, 14, 9, 0.6) !important;

}

body.theme-emerald .form-control,

body.theme-emerald select,

body.theme-emerald input:not([type="button"]):not([type="submit"]):not([type="checkbox"]):not([type="radio"]) {

  background: #041710 !important;

  border: 1.5px solid rgba(16, 185, 129, 0.35) !important;

  color: #ecfdf5 !important;

}

body.theme-emerald .form-control:focus,

body.theme-emerald select:focus {

  border-color: #10b981 !important;

  box-shadow: 0 0 10px rgba(16, 185, 129, 0.3) !important;

}

body.theme-emerald .smart-micro-pill {

  background: #051a12 !important;

  border: 1.2px solid rgba(16, 185, 129, 0.3) !important;

  color: #a7f3d0 !important;

}

body.theme-emerald .smart-micro-pill.active {

  background: #059669 !important;

  border-color: #34d399 !important;

  color: #ffffff !important;

  box-shadow: 0 0 10px rgba(16, 185, 129, 0.4) !important;

}

body.theme-emerald .theme-dropdown-palette {

  background: #061e14 !important;

  border-color: #10b981 !important;

}



/* ==============================================================

   🎨 THEME 6: PLATINUM CHARCOAL MINIMAL (MONOCHROME & SILVER)

   ============================================================== */

body.theme-platinum {

  --bg-dark: #0f1013;

  --bg-card: #18191e;

  --bg-card-hover: #22232a;

  --border-glass: rgba(255, 255, 255, 0.15);

  --border-subtle: rgba(255, 255, 255, 0.08);

  --text-main: #f4f4f5;

  --text-muted: #a1a1aa;

  --gold: #e4e4e7;

  --gold-glow: rgba(228, 228, 231, 0.2);

  --gold-grad: linear-gradient(135deg, #a1a1aa 0%, #e4e4e7 100%);

  background-color: #0f1013 !important;

  background-image: radial-gradient(circle at top, #16171d 0%, #0b0b0d 100%) !important;

  color: #f4f4f5 !important;

}

body.theme-platinum .navbar {

  background: rgba(18, 19, 23, 0.96) !important;

  border-bottom: 1.5px solid rgba(255, 255, 255, 0.15) !important;

}

body.theme-platinum .nav-brand h1 { color: #e4e4e7 !important; }

body.theme-platinum .admin-sidebar {

  background: #131418 !important;

  border-right: 1.5px solid rgba(255, 255, 255, 0.12) !important;

}

body.theme-platinum .admin-sidebar .sidebar-menu li a:hover,

body.theme-platinum .admin-sidebar .sidebar-menu li a.active {

  background: rgba(255, 255, 255, 0.1) !important;

  color: #ffffff !important;

  border-left: 3px solid #e4e4e7 !important;

}

body.theme-platinum .glass-card {

  background: #18191e !important;

  border: 1.5px solid rgba(255, 255, 255, 0.12) !important;

  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6) !important;

}

body.theme-platinum .form-control,

body.theme-platinum select,

body.theme-platinum input:not([type="button"]):not([type="submit"]):not([type="checkbox"]):not([type="radio"]) {

  background: #121316 !important;

  border: 1.5px solid rgba(255, 255, 255, 0.18) !important;

  color: #f4f4f5 !important;

}

body.theme-platinum .form-control:focus,

body.theme-platinum select:focus {

  border-color: #e4e4e7 !important;

  box-shadow: 0 0 10px rgba(255, 255, 255, 0.2) !important;

}

body.theme-platinum .smart-micro-pill {

  background: #141518 !important;

  border: 1.2px solid rgba(255, 255, 255, 0.18) !important;

  color: #d4d4d8 !important;

}

body.theme-platinum .smart-micro-pill.active {

  background: #3f3f46 !important;

  border-color: #a1a1aa !important;

  color: #ffffff !important;

  box-shadow: 0 0 10px rgba(255, 255, 255, 0.25) !important;

}

body.theme-platinum .theme-dropdown-palette {

  background: #16171c !important;

  border-color: #a1a1aa !important;

}


/* ==============================================================
   🌟 GLOBAL THEME: DESIGN 9 WARM CHAMPAGNE & BRONZE BOUTIQUE 🌟
   ============================================================== */
:root,
body,
body.theme-daylight,
body.theme-dark,
body.theme-sapphire,
body.theme-amber,
body.theme-emerald,
body.theme-platinum {
  --bg-dark: #f7f3eb !important;
  --bg-card: #fffdf9 !important;
  --bg-card-hover: #faf6ee !important;
  --border-glass: #e3d7c3 !important;
  --border-subtle: #ede4d4 !important;
  --gold: #8c5a2b !important;
  --gold-glow: rgba(176, 141, 87, 0.25) !important;
  --gold-grad: linear-gradient(135deg, #c59b5f 0%, #8c5a2b 100%) !important;
  --gold-text: #8c5a2b !important;
  --text-main: #2c1e16 !important;
  --text-muted: #7a6250 !important;
  --text-dark: #2c1e16 !important;
  background-color: #f7f3eb !important;
  background-image: none !important;
  color: #2c1e16 !important;
}

body.theme-daylight .navbar,
body.theme-dark .navbar,
.navbar {
  background: #2c1e16 !important;
  border-bottom: 2.5px solid #b08d57 !important;
  box-shadow: 0 4px 20px rgba(44, 30, 22, 0.18) !important;
}

body.theme-daylight .nav-brand h1,
body.theme-dark .nav-brand h1,
.nav-brand h1 {
  color: #f7f3eb !important;
}

body.theme-daylight .nav-brand span,
body.theme-dark .nav-brand span,
.nav-brand span {
  color: #d9b882 !important;
}

body.theme-daylight .nav-menu a,
body.theme-dark .nav-menu a,
.nav-menu a {
  color: #e3d7c3 !important;
}

body.theme-daylight .nav-menu a:hover,
body.theme-daylight .nav-menu a.active,
body.theme-dark .nav-menu a:hover,
body.theme-dark .nav-menu a.active,
.nav-menu a:hover,
.nav-menu a.active {
  background: rgba(176, 141, 87, 0.25) !important;
  color: #fffdf9 !important;
  border-color: #b08d57 !important;
}

body.theme-daylight .hero-section,
body.theme-dark .hero-section,
.hero-section {
  background: linear-gradient(180deg, #f7f3eb 0%, #efe6d6 100%) !important;
}

body.theme-daylight .hero-badge,
body.theme-dark .hero-badge,
.hero-badge {
  background: #fffdf9 !important;
  border: 1px solid #b08d57 !important;
  color: #8c5a2b !important;
}

body.theme-daylight .hero-title,
body.theme-dark .hero-title,
.hero-title {
  color: #2c1e16 !important;
}

body.theme-daylight .hero-title span,
body.theme-dark .hero-title span,
.hero-title span {
  color: #8c5a2b !important;
  -webkit-text-fill-color: #8c5a2b !important;
  background: none !important;
}

body.theme-daylight .hero-desc,
body.theme-dark .hero-desc,
.hero-desc {
  color: #5c4738 !important;
}

body.theme-daylight .glass-card,
body.theme-dark .glass-card,
.glass-card {
  background: #fffdf9 !important;
  border: 1px solid #e3d7c3 !important;
  color: #2c1e16 !important;
  box-shadow: 0 6px 24px rgba(44, 30, 22, 0.08) !important;
}

body.theme-daylight .glass-card h1,
body.theme-daylight .glass-card h2,
body.theme-daylight .glass-card h3,
body.theme-dark .glass-card h1,
body.theme-dark .glass-card h2,
body.theme-dark .glass-card h3,
.glass-card h1,
.glass-card h2,
.glass-card h3 {
  color: #2c1e16 !important;
}

body.theme-daylight .form-control,
body.theme-dark .form-control,
.form-control,
select.form-control,
textarea.form-control {
  background: #ffffff !important;
  border: 1px solid #d9cbb3 !important;
  color: #2c1e16 !important;
}

body.theme-daylight .btn-gold,
body.theme-dark .btn-gold,
.btn-gold {
  background: linear-gradient(135deg, #c59b5f 0%, #8c5a2b 100%) !important;
  color: #fffdf9 !important;
  border: 1px solid #8c5a2b !important;
  box-shadow: 0 4px 14px rgba(140, 90, 43, 0.25) !important;
}

body.theme-daylight .btn-outline,
body.theme-dark .btn-outline,
.btn-outline {
  background: #fffdf9 !important;
  border: 1.5px solid #b08d57 !important;
  color: #2c1e16 !important;
}

body.theme-daylight .admin-sidebar,
body.theme-dark .admin-sidebar,
.admin-sidebar,
.sidebar {
  background: #2c1e16 !important;
  border-right: 2.5px solid #b08d57 !important;
  color: #f7f3eb !important;
}
