/* Small additions on top of the main site's style.css (loaded first) */

.dmb-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.dmb-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.dmb-tabs a {
  text-decoration: none;
  color: var(--text-dim);
  padding: 0.5rem 1.1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.dmb-tabs a.active,
.dmb-tabs a:hover {
  color: #1a1a1a;
  background: linear-gradient(45deg, var(--accent-1), var(--accent-2));
  border-color: transparent;
}

table.dmb-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
}

table.dmb-table th, table.dmb-table td {
  text-align: left;
  padding: 0.75rem 0.6rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.92rem;
}

table.dmb-table th {
  color: var(--text-dim);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

table.dmb-table tr.overdue td { color: #ff6b6b; }
table.dmb-table tr.soon td.due-cell { color: var(--accent-1); }

.dmb-form {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.dmb-form .row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.dmb-form .field {
  flex: 1;
  min-width: 160px;
}

.dmb-form label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 0.3rem;
}

.dmb-form input,
.dmb-form select,
.dmb-form textarea {
  width: 100%;
  padding: 0.6rem 0.7rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.25);
  color: #fff;
  font-family: inherit;
  font-size: 0.9rem;
}

.dmb-form textarea { min-height: 70px; resize: vertical; }

.auth-wrap {
  max-width: 380px;
  margin: 4rem auto;
}

.auth-wrap .card {
  padding: 2rem;
}

.auth-wrap h1 {
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
  text-align: center;
}

.error-box {
  background: rgba(255, 107, 107, 0.12);
  border: 1px solid rgba(255, 107, 107, 0.4);
  color: #ff9b9b;
  padding: 0.7rem 1rem;
  border-radius: 8px;
  font-size: 0.88rem;
  margin-bottom: 1rem;
}

.icon-btn {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  font-size: 0.9rem;
}

.icon-btn:hover { color: #ff6b6b; }

.empty-note {
  color: var(--text-dim);
  font-size: 0.9rem;
  padding: 1rem 0;
}
