/* Minimal modern tweaks */
body { background: #f7f9fb; }
.card-header { font-weight: 700; }
.form-row .form-group label { font-size: .9rem; }
.next-section { float: right; }

/* Responsive typography tweaks for mobile */
.jumbotron .display-4 { font-size: 2.5rem; line-height: 1.15; }
.jumbotron .lead { font-size: 1.1rem; }

@media (max-width: 576px) {
  .jumbotron { padding: 1rem; }
  .jumbotron .display-4 { font-size: 1.6rem; }
  .jumbotron .lead { font-size: 0.98rem; }
  .jumbotron .display-4, .jumbotron .lead { word-break: break-word; white-space: normal; }
  .container { padding-left: 0.75rem; padding-right: 0.75rem; }
}

/* Admin applicant blocks */
.app-card { background: #fff; border: 1px solid #e5e8ef; border-radius: 10px; box-shadow: 0 6px 14px -10px rgba(0, 0, 0, 0.25); padding: 1rem; margin-bottom: 1rem; }
.app-card-header { display: flex; justify-content: space-between; gap: 0.75rem; flex-wrap: wrap; align-items: baseline; }
.app-card-name { font-weight: 700; font-size: 1.05rem; }
.app-card-sub { color: #566175; font-size: 0.9rem; }
.app-card-time { font-weight: 600; color: #1f6feb; font-size: 0.95rem; }
.app-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.6rem 1rem; margin-top: 0.75rem; }
.app-grid .label { color: #7b8799; font-size: 0.85rem; margin-bottom: 0.15rem; }
.app-grid .value { font-size: 0.95rem; word-break: break-word; }
.show-on-small-inline { display: none; }
.app-inline-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.app-inline-row .field-item { display: flex; gap: 0.25rem; white-space: nowrap; }
.app-inline-row .field-item .label { margin-bottom: 0; }
.app-inline-row .field-item .value { font-weight: 500; }

@media (max-width: 900px) {
  .app-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 520px) {
  .app-grid { grid-template-columns: 1fr; }
  .hide-on-small { display: none !important; }
  .show-on-small-inline { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem; }
  .show-on-small-inline .label { margin-bottom: 0; color: #7b8799; }
  .show-on-small-inline .value { font-size: 0.95rem; }
}
