:root {
  --primary-color: #2563eb;
  --secondary-color: #64748b;
  --bg-color: #f8fafc;
  --card-border-radius: 16px;
  --transition: all 0.3s ease;
}

body {
  background-color: var(--bs-info-text-emphasis);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #1e293b;
}

.card {
  border: none;
  border-radius: var(--card-border-radius);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: var(--transition);
}

.card-login {
  max-width: 400px;
  margin: 80px auto;
  padding: 2rem;
}

.card-checklist {
  max-width: 800px;
  margin: 2rem auto;
  overflow: hidden;
}

.header-app {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  color: #fff;
  padding: 2rem 1.5rem;
  text-align: center;
}

.header-app h5 {
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 0.25rem;
}

.item-checklist {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  margin-bottom: 0.75rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  transition: var(--transition);
}

.item-checklist:hover {
  border-color: var(--primary-color);
  background-color: #f1f5f9;
}

.item-checklist label {
  font-weight: 500;
  font-size: 0.95rem;
  color: #334155;
}

.btn-check-group .btn-outline-success, .btn-check-group .btn-outline-danger {
  border-radius: 8px;
  padding: 0.4rem 1rem;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.75rem;
}

/* Dashboard Styles */

.kpi-card {
  padding: 1.5rem;
  border-left: 5px solid transparent;
}

.kpi-card.primary {
  border-left-color: #2563eb;
}

.kpi-card.success {
  border-left-color: #10b981;
}

.kpi-card.danger {
  border-left-color: #ef4444;
}

.kpi-card.warning {
  border-left-color: #f59e0b;
}

.kpi-icon {
  font-size: 2rem;
  opacity: 0.2;
  position: absolute;
  right: 1.5rem;
  top: 1.5rem;
}

.navbar {
  background: #ffffff !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  padding: 1rem 0;
}

.navbar-brand {
  font-weight: 800;
  color: #1e293b !important;
}

.fotos-preview {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.fotos-preview img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

@media (max-width: 576px) {
  .item-checklist {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
}

@media (max-width: 576px) {
  .btn-check-group {
    display: flex;
    width: 100%;
  }
}

@media (max-width: 576px) {
  .btn-check-group .btn {
    flex: 1;
  }
}

#itens-checklist {
  font-size: 0.8rem;
}

.table th, .table td {
  font-size: 0.875rem;
  padding: 0.5rem 0.75rem;
}

@media (max-width: 992px) {
  .table {
    font-size: 0.8rem;
  }
}

