/* RESET */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
}

body {
  background: #f3f4f6;
  color: #1f2937;
}

/* HEADER */
.header {
  height: 60px;
  background: #111827;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 25px;
}

.header h1 {
  font-size: 18px;
  font-weight: 600;
}

.header a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
}

/* LAYOUT */
.layout {
  display: flex;
  min-height: calc(100vh - 60px);
}

/* SIDEBAR */
.sidebar {
  width: 220px;
  background: #1f2937;
  padding: 20px 0;
}

.sidebar a {
  display: block;
  padding: 12px 20px;
  color: #d1d5db;
  text-decoration: none;
  font-size: 14px;
}

.sidebar a:hover,
.sidebar a.active {
  background: #2563eb;
  color: #fff;
}

/* CONTENT */
.content {
  flex: 1;
  padding: 30px;
}

/* CARDS */
.card {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.06);
  margin-bottom: 25px;
}

.card h2 {
  font-size: 18px;
  margin-bottom: 15px;
}

/* TABLE */
table {
  width: 100%;
  border-collapse: collapse;
}

table th {
  text-align: left;
  font-size: 13px;
  color: #6b7280;
  border-bottom: 1px solid #e5e7eb;
  padding: 10px;
}

table td {
  padding: 12px 10px;
  border-bottom: 1px solid #e5e7eb;
  font-size: 14px;
}

table tr:hover {
  background: #f9fafb;
}

/* STATUS */
.status {
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.status.ativo {
  background: #dcfce7;
  color: #166534;
}

.status.atrasado {
  background: #fee2e2;
  color: #991b1b;
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 13px;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.btn.primary {
  background: #2563eb;
  color: #fff;
}

.btn.danger {
  background: #dc2626;
  color: #fff;
}

/* FORM */
.form {
  max-width: 480px;
}

.form label {
  font-size: 13px;
  color: #6b7280;
  display: block;
  margin-bottom: 4px;
}

.form input, .form select {
  width: 100%;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #d1d5db;
  margin-bottom: 15px;
}

.form input:focus {
  outline: none;
  border-color: #2563eb;
}
