:root {
  --primary-color: #3b82f6;
  --success-color: #10b981;
  --error-color: #ef4444;
  --bg-base: #0f172a;
  --bg-surface: #1e293b;
  --bg-deep: #0b1120;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --border-color: #334155;
  --border-radius: 6px; }

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: #0f172a;
  color: #f8fafc;
  line-height: 1.6;
  padding-top: 70px;
  overflow-x: hidden; }

a {
  color: #3b82f6;
  text-decoration: none;
  transition: color 0.2s ease; }
  a:hover {
    color: #2563eb; }

.role-badge {
  display: inline-block;
  font-size: 0.65rem;
  padding: 0.2rem 0.5rem;
  line-height: 1em;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: transparent;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 1em; }
  .role-badge.role-editor {
    background-color: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
    border-color: rgba(59, 130, 246, 0.3); }

input[type="text"],
input[type="number"],
textarea {
  display: block;
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid #334155;
  border-radius: 6px;
  background-color: #0b1120;
  color: #f8fafc;
  font-family: monospace;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.25); }
  input[type="text"]::placeholder,
  input[type="number"]::placeholder,
  textarea::placeholder {
    color: rgba(148, 163, 184, 0.5); }
  input[type="text"]:hover:not(:disabled),
  input[type="number"]:hover:not(:disabled),
  textarea:hover:not(:disabled) {
    border-color: #465975; }
  input[type="text"]:focus,
  input[type="number"]:focus,
  textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.25), 0 0 0 3px rgba(59, 130, 246, 0.25); }

textarea {
  resize: vertical; }

.form-group {
  margin-bottom: 1rem; }
  .form-group label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 500;
    color: #94a3b8;
    font-size: 0.9rem; }

button, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.25rem;
  border-radius: 6px;
  border: 1px solid transparent;
  background-color: #3b82f6;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center; }
  button:hover:not(:disabled), .btn:hover:not(:disabled) {
    background-color: #2563eb; }
  button:active:not(:disabled), .btn:active:not(:disabled) {
    transform: scale(0.98); }
  button:disabled, .btn:disabled {
    background-color: #1e293b;
    color: #94a3b8;
    border-color: #334155;
    cursor: not-allowed; }
  button.btn-outline, .btn.btn-outline {
    background-color: transparent;
    border-color: #334155;
    color: #f8fafc; }
    button.btn-outline:hover:not(:disabled), .btn.btn-outline:hover:not(:disabled) {
      background-color: rgba(255, 255, 255, 0.05); }
  button.btn-success, .btn.btn-success {
    background-color: #10b981; }
    button.btn-success:hover:not(:disabled), .btn.btn-success:hover:not(:disabled) {
      background-color: #0c8a60; }

nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  background-color: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
  nav .brand {
    display: flex;
    align-items: center;
    gap: 0.75rem; }
    nav .brand .brand-logo-text {
      font-size: 1.25rem;
      font-weight: 600;
      color: #f8fafc; }
      nav .brand .brand-logo-text strong {
        color: #3b82f6; }
    nav .brand .nav-back-btn {
      display: flex;
      justify-content: center;
      align-items: center;
      background: transparent;
      border: none;
      color: #94a3b8;
      border-radius: 6px;
      cursor: pointer;
      width: 0;
      opacity: 0;
      padding: 0;
      overflow: hidden;
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
      nav .brand .nav-back-btn:not(.hidden) {
        width: 32px;
        opacity: 1;
        padding: 0.25rem; }
      nav .brand .nav-back-btn:hover {
        color: #f8fafc;
        background-color: rgba(255, 255, 255, 0.05); }

.app-view {
  display: block;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem;
  min-height: calc(100vh - 70px); }

.panel {
  background-color: #1e293b;
  border: 1px solid #334155;
  border-radius: 6px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2), 0 2px 4px -2px rgba(0, 0, 0, 0.2);
  padding: 1.75rem; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem; }

.glass-card {
  background: rgba(30, 41, 59, 0.7);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); }

.split-card {
  overflow: hidden;
  position: relative;
  transition: transform 0.25s ease, border-color 0.2s ease; }
  .split-card:hover {
    transform: translateY(-4px); }
  .split-card .card-glow-bg {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    filter: blur(50px);
    opacity: 0.15;
    pointer-events: none; }
  .split-card.card-green {
    border-top: 3px solid #10b981; }
    .split-card.card-green .card-glow-bg {
      background: #10b981; }
    .split-card.card-green:hover {
      border-color: rgba(16, 185, 129, 0.5);
      box-shadow: 0 10px 30px rgba(16, 185, 129, 0.15); }
  .split-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
    color: #fff; }

.report-preview-wrapper {
  overflow-y: auto;
  max-height: 70vh; }

.inspection-page {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); }

@media print {
  body * {
    visibility: hidden; }

  #runner-preview-container,
  #runner-preview-container * {
    visibility: visible; }

  #runner-preview-container {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    max-height: none;
    overflow: visible; }

  .inspection-page {
    page-break-after: always;
    break-after: page;
    box-shadow: none !important;
    margin: 0 !important;
    border: none !important;
    padding: 1rem !important; }

  nav, .panel, button {
    display: none !important; } }
.data-table {
  width: 100%;
  border-radius: 6px;
  overflow: hidden;
  background: #0b1120;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2); }
  .data-table .dt-row {
    display: flex;
    padding: 0.6rem 1rem;
    align-items: center;
    gap: 1rem; }
    .data-table .dt-row:nth-child(even):not(.dt-header) {
      background-color: rgba(30, 41, 59, 0.4); }
    .data-table .dt-row:hover:not(.dt-header) {
      background-color: rgba(30, 41, 59, 0.8); }
  .data-table .dt-header {
    background-color: #1e293b;
    font-weight: bold;
    color: #94a3b8;
    font-size: 0.85rem;
    text-transform: uppercase;
    border-bottom: 2px solid #334155; }
  .data-table .dt-cell {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.9rem; }
  .data-table .dt-action {
    flex: 0 0 100px;
    /* Increased to fit 3 buttons */
    display: flex;
    justify-content: flex-end;
    gap: 4px; }
  .data-table .btn-delete, .data-table .btn-edit, .data-table .btn-view {
    background: transparent;
    color: var(--text-muted);
    border: none;
    cursor: pointer;
    padding: 0.35rem;
    border-radius: 4px;
    transition: all var(--transition-speed);
    display: flex;
    align-items: center;
    justify-content: center; }
    .data-table .btn-delete svg, .data-table .btn-edit svg, .data-table .btn-view svg {
      pointer-events: none;
      /* Prevents the SVG from stealing click events */ }
  .data-table .btn-delete:hover {
    background: rgba(var(--danger-color), 0.15);
    color: var(--danger-color); }
  .data-table .btn-edit:hover {
    background: rgba(var(--primary-color), 0.15);
    color: var(--primary-color); }
  .data-table .btn-view:hover {
    background: rgba(var(--success-color), 0.15);
    color: var(--success-color); }

.fran-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease; }
  .fran-modal-overlay.active {
    opacity: 1;
    visibility: visible; }
  .fran-modal-overlay .fran-modal {
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 6px;
    width: 90%;
    max-width: 650px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5); }
  .fran-modal-overlay .fran-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #334155; }
    .fran-modal-overlay .fran-modal-header button {
      background: transparent;
      border: none;
      color: #94a3b8;
      padding: 0;
      cursor: pointer; }
      .fran-modal-overlay .fran-modal-header button:hover {
        color: #ef4444; }
  .fran-modal-overlay .fran-modal-body {
    padding: 1.5rem;
    overflow-y: auto; }

.btn-sm {
  padding: 0.35rem 0.75rem;
  font-size: 0.85rem; }

.d-flex {
  display: flex !important; }

.justify-between {
  justify-content: space-between !important; }

.align-center {
  align-items: center !important; }

.mb-2 {
  margin-bottom: 0.5rem !important; }

.mb-3 {
  margin-bottom: 1rem !important; }

.mb-4 {
  margin-bottom: 1.5rem !important; }

.w-100 {
  width: 100% !important; }

.text-center {
  text-align: center !important; }

.text-muted {
  color: #94a3b8 !important; }

.hidden {
  display: none !important; }

* {
  scrollbar-width: thin;
  scrollbar-color: #334155 transparent; }

::-webkit-scrollbar {
  width: 8px;
  height: 8px; }

::-webkit-scrollbar-track {
  background: transparent; }

::-webkit-scrollbar-thumb {
  background-color: #334155;
  border-radius: 4px; }
  ::-webkit-scrollbar-thumb:hover {
    background-color: #4a5e7b; }

/*# sourceMappingURL=main.css.map */
