/* JustScout UI polish (mobile-first) */

:root{
  --js-card-radius: 16px;
}

body{
  background: #f6f7fb;
}

/* Keep content readable on big monitors */
.main-container{
  max-width: 1200px;
}

/* A simple wrapper so content doesn't touch the edges on mobile */
.page-wrap{
  padding: 0 .25rem;
}

@media (min-width: 576px){
  .page-wrap{ padding: 0 .5rem; }
}

/* Use a consistent card look */
.card.js-card{
  border: 0;
  border-radius: var(--js-card-radius);
  box-shadow: 0 6px 24px rgba(0,0,0,.06);
}

.card.js-card .card-header{
  background: rgba(255,255,255,.65);
  border-bottom: 1px solid rgba(0,0,0,.06);
}

/* Sticky action bar for long admin/config pages */
.sticky-actions{
  position: sticky;
  bottom: 0;
  z-index: 1020;
  background: rgba(246,247,251,.92);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(0,0,0,.08);
}

/* Make tables scroll on phones */
.table-responsive{
  -webkit-overflow-scrolling: touch;
}

/* Reduce DataTables chrome */
.dataTables_wrapper .dataTables_filter input{
  border-radius: 10px;
}

/* Navbar badge alignment */
.navbar .badge{ line-height: 1.25; }

/* Better form spacing */
.form-group, .mb-3{ margin-bottom: 1rem; }

/* Smaller helper text */
.form-text{ font-size: .85rem; }

.badge-soft { background: rgba(13,110,253,.12); color:#0d6efd; border:solid rgba(13,110,253,.25); }
.badge-soft-success { background: rgba(25,135,84,.12); color:#198754; border:1px solid rgba(25,135,84,.25); }
.badge-soft-warning { background: rgba(255,193,7,.16); color:#856404; border:1px solid rgba(255,193,7,.25); }
