:root{
  --bg: #F7ECD6;
  --card: #E7D8B7;
  --ink: #0F172A;
  --muted: #475569;
  --primary: #1B373D;
  --accent: #E89442;
  --border: rgba(27,55,61,.18);
  --shadow: 0 18px 45px rgba(15,23,42,.10);
  --radius: 18px;
  --radius2: 24px;
}

*{ box-sizing:border-box; }
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  direction: rtl;
}

.container{
  width: min(980px, 92vw);
  margin: 28px auto;
}

.card{
  background: rgba(255,255,255,.35);
  border: 1px solid var(--border);
  border-radius: var(--radius2);
  box-shadow: var(--shadow);
  padding: 18px;
  backdrop-filter: blur(8px);
}

.header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin-bottom: 14px;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
}
.brand .dot{
  width: 38px; height: 38px;
  border-radius: 14px;
  background: var(--primary);
  position: relative;
}
.brand .dot::after{
  content:"";
  position:absolute; inset:10px;
  border-radius: 10px;
  background: var(--accent);
  opacity:.95;
}
h1{
  margin:0;
  font-size: 20px;
}
p.lead{
  margin: 6px 0 0 0;
  color: var(--muted);
  font-size: 14px;
}

.grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 760px){
  .grid{ grid-template-columns: 1fr; }
}

label{
  display:block;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 6px;
}

input, select, textarea{
  width:100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.55);
  outline: none;
  font-size: 14px;
}
textarea{ min-height: 110px; resize: vertical; }

.row{
  margin-top: 12px;
}

.inline{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.pill{
  display:flex;
  align-items:center;
  gap:8px;
  padding: 10px 12px;
  border:1px solid var(--border);
  border-radius: 999px;
  background: rgba(255,255,255,.45);
}

.btn{
  border: none;
  cursor: pointer;
  padding: 12px 16px;
  border-radius: 14px;
  font-weight: 700;
  background: var(--primary);
  color: white;
}
.btn:hover{ filter: brightness(1.06); }

.btn.secondary{
  background: rgba(27,55,61,.10);
  color: var(--primary);
  border: 1px solid var(--border);
}

.error{
  margin-top: 6px;
  color: #b42318;
  font-size: 12px;
}

.notice{
  padding: 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(232,148,66,.12);
  color: var(--ink);
  margin: 12px 0;
}

.table{
  width:100%;
  border-collapse: collapse;
  overflow:hidden;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.45);
}
.table th, .table td{
  padding: 10px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.table th{ color: var(--muted); text-align:right; }
.table tr:last-child td{ border-bottom: none; }

.badge{
  display:inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.55);
}
