:root{
  --bg:#f8f5f1;
  --surface:#ffffff;
  --surface-soft:#fcfaf8;

  --text:#2d251f;
  --muted:#8c8075;

  --gold:#c8a96a;
  --gold-dark:#b38f4d;

  --rose:#8b5e6c;
  --rose-dark:#744c59;

  --border:#ece4da;

  --success:#3d7c59;
  --warning:#b88b3c;
  --danger:#b8564a;

  --shadow-sm:0 2px 10px rgba(0,0,0,.04);
  --shadow-md:0 10px 30px rgba(0,0,0,.08);
  --shadow-lg:0 20px 50px rgba(0,0,0,.12);

  --radius:18px;
}

*{
  box-sizing:border-box;
  margin:0;
  padding:0;
}

html{
  scroll-behavior:smooth;
}

body{
  font-family:'Inter',sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.65;
}

a{
  text-decoration:none;
  transition:.25s ease;
}

img{
  max-width:100%;
  display:block;
}

.wrap{
  max-width:1280px;
  margin:auto;
  padding:32px 24px;
}

.kx{
  position:sticky;
  top:0;
  z-index:1000;

  backdrop-filter:blur(12px);
  background:rgba(28,22,18,.92);

  border-bottom:1px solid rgba(255,255,255,.08);

  padding:10px 32px;

  display:flex;
  justify-content:space-between;
  align-items:center;
}

.brand{
  font-family:'Cormorant Garamond',serif;
  font-size:2rem;
  font-weight:700;
  letter-spacing:4px;
}

.brand a{
  color:white;
}

.brand a:hover{
  color:var(--gold);
}

.nav-links{
  display:flex;
  align-items:center;
  gap:28px;
}

.nav-links a{
  color:#f3f0ec;
  font-size:.95rem;
  font-weight:500;
}

.nav-links a:hover{
  color:var(--gold);
}

.menu-toggle{
  display:none;
  flex-direction:column;
  gap:5px;
  cursor:pointer;
}

.menu-toggle span{
  width:24px;
  height:2px;
  background:white;
}

@media (max-width:900px){

  .menu-toggle{
    display:flex;
  }

  .nav-links{
    position:absolute;
    top:100%;
    left:0;
    right:0;

    background:#1d1814;

    flex-direction:column;
    align-items:flex-start;

    padding:20px 24px;

    display:none;
  }

  .nav-links.active{
    display:flex;
  }
}

h1{
  font-family:'Cormorant Garamond',serif;
  font-size:3rem;
  font-weight:700;
  line-height:1.1;
  margin-bottom:.5rem;
}

h2{
  font-family:'Cormorant Garamond',serif;
  font-size:2rem;
  margin-bottom:1rem;
}

h1 small{
  display:block;
  margin-top:10px;
  color:var(--muted);
  font-size:10px;
  font-family:'Inter',sans-serif;
  font-weight:400;
}

.layout{
  display:grid;
  grid-template-columns:280px 1fr;
  gap:28px;
}

@media(max-width:900px){
  .layout{
    grid-template-columns:1fr;
  }
}

.side{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:18px;

  box-shadow:var(--shadow-sm);
}

.side h3{
  color:var(--muted);
  text-transform:uppercase;
  letter-spacing:2px;
  font-size:.75rem;
  margin-bottom:12px;
}

.side a{
  display:block;
  padding:12px 14px;
  border-radius:12px;
  color:var(--text);
  margin-bottom:6px;
}

.side a:hover{
  background:var(--surface-soft);
}

.side a.active{
  background:var(--rose);
  color:white;
}

.card{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius);

  padding:20px 14px;

  box-shadow:var(--shadow-sm);

  transition:.3s ease;
  margin: 1rem 0;
}

.card:hover{
  box-shadow:var(--shadow-md);
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;

  padding:12px 22px;

  border:none;
  border-radius:12px;

  cursor:pointer;

  font-size:.85rem;
  font-weight:600;

  transition:.25s ease;
  margin-top: 1rem;
}

.btn:hover{
  transform:translateY(-2px);
}

.btn{
  background:var(--rose);
  color:white;
}

.btn:hover{
  background:var(--rose-dark);
}

.btn.gold{
  background:var(--gold);
  color:#2b2118;
}

.btn.gold:hover{
  background:var(--gold-dark);
}

.btn.ghost{
  background:transparent;

  color:var(--rose);
}

.btn.logout{
  background-color: rgba(255, 79, 79, 0.849);
  color: white;
  margin: 0;
}

label{
  display:block;
  margin-bottom:6px;
  color:var(--muted);
  font-size:.9rem;
}

input,
textarea,
select{
  width:100%;

  padding:12px 14px;

  border:1px solid var(--border);

  border-radius:12px;

  font-size:.95rem;

  background:white;

  transition:.2s ease;
}

input:focus,
textarea:focus,
select:focus{
  outline:none;
  border-color:var(--gold);
  box-shadow:0 0 0 4px rgba(200,169,106,.15);
}

.m-updt-btn {
    display: flex;
    font-size: 0.7rem;
    width: 100%;
    background-color: #8b5e6c;
    color: white;
    font-weight: 600;
    border-radius: 12px;
    padding: 12px;
}

table{
  width:100%;
  border-collapse:collapse;
}

th{
  text-align:left;
  color:var(--muted);
  font-size:.5rem;
  text-transform:uppercase;
  letter-spacing:1px;
}

th,td{
  padding:14px 0px;
  border-bottom:1px solid var(--border);
}

.pill{
  padding:5px 12px;
  border-radius:50px;
  font-size:.8rem;
  font-weight:600;
}

.pill.ok{
  background:#e8f3ec;
  color:var(--success);
}

.pill.warn{
  background:#fbf2df;
  color:var(--warning);
}

.pill.bad{
  background:#f8e4df;
  color:var(--danger);
}

.pill.info{
  background:#efe6ee;
  color:var(--rose-dark);
}

.messages{
  list-style:none;
  margin-bottom:24px;
}

.messages li{
  padding:14px 18px;
  border-radius:12px;
  margin-bottom:10px;
}

.messages .success{
  background:#e8f3ec;
  color:var(--success);
}

.messages .error{
  background:#f8e4df;
  color:var(--danger);
}

.messages .info{
  background:#efe6ee;
  color:var(--rose-dark);
}

.progress{
  height:10px;
  border-radius:999px;
  background:#ece7df;
  overflow:hidden;
  margin: 1rem;
}

.progress span{
  display:block;
  height:100%;
  background:linear-gradient(
      90deg,
      var(--gold),
      var(--rose)
  );
}

.timeline{
  list-style:none;
}

.timeline li{
  position:relative;
  padding-left:28px;
  padding-bottom:18px;
  border-left:2px solid var(--border);
}

.timeline li::before{
  content:"";
  position:absolute;
  left:-7px;
  top:2px;

  width:12px;
  height:12px;

  border-radius:50%;
  background:var(--rose);
}

.timeline li.done::before{
  background:var(--success);
}

.empty{
  text-align:center;
  color:var(--muted);
  padding:40px;
}

.field-error{
  color:#dc2626;
  margin-top:4px;
  font-size:.875rem;
}

.dropdown{
    position:relative;
}

.dropdown-menu{
    position:absolute;
    top:100%;
    left:0;

    min-width:220px;

    background:white;
    border:1px solid var(--border);

    border-radius:12px;

    box-shadow:var(--shadow-md);

    opacity:0;
    visibility:hidden;
    transform:translateY(8px);

    transition:.25s ease;

    z-index:1000;
}

.dropdown:hover .dropdown-menu{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 12px 16px;
    color: var(--text);
    border-radius: 12px;
}

.dropdown-menu a:hover{
    background:var(--surface-soft);
}

.custom-order-card{
    max-width:850px;
}

.luxury-form{
    display:flex;
    flex-direction:column;
    gap:18px;
}

.form-group{
    display:flex;
    flex-direction:column;
    gap:6px;
}

.form-group label{
    font-size:.9rem;
    font-weight:500;
    color:var(--text);
}

.form-group select,
.form-group input[type="text"],
.form-group input[type="number"],
.form-group input[type="date"],
.form-group textarea{
    width:100%;
}

.checkbox-field{
    background:#fcfaf8;
    border:1px solid var(--border);
    border-radius:12px;
    padding:14px 16px;
}

.checkbox-label{
    display:flex;
    align-items:center;
    gap:12px;
    cursor:pointer;
    margin:0;
}

.checkbox-label input[type="checkbox"]{
    width:18px;
    height:18px;
    accent-color:var(--gold);
    flex-shrink:0;
}

.checkbox-label span{
    color:var(--text);
    font-weight:500;
}

.form-actions{
    display:flex;
    gap:12px;
    margin-top:12px;
    flex-wrap:wrap;
}

.form-error{
    margin-top:8px;
    padding:12px;
    border-radius:10px;
    background:#fff3f2;
}

.luxury-form textarea{
    min-height:120px;
    resize:vertical;
}
