/* ========================================
   Event Registered Users - Layout & Nav
   ======================================== */

/* Registered-users Container */
.fru-dt-table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 8px;
}

/* Registered-users: fast feel + professional loader */
.fru-dt-scope {
  position: relative;
  min-height: 260px;
}

.fru-dt-overlay {
  position: absolute;
  left: 0;
  right: 0;
  top: 50px;
  bottom: 40px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  z-index: 20;
  border-radius: 6px;
  pointer-events: none;
}

.fru-dt-overlay.is-active {
  display: flex;
  pointer-events: auto;
}

.fru-dt-spinner {
  width: 46px;
  height: 46px;
  border: 3px solid #e2e8f0;
  border-top-color: #2563eb;
  border-radius: 50%;
  animation: fru-dt-spin 0.72s linear infinite;
}

.fru-dt-overlay .fru-dt-msg {
  margin: 0;
  font-size: 14px;
  color: #334155;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.fru-dt-overlay .fru-dt-sub {
  margin: 0;
  font-size: 12px;
  color: #64748b;
  font-weight: 400;
}

@keyframes fru-dt-spin {
  to { transform: rotate(360deg); }
}

/* ========== Professional Tab Navigation ========== */
.fru-shortcuts {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-bottom: 2rem;
  padding: 0;
  background: #fff;
  border-bottom: 2px solid #e5e7eb;
  border-radius: 0;
  overflow: visible;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.fru-shortcuts .fru-shortcuts-label {
  display: none;
}

.fru-shortcuts .btn {
  border-radius: 0;
  border: none;
  border-bottom: 3px solid transparent;
  margin: 0;
  padding: 10px 16px;
  flex: 0 1 auto;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  color: #6b7280;
  background: transparent;
  white-space: nowrap;
  cursor: pointer;
}

.fru-shortcuts .btn:hover:not(.fru-sc-active) {
  background: rgba(31, 41, 55, 0.04);
  color: #374151;
}

.fru-shortcuts .btn.fru-sc-active {
  color: #2563eb;
  border-bottom-color: #2563eb;
  background: transparent;
}

.fru-shortcuts .btn.fru-sc-active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #1d4ed8 0%, #2563eb 50%, #1d4ed8 100%);
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from { width: 0; left: 50%; }
  to { width: 100%; left: 0; }
}

.fru-status-count {
  background: linear-gradient(135deg, #dbeafe 0%, #e0e7ff 100%);
  color: #1e40af;
  padding: 3px 8px;
  border-radius: 14px;
  font-size: 12px;
  font-weight: 600;
  min-width: 24px;
  text-align: center;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
  transition: all 0.3s ease;
}

.fru-shortcuts .btn.fru-sc-active .fru-status-count {
  background: #fff;
  color: #2563eb;
  box-shadow: 0 2px 4px rgba(37, 99, 235, 0.2);
  font-weight: 700;
}

.fru-shortcuts .btn.fru-sc-back {
  margin-left: auto;
  flex: 0 1 auto;
  border: 2px solid #e5e7eb;
  border-radius: 6px;
  padding: 8px 14px;
  background: #f9fafb;
  color: #6b7280;
  font-weight: 500;
  font-size: 13px;
  transition: all 0.2s ease;
}

.fru-shortcuts .btn.fru-sc-back:hover {
  background: #f3f4f6;
  border-color: #d1d5db;
  color: #374151;
}

/* ========== Page-Level Responsive Styles ========== */

.inner-page-header {
  padding: 1rem 0;
  background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
  border-bottom: 1px solid #e5e7eb;
}

.inner-page-header h1 {
  margin: 0;
  font-weight: 700;
  color: #1f2937;
  line-height: 1.3;
  font-size: 18px !important;
}

.inner_page {
  padding: clamp(1.5rem, 4vw, 2rem) 0;
}

.inner_page .container {
  padding: 0 clamp(12px, 3vw, 20px);
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .inner-page-header h1 { font-size: 24px; }
  .fru-shortcuts .btn { padding: 10px 14px; font-size: 13px; }
}

@media (max-width: 768px) {
  .inner-page-header h1 { font-size: 20px; }
  .fru-shortcuts { flex-wrap: wrap; }
  .fru-shortcuts .btn {
    flex: 1 1 calc(33.333% - 0.5px);
    border-right: 1px solid #e5e7eb;
  }
  .fru-shortcuts .btn.fru-sc-back {
    flex: 1 1 100%;
    margin-left: 0;
  }
}

@media (max-width: 480px) {
  .fru-shortcuts {
    overflow-x: auto;
    flex-wrap: nowrap;
  }
  .fru-shortcuts .btn {
    flex: 0 0 auto;
    height: 40px;
  }
}