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

body{
  font-family:"Inter",sans-serif;
  background:#f7f8fb;
  color:#111827;
}

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

/* SIDEBAR */
.sidebar{
  width:290px;
  background:rgba(255,255,255,.88);
  backdrop-filter:blur(22px);
  border-right:1px solid #e5e7eb;
  position:fixed;
  left:0;
  top:0;
  bottom:0;
  display:flex;
  flex-direction:column;
  box-shadow:12px 0 40px rgba(15,23,42,.04);
}

.logo{
  height:80px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  border-bottom:1px solid #edf0f4;
}

.logo-icon{
  width:32px;
  height:32px;
  background:linear-gradient(135deg,#111,#fff 45%,#d60000);
  clip-path:polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%);
}

.logo strong{
  letter-spacing:6px;
  font-size:15px;
}

.logo strong span{
  color:#e60012;
}

.logo small{
  display:block;
  text-align:center;
  font-size:10px;
  letter-spacing:0;
  margin-top:3px;
}

.menu{
  padding:22px 24px;
  flex:1;
  overflow:auto;
}

.menu-item{
  display:flex;
  align-items:center;
  gap:16px;
  height:48px;
  padding:0 12px;
  border-radius:10px;
  font-size:13px;
  font-weight:800;
  color:#2d3440;
  cursor:pointer;
  transition:.25s;
}

.menu-item i{
  width:18px;
  color:#64748b;
}

.menu-item:hover{
  background:#f4f6fb;
  transform:translateX(4px);
}

.menu-item.active{
  background:#fff1f1;
  color:#c40012;
}

.menu-item.active i{
  color:#c40012;
}

.submenu{
  margin:8px 0 22px 34px;
  border-left:1px solid #edf0f4;
}

.submenu div{
  padding:12px 24px;
  font-size:13px;
  color:#6b7280;
  border-radius:0 9px 9px 0;
  cursor:pointer;
}

.submenu div.active{
  background:#fff1f1;
  color:#c40012;
  font-weight:800;
}

.logout{
  padding:24px;
  border-top:1px solid #edf0f4;
}

/* MAIN */
.main{
  margin-left:290px;
  width:calc(100% - 290px);
}

.topbar{
  height:80px;
  background:rgba(255,255,255,.85);
  backdrop-filter:blur(20px);
  border-bottom:1px solid #e8ebf0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 36px;
  position:sticky;
  top:0;
  z-index:10;
}

.burger{
  font-size:22px;
  cursor:pointer;
}

.user{
  display:flex;
  align-items:center;
  gap:22px;
}

.bell{
  position:relative;
  font-size:20px;
}

.bell span{
  position:absolute;
  top:-9px;
  right:-8px;
  width:18px;
  height:18px;
  background:#d60000;
  color:#fff;
  border-radius:50%;
  font-size:11px;
  display:grid;
  place-items:center;
}

.avatar{
  width:42px;
  height:42px;
  border-radius:50%;
  background:#e5e7eb;
  display:grid;
  place-items:center;
  font-weight:800;
}

.user-info strong{
  display:block;
  font-size:13px;
}

.user-info small{
  color:#6b7280;
}

/* CONTENT */
.content{
  padding:28px 42px;
}

h1{
  font-size:24px;
  margin-bottom:12px;
}

.breadcrumb{
  color:#6b7280;
  font-size:13px;
  margin-bottom:28px;
}

.stats{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
  margin-bottom:20px;
}

.stat-card{
  background:#fff;
  border:1px solid #e8ebf0;
  border-radius:12px;
  padding:28px 22px;
  display:flex;
  align-items:center;
  gap:20px;
  box-shadow:0 12px 35px rgba(15,23,42,.04);
}

.stat-icon{
  width:55px;
  height:55px;
  border-radius:50%;
  background:#f3f4f6;
  display:grid;
  place-items:center;
  font-size:24px;
  color:#111827;
}

.stat-card h2{
  font-size:24px;
}

.stat-card p{
  font-size:13px;
  color:#6b7280;
  margin:5px 0;
}

.green{
  color:#16a34a;
  font-size:13px;
  font-weight:700;
}

/* FILTER */
.panel{
  background:#fff;
  border:1px solid #e8ebf0;
  border-radius:13px;
  box-shadow:0 12px 35px rgba(15,23,42,.04);
  overflow:hidden;
}

.filters{
  padding:24px 18px;
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr 1fr 1.6fr auto;
  gap:14px;
  border-bottom:1px solid #edf0f4;
}

.field{
  height:40px;
  border:1px solid #dfe3ea;
  border-radius:8px;
  display:flex;
  align-items:center;
  gap:10px;
  padding:0 14px;
  font-size:13px;
  color:#374151;
  background:#fff;
}

.field input{
  border:0;
  outline:0;
  width:100%;
  font-family:inherit;
}

.export{
  border:1px solid #dfe3ea;
  background:#fff;
  border-radius:8px;
  padding:0 18px;
  font-weight:800;
  cursor:pointer;
}

/* TABLE */
table{
  width:100%;
  border-collapse:collapse;
}

thead{
  background:#fbfcfe;
}

th{
  text-align:left;
  padding:16px 18px;
  font-size:11px;
  color:#6b7280;
  text-transform:uppercase;
}

td{
  padding:14px 18px;
  border-top:1px solid #edf0f4;
  font-size:13px;
  vertical-align:middle;
}

.order strong,
.customer strong{
  display:block;
  font-size:14px;
}

.order small,
.customer small,
.date small{
  color:#6b7280;
  display:block;
  margin-top:4px;
}

.total{
  font-weight:800;
}

.badge{
  display:inline-flex;
  padding:6px 12px;
  border-radius:7px;
  font-size:12px;
  font-weight:800;
}

.completed{
  background:#dcfce7;
  color:#15803d;
}

.processing{
  background:#e8f2ff;
  color:#0369a1;
}

.pending{
  background:#fff3e6;
  color:#ea580c;
}

.cancelled{
  background:#f3f4f6;
  color:#52525b;
}

.actions{
  display:flex;
  gap:10px;
}

.action-btn{
  width:36px;
  height:36px;
  border:1px solid #e0e4ea;
  border-radius:8px;
  background:#fff;
  cursor:pointer;
  transition:.25s;
}

.action-btn:hover{
  background:#f7f8fb;
  transform:translateY(-2px);
}

/* PAGINATION */
.pagination{
  padding:16px 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-top:1px solid #edf0f4;
  font-size:13px;
  color:#6b7280;
}

.pages{
  display:flex;
  align-items:center;
  gap:8px;
}

.pages button{
  width:34px;
  height:34px;
  border:1px solid #dfe3ea;
  background:#fff;
  border-radius:8px;
  cursor:pointer;
  font-weight:700;
}

.pages button.active{
  background:#c90013;
  color:#fff;
  border-color:#c90013;
}

.show{
  display:flex;
  align-items:center;
  gap:10px;
}

select{
  border:1px solid #dfe3ea;
  border-radius:8px;
  height:34px;
  padding:0 12px;
  background:#fff;
}

/* RESPONSIVE */
@media(max-width:1200px){
  .stats{
    grid-template-columns:repeat(2,1fr);
  }

  .filters{
    grid-template-columns:repeat(2,1fr);
  }
}

@media(max-width:850px){
  .sidebar{
    transform:translateX(-100%);
    z-index:20;
  }

  .sidebar.open{
    transform:translateX(0);
  }

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

  .stats{
    grid-template-columns:1fr;
  }

  .filters{
    grid-template-columns:1fr;
  }

  .content{
    padding:22px 16px;
  }

  .panel{
    overflow-x:auto;
  }

  table{
    min-width:950px;
  }
}











.menu-item{
  display:flex;
  align-items:center;
  gap:16px;
  height:48px;
  padding:0 12px;
  border-radius:10px;
  font-size:13px;
  font-weight:800;
  color:#2d3440;
  cursor:pointer;
  transition:.25s;
}

.menu-item i:first-child{
  width:18px;
  color:#64748b;
}

.menu-item:hover{
  background:#f4f6fb;
  transform:translateX(4px);
}

.menu-item.open{
  background:#fff1f1;
  color:#c40012;
}

.menu-item.open i{
  color:#c40012;
}

.arrow{
  margin-left:auto;
  transition:.25s;
}

.menu-item.open .arrow{
  transform:rotate(180deg);
}

.submenu{
  max-height:0;
  overflow:hidden;
  opacity:0;
  margin:0 0 0 34px;
  border-left:1px solid #edf0f4;
  transition:max-height .35s ease, opacity .25s ease, margin .25s ease;
}

.submenu.open{
  max-height:240px;
  opacity:1;
  margin:8px 0 22px 34px;
}

.submenu div{
  padding:12px 24px;
  font-size:13px;
  color:#6b7280;
  border-radius:0 9px 9px 0;
  cursor:pointer;
  transition:.25s;
}

.submenu div:hover{
  background:#f7f8fb;
  color:#111827;
}

.submenu div.active{
  background:#fff1f1;
  color:#c40012;
  font-weight:800;
}



.submenu div,
.submenu div a{
  text-decoration:none !important;
}

.submenu a{
  color:inherit;
}


.submenu a{
  display:block;
  text-decoration:none;
  color:#6b7280;
}

.submenu a:hover,
.submenu a.active{
  text-decoration:none;
  color:#c40012;
}























.content{
  padding:28px 42px;
  background:#f7f8fb;
}

.content-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  margin-bottom:22px;
}

.content h1{
  font-size:28px;
  margin-bottom:10px;
}

.breadcrumb{
  font-size:14px;
  color:#64748b;
}

.breadcrumb i{
  margin:0 10px;
  font-size:11px;
}

.head-actions{
  display:flex;
  gap:14px;
}

.btn{
  height:42px;
  padding:0 20px;
  border-radius:9px;
  border:1px solid #dfe3ea;
  background:#fff;
  font-weight:800;
  cursor:pointer;
}

.btn-red{
  background:#d60012;
  color:#fff;
  border-color:#d60012;
}

.colours-panel{
  background:#fff;
  border:1px solid #e5e9f0;
  border-radius:14px;
  padding:20px;
  box-shadow:0 15px 45px rgba(15,23,42,.04);
}

.filters{
  display:flex;
  gap:16px;
  margin-bottom:20px;
}

.filter-box{
  height:42px;
  min-width:230px;
  border:1px solid #dfe3ea;
  border-radius:9px;
  background:#fff;
  display:flex;
  align-items:center;
  gap:12px;
  padding:0 14px;
  color:#475569;
  font-size:14px;
}

.filter-box input{
  border:0;
  outline:0;
  width:100%;
  font-family:inherit;
}

.colour-section{
  border:1px solid #e5e9f0;
  border-radius:14px;
  padding:22px;
  margin-bottom:18px;
}

.section-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:18px;
}

.section-title{
  display:flex;
  align-items:center;
  gap:12px;
}

.section-title h2{
  font-size:21px;
}

.count{
  background:#f1f5f9;
  color:#64748b;
  padding:6px 10px;
  border-radius:8px;
  font-size:12px;
  font-weight:700;
}

.colour-grid{
  display:grid;
  grid-template-columns:repeat(7,1fr);
  gap:16px;
}

.colour-card{
  border:1px solid #e5e9f0;
  border-radius:10px;
  padding:8px;
  text-align:center;
  transition:.25s;
}

.colour-card:hover{
  transform:translateY(-4px);
  box-shadow:0 12px 30px rgba(15,23,42,.08);
}

.swatch{
  height:38px;
  border-radius:5px;
  margin-bottom:10px;
  border:1px solid rgba(0,0,0,.08);
}

.colour-card strong{
  display:block;
  font-size:14px;
  margin-bottom:4px;
}

.colour-card span{
  display:block;
  font-size:13px;
  color:#475569;
}

.colour-card b{
  display:block;
  font-size:13px;
  margin-top:3px;
}

.card-actions{
  display:flex;
  justify-content:center;
  gap:8px;
  margin-top:10px;
}

.icon-btn{
  width:34px;
  height:28px;
  border:1px solid #e2e8f0;
  border-radius:7px;
  background:#fff;
  cursor:pointer;
  transition:.2s;
}

.icon-btn:hover{
  background:#f8fafc;
}

/* colors */
.light-grey{background:#d7d9d5}
.window-grey{background:#aebabe}
.quartz-grey{background:#756e63}
.umbra-grey{background:#4c4942}
.slate-grey{background:#3e4751}
.anthracite{background:#263039}
.anthracite-textured{background:linear-gradient(135deg,#333943,#555,#2d3036)}
.jet-black{background:#151515}
.steel-blue{background:#0b2747}
.moss-green{background:#05704f}
.fir-green{background:#06472f}
.flame-red{background:#e30613}
.sepia{background:#583314}
.cream{background:#f7efd0}
.agate{background:#c6c9c1}
.silver{background:#a7b4ba}
.pebble{background:#c2bdad}
.stone{background:#9a978e}
.mouse{background:#73736d}
.basalt{background:#565b5b}
.graphite{background:#343a43}
.granite{background:#263940}
.graphite-black{background:#111}
.signal-black{background:#070b0c}
.gentian{background:#005a9c}
.pigeon{background:#607f9f}
.chartwell{background:#93c7ad}
.sage{background:#8b9d7d}
.burgundy{background:#8d1024}
.ruby{background:#b00020}

@media(max-width:1300px){
  .colour-grid{grid-template-columns:repeat(4,1fr);}
}

@media(max-width:800px){
  .content{padding:20px 14px;}
  .content-head{flex-direction:column;gap:16px;}
  .filters{flex-direction:column;}
  .colour-grid{grid-template-columns:repeat(2,1fr);}
}















.content{
  padding:28px 42px;
  background:#f7f8fb;
}

.page-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  margin-bottom:24px;
}

.page-head h1{
  font-size:28px;
  margin-bottom:10px;
}

.breadcrumb{
  color:#64748b;
  font-size:14px;
}

.breadcrumb i{
  font-size:11px;
  margin:0 10px;
}

.head-actions{
  display:flex;
  gap:14px;
}

.btn{
  height:42px;
  padding:0 20px;
  border:1px solid #dfe3ea;
  border-radius:9px;
  background:#fff;
  font-weight:800;
  cursor:pointer;
}

.btn-red{
  background:#d60012;
  color:#fff;
  border-color:#d60012;
}

.filter-card,
.table-card{
  background:#fff;
  border:1px solid #e5e9f0;
  border-radius:14px;
  box-shadow:0 15px 45px rgba(15,23,42,.04);
}

.filter-card{
  padding:22px;
  display:flex;
  gap:16px;
  margin-bottom:20px;
}

.field{
  height:44px;
  min-width:240px;
  border:1px solid #dfe3ea;
  border-radius:9px;
  display:flex;
  align-items:center;
  gap:12px;
  padding:0 14px;
  color:#475569;
  background:#fff;
}

.field input{
  border:0;
  outline:0;
  width:100%;
  font-family:inherit;
}

.table-card{
  overflow:hidden;
}

.panel-table{
  width:100%;
  border-collapse:collapse;
}

.panel-table th{
  text-align:left;
  padding:18px 24px;
  background:#fbfcfe;
  color:#64748b;
  font-size:12px;
  text-transform:uppercase;
}

.panel-table td{
  padding:22px 24px;
  border-top:1px solid #edf0f4;
  vertical-align:middle;
}

.panel-img{
  width:120px;
  height:95px;
  object-fit:cover;
  border:1px solid #d9dde5;
  background:#f8fafc;
}

.panel-name{
  font-size:16px;
  font-weight:800;
}

.desc{
  color:#475569;
  line-height:1.6;
  max-width:280px;
}

.input-small{
  width:105px;
  height:42px;
  border:1px solid #dfe3ea;
  border-radius:9px;
  padding:0 14px;
  font-size:15px;
  font-weight:600;
}

.status-select{
  height:42px;
  border:1px solid #dfe3ea;
  border-radius:9px;
  padding:0 14px;
  color:#16a34a;
  font-weight:800;
  background:#fff;
}

.status-dot{
  display:inline-block;
  width:8px;
  height:8px;
  background:#22c55e;
  border-radius:50%;
  margin-right:8px;
}

.actions{
  display:flex;
  gap:10px;
}

.icon-btn{
  width:40px;
  height:40px;
  border:1px solid #dfe3ea;
  border-radius:9px;
  background:#fff;
  cursor:pointer;
  transition:.25s;
}

.icon-btn:hover{
  background:#f8fafc;
  transform:translateY(-2px);
}

.delete{
  color:#e60012;
  border-color:#ffd6d6;
}

.pagination{
  padding:18px 24px;
  border-top:1px solid #edf0f4;
  display:flex;
  justify-content:space-between;
  align-items:center;
  color:#64748b;
  font-size:14px;
}

.pages{
  display:flex;
  gap:8px;
}

.pages button{
  width:36px;
  height:36px;
  border:1px solid #dfe3ea;
  background:#fff;
  border-radius:8px;
  font-weight:800;
  cursor:pointer;
}

.pages .active{
  background:#d60012;
  color:#fff;
  border-color:#d60012;
}

@media(max-width:1000px){
  .filter-card{flex-direction:column}
  .table-card{overflow-x:auto}
  .panel-table{min-width:1050px}
}























