body {
  font-family: "Tahoma", Arial, sans-serif;
  margin: 0;
  padding: 0;
  direction: rtl;
  background: #f5f7fa;
  color: #111;
}

header {
  background: #075985;
  color: white;
  text-align: center;
  padding: 15px;
}

#dateHeader {
  font-weight: bold;
  font-size: 1.2em;
  margin: 5px 0;
}

.nav-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
}

button {
  padding: 6px 12px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  background: #2563eb;
  color: white;
}
button:hover { background: #1e40af; }

.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  margin: 15px;
  gap: 10px;
}
.card {
  background: white;
  padding: 12px;
  border-radius: 8px;
  flex: 1;
  min-width: 140px;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0,0,0,.1);
}
.card span {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
}

#commitmentsList {
  list-style: none;
  padding: 10px;
  margin: 0;
}
#commitmentsList li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  margin-bottom: 6px;
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
  gap: 10px;
}
#commitmentsList li span {
  flex: 1;
  text-align: right;
  font-weight: 600;
}
#commitmentsList li input[type="number"] {
  width: 100px;
  direction: ltr;
  font-size: 15px;
}
#commitmentsList li input[disabled] {
  background: #f3f5f7;
  color: #111;
  opacity: 1;
  border: 1px solid #e0e4e8;
}
#commitmentsList li input[type="checkbox"] {
  width: 20px;
  height: 20px;
}

footer {
  text-align: center;
  margin: 20px;
}
