:root {
  --bg: #f4f6f9;
  --card: #ffffff;
  --primary: #0077cc;
  --accent: #ff8a00;
  --danger: #ff4d4f;
  --muted: #6b7280;
  --success: #28a745;
  --glass: rgba(255, 255, 255, 0.6);
}

* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--bg);
  color: #111827;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.topbar {
  padding: 20px;
  text-align: left;
  background: linear-gradient(90deg, #0f172a 0%, rgba(0, 119, 204, 0.9) 100%);
  color: white;
}
.topbar h1 {
  margin: 0;
  font-size: 1.6rem;
}
.topbar .subtitle {
  margin-top: 6px;
  opacity: 0.9;
  font-size: 0.95rem;
}

.main-grid {
  max-width: 1100px;
  margin: 24px auto;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 18px;
  padding: 0 16px;
}

/* cards */
.card {
  background: var(--card);
  padding: 18px;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}
.card.wide {
  min-height: 420px;
}

/* form */
form label {
  display: block;
  margin-bottom: 10px;
  font-size: 0.9rem;
  color: var(--muted);
}
form input {
  width: 100%;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid #e6e9ee;
  margin-top: 6px;
  font-size: 0.95rem;
}
.actions {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}
.btn {
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid #ddd;
  background: white;
  cursor: pointer;
  transition: all 0.15s;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn.primary {
  background: var(--primary);
  color: white;
  border: none;
}
.btn.warn {
  background: var(--accent);
  color: white;
  border: none;
}
.btn.danger {
  background: var(--danger);
  color: white;
  border: none;
}

/* table */
.table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}
.table th,
.table td {
  padding: 10px 12px;
  border-bottom: 1px solid #f1f5f9;
  text-align: left;
  vertical-align: middle;
  font-size: 0.95rem;
}
.table th {
  background: linear-gradient(#0077cc, #0066b3);
  color: white;
  border-bottom: 2px solid rgba(0, 0, 0, 0.06);
}
.table tbody tr:nth-child(even) {
  background: #fbfdff;
}

/* status badges */
.badge {
  display: inline-block;
  padding: 6px 8px;
  border-radius: 999px;
  font-size: 0.82rem;
}
.badge.ok {
  background: rgba(40, 167, 69, 0.12);
  color: var(--success);
  border: 1px solid rgba(40, 167, 69, 0.18);
}
.badge.warn {
  background: rgba(255, 138, 0, 0.08);
  color: var(--accent);
  border: 1px solid rgba(255, 138, 0, 0.12);
}
.badge.danger {
  background: rgba(255, 77, 79, 0.08);
  color: var(--danger);
  border: 1px solid rgba(255, 77, 79, 0.12);
}

/* tools */
.tools {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 12px;
}
.tools input {
  flex: 1;
}

/* alert area */
.alert-area {
  min-height: 36px;
  margin-bottom: 8px;
}
.alert {
  padding: 10px 12px;
  border-radius: 8px;
  color: white;
  display: inline-block;
  animation: fadeIn 0.35s ease;
}
.alert.low {
  background: var(--danger);
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* footer */
.footer {
  max-width: 1100px;
  margin: 18px auto;
  padding: 12px 16px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.9rem;
}
.small {
  opacity: 0.8;
}

/* responsivo */
@media (max-width: 880px) {
  .main-grid {
    grid-template-columns: 1fr;
    padding: 0 12px;
  }
}
/* === Rodapé da Equipe === */
.footer {
  margin-top: 50px;
  background: #1f2937;
  color: #f3f4f6;
  text-align: center;
  padding: 30px 10px;
  border-top: 3px solid #10b981;
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.2);
}

.footer h3 {
  font-size: 1.5em;
  color: #10b981;
  margin-bottom: 15px;
  font-weight: 600;
}

.team-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.team-member {
  background: #374151;
  padding: 10px 20px;
  border-radius: 12px;
  transition: transform 0.3s ease, background 0.3s ease;
  width: 260px;
}

.team-member:hover {
  background: #10b981;
  transform: scale(1.05);
  color: #111827;
}

.team-member .icon {
  font-size: 1.5em;
  margin-right: 6px;
}

.team-member .name {
  display: block;
  font-weight: 600;
  font-size: 1.1em;
}

.team-member .role {
  font-size: 0.9em;
  opacity: 0.9;
}

/* Destaque especial para o líder */
.leader {
  background: linear-gradient(135deg, #10b981, #34d399);
  color: #111827;
  font-weight: bold;
  border: 2px solid #064e3b;
}
