/* =========================================================
   ADMIN DESIGN SYSTEM
========================================================= */

:root {
  --sidebar-width: 260px;
  --sidebar-width-sm: 220px;
  --topbar-height: 70px;
  --footer-height: 56px;

  --purple-primary: #4A0E4E;
  --purple-dark: #2C003E;

  --gold-primary: #C5A059;

  --text-dark: #111;
  --text-muted: #666;

  --border-light: #eaeaea;
  --shadow-soft: 0 10px 30px rgba(0,0,0,0.08);
}

/* =========================================================
   RESET & ROOT
========================================================= */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Outfit', sans-serif;
  background: #f6f6f9;
}

/* =========================================================
   LAYOUT
========================================================= */

.admin-wrapper {
  display: flex;
  min-height: 100vh;
}

/* =========================================================
   SIDEBAR (UNCHANGED)
========================================================= */

.admin-sidebar{
    width:var(--sidebar-width);
    background:#000;
    color:#fff;
    padding:24px 20px;
    position:fixed;
    top:0;
    left:0;
    bottom:0;
    z-index:1200;
    transition:all .35s ease;
    overflow-x:hidden;
}

.admin-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Cinzel', serif;
  font-size: 20px;
  margin-bottom: 40px;
}

.text-gold {
  color: var(--gold-primary);
}

.admin-menu a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  margin-bottom: 10px;
  border-radius: 12px;
  color: rgba(255,255,255,0.92);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.25s ease;
}

.admin-menu a:hover {
  background: rgba(255,255,255,0.15);
}

.admin-menu a.active {
  background: linear-gradient(135deg, rgba(255,255,255,0.28), rgba(255,255,255,0.12));
  box-shadow: inset 4px 0 0 var(--gold-primary);
}

/* =========================================================
   MAIN AREA
========================================================= */

.admin-main{
    margin-left:var(--sidebar-width);
    width:calc(100% - var(--sidebar-width));
    min-height:100vh;
    display:flex;
    flex-direction:column;
    transition:all .35s ease;
}


/* =========================================================
   TOPBAR (UNCHANGED)
========================================================= */

.admin-topbar{
    height:var(--topbar-height);
    background:#000;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:0 32px;
    color:#fff;

    position:fixed;
    top:0;
    left:var(--sidebar-width);
    width:calc(100% - var(--sidebar-width));

    z-index:1000;
    transition:all .35s ease;
}
.admin-page-title {
  font-size: 22px;
  font-weight: 600;
}

/* =========================================================
   USER DROPDOWN
========================================================= */

.admin-user-dropdown {
  position: relative;
}

.admin-user-trigger {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  padding: 6px 14px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.admin-user-trigger img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid var(--gold-primary);
}

.admin-user-menu {
  position: absolute;
  top: 54px;
  right: 0;
  width: 190px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
  overflow: hidden;
}

.admin-user-dropdown:hover .admin-user-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.admin-user-menu a {
  display: flex;
  gap: 10px;
  padding: 12px 16px;
  text-decoration: none;
  color: var(--text-dark);
  font-size: 13px;
}

.admin-user-menu a:hover {
  background: rgba(74,14,78,0.08);
}

.admin-user-menu .divider {
  height: 1px;
  background: var(--border-light);
  margin: 6px 0;
}

.admin-user-menu .logout {
  color: #c0392b;
}

/* =========================================================
   CONTENT AREA
========================================================= */

.admin-content {
  margin-top: var(--topbar-height);
  padding: 30px;
  flex: 1;
}

.admin-container {
  max-width: 1280px;
  margin: 0 auto;
}

/* =========================================================
   PAGE HEADER
========================================================= */

.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 14px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--border-light);
}

.page-header h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
}

/* =========================================================
   CARDS
========================================================= */

.admin-card {
  background: #fff;
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--shadow-soft);
  animation: fadeUp 0.35s ease;
}

/* =========================================================
   TABLE
========================================================= */

.admin-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 18px;
}

.admin-table thead {
  background: #fafafa;
  border-bottom: 2px solid var(--border-light);
}

.admin-table th {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  padding: 14px 0;
}

.admin-table td {
  padding: 10px 8px;
  font-size: 14px;
  border-top: 1px solid var(--border-light);
  vertical-align: middle;
}

.admin-table tr {
  transition: background 0.2s ease;
}

.admin-table tr:hover {
  background: rgba(74,14,78,0.04);
}

.admin-table code {
  background: #f2f2f2;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 13px;
}
/* =========================================================
   TABLE ALIGNMENT FIX
========================================================= */

.admin-table th,
.admin-table td {
  text-align: center;
  vertical-align: middle;
}

.admin-table th:first-child,
.admin-table td:first-child {
  text-align: left;
}



/* =========================================================
   CATEGORY IMAGE
========================================================= */

.cat-thumb {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--border-light);
  box-shadow: 0 6px 14px rgba(0,0,0,0.12);
  background: #fff;
}


/* =========================================================
   FORMS
========================================================= */

.admin-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.admin-form label {
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 6px;
  color: #444;
}

.admin-form input {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border-light);
  font-size: 14px;
  background: #fafafa;
  transition: 0.2s ease;
}

.admin-form input:focus {
  outline: none;
  border-color: var(--gold-primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(197,160,89,0.18);
}

.admin-form input[type="file"] {
  background: linear-gradient(180deg, #fafafa, #f0f0f0);
  cursor: pointer;
}
/* =========================================================
   SELECT (MATCH INPUT STYLE)
========================================================= */

.admin-form select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border-light);
  font-size: 14px;
  background: #fafafa;
  color: #333;
  cursor: pointer;
  transition: 0.2s ease;

  /* remove default browser arrow */
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  /* custom arrow */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24'%3E%3Cpath fill='%23666' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 14px;
}

.admin-form select:focus {
  outline: none;
  border-color: var(--gold-primary);
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(197,160,89,0.18);
}

/* =========================================================
   PRIMARY BUTTON
========================================================= */

.btn-primary {
  background:#000;
  color: #fff;
  border: none;
  padding: 12px 22px;
  font-size: 14px;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(74,14,78,0.25);
}

.btn-primary:hover {
  opacity: 0.95;
}

/* =========================================================
   EMPTY STATE
========================================================= */

.empty-state {
  background: #fafafa;
  border-radius: 14px;
  padding: 60px 20px;
  text-align: center;
  color: var(--text-muted);
}

.empty-state i {
  font-size: 34px;
  margin-bottom: 14px;
  display: block;
}

/* =========================================================
   MODAL
========================================================= */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 3000;
}

.modal-overlay.active {
  display: flex;
}

.modal-box {
  background: #fff;
  width: 640px;              /* ⬅ wider */
  max-width: 96%;
  border-radius: 24px;
  padding: 0;                /* header & body control spacing */
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
  animation: scaleIn 0.25s ease;
}


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

.modal-close {
  cursor: pointer;
  font-size: 18px;
}

/* =========================================================
   FOOTER (UNCHANGED)
========================================================= */

.logo-icon{
width:22px;
height:22px;
object-fit:contain;
}
/* =========================================================
   ANIMATIONS
========================================================= */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

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

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 768px) {
  .admin-sidebar {
    display: none;
  }

  .admin-main,
  .admin-topbar {
    margin-left: 0;
    width: 100%;
  }

  .admin-form {
    grid-template-columns: 1fr;
  }

  .page-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}
/* =========================================================
   STICKY PAGE HEADER (FILTERS + ADD BUTTON)
========================================================= */

.page-header {
  position: sticky;
  top: var(--topbar-height);   /* stays below topbar */
  z-index: 800;
  background: #f6f6f9;
  padding-top: 14px;
}

/* =========================================================
   MODERN MODAL ENHANCEMENTS
========================================================= */

.modal-modern {
  min-height: 420px;         /* ⬅ professional minimum */
  display: flex;
  flex-direction: column;
}


.modal-header.modern {
  padding: 26px 30px;
  background: linear-gradient(
    135deg,
    #faf5ff 0%,
    #f7f2e8 55%,     /* gold tint */
    #f3ecff 100%
  );
  border-bottom: 1px solid var(--border-light);
}
.modal-header.modern {
  position: relative;
}

.modal-header.modern::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 30px;
  height: 3px;
  width: 60px;
  background: linear-gradient(
    90deg,
    var(--gold-primary),
    transparent
  );
  border-radius: 2px;
}

.modal-header.modern h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
}

.modal-header.modern p {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--text-muted);
}

.modal-close {
  color: var(--text-muted);
  transition: 0.2s ease;
}

.modal-close:hover {
  color: var(--purple-primary);
  transform: rotate(90deg);
}

/* =========================================================
   FORM REFINEMENTS
========================================================= */

.modern-form {
  padding: 30px;
  flex: 1;                   /* fills modal height cleanly */
  align-content: start;
  row-gap: 22px;             /* ⬅ more breathing room */
}


.modern-form label {
  display: block;
  margin-bottom: 6px;
}

.modern-form input {
  width: 100%;
}

.modern-form input::placeholder {
  color: #aaa;
}

.modern-form .full {
  grid-column: span 2;
}

/* =========================================================
   FILE UPLOAD UI
========================================================= */
.file-upload {
  position: relative;
  border: 2px dashed rgba(197,160,89,0.45);
  border-radius: 14px;
  padding: 26px;
  text-align: center;
  background: #fafafa;
  cursor: pointer;
  transition: 0.25s ease;
}

.file-upload:hover {
  border-color: var(--gold-primary);
  background: rgba(197,160,89,0.06);
}

.file-upload input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.file-upload span {
  font-size: 14px;
  color: var(--text-muted);
}

.file-upload i {
  display: block;
  font-size: 26px;
  margin-bottom: 8px;
  color: var(--gold-primary);
}










/* =========================================================
   MODAL FOOTER
========================================================= */

.modal-footer {
  grid-column: span 2;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}
.btn-secondary {
  background: #fff;
  border: 1px solid var(--gold-primary);
  color: #7a622e;
  padding: 12px 22px;
  border-radius: 12px;
  font-size: 14px;
  cursor: pointer;
}

.btn-secondary:hover {
  background: rgba(197,160,89,0.08);
}

#imagePreview {
  max-height: 120px;
  border-radius: 10px;
  margin: auto;
}



.flash-wrapper {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
}

.flash {
  padding: 12px 18px;
  margin-bottom: 10px;
  border-radius: 6px;
  color: #fff;
  font-weight: 500;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.flash-success { background: #27ae60; }
.flash-error   { background: #c0392b; }
.flash-warning { background: #f39c12; }

/* =========================================================
   STATUS TOGGLE SWITCH
========================================================= */

.status-toggle {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 26px;
}

.status-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.status-toggle .slider {
  position: absolute;
  inset: 0;
  background: rgba(192,57,43,0.25);
  border-radius: 999px;
  transition: 0.25s ease;
  cursor: pointer;
}

.status-toggle .slider::before {
  content: "";
  position: absolute;
  height: 20px;
  width: 20px;
  left: 3px;
  top: 3px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 3px 8px rgba(0,0,0,0.25);
  transition: 0.25s ease;
}

.status-toggle input:checked + .slider {
  background: rgba(46, 204, 113, 0.5);
}

.status-toggle input:checked + .slider::before {
  transform: translateX(20px);
}

/* =========================================================
   ICON-ONLY ACTION BUTTONS
========================================================= */

.action-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: #f6f6f9;
  transition: all 0.25s ease;
  box-shadow: 0 6px 14px rgba(0,0,0,0.12);
}

.icon-btn i {
  font-size: 14px;
}

/* Edit */
.icon-btn.edit {
  color: #2980b9;
  background: rgba(41,128,185,0.12);
}

.icon-btn.edit:hover {
  background: rgba(41,128,185,0.2);
  transform: translateY(-2px);
}

/* Delete */
.icon-btn.delete {
  color: #c0392b;
  background: rgba(192,57,43,0.12);
}

.icon-btn.delete:hover {
  background: rgba(192,57,43,0.2);
  transform: translateY(-2px);
}

/* Active click */
.icon-btn:active {
  transform: scale(0.95);
}
/* View (Eye) */
.icon-btn.view {
  color: #6f42c1; /* premium purple */
  background: rgba(111,66,193,0.12);
    text-decoration: none;
}

.icon-btn.view:hover {
  background: rgba(111,66,193,0.22);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(111,66,193,0.35);
}

/* =========================================================
   GLOBAL IMAGE PREVIEW (ADMIN)
========================================================= */

/* Hoverable images */
.img-preview {
  cursor: zoom-in;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.img-preview:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 28px rgba(0,0,0,0.25);
  z-index: 2;
  cursor: pointer;
}

/* Viewer overlay */
.image-viewer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 6000;
}

.image-viewer-overlay.active {
  display: flex;
}

/* Viewer box */
.image-viewer-box {
  position: relative;
  max-width: 92vw;
  max-height: 92vh;
  background: #fff;
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.45);
  animation: scaleIn 0.25s ease;
}

/* Image */
.image-viewer-box img {
  max-width: 100%;
  max-height: 82vh;
  object-fit: contain;   /* ✅ any image ratio */
  border-radius: 12px;
  display: block;
  margin: auto;
}

/* Close button */
.image-viewer-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: #fff;
  color: #000;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0,0,0,0.35);
  transition: 0.25s ease;
}

.image-viewer-close:hover {
  background: var(--purple-primary);
  color: #fff;
  transform: rotate(90deg);
}

/* =========================================================
   TABLE STATUS FILTER BADGES
========================================================= */

.table-filters {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.filter-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  background: #f1f1f5;
  color: var(--text-dark);
  transition: 0.25s ease;
  box-shadow: 0 6px 14px rgba(0,0,0,0.12);
}

.filter-badge span {
  background: #fff;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 12px;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.08);
}

/* States */
.filter-badge.success { background: rgba(46,204,113,0.15); color: #1e8449; }
.filter-badge.warning { background: rgba(241,196,15,0.18); color: #7d6608; }
.filter-badge.danger  { background: rgba(192,57,43,0.15); color: #922b21; }

/* Active filter */
.filter-badge.active {
  background: #000;
  color: #fff;
}

.filter-badge.active span {
  background: rgba(255,255,255,0.25);
  color: #fff;
}

/* Disabled */
.filter-badge:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
}

.status-pill {
  border: none;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 90px;
}

.status-pill.active {
  background: #e6f7ef;
  color: #1e8449;
}

.status-pill.inactive {
  background: #fff3cd;
  color: #856404;
}

.status-pill.deleted {
  background: #fdecea;
  color: #c0392b;
}

.status-pill:hover {
  opacity: 0.85;
}

.global-table-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.global-search {
  position: relative;
  width: 260px;
}

.global-search input {
  width: 100%;
  padding: 8px 36px 8px 34px;
  border-radius: 20px;
  border: 1px solid #ddd;
  font-size: 14px;
}

.global-search i {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #888;
  font-size: 14px;
}
/* =========================================================
   GLOBAL SEARCH – FOCUS STATE
========================================================= */

.global-search input:focus {
  outline: none;
  border-color: var(--purple-primary);
  box-shadow: 0 0 0 3px rgba(74,14,78,0.12);
  background: #fff;
}

/* Optional: icon highlight on focus */
.global-search input:focus + i,
.global-search:focus-within i {
  color: var(--purple-primary);
}

.field-error {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: #d32f2f;
}

.input-error {

  background: #fff5f5;
}


/* ===============================
   CATEGORY AUTOSUGGEST (GLOBAL)
================================ */

/* wrapper controls width */
.category-wrap {
  position: relative;
  width: 100%;
}

/* input already styled by form rules */
.category-search {
  width: 100%;
}

/* dropdown */
.category-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  margin-top: 6px;

  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0,0,0,.12);
  max-height: 240px;
  overflow-y: auto;
  z-index: 50;
}

/* visible state */
.category-dropdown.show {
  display: block;
}

/* option */
.category-option {
  padding: 10px 14px;
  font-size: 14px;
  color: #000;
  cursor: pointer;
  transition: background 0.15s ease;
}

.category-option:hover {
  background: #f6f6f6;
}
/* =========================================================
   STICKY TABLE HEADER (PROFESSIONAL)
========================================================= */

.table-scroll {
  max-height: 600px;          /* adjust as needed */
  overflow-y: auto;
  border-radius: 14px;
}

/* Sticky header */
.admin-table thead th {
  position: sticky;
  top: 0;
  z-index: 10;

  background: linear-gradient(
    180deg,
    #ffffff,
    #f4f4f7
  );

  box-shadow: 0 2px 0 rgba(0,0,0,0.06);
}

/* Smooth scroll (modern feel) */
.table-scroll {
  scrollbar-width: thin;
  scrollbar-color: rgba(74,14,78,0.4) transparent;
}

/* Chrome / Edge scrollbar */
.table-scroll::-webkit-scrollbar {
  width: 8px;
}

.table-scroll::-webkit-scrollbar-thumb {
  background: rgba(74,14,78,0.35);
  border-radius: 10px;
}

.table-scroll::-webkit-scrollbar-track {
  background: transparent;
}

/* ================= COLOR SWATCHES ================= */

.color-swatch {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.color-swatch input {
  display: none; /* HIDE CHECKBOX */
}

.color-swatch span {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-block;
  border: 2px solid #e5e7eb;
  transition: all 0.2s ease;
}

/* selected */
.color-swatch input:checked + span {
  border-color: var(--purple-primary);
  box-shadow: 0 0 0 3px rgba(122, 44, 191, 0.25);
}

/* check mark */
.color-swatch span::after {
  content: "✓";
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  position: absolute;
  top: 6px;
  left: 10px;
  opacity: 0;
}

.color-swatch input:checked + span::after {
  opacity: 1;
}
.option-wrapper{
  display:flex;
  flex-direction:column;
  gap:8px;
}

.option-input-box input{
  width:100%;
  padding:10px 12px;
  border:1px solid #ddd;
  border-radius:8px;
}

.option-tags{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin-top:4px;
}

.option-tag{
  background:#f3f3f3;
  padding:6px 10px;
  border-radius:999px;
  font-size:13px;
  display:flex;
  align-items:center;
  gap:6px;
}

.option-tag span{
  cursor:pointer;
  font-weight:600;
}
.color-pill{
  width:14px;
  height:14px;
  border-radius:50%;
  display:inline-block;
  margin-left:6px;
}
.option-badge{
  padding:4px 12px;
  border-radius:999px;
  font-size:12px;
  cursor:pointer;
}

.option-badge.success{
  background:#e6f7ef;
  color:#0a8f55;
}

.option-badge.danger{
  background:#fdecea;
  color:#c0392b;
}
.option-input-box{
  position:relative;
  width:100%;
}

.option-input-box input{
  width:100%;
  padding:10px 40px 10px 12px; /* RIGHT SPACE FOR ICON */
  border:1px solid #ddd;
  border-radius:8px;
}

.color-icon{
  position:absolute;
  right:12px;
  top:50%;
  transform:translateY(-50%);
  font-size:18px;
  cursor:pointer;
  opacity:0.7;
}


.color-icon:hover{
  opacity:1;
  transform:translateY(-50%) scale(1.1);
}

.sidebar-badge{
  background:#e63946;
  color:#fff;
  font-size:11px;
  padding:3px 7px;
  border-radius:20px;
  margin-left:auto;
}


/* AVATAR (INITIAL BASED) */
.admin-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  font-weight: 600;
  font-size: 14px;
  color: #fff;

  background: linear-gradient(135deg, #C5A059, #a67c2e);

  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}