/* Device info page layout — cleaned for glass theme + stable panels */

.image-container[data-v-fc0266af] {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  max-width: 100%;
  margin-top: 12px;
  gap: 16px;
  box-sizing: border-box;
}

.content-wrapper[data-v-fc0266af] {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 16px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* Fixed: was width:1000 (invalid unit) causing awkward 994px + side panels overflow */
.tabs-wrapper[data-v-fc0266af] {
  flex: 1 1 380px;
  min-width: min(100%, 320px);
  max-width: 100%;
  width: auto;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 16px;
  padding: 12px 14px 16px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  min-height: 520px;
}

.tabs-wrapper[data-v-fc0266af] .n-tabs {
  height: 100%;
}

.tabs-wrapper[data-v-fc0266af] .n-tabs-tab {
  padding: 0 14px;
  height: 40px;
  line-height: 40px;
  font-size: 14px;
  justify-content: center;
}

.tabs-wrapper[data-v-fc0266af] .n-tab-pane {
  padding-top: 8px;
}

.image-box-group[data-v-fc0266af] {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 16px;
  flex: 1 1 700px;
  min-width: min(100%, 320px);
  max-width: 100%;
  box-sizing: border-box;
}

.image-box[data-v-fc0266af] {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  flex: 1 1 340px;
  min-width: min(100%, 300px);
  max-width: 520px;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 16px;
  padding: 12px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.button-container[data-v-fc0266af] {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.image-wrapper[data-v-fc0266af] {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  box-sizing: border-box;
}

.image-wrapper.with-sidebar[data-v-fc0266af] {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 10px;
  width: 100%;
}

.screenlayers[data-v-fc0266af] {
  position: relative;
  width: 100%;
  height: auto;
  min-height: 100%;
}

.screenlayers img[data-v-fc0266af] {
  width: 100%;
  height: auto;
  max-height: 640px;
  object-fit: contain;
  display: block;
  border-radius: 10px;
  background: #0f172a;
}

.mousecanvas[data-v-fc0266af] {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 9;
  width: 100%;
  height: 100%;
  pointer-events: none;
  border-radius: 10px;
}

/* Keep phone frame visible even when stream/offline */
.image-slot[data-v-fc0266af] {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  min-height: 480px;
  max-width: 360px;
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.04), rgba(15, 23, 42, 0.08)),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 8px,
      rgba(15, 23, 42, 0.03) 8px,
      rgba(15, 23, 42, 0.03) 16px
    );
  border: 1px dashed rgba(100, 116, 139, 0.35);
  box-sizing: border-box;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.inner-sidebar[data-v-fc0266af] {
  width: 112px;
  min-width: 112px;
  flex-shrink: 0;
  background: rgba(248, 250, 252, 0.95);
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  padding: 10px 8px;
  box-sizing: border-box;
  max-height: 640px;
  overflow-y: auto;
}

.button-row[data-v-fc0266af] {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}

/* Bottom global action strip (bank apps / quick launch) living under image-container */
.image-container[data-v-fc0266af] > .button-row {
  justify-content: flex-start;
  gap: 8px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-sizing: border-box;
}

.image-container[data-v-fc0266af] > .button-row .n-button {
  min-width: 40px;
}

.button-row[data-v-fc0266af] .n-button {
  min-width: 0;
}

.image2-input-wrapper[data-v-fc0266af] {
  width: 100%;
  display: flex;
  justify-content: stretch;
  margin-top: 12px;
}

.image2-input-row[data-v-fc0266af] {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  gap: 8px;
  align-items: center;
  box-sizing: border-box;
}

.image2-input-row[data-v-fc0266af] .n-input-wrapper,
.image2-input-row[data-v-fc0266af] .n-input {
  flex: 1 1 160px !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
}

.image2-input-row[data-v-fc0266af] .n-button {
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 72px !important;
}

.image2-input-row[data-v-fc0266af] .n-base-selection,
.image2-input-row[data-v-fc0266af] .n-select {
  flex: 1 1 140px;
  min-width: 0;
  max-width: 100%;
}

.log-viewer[data-v-fc0266af] {
  font-size: 13px;
  min-height: 360px;
  max-height: 620px;
  overflow-y: auto;
  background-color: rgba(248, 250, 252, 0.85);
  padding: 10px 12px;
  border: 1px solid rgba(203, 213, 225, 0.9);
  border-radius: 12px;
  white-space: pre-wrap;
  line-height: 1.55;
  box-sizing: border-box;
}

.log-line[data-v-fc0266af] {
  word-break: break-all;
  white-space: normal;
  margin: 4px 0;
  padding: 6px 10px;
  background-color: #fff;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.file-item[data-v-fc0266af] {
  display: flex;
  align-items: center;
  padding: 10px 12px;
  margin: 6px 0;
  background-color: rgba(248, 250, 252, 0.9);
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.file-item[data-v-fc0266af]:hover {
  background-color: #fff;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}

.file-item span[data-v-fc0266af] {
  color: #64748b;
  font-size: 13px;
  margin-left: 10px;
}

.file-actions[data-v-fc0266af] {
  margin-left: auto;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.file-item strong[data-v-fc0266af] {
  color: #0f172a;
  font-weight: 600;
}

th[data-v-fc0266af] {
  text-align: left;
}

.input-container[data-v-fc0266af] {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 8px 0 12px;
}

.modal-content[data-v-fc0266af] {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  padding: 8px;
}

.icon-wrapper[data-v-fc0266af] {
  display: flex;
  justify-content: center;
  align-items: center;
}

.button-wrapper[data-v-fc0266af] {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.image-content[data-v-fc0266af] {
  max-width: 100%;
  border-radius: 8px;
}

.input-field[data-v-fc0266af] {
  width: 100%;
  max-width: 320px;
}

.mt-4[data-v-fc0266af] {
  margin-top: 1rem;
}

/* tables inside tabs */
.tabs-wrapper[data-v-fc0266af] table {
  width: 100% !important;
  border-collapse: collapse;
  table-layout: fixed;
}

.tabs-wrapper[data-v-fc0266af] td,
.tabs-wrapper[data-v-fc0266af] th {
  word-break: break-word;
}

.image-box[data-v-fc0266af] > .button-row,
.image-box[data-v-fc0266af] > div[style*="margin-top"] {
  margin-top: 12px !important;
  width: 100%;
  box-sizing: border-box;
}

/* medium screens */
@media (max-width: 1400px) {
  .image-box-group[data-v-fc0266af] {
    flex: 1 1 100%;
  }

  .image-box[data-v-fc0266af] {
    max-width: 100%;
  }

  .image-slot[data-v-fc0266af] {
    max-width: 100%;
    min-height: 420px;
  }
}

@media (max-width: 900px) {
  .content-wrapper[data-v-fc0266af] {
    flex-direction: column;
  }

  .tabs-wrapper[data-v-fc0266af],
  .image-box-group[data-v-fc0266af],
  .image-box[data-v-fc0266af] {
    flex: 1 1 100%;
    max-width: 100%;
    min-width: 0;
  }

  .image-wrapper.with-sidebar[data-v-fc0266af] {
    flex-direction: column;
  }

  .inner-sidebar[data-v-fc0266af] {
    width: 100%;
    min-width: 0;
    max-height: none;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .button-row[data-v-fc0266af] {
    width: auto;
  }

  .image-slot[data-v-fc0266af] {
    min-height: 360px;
    max-width: 100%;
  }
}


/* Toolbar wrap inside log tab */
.tabs-wrapper[data-v-fc0266af] .n-space,
.tabs-wrapper[data-v-fc0266af] .n-button-group {
  flex-wrap: wrap !important;
  max-width: 100% !important;
}
.tabs-wrapper[data-v-fc0266af] .n-space {
  gap: 8px !important;
}

