@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800&display=swap');

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Montserrat', Arial, sans-serif;
  background: #e8eeef;
  color: #0D2628;
  min-height: 100vh;
  padding: 32px 16px 48px;
}

.success-box {
  text-align: center;
  padding: 40px 28px;
}

.success-box .success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #F7941D;
  color: #0D2628;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.success-box h2 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 10px;
  color: #0D2628;
}

.success-box p {
  font-size: 15px;
  line-height: 1.6;
  color: #3a5558;
  max-width: 480px;
  margin: 0 auto;
}

body.admin-body {
  padding: 0;
  min-height: 100vh;
  background-color: #e8eeef;
  background-image:
    radial-gradient(ellipse at top left, rgba(247, 148, 29, 0.06) 0%, transparent 45%),
    radial-gradient(ellipse at bottom right, rgba(13, 38, 40, 0.05) 0%, transparent 50%),
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 11px,
      rgba(13, 38, 40, 0.015) 11px,
      rgba(13, 38, 40, 0.015) 12px
    );
}

.wrap {
  max-width: 720px;
  margin: 0 auto;
}

.wrap--wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 8px;
}

.admin-shell {
  padding: 24px 16px 48px;
}

/* —— Admin topbar —— */
.admin-topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #0D2628;
  border-top: 4px solid #F7941D;
  box-shadow: 0 2px 12px rgba(13, 38, 40, 0.25);
}

.admin-topbar-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.admin-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
  min-width: 0;
}

.admin-brand-mark {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #F7941D;
  color: #0D2628;
  font-size: 18px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: -0.5px;
}

.admin-brand-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.admin-brand-text strong {
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}

.admin-brand-text em {
  font-style: normal;
  font-size: 11px;
  font-weight: 600;
  color: #a8c4c7;
  letter-spacing: 0.2px;
}

.admin-topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.admin-user {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #d0dcde;
}

.admin-role {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  background: rgba(247, 148, 29, 0.2);
  color: #F7941D;
}

.btn-ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  width: auto;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #F7941D;
  color: #fff;
}

.admin-footer {
  padding: 20px 16px 32px;
  text-align: center;
}

.admin-footer-inner {
  font-size: 12px;
  font-weight: 600;
  color: #5a7578;
}

/* —— Cards & public form —— */
.card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(13, 38, 40, 0.08);
  margin-bottom: 16px;
  overflow: hidden;
}

.card-header {
  background: #0D2628;
  padding: 32px 28px 28px;
  border-top: 5px solid #F7941D;
}

.card-header h1 {
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.2;
}

.card-header p {
  font-size: 14px;
  color: #a8c4c7;
  line-height: 1.6;
}

.card-header strong {
  color: #F7941D;
}

.card-body {
  padding: 28px;
}

.field {
  margin-bottom: 22px;
}

.field-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #0D2628;
}

.field .req {
  color: #F7941D;
}

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="password"],
.field input[type="url"],
.field input[type="date"],
.field textarea,
.field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d0dcde;
  border-radius: 6px;
  font-family: inherit;
  font-size: 14px;
  color: #0D2628;
  background: #fff;
  transition: border-color 0.2s;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: #F7941D;
}

.field textarea {
  min-height: 110px;
  resize: vertical;
}

.date-row {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: 10px;
}

.date-row select {
  width: 100%;
}

.option-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
}

.option-group--inline {
  grid-template-columns: repeat(2, minmax(100px, 1fr));
  max-width: 280px;
}

label.option-pick {
  display: block;
  margin: 0;
  cursor: pointer;
}

label.option-pick input[type="radio"] {
  display: none !important;
  visibility: hidden;
  position: absolute;
  width: 0;
  height: 0;
}

label.option-pick .option-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 16px;
  border: 2px solid #d0dcde;
  border-radius: 8px;
  background: #f8fafa;
  font-size: 14px;
  font-weight: 700;
  color: #3a5558;
  text-align: center;
  transition: all 0.2s ease;
  user-select: none;
}

label.option-pick:hover .option-card {
  border-color: #F7941D;
  background: #fff8f0;
  color: #0D2628;
}

label.option-pick input[type="radio"]:checked + .option-card {
  border-color: #F7941D;
  background: #F7941D;
  color: #0D2628;
  box-shadow: 0 4px 14px rgba(247, 148, 29, 0.3);
}

.conditional-field {
  margin-top: 14px;
  padding: 16px 18px;
  background: #f2f6f6;
  border-radius: 8px;
  border-left: 4px solid #F7941D;
}

.conditional-field.is-hidden {
  display: none;
}

.file-upload {
  display: block;
  border: 2px dashed #d0dcde;
  border-radius: 8px;
  padding: 28px 24px;
  text-align: center;
  background: #f8fafa;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.file-upload:hover {
  border-color: #F7941D;
  background: #fff8f0;
}

.file-upload input[type="file"] {
  display: none !important;
}

.file-upload .icon {
  font-size: 28px;
  margin-bottom: 8px;
}

.file-upload .label-text {
  font-size: 14px;
  font-weight: 700;
  color: #0D2628;
}

.file-upload .hint {
  font-size: 12px;
  color: #5a7578;
  margin-top: 6px;
}

.file-name {
  margin-top: 10px;
  font-size: 13px;
  color: #F7941D;
  font-weight: 700;
}

.btn {
  display: inline-block;
  width: 100%;
  padding: 16px 32px;
  background: #F7941D;
  color: #0D2628;
  font-family: inherit;
  font-size: 14px;
  font-weight: 800;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  text-align: center;
}

.btn:hover {
  background: #e8871a;
}

.btn-secondary {
  background: #0D2628;
  color: #fff;
  width: auto;
}

.btn-secondary:hover {
  background: #1a3d40;
}

.btn-outline {
  background: transparent;
  border: 2px solid #0D2628;
  color: #0D2628;
  width: auto;
}

.btn-outline:hover {
  background: #0D2628;
  color: #fff;
}

.btn-sm {
  width: auto;
  padding: 10px 16px;
  font-size: 12px;
}

.btn-danger {
  background: #c53030;
  color: #fff;
  width: auto;
}

.btn-danger:hover {
  background: #9b2c2c;
}

.form-actions {
  margin-top: 8px;
}

.form-actions-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.form-actions-row .btn {
  width: auto;
}

.alert {
  padding: 14px 18px;
  border-radius: 6px;
  margin-bottom: 20px;
  font-size: 14px;
  font-weight: 600;
}

.alert-error {
  background: #fde8e8;
  color: #9b1c1c;
  border-left: 4px solid #e53e3e;
}

.alert-success {
  background: #e6f7ed;
  color: #1a6b3c;
  border-left: 4px solid #38a169;
}

.footer-links {
  text-align: center;
  margin-top: 24px;
  font-size: 13px;
}

.footer-links a {
  color: #5a7578;
  text-decoration: none;
  font-weight: 600;
}

.footer-links a:hover {
  color: #F7941D;
}

.job-list {
  display: grid;
  gap: 14px;
}

.job-item {
  display: block;
  padding: 22px 24px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(13, 38, 40, 0.08);
  text-decoration: none;
  color: inherit;
  border-left: 4px solid #F7941D;
  transition: transform 0.15s, box-shadow 0.15s;
}

.job-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(13, 38, 40, 0.12);
}

.job-item h2 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 6px;
}

.job-item .meta {
  font-size: 13px;
  color: #5a7578;
  font-weight: 600;
}

.job-item .excerpt {
  margin-top: 10px;
  font-size: 14px;
  color: #3a5558;
  line-height: 1.5;
}

.job-desc {
  font-size: 14px;
  line-height: 1.7;
  color: #3a5558;
  white-space: pre-line;
}

.empty-state {
  padding: 48px 28px;
  text-align: center;
  color: #5a7578;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.6;
}

.empty-state a {
  color: #F7941D;
  font-weight: 800;
  text-decoration: none;
}

.empty-state a:hover {
  text-decoration: underline;
}

/* —— Admin chrome —— */
.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.admin-header h1 {
  font-size: 22px;
  font-weight: 800;
  color: #0D2628;
}

.admin-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.admin-nav {
  display: flex;
  gap: 4px 6px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(13, 38, 40, 0.08);
}

.admin-nav a {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  background: transparent;
  color: #0D2628;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -5px;
  transition: color 0.15s, background 0.15s, border-color 0.15s;
}

.admin-nav a:hover {
  color: #F7941D;
  background: rgba(247, 148, 29, 0.08);
  border-bottom-color: transparent;
}

/* —— Permissions matrix (admin korisnici) —— */
.permissions-matrix {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 8px;
}

.permissions-group {
  padding: 12px 14px;
  border-radius: 8px;
  background: #f3f7f7;
  border: 1px solid #dde5e6;
}

.permissions-title {
  font-size: 13px;
  font-weight: 700;
  color: #0D2628;
  margin-bottom: 6px;
}

.perm-item {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 12px;
  color: #385052;
  margin-top: 4px;
}

.perm-item input[type=\"checkbox\"] {
  margin-top: 2px;
}

/* —— Form builder field head —— */
.builder-field-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.builder-field-controls {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

/* —— Mobile responsive —— */
@media (max-width: 768px) {
  .permissions-matrix {
    grid-template-columns: 1fr;
  }
  
  .builder-field-head {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .builder-field-controls {
    width: 100%;
  }
  
  .hr-grid {
    grid-template-columns: 1fr;
  }
  
  .detail-grid {
    grid-template-columns: 1fr;
  }
  
  .admin-table {
    font-size: 12px !important;
  }
  
  .card-header {
    padding: 20px 16px 16px !important;
  }
  
  .card-body {
    padding: 16px !important;
  }
}

.admin-nav a.active {
  color: #fff;
  background: #0D2628;
  border-bottom-color: #F7941D;
  border-radius: 6px 6px 0 0;
}

.admin-sublinks {
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 600;
}

.admin-sublinks a {
  color: #0D2628;
  text-decoration: none;
  border-bottom: 1px solid #F7941D;
}

.admin-sublinks a:hover {
  color: #F7941D;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}

.stat-card {
  background: #fff;
  border-radius: 8px;
  padding: 20px 22px;
  box-shadow: 0 2px 12px rgba(13, 38, 40, 0.08);
  border-left: 4px solid #F7941D;
  position: relative;
  overflow: hidden;
}

.stat-card::after {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(13, 38, 40, 0.04);
}

.stat-card .label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #5a7578;
  margin-bottom: 8px;
}

.stat-card .value {
  font-size: 28px;
  font-weight: 800;
  color: #0D2628;
  line-height: 1;
}

/* —— Filters —— */
.filter-panel {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(13, 38, 40, 0.08);
  padding: 20px 22px;
  margin-bottom: 16px;
}

.filter-panel .filter-bar {
  margin-bottom: 0;
}

.filter-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px 16px;
  align-items: end;
  margin-bottom: 16px;
}

.filter-bar .field {
  margin-bottom: 0;
  min-width: 0;
}

.filter-bar .field--action {
  display: flex;
  align-items: flex-end;
}

.filter-bar .field--action .btn {
  width: auto;
}

/* —— Tables —— */
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

table th {
  background: #0D2628;
  color: #fff;
  padding: 12px 10px;
  text-align: left;
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

table td {
  padding: 12px 10px;
  border-bottom: 1px solid #e8eeef;
  vertical-align: middle;
}

table tbody tr:nth-child(even) td {
  background: #f7fafa;
}

table tr:hover td {
  background: #eef5f6;
}

.table-wrap {
  padding: 0 !important;
  overflow-x: auto;
  border-radius: 0 0 8px 8px;
}

.admin-table {
  min-width: 900px;
  font-size: 12px;
  position: relative;
}

.admin-table th {
  white-space: nowrap;
  position: sticky;
  top: 0;
  z-index: 10;
}

.admin-table th.col-actions-sticky {
  position: sticky;
  right: 0;
  z-index: 11;
}

.admin-table td.col-actions-sticky {
  position: sticky;
  right: 0;
  z-index: 9;
  background: #fff;
  border-left: 2px solid #F7941D;
  min-width: 110px;
}

.admin-table tr:hover td.col-actions-sticky {
  background: #fff;
}

.name-link {
  color: #0D2628;
  font-weight: 700;
  text-decoration: none;
}

.name-link:hover {
  color: #F7941D;
}

.icon-cell {
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
}

.admin-table td.icon-cell,
.admin-table td.col-actions {
  vertical-align: middle;
}

.admin-table .icon-btn,
.admin-table .btn-sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  box-sizing: border-box;
  height: 36px;
  line-height: 1;
  margin: 0;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0.5px;
  min-width: 52px;
  height: 36px;
  line-height: 1;
  text-align: center;
  box-sizing: border-box;
  vertical-align: middle;
}

.icon-btn--cv {
  background: #0D2628;
  color: #fff;
}

.icon-btn--cv:hover {
  background: #1a3d40;
}

.icon-btn--pdf {
  background: #F7941D;
}

.action-links {
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.action-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 4px;
  background: #e8eeef;
  color: #0D2628;
  text-decoration: none;
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: all 0.15s;
  padding: 0;
}

.action-link:hover {
  background: #F7941D;
  color: #fff;
  transform: scale(1.1);
}

.action-link.btn-danger-mini:hover {
  background: #dc2626;
}

.icon-btn--pdf {
  color: #0D2628;
}

.icon-btn--pdf:hover {
  background: #e8871a;
}

.badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  background: #e8eeef;
  color: #0D2628;
}

.badge-active {
  background: #e6f7ed;
  color: #1a6b3c;
}

.badge-closed {
  background: #fde8e8;
  color: #9b1c1c;
}

.badge.status-nova { background: #e8eeef; color: #0D2628; }
.badge.status-pregledana { background: #e7f0ff; color: #1e4a8c; }
.badge.status-telefon { background: #fff4e0; color: #8a5a00; }
.badge.status-intervju { background: #f3e8ff; color: #5b2d8e; }
.badge.status-ponuda { background: #e6f7ed; color: #1a6b3c; }
.badge.status-zaposlen { background: #0D2628; color: #F7941D; }
.badge.status-odbijen { background: #fde8e8; color: #9b1c1c; }
.badge.status-cekanje { background: #f5f0e6; color: #6b5a3c; }

.hr-panel {
  background: #f7fafa;
  border: 1px solid #e0e8e8;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 8px;
}

.hr-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.rating-stars {
  letter-spacing: 1px;
  color: #F7941D;
  font-weight: 700;
  white-space: nowrap;
}

.notes-panel {
  margin-top: 22px;
  border-top: 1px solid #e8eeef;
  padding-top: 16px;
}

.note-form textarea {
  width: 100%;
  margin-bottom: 10px;
  min-height: 80px;
}

.notes-list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
}

.notes-list li {
  border: 1px solid #e5eaea;
  border-radius: 6px;
  padding: 12px 14px;
  margin-bottom: 8px;
  background: #fff;
}

.note-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  color: #6b7c7d;
  margin-bottom: 6px;
}

.note-body {
  font-size: 13px;
  line-height: 1.45;
  white-space: pre-wrap;
}

.bulk-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.bulk-status select {
  min-width: 160px;
}

.muted-note {
  font-size: 12px;
  color: #6b7c7d;
}

.consent-group {
  margin-top: 8px;
}

.consent-label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 500;
  cursor: pointer;
}

.consent-label input {
  margin-top: 3px;
  width: auto;
  flex-shrink: 0;
}

.form-actions-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.login-box {
  max-width: 400px;
  margin: 60px auto;
}

.login-box h1 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 20px;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

.detail-item label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #5a7578;
  display: block;
  margin-bottom: 4px;
}

.detail-item p {
  font-size: 14px;
  font-weight: 600;
}

.url-box {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 8px;
}

.url-box input {
  flex: 1;
  min-width: 220px;
  padding: 10px 12px;
  border: 1px solid #d0dcde;
  border-radius: 6px;
  font-family: inherit;
  font-size: 13px;
}

.builder-toolbar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.builder-field {
  border: 1px solid #d0dcde;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 14px;
  background: #f8fafa;
}

.builder-field-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.builder-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.builder-grid .field {
  margin-bottom: 0;
}

.builder-options.is-hidden,
.conditional-field-wrap.is-hidden,
.is-hidden {
  display: none;
}

.col-check {
  width: 40px;
  text-align: center;
  vertical-align: middle;
}

.col-check input[type="checkbox"] {
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.bulk-bar {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid #e0e8ea;
  background: #f0f4f5;
}

.row-deleted {
  opacity: 0.7;
}

.row-deleted td {
  background: #faf5f5 !important;
}

.inline-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  white-space: nowrap;
}

.section-title {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 16px;
}

@media (max-width: 720px) {
  .admin-topbar-inner {
    padding: 10px 14px;
    flex-wrap: wrap;
  }

  .admin-brand-text em {
    display: none;
  }

  .admin-user {
    font-size: 12px;
  }

  .admin-nav {
    gap: 2px;
  }

  .admin-nav a {
    padding: 8px 10px;
    font-size: 11px;
  }

  .admin-shell {
    padding: 16px 12px 40px;
  }

  .filter-bar {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  body {
    padding: 16px 12px 32px;
  }

  .wrap {
    max-width: 100%;
  }

  .wrap--wide {
    padding: 0 4px;
  }

  .card {
    border-radius: 6px;
    margin-bottom: 12px;
  }

  .card-header {
    padding: 20px 14px 14px !important;
  }

  .card-body {
    padding: 14px !important;
  }

  .date-row {
    grid-template-columns: 1fr;
  }

  .option-group--inline {
    max-width: 100%;
  }

  .detail-grid {
    grid-template-columns: 1fr;
  }

  .hr-grid {
    grid-template-columns: 1fr;
  }

  .builder-grid {
    grid-template-columns: 1fr;
  }

  table {
    font-size: 11px;
  }

  table th,
  table td {
    padding: 6px 4px;
  }

  .admin-table {
    min-width: 600px;
  }

  .col-actions-sticky {
    min-width: 90px;
  }

  .action-links {
    gap: 4px;
  }

  .action-link {
    width: 28px;
    height: 28px;
    font-size: 14px;
  }

  .inline-actions {
    width: 100%;
    flex-direction: column;
  }

  .inline-actions .btn {
    width: 100%;
  }

  .admin-table {
    overflow-x: auto;
    display: block;
  }

  .form-actions-row {
    flex-direction: column;
  }

  .form-actions-row .btn {
    width: 100%;
  }

  .bulk-bar {
    flex-direction: column;
  }

  .bulk-bar button, .bulk-bar select {
    width: 100%;
  }

  .admin-topbar-inner {
    padding: 8px 10px;
  }

  .admin-brand-mark {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }

  .admin-brand-text strong {
    font-size: 13px;
  }

  .section-title {
    font-size: 15px;
    margin-bottom: 12px;
  }

  .field-label {
    font-size: 12px;
  }

  .btn {
    font-size: 12px;
    padding: 8px 12px;
  }

  .btn-sm {
    padding: 6px 10px;
    font-size: 11px;
  }

  .admin-topbar-right .admin-user span:not(.admin-role) {
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}
