/* =========================================================
   THEME: PURE MINIMALIST (Edge-to-Edge)
   File: /static/css/themes/theme-pure-minimal.css
   ========================================================= */

:root {
  /* --- BUTTON PAINT (Flat & Clean) --- */
  --btn-bg: transparent;
  --btn-text: #334155;
  --btn-border-width: 1px;
  --btn-border-style: solid;
  --btn-border-color: #cbd5e1;
  --btn-radius: 6px;
  --btn-padding: 8px 16px;
  --btn-font: -apple-system, sans-serif;
  --btn-weight: 500;
  --btn-shadow: none;

  /* Hover States */
  --btn-hover-bg: #f1f5f9;
  --btn-hover-text: #0f172a;
  --btn-hover-border: #94a3b8;
  --btn-hover-transform: none;
  --btn-hover-shadow: none;
}

/* --- FRAME PAINT (Edge-to-Edge) --- */
.viewer-stage {
  background-color: #f8fafc; /* Clean, distraction-free backdrop */
  background-image: none;
  padding: 0 !important; /* Removes the outer spacing around the frame */
}

.book-frame {
  width: 100%;       /* Forces it to stretch across the screen */
  max-width: 100%;
  padding: 0;        /* Kills the "bezel" entirely */
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
}

#canvasContainer {
  width: 100%;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

#pdfCanvas {
  margin: 0 auto; /* Keeps the actual document centered if it's narrower than your monitor */
  filter: contrast(1.02); /* Just a tiny bump for readability */
}
/* --- APP CONTAINER FLAT LOOK (Kills the RIS Archive Folder Tab) --- */

/* 1. Hide the "CONFIDENTIAL // RIS ARCHIVE" tab completely */
.terminal-plate::before {
  display: none !important;
  content: none !important;
}

/* 2. Remove the borders and drop shadows from the main container */
.terminal-plate {
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  border-radius: 0 !important;
}

/* 3. (Optional) Remove the inner padding if you want it truly edge-to-edge */
.tab {
  padding: 0 !important; 
}
/* --- KILL THE MAIN WRAPPER BOX --- */
.terminal-plate {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

/* Remove the extra padding so it stretches flush to the edges */
.tab {
  padding: 0 !important; 
}