
    body {
      margin: 0;
      background: #0f172a;
      font-family: 'Segoe UI', sans-serif;
      color: #fff;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      justify-content: flex-start;
      min-height: 100vh;
      padding: 20px;
    }
    .container {
      text-align: left;
      padding: 40px;
      border-radius: 20px;
      background: linear-gradient(145deg, #1e293b, #0f172a);
      box-shadow: 0 0 20px #38bdf8;
      width: 100%;
      max-width: 280px;
      margin-bottom: 24px;
    }
    .icon-wrapper {
      display: flex;
      justify-content: center;
      margin-bottom: 20px;
    }
    .icon {
      width: 100px;
      animation: float 2s ease-in-out infinite;
      display: block;
    }
    @keyframes float {
      0%, 100% { transform: translateY(0); }
      50% { transform: translateY(-10px); }
    }
    h1 { font-size: 1.5rem; margin-bottom: 10px; color: #38bdf8; }
    p  { font-size: 0.95rem; margin-bottom: 18px; color: #94a3b8; }
    .upload-btn, .back-btn, .aux-btn {
      background: #38bdf8;
      border: none;
      color: #0f172a;
      padding: 12px 18px;
      font-size: 1rem;
      border-radius: 10px;
      cursor: pointer;
      transition: 0.18s;
      font-weight: 700;
    }
    .upload-btn:hover, .back-btn:hover, .aux-btn:hover { background: #0ea5e9; }
    .button-group {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }
    .button-group .upload-btn {
      flex: 1;
      width: 100%;
      text-align: center;
    }

    /* ===== Overlay com backdrop ===== */
    #iframeWrapper {
      position: fixed;
      inset: 0;
      z-index: 9999;
      display: none;
      background: rgba(0,0,0,0.85); /* backdrop escuro translúcido */
      color: #000;
    }
    .iframeHeader {
      display: flex;
      gap: 8px;
      align-items: center;
      padding: 12px 16px;
      justify-content: flex-start;
      background: linear-gradient(90deg,#06202b,#0b2b3a);
      color: #fff;
      height: 56px;
      box-sizing: border-box;
    }
    .iframeHeader .title { flex:1; font-weight:700; color:#cfeffd; }
    .loader {
      display: flex;
      gap: 12px;
      align-items: center;
      justify-content: center;
      padding: 30px;
      background: #f8fafc;
      color: #0b1320;
      height: calc(100vh - 56px);
      box-sizing: border-box;
      border-radius: 0 0 10px 10px;
    }
    .spinner {
      width: 36px; height: 36px; border-radius: 50%;
      border: 4px solid rgba(3,7,18,0.12); border-top-color: #0ea5e9;
      animation: spin 1s linear infinite;
    }
    @keyframes spin { to { transform: rotate(360deg); } }
    iframe {
      width: 100%;
      height: calc(100vh - 56px);
      border: none;
      display: block;
      background:#fff;
      border-radius: 0 0 10px 10px;
    }
    .erroMsg {
      display:none;
      padding: 18px;
      text-align: center;
      background: #fff3f0;
      color: #712020;
      height: calc(100vh - 56px);
      box-sizing: border-box;
      border-radius: 0 0 10px 10px;
    }
    .small {
      font-size: 0.9rem; color: #0b1320; margin-top: 6px;
    }
  