/* Basic modern styles for Hebrew RTL UI - Matching footer colors */
:root {
  --bg: #191C1F;
  --panel: #191C1F;
  --muted: #94a3b8;
  --text: #F1F5F9;
  --accent: #C8A876;
  --brand: #C8A876;
  --ok: #22c55e;
  --warn: #f59e0b;
  --err: #ef4444;
}

html[dir="rtl"] body { direction: rtl; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
  background: var(--bg);
  color: var(--text);
}

header {
  background: #191C1F;
  padding: 18px 22px;
  box-shadow: 0 2px 18px rgba(0,0,0,.25);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.app-header .logo {
  height: 40px;
  width: auto;
}

.app-header .nav-actions a,
.app-header .nav-actions button {
  color: white;
}

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

.brand h1 { margin: 0; font-size: 22px; font-weight: 700; }
.brand small { color: #e0e7ff; opacity: .8 }

main { max-width: 1080px; margin: 22px auto; padding: 0 16px; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.card {
  background: var(--panel);
  border: 1px solid var(--accent);
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 1px 2px rgba(0,0,0,.25);
}

.card h3 { margin: 0 0 8px 0; font-size: 18px; color: var(--text); }
.muted { color: var(--muted); }

.btn {
  display: inline-block; padding: 8px 12px; border-radius: 10px;
  background: var(--accent); color: #191C1F; text-decoration: none; font-weight: 600;
  border: 1px solid var(--accent);
  transition: opacity 0.2s;
}

.btn:hover {
  opacity: 0.9;
}

.btn.secondary { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn.success { background: var(--ok); color: white; border-color: var(--ok); }
.btn.warn { background: var(--warn); color: white; border-color: var(--warn); }
.btn.err { background: var(--err); color: white; border-color: var(--err); }

.toolbar { display: flex; gap: 10px; margin: 12px 0; }

input, select, textarea {
  background: #191C1F;
  border: 1px solid var(--accent);
  color: var(--text);
  padding: 8px 10px;
  border-radius: 10px;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(200, 168, 118, 0.2);
}

table { width: 100%; border-collapse: collapse; }
th, td { padding: 10px; border-bottom: 1px solid var(--accent); }
th { text-align: right; color: var(--text); font-weight: 600; }
td { color: var(--text); }

footer { text-align: center; color: var(--muted); padding: 22px 0; }

