/* DCC — Custom CSS */

/* Navbar */
.navbar {
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
}

/* Cards légères */
.card {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}

.card-header {
  background: #f7fafc;
  border-bottom: 1px solid #e2e8f0;
  font-weight: 600;
  font-size: 0.9rem;
  color: #2d3748;
  padding: .6rem 1rem;
}

/* Badges projet */
.badge.bg-primary {
  font-size: 0.85rem !important;
  font-weight: 500;
}

/* Tables DT */
.dataTables_wrapper {
  font-size: 0.875rem;
}

table.dataTable thead th {
  background: #f7fafc;
  color: #4a5568;
  font-weight: 600;
  border-bottom: 2px solid #e2e8f0;
}

/* Plotly container */
.plotly {
  border-radius: 8px;
  overflow: hidden;
}

/* Alertes */
.alert {
  border-radius: 8px;
  font-size: 0.9rem;
}

/* Boutons */
.btn-primary {
  background-color: #2C5282;
  border-color: #2C5282;
}

.btn-primary:hover {
  background-color: #2a4a7a;
  border-color: #2a4a7a;
}

/* Spinner positioning */
.shiny-spinner-output-container {
  min-height: 100px;
}

/* Shinymanager login page */
#shinymanager-content {
  max-width: 380px;
}

/* Stats cards */
.card.text-center {
  min-width: 110px;
  border-radius: 10px;
}

/* File input */
.form-control[type="file"] {
  font-size: 0.875rem;
}

/* Scroll fix */
.main-panel {
  overflow-y: auto;
}
