html,
body {
  min-height: 100%;
}

body {
	padding-top: 80px !important;
	/* font-size: 0.85rem; */
}

body.d-flex {
  min-height: 100vh;
}

body.no-navbar {
	padding-top: 0 !important;
	overflow: hidden;
}

.app-main {
  flex: 1 0 auto;
  display: block;
}

.app-navbar {
  background: linear-gradient(90deg, #111827 0%, #1f2937 100%);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.18);
  min-height: 80px;
}

.app-navbar__brand {
  margin-left: 50px;
}

.app-navbar__collapse {
  align-items: center;
}

.app-navbar__menu {
  gap: 0.5rem;
}

.app-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.8rem 1.1rem !important;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.88) !important;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.01em;
  transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.app-nav-link:hover,
.app-nav-link:focus {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff !important;
  transform: translateY(-1px);
}

.app-nav-link.active {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.app-nav-link__icon {
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.95rem;
  flex-shrink: 0;
}

.app-nav-link__text {
  white-space: nowrap;
}

.app-nav-link--logout {
  color: #ffd7d7 !important;
}

.app-nav-link--logout .app-nav-link__icon {
  background: rgba(239, 68, 68, 0.22);
}

.app-navbar__partner-logo {
  padding-left: 50px;
  padding-right: 50px;
}


.lh-condensed {
	line-height: 1.25;
}

label{
	font-size: 1rem;
}

.footer {
  flex-shrink: 0;
  background-color: #f5f5f5;
  border-top: 1px solid #e5e7eb;
}

.footer > .container {
  padding-right: 15px;
  padding-left: 15px;
}


@media (min-width: 768px) {
	.bd-placeholder-img-lg {
	  font-size: 3.5rem;
}
}

@media (max-width: 991.98px) {
  .app-navbar {
    min-height: auto;
  }

  .app-navbar__brand {
    margin-left: 1rem;
  }

  .app-navbar__menu {
    gap: 0.25rem;
    padding-top: 1rem;
    padding-bottom: 0.75rem;
  }

  .app-nav-link {
    width: 100%;
    justify-content: flex-start;
    border-radius: 0.9rem;
  }

  .app-navbar__partner-logo {
    padding: 0.75rem 1rem 1rem;
  }
}

/* ── Login oldal ── */
.login-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  background: linear-gradient(145deg, #f0f2f5 0%, #dde1e7 100%);
}

.login-card {
  background: #ffffff;
  border-radius: 1rem;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
  padding: 2.5rem 2.5rem 2rem;
  width: 100%;
  max-width: 420px;
}

.login-card .form-floating label {
  font-size: 0.9rem;
}

.login-card .form-control:focus {
  border-color: #212529;
  box-shadow: 0 0 0 0.2rem rgba(33, 37, 41, 0.15);
}

.login-card .btn-dark {
  letter-spacing: 0.03em;
  font-weight: 500;
}

/* ── Dashboard főoldal ── */
.dashboard-wrapper {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
  background: #f4f6f9;
}

.dashboard-grid {
  display: grid;
  gap: 1.75rem;
  width: 100%;
  max-width: 1000px;
}

.dashboard-grid--2 { grid-template-columns: repeat(2, 1fr); }
.dashboard-grid--3 { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 768px) {
  .dashboard-grid--2,
  .dashboard-grid--3 { grid-template-columns: 1fr; }
}

.dash-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2.5rem 2rem;
  border-radius: 1.25rem;
  text-decoration: none;
  color: #fff;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  box-shadow: 0 6px 24px rgba(0,0,0,0.10);
}

.dash-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 36px rgba(0,0,0,0.18);
  color: #fff;
}

.dash-card--blue  { background: linear-gradient(135deg, #1a73e8, #0d47a1); }
.dash-card--amber { background: linear-gradient(135deg, #f59e0b, #b45309); }
.dash-card--red   { background: linear-gradient(135deg, #e53935, #880e4f); }

.dash-card__icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  opacity: 0.92;
}

.dash-card__title {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 0.5rem;
}

.dash-card__sub {
  font-size: 0.9rem;
  opacity: 0.82;
  font-weight: 400;
}

/* ── Új ügy űrlap ── */
.case-page-shell {
  padding: 2rem 1.5rem 2.5rem;
  background: #f8fafc;
}

.case-form {
  max-width: 1320px;
  margin: 0 auto;
}

.case-form__hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem 2.25rem;
  margin-bottom: 1.5rem;
  border-radius: 1.5rem;
  background: linear-gradient(135deg, #ffffff 0%, #eef4ff 100%);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.case-form__eyebrow,
.case-section-card__eyebrow {
  margin-bottom: 0.45rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #4f46e5;
}

.case-form__title {
  margin-bottom: 0.5rem;
  font-size: 2rem;
  font-weight: 800;
  color: #111827;
}

.case-form__lead {
  max-width: 780px;
  margin-bottom: 0;
  color: #475569;
  font-size: 1rem;
}

.case-form__hero-badge {
  width: 86px;
  height: 86px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 1.5rem;
  background: linear-gradient(135deg, #1d4ed8 0%, #4338ca 100%);
  color: #ffffff;
  font-size: 2rem;
  box-shadow: 0 16px 30px rgba(29, 78, 216, 0.25);
}

.case-section-card {
  margin-bottom: 1.5rem;
  border: 0;
  border-radius: 1.35rem;
  background: #ffffff;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.07);
  overflow: hidden;
}

.case-section-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 1.5rem;
  border-bottom: 1px solid #e5e7eb;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.case-section-card__header h5 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
}

.case-section-card__body {
  padding: 1.5rem;
}

.case-copy-button {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.65rem 1rem;
  font-weight: 600;
}

.case-form .form-label {
  margin-bottom: 0.45rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: #334155;
}

.case-form .form-control,
.case-form .form-select,
.case-form .input-group-text {
  min-height: 48px;
  border-color: #dbe2ea;
}

.case-form .case-list-select {
  min-height: unset;
  height: auto;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  background-image: none;
}

.case-form .case-list-select option {
  padding: 0.45rem 0.75rem;
}

.case-form .form-control,
.case-form .form-select {
  border-radius: 0.9rem;
}

.case-form .input-group > .form-control,
.case-form .input-group > .form-select {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.case-form .input-group-text {
  border-radius: 0.9rem 0 0 0.9rem;
  background: #f8fafc;
  color: #475569;
}

.case-form .form-control:focus,
.case-form .form-select:focus {
  border-color: #93c5fd;
  box-shadow: 0 0 0 0.25rem rgba(59, 130, 246, 0.16);
}

.case-textarea {
  min-height: 136px;
  resize: vertical;
}

.case-form__check {
  padding: 1rem 1rem 1rem 2.5rem;
  border-radius: 1rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.case-form__tip {
  border: 0;
  border-radius: 1rem;
  background: #eff6ff;
  color: #1e3a8a;
}

.case-form .form-control:required:invalid,
.case-form .form-select:required:invalid,
.case-form .case-textarea:required:invalid {
  border-color: #dc3545;
  box-shadow: inset 0 1px 2px rgba(220, 53, 69, 0.08);
}

.case-form .form-control:required:valid,
.case-form .form-select:required:valid,
.case-form .case-textarea:required:valid {
  border-color: #ced4da;
  box-shadow: none;
}

.case-form__actions {
  display: flex;
  justify-content: flex-end;
  padding: 0.5rem 0 1rem;
}

.case-form__submit {
  min-width: 240px;
  border-radius: 999px;
  padding: 0.95rem 1.6rem;
  font-weight: 700;
  box-shadow: 0 12px 26px rgba(245, 158, 11, 0.28);
}

.case-form__actions--left {
  justify-content: flex-start;
}

.case-success-card {
  max-width: 980px;
  margin: 0 auto 1.25rem;
  border-radius: 1.5rem;
  border: 1px solid #b7ebcf;
  background: linear-gradient(145deg, #f7fff9 0%, #ecfff4 100%);
  box-shadow: 0 16px 38px rgba(22, 163, 74, 0.14);
  padding: 1.5rem;
}

.case-success-card__head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.case-success-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.25rem;
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  box-shadow: 0 10px 22px rgba(21, 128, 61, 0.28);
}

.case-success-card__eyebrow {
  margin: 0;
  color: #166534;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-size: 0.75rem;
  font-weight: 700;
}

.case-success-card__title {
  margin: 0.2rem 0 0;
  font-size: 1.4rem;
  font-weight: 800;
  color: #14532d;
}

.case-success-card__meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.case-success-card__meta-item {
  border: 1px solid #d1fae5;
  border-radius: 0.85rem;
  padding: 0.72rem 0.85rem;
  background: #ffffff;
}

.case-success-card__meta-label {
  display: block;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: #047857;
}

.case-success-card__meta-value {
  display: block;
  margin-top: 0.25rem;
  color: #0f172a;
  font-weight: 700;
}

.case-success-card__cta {
  border-radius: 999px;
  font-weight: 700;
  padding: 0.72rem 1.2rem;
}

.case-success-card__mail {
  margin: 1rem 0 0;
  padding: 0.72rem 0.9rem;
  border-radius: 0.75rem;
  font-weight: 600;
}

.case-success-card__mail--ok {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.case-success-card__mail--error {
  background: #fff1f2;
  color: #9f1239;
  border: 1px solid #fecdd3;
}

/* ── Korábbi ügyek oldal ── */
.case-page-shell--table {
  min-height: calc(100vh - 80px);
}

.cases-page {
  max-width: 1360px;
  margin: 0 auto;
}

.cases-page--full {
  max-width: 100%;
}

.cases-page__hero-badge {
  background: linear-gradient(135deg, #b45309 0%, #f59e0b 100%);
  box-shadow: 0 16px 30px rgba(217, 119, 6, 0.25);
}

.stats-page__hero-badge {
  background: linear-gradient(135deg, #0d47a1 0%, #1e88e5 100%);
  box-shadow: 0 16px 30px rgba(30, 136, 229, 0.25);
}

.export-page__hero-badge {
  background: linear-gradient(135deg, #065f46 0%, #059669 100%);
  box-shadow: 0 16px 30px rgba(5, 150, 105, 0.25);
}

.users-page__hero-badge {
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  box-shadow: 0 16px 30px rgba(124, 58, 237, 0.25);
}

.users-page__hero-badge--danger {
  background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
  box-shadow: 0 16px 30px rgba(220, 38, 38, 0.25);
}

.cases-table-card .case-section-card__body {
  padding: 1.25rem 1.5rem 1.5rem;
}

.cases-table-wrap {
  border-radius: 1rem;
  border: 1px solid #e5e7eb;
  overflow: hidden;
  background: #ffffff;
}

.cases-table-wrap .table {
  margin-bottom: 0;
  border-collapse: separate;
  border-spacing: 0;
}

#ugyek thead th {
  background: linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
  color: #1f2937;
  font-weight: 700;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 2px solid #dbe4ff;
}

#ugyek thead th:first-child {
  border-top-left-radius: 0.8rem;
}

#ugyek thead th:last-child {
  border-top-right-radius: 0.8rem;
}

/* ── Export oldal ── */
.export-page-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
  min-height: calc(100vh - 80px);
}

.export-section,
.export-info-section {
  margin-top: 1.5rem;
}

.export-label-required {
  color: #dc2626;
  font-weight: 700;
}

.export-info-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.export-info-list li {
  padding: 0.5rem 0 0.5rem 1.8rem;
  position: relative;
  color: #4b5563;
}

.export-info-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #10b981;
  font-weight: 700;
}

/* ── Statisztika oldal ── */
.stats-page-shell {
  max-width: 1360px;
  margin: 0 auto;
  padding: 2rem 1rem;
  min-height: calc(100vh - 80px);
}

.stats-badge {
  background: linear-gradient(135deg, #0d47a1 0%, #1e88e5 100%);
  box-shadow: 0 16px 30px rgba(30, 136, 229, 0.25);
}

.stats-filter-section {
  margin-top: 1.5rem;
}

.stats-label-required {
  color: #dc2626;
  font-weight: 700;
}

.stats-chart-section {
  margin-top: 2rem;
}

.stats-chart-interval {
  font-size: 0.95rem;
  color: #6b7280;
  margin: 0.5rem 0 0;
}

.stats-chart-interval strong {
  color: #1f2937;
  font-weight: 600;
}

.stats-canvas {
  width: 100% !important;
  max-height: 676px;
}

.stats-table-section {
  margin-top: 2rem;
}

.stats-table-responsive {
  overflow-x: auto;
  border-radius: 0.75rem;
  border: 1px solid #e5e7eb;
}

.stats-table {
  width: 100%;
  margin-bottom: 0;
  border-collapse: collapse;
}

.stats-table thead {
  background-color: #f9fafb;
  border-bottom: 2px solid #e5e7eb;
}

.stats-table th {
  padding: 1rem;
  text-align: left;
  font-weight: 700;
  color: #374151;
  font-size: 0.95rem;
}

.stats-table__header-date {
  width: 20%;
}

.stats-table__header-kmr,
.stats-table__header-edu,
.stats-table__header-webjogsi {
  width: 20%;
  text-align: center;
}

.stats-table__header-total {
  width: 20%;
  text-align: center;
}

.stats-table tbody tr {
  border-bottom: 1px solid #e5e7eb;
  transition: background-color 0.15s ease;
}

.stats-table tbody tr:hover {
  background-color: #f9fafb;
}

.stats-table td {
  padding: 0.85rem 1rem;
  font-size: 0.95rem;
  color: #4b5563;
}

/* ── Felhasználók adminisztrációs oldalak ── */
.users-page-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
  min-height: calc(100vh - 80px);
}

.users-badge {
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  box-shadow: 0 16px 30px rgba(124, 58, 237, 0.25);
}

.users-badge-danger {
  background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
  box-shadow: 0 16px 30px rgba(220, 38, 38, 0.25);
  width: 4rem;
  height: 4rem;
  border-radius: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #fff;
}

.users-alert {
  margin-top: 1rem;
}

/* Lista szekció */
.users-list-section {
  margin-top: 1.5rem;
}

.users-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.users-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e0e7ff;
  color: #4f46e5;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.15rem 0.65rem;
  min-width: 2rem;
  margin-left: 0.5rem;
}

.users-add-btn {
  border-radius: 999px;
  padding: 0.55rem 1.25rem;
  font-weight: 600;
}

/* Tábla */
.users-table-responsive {
  overflow-x: auto;
}

.users-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 0;
}

.users-table thead {
  background-color: #f9fafb;
  border-bottom: 2px solid #e5e7eb;
}

.users-table th {
  padding: 0.9rem 1rem;
  text-align: left;
  font-weight: 700;
  color: #374151;
  font-size: 0.9rem;
  white-space: nowrap;
}

.users-table__th-id { width: 60px; }
.users-table__th-role { width: 130px; }
.users-table__th-actions { width: 200px; text-align: center; }

.users-table__row {
  border-bottom: 1px solid #f3f4f6;
  transition: background-color 0.13s ease;
}

.users-table__row:hover {
  background-color: #f9fafb;
}

.users-table__row--self {
  background-color: #eff6ff;
}

.users-table td {
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
  color: #4b5563;
  vertical-align: middle;
}

.users-table__cell-id {
  color: #9ca3af;
  font-size: 0.8rem;
}

.users-name {
  font-weight: 600;
  color: #1f2937;
}

.users-self-badge {
  display: inline-block;
  background: #e0e7ff;
  color: #4f46e5;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.1rem 0.5rem;
  margin-left: 0.4rem;
  vertical-align: middle;
}

.users-table__cell-login code {
  background: #f3f4f6;
  border-radius: 0.35rem;
  padding: 0.15rem 0.5rem;
  font-size: 0.85rem;
  color: #374151;
}

.users-table__cell-actions {
  text-align: center;
  white-space: nowrap;
}

/* Jogosultság badge-ek */
.users-role-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
}

.users-role-badge--admin {
  background: #ede9fe;
  color: #5b21b6;
}

.users-role-badge--user {
  background: #f0fdf4;
  color: #166534;
}

/* Akció gombok a listában */
.users-action-btn {
  border-radius: 999px;
  padding: 0.3rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
}

.users-action-btn--edit {
  border-color: #6366f1;
  color: #6366f1;
}

.users-action-btn--edit:hover {
  background: #6366f1;
  color: #fff;
}

.users-action-btn--delete {
  border-color: #ef4444;
  color: #ef4444;
  margin-left: 0.4rem;
}

.users-action-btn--delete:hover {
  background: #ef4444;
  color: #fff;
}

.users-action-self {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #d1d5db;
  margin-left: 0.4rem;
  cursor: not-allowed;
}

/* Szerkesztés/létrehozás form */
.users-back-link {
  margin: 1.25rem 0 0;
}

.users-form-section {
  margin-top: 1.5rem;
}

.users-required {
  color: #dc2626;
  font-weight: 700;
  margin-right: 0.1rem;
}

.users-role-radios {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0.5rem 0;
}

.users-role-option {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.users-role-option .form-check-input {
  margin-top: 0.5rem;
  flex-shrink: 0;
}

.users-form-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #f3f4f6;
}

.users-submit-btn {
  min-width: 200px;
  border-radius: 999px;
  padding: 0.75rem 1.5rem;
  font-weight: 700;
}

/* Törlés megerősítés */
.users-delete-section {
  margin-top: 1.5rem;
}

.users-delete-confirm-box {
  max-width: 640px;
  margin: 0 auto;
}

.users-delete-warning {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
  color: #9a3412;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.users-delete-warning i {
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: 0.05rem;
}

.users-delete-card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
}

.users-delete-card__avatar {
  width: 3.5rem;
  height: 3.5rem;
  background: #e5e7eb;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #6b7280;
  flex-shrink: 0;
}

.users-delete-card__details {
  flex: 1;
}

.users-delete-card__name {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 0.25rem;
}

.users-delete-card__meta {
  font-size: 0.9rem;
  color: #6b7280;
  margin-bottom: 0.4rem;
}

.users-delete-card__meta code {
  background: #e5e7eb;
  border-radius: 0.3rem;
  padding: 0.1rem 0.4rem;
  font-size: 0.85rem;
  color: #374151;
}

.users-delete-card__role {
  margin: 0;
}

.users-delete-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}


.stats-table__cell-date {
  font-weight: 600;
  color: #1f2937;
}

.stats-table__cell-kmr,
.stats-table__cell-edu,
.stats-table__cell-webjogsi,
.stats-table__cell-total {
  text-align: center;
  font-weight: 500;
}

.stats-table__cell-kmr {
  color: #ff9f40;
}

.stats-table__cell-edu {
  color: #36a2eb;
}

.stats-table__cell-webjogsi {
  color: #4bc0c0;
}

.stats-table__cell-total {
  background-color: #f3f4f6;
  border-radius: 0.5rem;
  color: #111827;
}

.cases-table__action {
  border-radius: 999px;
  font-weight: 600;
  white-space: nowrap;
}

div.dt-container .dt-layout-row {
  gap: 1rem;
  margin-bottom: 1rem;
}

div.dt-container .dt-layout-cell {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

div.dt-container .dt-search input {
  min-width: 280px;
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid #dbe2ea;
  padding: 0.6rem 1rem;
  box-shadow: none;
}

div.dt-container .dt-length select {
  min-height: 42px;
  border-radius: 0.75rem;
  border: 1px solid #dbe2ea;
  padding: 0.45rem 2rem 0.45rem 0.7rem;
  background-color: #ffffff;
}

div.dt-container .dt-length label {
  font-weight: 600;
  color: #334155;
}

div.dt-container .dt-search input:focus {
  outline: 0;
  border-color: #93c5fd;
  box-shadow: 0 0 0 0.25rem rgba(59, 130, 246, 0.16);
}

div.dt-container .dt-button,
div.dt-container .dt-button:hover,
div.dt-container .dt-button:focus {
  border: 0 !important;
  border-radius: 999px !important;
  background: #111827 !important;
  color: #ffffff !important;
  box-shadow: 0 8px 20px rgba(17, 24, 39, 0.16) !important;
  padding: 0.72rem 1.1rem !important;
}

table.dataTable.table-striped > tbody > tr.odd > * {
  box-shadow: none !important;
}

#ugyek_wrapper .table > :not(caption) > * > * {
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
}

@media (max-width: 991.98px) {
  div.dt-container .dt-layout-row {
    flex-direction: column;
    align-items: stretch;
  }

  div.dt-container .dt-layout-cell {
    width: 100%;
    justify-content: space-between;
  }

  div.dt-container .dt-search input {
    min-width: 100%;
    width: 100%;
  }
}

@media (max-width: 991.98px) {
  .case-form__hero {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
  }

  .case-section-card__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .case-form__actions {
    justify-content: stretch;
  }

  .case-form__submit {
    width: 100%;
  }
}

/* ── AD keresési szekció ──────────────────────────────────── */
.users-ad-search-section {
  margin-bottom: 1.5rem;
}

.users-ad-results-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 380px;
  overflow-y: auto;
  padding-right: 2px;
}

.users-ad-result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  cursor: pointer;
  background: #fff;
  transition: background-color 0.15s ease, border-color 0.15s ease;
  outline: none;
}

.users-ad-result-item:hover,
.users-ad-result-item:focus {
  background-color: #f0f7ff;
  border-color: #90caf9;
}

.users-ad-result-item.selected {
  background-color: #e3f2fd;
  border-color: #1976d2;
}

.users-ad-result-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  flex-shrink: 0;
}

.users-ad-result-info {
  flex: 1;
  min-width: 0;
}

.users-ad-result-name {
  font-weight: 600;
  font-size: 0.88rem;
  color: #1a202c;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.users-ad-result-meta {
  font-size: 0.78rem;
  color: #718096;
  margin-top: 2px;
}

.users-ad-result-select {
  color: #cbd5e0;
  font-size: 11px;
  flex-shrink: 0;
  transition: color 0.15s ease;
}

.users-ad-result-item:hover .users-ad-result-select,
.users-ad-result-item:focus .users-ad-result-select,
.users-ad-result-item.selected .users-ad-result-select {
  color: #1976d2;
}
