body {
  background-color: #f4f6f9;
  font-family: 'Segoe UI', Arial, sans-serif;
}

.panel-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  overflow: hidden;
  margin-bottom: 24px;
}

.panel-header {
  background-color: #1b3a6b;
  color: #fff;
  font-weight: 600;
  text-align: center;
  padding: 14px 16px;
  font-size: 1rem;
}

.list-header {
  display: flex;
  align-items: center;
  padding: 12px 20px;
  background-color: #f8f9fb;
  border-bottom: 1px solid #e9ecef;
  color: #6c757d;
  font-size: 0.85rem;
}

.list-row {
  display: flex;
  align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid #f0f1f3;
  transition: background-color .15s;
}
.list-row:last-child { border-bottom: none; }
.list-row:hover { background-color: #f8f9fb; }

.col-status  { flex: 0 0 60px; }
.col-nome    { flex: 1 1 260px; font-weight: 600; color: #2b2f38; }
.col-ultima  { flex: 0 0 160px; color: #444; }
.col-proxima { flex: 0 0 160px; color: #444; }
.col-local   { flex: 0 0 140px; color: #444; }
.col-acoes {
    flex: 0 0 100px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
}

.status-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}
.status-ok      { background-color: #2ea043; }
.status-atencao { background-color: #f0ad0e; }
.status-vencida { background-color: #d9363e; }
.status-sem-data { background-color: #d9363e; }

.edit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    background: none;
    border: none;
    color: #6c757d;
    cursor: pointer;
    font-size: 1rem;
    padding: 6px;
    border-radius: 6px;
    text-decoration: none;
}

.edit-btn:hover {
    color: #1b3a6b;
    background-color: #eef1f6;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 4px;
  border-bottom: 1px solid #f0f1f3;
  font-size: 0.92rem;
}
.detail-row:last-child { border-bottom: none; }
.detail-label { color: #6c757d; }
.detail-value { color: #2b2f38; font-weight: 600; text-align: right; }

.empty-state {
  text-align: center;
  padding: 40px 20px;
  color: #6c757d;
}

.toolbar {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.toolbar input, .toolbar select {
  max-width: 240px;
}

.qr-code-modal .modal-footer {
    display: none !important;
}
