/* modules/foadmin/qr_generator.css */

.qr-generator-container {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  width: 100%;
}

.qr-header-card {
  background-color: #ffffff;
  padding: 1.25rem 1.5rem;
  border-radius: 1rem;
  border: 1px solid #e2e8f0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.qr-pretitle { font-size: 0.6875rem; font-weight: 700; color: #94a3b8; text-transform: uppercase; letter-spacing: 0.05em; }
.qr-main-title { font-size: 1.25rem; font-weight: 800; color: #0f172a; margin: 0.15rem 0 0.25rem 0; }
.qr-subtitle { font-size: 0.8125rem; color: #64748b; margin: 0; }

.btn-primary-action {
  background-color: #2563eb; color: #ffffff; padding: 0.625rem 1.25rem; border-radius: 0.5rem;
  font-size: 0.8125rem; font-weight: 700; border: none; cursor: pointer; display: flex; align-items: center; gap: 0.5rem;
  transition: all 0.15s ease; box-shadow: 0 1px 2px rgba(37, 99, 235, 0.2);
}
.btn-primary-action:hover { background-color: #1d4ed8; }

.qr-filter-card {
  background-color: #ffffff; padding: 0.875rem 1.25rem; border-radius: 0.875rem;
  border: 1px solid #e2e8f0; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem;
}

.filter-search-box { position: relative; flex: 1 1 20rem; max-width: 32rem; }
.search-icon { position: absolute; left: 0.875rem; top: 50%; transform: translateY(-50%); color: #94a3b8; font-size: 0.875rem; }
.filter-select-input { width: 100%; padding: 0.55rem 0.875rem 0.55rem 2.25rem; background-color: #f8fafc; border: 1px solid #cbd5e1; border-radius: 0.5rem; font-size: 0.8125rem; color: #0f172a; outline: none; box-sizing: border-box; }
.filter-select-input:focus { border-color: #2563eb; background-color: #ffffff; }

.filter-stats-box { display: flex; align-items: center; gap: 0.75rem; font-size: 0.8125rem; color: #64748b; }
.stat-item { display: flex; align-items: center; gap: 0.35rem; }
.stat-label { font-weight: 500; }
.stat-value { font-weight: 800; color: #0f172a; }
.stat-divider { color: #cbd5e1; }

.text-blue-600 { color: #2563eb !important; }
.text-red-600 { color: #dc2626 !important; }

.qr-table-card { background-color: #ffffff; border-radius: 1rem; border: 1px solid #e2e8f0; overflow: hidden; }
.table-responsive { width: 100%; overflow-x: auto; }
.qr-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 0.8125rem; }
.qr-table thead th { background-color: #f8fafc; color: #475569; font-weight: 700; font-size: 0.75rem; text-transform: uppercase; padding: 0.75rem 1rem; border-bottom: 2px solid #e2e8f0; white-space: nowrap; }
.qr-table tbody tr { border-bottom: 1px solid #f1f5f9; }
.qr-table tbody tr:hover { background-color: #f8fafc; }
.qr-table td { padding: 0.75rem 1rem; vertical-align: middle; color: #334155; }
.table-loading-cell { text-align: center; padding: 3rem 1rem; color: #94a3b8; font-style: italic; }

.cell-mono { font-family: monospace; font-size: 0.8125rem; font-weight: 700; }
.text-right { text-align: right; }

/* Státusz Jelvények */
.badge-status { display: inline-flex; padding: 0.2rem 0.5rem; border-radius: 0.375rem; font-size: 0.6875rem; font-weight: 700; text-transform: uppercase; }
.st-aktiv { background-color: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }
.st-kifuto { background-color: #fef3c7; color: #92400e; border: 1px solid #fde68a; }
.st-lejart { background-color: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }

/* Folyamatjelző (Progress bar) fogyáshoz */
.progress-wrap { width: 100%; min-width: 100px; background-color: #e2e8f0; border-radius: 1rem; height: 0.5rem; overflow: hidden; margin-top: 0.25rem; }
.progress-bar { height: 100%; background-color: #2563eb; transition: width 0.3s ease; }
.progress-bar.warning { background-color: #f59e0b; }
.progress-bar.danger { background-color: #ef4444; }

.btn-action-print { background-color: #eff6ff; border: 1px solid #bfdbfe; color: #1d4ed8; padding: 0.35rem 0.65rem; border-radius: 0.375rem; font-size: 0.75rem; font-weight: 700; cursor: pointer; transition: all 0.15s ease; }
.btn-action-print:hover { background-color: #2563eb; color: #ffffff; border-color: #2563eb; }

/* Modál */
.modal-overlay { position: fixed !important; inset: 0 !important; background-color: rgba(15, 23, 42, 0.75) !important; display: flex !important; align-items: center !important; justify-content: center !important; z-index: 99999 !important; padding: 1rem !important; }
.modal-overlay.hidden { display: none !important; }
.modal-dialog-box { background-color: #ffffff; border-radius: 1rem; width: 100%; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); overflow: hidden; }
.modal-header-box { background-color: #0f172a; color: #ffffff; padding: 0.875rem 1.25rem; display: flex; justify-content: space-between; align-items: center; }
.modal-header-box h3 { margin: 0; font-size: 0.875rem; font-weight: 700; }
.modal-close-icon { background: none; border: none; color: #94a3b8; font-size: 1.5rem; cursor: pointer; }
.modal-close-icon:hover { color: #ffffff; }

.modal-body-form { padding: 1.25rem; display: flex; flex-direction: column; gap: 0.75rem; }
.form-group { display: flex; flex-direction: column; gap: 0.25rem; }
.form-group label { font-size: 0.75rem; font-weight: 600; color: #475569; }
.form-input { width: 100%; padding: 0.5rem 0.75rem; border: 1px solid #cbd5e1; border-radius: 0.5rem; font-size: 0.8125rem; outline: none; box-sizing: border-box; }
.form-input:focus { border-color: #2563eb; }
.grid-three-col { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0.75rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }

.info-box-blue { background-color: #eff6ff; border: 1px solid #bfdbfe; padding: 0.75rem; border-radius: 0.5rem; color: #1e3a8a; font-size: 0.75rem; }
.text-xs { font-size: 0.6875rem; line-height: 1.4; color: #3b82f6; }

.modal-footer-box { display: flex; justify-content: flex-end; gap: 0.5rem; }
.btn-action-success { background-color: #16a34a; color: #ffffff; padding: 0.5rem 1rem; border-radius: 0.5rem; font-size: 0.75rem; font-weight: 700; border: none; cursor: pointer; }
.btn-action-success:hover { background-color: #15803d; }
.btn-action-secondary { background-color: #64748b; color: #ffffff; padding: 0.5rem 1rem; border-radius: 0.5rem; font-size: 0.75rem; font-weight: 700; border: none; cursor: pointer; }