/**/
/* THIS FILE AUTOGENERATED FROM CSS in ./web/css/ */ 
/**/

/* ---------------------------
   THE VAULT — Upload Overlay
   Standalone CSS (no body.scripting)
   --------------------------- */

/* Base tokens (override in your global theme if desired) */
:root {
  --vault-bg: #141414;
  --vault-surface: #181818;
  --vault-panel: #1c1c1c;
  --vault-border: #383838;
  --vault-text: #e6e6e6;
  --vault-muted: #9a9a9a;
  --vault-accent: #fca311;
  --vault-focus: 0 0 0 3px rgba(252,163,17,0.18);
  --vault-radius: 8px;
  --vault-font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  --vault-font-mono: ui-monospace, "SFMono-Regular", "JetBrains Mono", "Fira Code", monospace;
  --vault-zindex: 1000;
}

.vault-upload-overlay .nft-creator .button-container {
    display: none;
    flex-direction: row;
    column-gap: 1rem;
    cursor: pointer;
}

.vault-upload-overlay .nft-creator .button-container .private-nft , .nft-creator .button-container .public-nft {
    height: 30rem;
    width: 27rem;
    border: 2px dashed var(--saito-font-color);
    border-radius: 0.5rem;
}

#vault-file-upload {
    border: 3px dotted var(--saito-border-color, #999);
    height: 30rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-size: 1.6rem;
    border-radius: 1rem;
    width: 55rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

#vault-file-upload:hover {
    border-color: var(--saito-primary, var(--saito-font-color));
    background: rgba(255, 255, 255, 0.02);
    transform: translateY(-2px);
}

#vault-file-upload i {
    font-size: 4rem;
    color: var(--saito-surface-selected, var(--saito-font-color));
    opacity: 0.8;
}

.vault-file-upload-text {
    color: var(--saito-font-color);
    font-size: 1.6rem;
}

.vault-upload-notice {
    width: 55rem;
    min-width: 55rem;
    width: 55rem;
    min-width: 55rem;
    height: 30rem;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    padding: 6rem;
    font-size: 3.4rem;
    line-height: 3em;
}

.vault-upload-overlay {
  width: max-content;
  max-width: calc(100vw - 40px);
  padding: 24px;
  border-radius: var(--vault-radius);
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-sizing: border-box;
  font-family: var(--vault-font-sans);
  z-index: var(--vault-zindex);
}

.vault-upload-input {
  display: none;
}

.vault-upload-button {
  padding: 10px 16px;
  border-radius: 6px;
  background: var(--vault-panel);
  color: var(--vault-text);
  border: 1px solid var(--vault-border);
  cursor: pointer;
  font-size: 0.98rem;
  transition: background 140ms ease, color 140ms ease, transform 80ms ease;
  min-width: 120px;
}

.confirm-button.disabled {
  opacity: 0.45;
  cursor: not-allowed;
  background: var(--vault-panel);
  color: var(--vault-muted);
  border-color: var(--vault-border);
  pointer-events: none;
  transform: none !important;
}

.vault-hint {
  font-size: 0.86rem;
  color: var(--vault-muted);
}

.vault-file-preview {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  background: rgba(255,255,255,0.01);
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.02);
  color: var(--vault-text);
  font-size: 0.95rem;
}

@media (max-width: 620px) {
  .vault-upload-overlay {
    width: 100%;
    max-width: 100vw;
    padding: 18px;
    border-radius: 10px 10px 0 0;
  }

  .vault-upload-title {
    font-size: 1rem;
  }

  .vault-upload-dropzone {
    padding: 26px 12px;
    font-size: 0.95rem;
  }

  .vault-upload-button {
    min-width: 100px;
    padding: 10px 14px;
  }
}

@media (prefers-contrast: more) {
  :root {
    --vault-border: #777;
    --vault-panel: #111;
    --vault-accent: #ffd27a;
  }

  .vault-upload-dropzone {
    border-style: solid;
  }
}



.vault-file-access {
  width: 55rem !important;
  margin-top: 1rem;
}


.vault-nft-item {
  width: 22rem;
  border: 1px solid #e2e2e2;
  border-radius: 0.75rem;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.vault-nft-img {
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
  align-self: center;
  object-fit: cover;
}

/* bottom row: truncated text + button */
.vault-nft-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.vault-nft-hash {
    width: 90%;
  flex: 1;
  font-size: 1.5rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Download button */
.vault-nft-download-btn {
  border: none;
  padding: 0.4rem 0.75rem;
  border-radius: 0.5rem;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
/* Witness Overlay Styles */

.witness-dual-textarea-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
  max-width: 70rem;
}

.witness-textarea-section {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.witness-textarea-label {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--saito-font-color);
  margin-bottom: 0.3rem;
}

.witness-script-textarea,
.witness-data-textarea {
  width: 100%;
  min-height: 20rem;
  height: 20rem;
  padding: 1rem;
  border: 2px solid var(--saito-border-color, #999);
  border-radius: 0.5rem;
  background: var(--saito-background-color, #fff);
  color: var(--saito-font-color, #333);
  font-family: var(--vault-font-mono, 'Courier New', monospace);
  font-size: 1.3rem;
  line-height: 1.6;
  resize: vertical;
  box-sizing: border-box;
}

.witness-script-textarea {
  background: rgba(200, 200, 200, 0.1);
  cursor: not-allowed;
  opacity: 0.9;
}

.witness-data-textarea:focus {
  outline: none;
  border-color: var(--saito-primary, var(--saito-font-color));
  box-shadow: 0 0 0 3px rgba(252, 163, 17, 0.18);
}

.witness-data-textarea::placeholder {
  color: var(--saito-muted, #999);
  opacity: 0.6;
}

@media (max-width: 768px) {
  .witness-dual-textarea-container {
    max-width: 100%;
  }
  
  .witness-script-textarea,
  .witness-data-textarea {
    min-height: 15rem;
    height: 15rem;
  }
}

.vault-file-info {
  padding: 2.5rem;
  font-size: 2.4rem;
  line-height: 3.6rem;
  min-width: 520px;
  width: 520px;
  min-height: 360px;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vault-file-info-loading,
.vault-file-info-success {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vault-file-info-loading {
  text-align: center;
}

.vault-file-info-loading * {
  font-size: initial;
  line-height: normal;
}

.vault-file-info-loading-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.6rem;
}

.vault-loading-title {
  font-size: 2.4rem;
  font-weight: 500;
  opacity: 0.9;
}

.vault-loading-spinner img {
  width: 56px;
  height: 56px;
}

.vault-loading-subtext {
  font-size: 1.6rem;
  opacity: 0.65;
}

.vault-file-info-success {
  flex-direction: column;
  text-align: center;
  line-height: 4.6rem;
  font-size: 2rem;
}

.vault-sig-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: minmax(10rem, 1fr) 20px;
}

.vault-sig-grid div {
  border: 1px solid var(--saito-gray-700);
  background: #0005;
  padding: 0.5rem 1rem;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 80vw;
  min-width: 450px;
  border-radius: var(--saito-border-radius);
}

#vault-copy-sig {
  opacity: 0.9;
  padding: 1.25rem;
  margin-left: 0.5rem;
}

#vault-copy-sig:hover {
  opacity: 1;
  transform: scale(1.1);
}


.vault-scripting-intro {
  font-size: 1.8rem;
  line-height: 2.5rem;
}


.spinner-helper {
  text-align: center;
  min-width: 450px;
  font-size: 3rem;
  line-height: 8rem;
  display: none;
}

.key_level_info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  text-align: center;
  padding: 10px 0;
  background: #0008;
  opacity: 0.9;
  transition: all 0.3s ease;
  font-weight: bold;
  cursor: pointer;
}

.key_level_info h5 {
  margin-bottom: 0.5rem;
}

.crystal_key {
  position: relative;
  background-image: url('/vault/img/crystal_key.png');
  background-size: cover;
  background-posiiton: center;
  width: 450px !important;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  border: 3px solid transparent;
}

.jade_key {
  position: relative;
  background-image: url('/vault/img/jade_key.png');
  background-size: cover;
  background-posiiton: center;
  width: 450px !important;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  border: 3px solid transparent;
}

.jade_key:hover, .crystal_key:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.5);
  border-color: var(--saito-primary-text);
  filter: brightness(1.1);
}

.jade_key:hover .key_level_info,
.crystal_key:hover .key_level_info {
  opacity: 1;
  background: var(--saito-primary);
  color: var(--saito-primary-text);
  padding: 15px 0;
}

.copper_key {
  background-image: url('/vault/img/copper_key.png');
  background-size: cover;
  width: 450px !important;
}

.vault-rotating-word {
  transition: opacity 0.4s ease-in-out;
  display: inline-block;
  min-width: 130px;
  text-align: left;
  color: var(--saito-primary-text);
  font-weight: bolder;
}

.vault-rotating-word.fade-out {
  opacity: 0;
}

body {
  background: radial-gradient(ellipse at top, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0)) no-repeat, #0f1c2c;
  background-position: center -120px;
  background-size: 100% 100%;
  min-height: 100vh;
}

#saito-header {
  background: transparent;
}

#saito-container {
  display: grid;
  grid-template-columns: 1fr;
}

.saito-vault {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 0 20px;
}

.saito-vault-layout {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 80px);
  width: 100%;
  max-width: 920px;
}

#saito-container .vault-hero {
  text-align: center;
  max-width: 80%;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  padding-top: 18vh;
}

#saito-container .vault-hero h1 {
  font-size: 8rem;
  font-weight: 600;
  margin-bottom: 1rem;
  letter-spacing: 0.4px;
}

#saito-container .vault-hero h2 {
  font-size: 3rem;
  font-weight: 300;
  line-height: 1.55;
  color: #d6d6d6;
  margin-bottom: 2.3rem;
}

#saito-container .vault-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

#saito-container .vault-btn.primary {
  background: var(--saito-primary);
  color: var(--saito-primary-text);
  border: none;
  padding: 2rem 4rem;
  font-size: 2.6rem;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.2s ease;
}

#saito-container .vault-btn.primary:hover {
  transform: translateY(-2px);
  opacity: 0.95;
}

#saito-container .vault-btn.primary:active {
  transform: translateY(0);
  opacity: 0.85;
}

#saito-container .vault-access-link {
  margin-top: auto;
  text-align: center;
  font-size: 1.9rem;
  padding-bottom: 60px;
}

#saito-container .vault-access-textlink {
  cursor: pointer;
  color: var(--saito-primary-text);
  border-bottom: 1px dashed var(--saito-primary-text);
  display: inline;
}
#saito-container .vault-access-link {
  opacity: 0.8;
}

#saito-container .vault-access-link:hover {
  opacity: 1;
}

