/* =========================================================================
 * WA FCC ADMIN CONSOLE - SHARED & RESPONSIVE STYLES (admin/css/admin.css)
 * ========================================================================= */

/* Desktop Background */
body.admin-desktop-body {
  background: linear-gradient(135deg, rgba(11, 15, 25, 0.78), rgba(11, 15, 25, 0.88)), 
              url('../../photos/bg.jpg') no-repeat center center fixed !important;
  background-size: cover !important;
  color: #ffffff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  padding-top: env(safe-area-inset-top);
  padding-bottom: env(safe-area-inset-bottom);
}

/* Mobile Background */
body.admin-mobile-body {
  background-color: #0b0f19;
  color: #e2e8f0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

/* Custom Scrollbars */
.custom-scrollbar::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}
.custom-scrollbar::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.6);
  border-radius: 8px;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
  background: rgba(168, 85, 247, 0.4);
  border-radius: 8px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background: rgba(168, 85, 247, 0.8);
}

.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.uppercase-input {
  text-transform: uppercase;
}

/* iPhone Safe Area Insets */
.pt-safe {
  padding-top: max(env(safe-area-inset-top, 0px), 24px) !important;
}
.pb-safe {
  padding-bottom: max(env(safe-area-inset-bottom, 0px), 16px) !important;
}

/* Mobile Screen-Fitted Tables */
.table-mobile-fit {
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
  table-layout: fixed;
}
.table-mobile-fit th,
.table-mobile-fit td {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 8px 6px !important;
}

/* Print Media Rules */
@media print {
  body * {
    visibility: hidden !important;
  }
  #printable-vms-report,
  #printable-vms-report *,
  #printable-single-badge,
  #printable-single-badge * {
    visibility: visible !important;
  }
  #printable-vms-report,
  #printable-single-badge {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    background: #fff;
    color: #000;
    display: block !important;
  }
}
