/* ===== SCOPED PROLOVERX EXTENSION MOCKUP STYLING ===== */

.app-preview-img-frame {
    height: 535px !important;
    display: flex !important;
    flex-direction: column !important;
    background-color: #121212 !important;
    --bg-dark: #121212;
    --btn-bg: #1e1e1e;
    --btn-hover: #2d2d2d;
    --btn-active: #3a3a3a;
    --border-color: #333333;
    --accent-blue: #0088ff;
    --text-color: #aaaaaa;
    --text-hover: #ffffff;
    --map-border: rgba(255, 255, 255, 0.15);
}

/* Base text scaling for mockup */
.app-preview-img-frame * {
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 10px;
    -webkit-user-select: none;
    user-select: none;
}

.app-preview-img-frame .panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 6px;
    overflow: hidden;
    position: relative;
    background-color: #121212;
    height: calc(100% - 36px); /* subtract titlebar height */
}

/* settings and info icons */
.app-preview-img-frame .settings-icon {
    position: absolute;
    top: 4px;
    left: 8px;
    cursor: pointer;
    font-size: 12px;
    color: #666;
    z-index: 10;
    transition: color 0.15s;
}
.app-preview-img-frame .settings-icon:hover {
    color: #fff;
}

.app-preview-img-frame .info-icon {
    position: absolute;
    top: 4px;
    right: 8px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #0088ff !important;
    font-size: 8px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
}
.app-preview-img-frame .info-icon:hover {
    background: rgba(0, 136, 255, 0.15);
    border-color: #0088ff;
    box-shadow: 0 0 8px rgba(0, 136, 255, 0.5);
    color: #ffffff !important;
}

/* RAM Battery Monitor */
.app-preview-img-frame .ram-container {
    width: fit-content;
    margin: 2px auto 4px auto;
    padding: 3px 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    border-radius: 4px;
    box-shadow: 0 2px 0 rgba(255, 255, 255, 0.03), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: transform 0.05s ease, box-shadow 0.05s ease, background 0.1s;
    gap: 6px;
    cursor: pointer;
    outline: none;
}
.app-preview-img-frame .ram-container:hover {
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 2px 0 rgba(255, 255, 255, 0.1), 0 0 6px rgba(255, 255, 255, 0.05);
}
.app-preview-img-frame .ram-container:active {
    background: rgba(255, 255, 255, 0.02);
    transform: translateY(1px) scale(0.98);
}
.app-preview-img-frame .ram-label {
    font-size: 7px;
    font-weight: 700;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.app-preview-img-frame .battery-body {
    width: 20px;
    height: 9px;
    border: 1px solid #333;
    border-radius: 1px;
    position: relative;
    padding: 0.5px;
    display: flex;
    align-items: center;
}
.app-preview-img-frame .battery-body::after {
    content: '';
    position: absolute;
    right: -2px;
    top: 2px;
    width: 1px;
    height: 3px;
    background: #333;
    border-radius: 0 0.5px 0.5px 0;
}
.app-preview-img-frame .battery-level {
    height: 100%;
    width: 40%;
    background: linear-gradient(to right, #00ff88, #00ccff);
    border-radius: 0.5px;
    transition: width 0.8s ease, background 0.5s ease;
}
.app-preview-img-frame .ram-value {
    font-size: 7.5px;
    font-weight: 700;
    color: #777;
    min-width: 15px;
    text-align: left;
    font-family: monospace;
}

/* Tabs Bar */
.app-preview-img-frame .tabs-bar {
    display: flex;
    gap: 4px;
    background-color: #161616;
    border: 1px solid #2a2a2a;
    border-radius: 4px;
    padding: 2px;
    margin-bottom: 5px;
    z-index: 5;
}
.app-preview-img-frame .tab-btn {
    flex: 1;
    background: transparent !important;
    border: none !important;
    color: #666 !important;
    font-size: 8px !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    padding: 4px 0 !important;
    cursor: pointer !important;
    border-radius: 2px !important;
    transition: background 0.15s ease, color 0.15s ease !important;
    box-shadow: none !important;
    text-align: center;
}
.app-preview-img-frame .tab-btn:hover {
    background: rgba(255, 255, 255, 0.02) !important;
    color: #999 !important;
}
.app-preview-img-frame .tab-btn.active {
    background: #222222 !important;
    color: #ffffff !important;
    border: 1px solid #333 !important;
}

/* Tab Content Visibility */
.app-preview-img-frame .tab-content {
    display: none !important;
    width: 100%;
}
.app-preview-img-frame .tab-content.active {
    display: flex !important;
    flex-direction: column !important;
    flex: 1;
    min-height: 0;
    overflow-y: hidden;
}

/* Layout Map & Magnetic Grid */
.app-preview-img-frame .layout-map {
    position: relative;
    width: 100%;
    flex: 1;
    min-height: 0;
    background-color: #121212;
    overflow: hidden;
}
.app-preview-img-frame .spider-web {
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    width: calc(100% - 10px);
    height: calc(100% - 10px);
    pointer-events: none;
    opacity: 0.08;
    z-index: 0;
}
.app-preview-img-frame .spider-web rect,
.app-preview-img-frame .spider-web line {
    stroke: rgba(255, 255, 255, 0.2);
    stroke-width: 0.5px;
}
.app-preview-img-frame .map-border-box {
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    pointer-events: none;
    z-index: 1;
}

/* Core Buttons placement */
.app-preview-img-frame .buttons-core {
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    display: grid;
    grid-template-columns: 1fr 1.3fr 1fr;
    grid-template-rows: 1fr 1.3fr 1fr;
    gap: 5px;
    z-index: 2;
}

.app-preview-img-frame .core-tl { grid-column: 1; grid-row: 1; }
.app-preview-img-frame .core-tc { grid-column: 2; grid-row: 1; }
.app-preview-img-frame .core-tr { grid-column: 3; grid-row: 1; }
.app-preview-img-frame .core-ml { grid-column: 1; grid-row: 2; }
.app-preview-img-frame .core-c  { grid-column: 2; grid-row: 2; }
.app-preview-img-frame .core-mr { grid-column: 3; grid-row: 2; }
.app-preview-img-frame .core-bl { grid-column: 1; grid-row: 3; }
.app-preview-img-frame .core-bc { grid-column: 2; grid-row: 3; }
.app-preview-img-frame .core-br { grid-column: 3; grid-row: 3; }

.app-preview-img-frame .core-tl,
.app-preview-img-frame .core-tc,
.app-preview-img-frame .core-tr,
.app-preview-img-frame .core-ml,
.app-preview-img-frame .core-c,
.app-preview-img-frame .core-mr,
.app-preview-img-frame .core-bl,
.app-preview-img-frame .core-bc,
.app-preview-img-frame .core-br {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
}

.app-preview-img-frame .grid-3x2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    flex: 1;
    gap: 3px;
}
.app-preview-img-frame .grid-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    flex: 1;
    gap: 3px;
}
.app-preview-img-frame .grid-2x2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    flex: 1;
    gap: 3px;
}

/* Headers of categories */
.app-preview-img-frame .section-header {
    font-size: 7px;
    font-weight: 700;
    color: #4f4f4f !important;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 0.5px;
    padding-bottom: 1px;
    pointer-events: none;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 11px;
    margin-bottom: 0;
}

/* Standard panel button styling */
.app-preview-img-frame button.grid-btn,
.app-preview-img-frame button.action-btn,
.app-preview-img-frame button.icon-btn,
.app-preview-img-frame input.grid-btn,
.app-preview-img-frame select.grid-btn {
    width: 100%;
    height: calc(100% - 2px);
    min-height: 17px;
    background: #1d1d1d !important;
    border: 1px solid #282828 !important;
    border-radius: 3px !important;
    color: #9c9c9c !important;
    font-size: 7.5px;
    font-weight: 600;
    text-transform: uppercase;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    position: relative;
    box-shadow: 0 1px 2px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.03);
    transition: transform 0.05s ease, box-shadow 0.05s ease, background-color 0.1s, color 0.1s, border-color 0.1s;
    margin: 0;
    padding: 0 1px;
    white-space: nowrap;
    overflow: hidden;
    outline: none;
}

.app-preview-img-frame button.grid-btn:hover,
.app-preview-img-frame button.action-btn:hover,
.app-preview-img-frame button.icon-btn:hover {
    background: #252525 !important;
    color: #ffffff !important;
    border-color: #3b3b3b !important;
    z-index: 5;
    box-shadow: 0 0 5px var(--btn-shadow, rgba(255, 255, 255, 0.08)) !important;
}

.app-preview-img-frame button.grid-btn:active,
.app-preview-img-frame button.action-btn:active,
.app-preview-img-frame button.icon-btn:active {
    background: #141414 !important;
    transform: translateY(1px) scale(0.97) !important;
    box-shadow: none !important;
    border-color: #1a1a1a !important;
}

/* inputs / select fields in grids */
.app-preview-img-frame input.grid-btn,
.app-preview-img-frame select.grid-btn {
    cursor: text;
    text-align: center;
    color: #fff !important;
    background-color: #181818 !important;
    border: 1px solid #242424 !important;
    box-shadow: none !important;
}
.app-preview-img-frame select.grid-btn {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.4)' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 2px center;
    background-size: 7px;
    padding-right: 8px !important;
}
.app-preview-img-frame select.grid-btn option {
    background-color: #1e1e1e;
    color: #bbb;
}

/* Purge button highlight */
.app-preview-img-frame #btnPRG.highlight-purge {
    background: #0d4b1a !important;
    color: #ffffff !important;
    box-shadow: 0 0 10px #00ff00 !important;
    border-color: #00ff00 !important;
    transform: scale(1.03);
    z-index: 10;
}

/* Category Specific Shadows */
.app-preview-img-frame .core-tl .grid-btn { --btn-shadow: #2f4858 !important; }
.app-preview-img-frame .core-tc .grid-btn { --btn-shadow: #22573e !important; }
.app-preview-img-frame .core-tr .grid-btn { --btn-shadow: #4d2f5d !important; }
.app-preview-img-frame .core-ml .grid-btn { --btn-shadow: #59582d !important; }
.app-preview-img-frame .core-c  .grid-btn { --btn-shadow: #632d2d !important; }
.app-preview-img-frame .core-mr .grid-btn { --btn-shadow: #2d5a5e !important; }
.app-preview-img-frame .core-bl .grid-btn { --btn-shadow: #632d4b !important; }
.app-preview-img-frame .core-bc .grid-btn { --btn-shadow: #5e462d !important; }
.app-preview-img-frame .core-br .grid-btn { --btn-shadow: #455e2d !important; }

/* Custom Sleek Indigo highlights for specific premium controls */
.app-preview-img-frame #btnRCTC,
.app-preview-img-frame #btnTXT,
.app-preview-img-frame #btnBNC,
.app-preview-img-frame #btnComp,
.app-preview-img-frame #btnPOST {
    --btn-shadow: #6d4aff !important;
}
.app-preview-img-frame #btnRCTC:hover,
.app-preview-img-frame #btnTXT:hover,
.app-preview-img-frame #btnBNC:hover,
.app-preview-img-frame #btnComp:hover,
.app-preview-img-frame #btnPOST:hover {
    background: rgba(109, 74, 255, 0.18) !important;
    border-color: rgba(109, 74, 255, 0.35) !important;
    color: #fff !important;
}

/* Anchor Point Buttons */
.app-preview-img-frame .ap-btn {
    font-size: 11px;
    color: #fff !important;
}
.app-preview-img-frame .align-btn {
    font-size: 11px;
    color: #fff !important;
}

/* Light Sweep Sweep Effect */
.app-preview-img-frame button.grid-btn::after,
.app-preview-img-frame button.action-btn::after {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: -150%;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent) !important;
    transform: skewX(-20deg) !important;
    pointer-events: none !important;
    z-index: 1 !important;
}
.app-preview-img-frame button.grid-btn:hover::after,
.app-preview-img-frame button.action-btn:hover::after {
    animation: mockLightSweep 1.2s cubic-bezier(0.3, 0.5, 0.4, 0.95) infinite !important;
}
@keyframes mockLightSweep {
    0% { left: -150%; }
    50% { left: 150%; }
    100% { left: 150%; }
}

/* ==========================================
   GRAPH TAB STYLING
   ========================================== */
.app-preview-img-frame .graph-top-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 5px;
    margin-bottom: 5px;
}
.app-preview-img-frame .graph-top-section {
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.app-preview-img-frame .graph-section {
    flex: 1;
    background: #161616;
    border: 1px solid #2a2a2a;
    border-radius: 4px;
    padding: 6px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-height: 0;
}
.app-preview-img-frame .graph-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.app-preview-img-frame .graph-title-group {
    display: flex;
    align-items: baseline;
    gap: 6px;
}
.app-preview-img-frame .graph-title {
    font-size: 8px;
    font-weight: 700;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.app-preview-img-frame .graph-stat {
    font-size: 7px;
    color: #555;
    font-weight: 600;
    text-transform: uppercase;
}
.app-preview-img-frame .graph-mode-toggle {
    display: flex;
    height: 15px;
}
.app-preview-img-frame .graph-mode-toggle .grid-btn {
    width: 26px;
    font-size: 7px;
    border-color: #2e2e2e !important;
    min-height: 14px;
}
.app-preview-img-frame .graph-mode-toggle .grid-btn.active {
    background: rgba(255, 255, 255, 0.12) !important;
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.25) !important;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.1) !important;
}

.app-preview-img-frame .graph-main {
    display: flex;
    gap: 6px;
    flex: 1;
    min-height: 0;
}
.app-preview-img-frame .graph-canvas-wrapper {
    flex: 1;
    background: #080808;
    border: 1px solid #202020;
    border-radius: 3px;
    position: relative;
    overflow: hidden;
}
.app-preview-img-frame #mainGraphCanvas {
    width: 100%;
    height: 100%;
    display: block;
}

.app-preview-img-frame .graph-presets-sidebar {
    width: 80px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(8, 1fr);
    gap: 3px;
}
.app-preview-img-frame .preset-slot {
    background: #1c1c1c !important;
    border: 1px solid #2a2a2a !important;
    border-radius: 2px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    transition: transform 0.05s, background-color 0.1s;
}
.app-preview-img-frame .preset-slot:hover {
    background: #252525 !important;
    border-color: #3b3b3b !important;
    box-shadow: 0 0 4px rgba(255, 255, 255, 0.06) !important;
}
.app-preview-img-frame .preset-slot:active {
    background: #141414 !important;
    transform: translateY(1px) scale(0.95) !important;
}
.app-preview-img-frame .preset-slot.filled {
    background: rgba(0, 0, 0, 0.3) !important;
}
.app-preview-img-frame .preset-slot.filled:hover {
    background: rgba(255, 255, 255, 0.05) !important;
}
.app-preview-img-frame .preset-slot canvas {
    width: 100%;
    height: 100%;
    pointer-events: none;
    display: block;
}
.app-preview-img-frame .plus-icon {
    color: #444;
    font-size: 9px;
    font-weight: 400;
}

.app-preview-img-frame .graph-controls {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.app-preview-img-frame .control-row {
    display: flex;
    align-items: center;
    gap: 6px;
}
.app-preview-img-frame .control-label {
    font-size: 7.5px;
    font-weight: 700;
    color: #555;
    min-width: 40px;
    text-transform: uppercase;
}
.app-preview-img-frame .control-label span {
    color: #888;
    font-size: 8px;
    font-family: monospace;
}

/* Style range inputs */
.app-preview-img-frame input[type="range"] {
    -webkit-appearance: none;
    flex: 1;
    height: 10px;
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 2px;
    outline: none;
}
.app-preview-img-frame input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 6px;
    height: 8px;
    background: #555;
    cursor: pointer;
    border: none;
    border-radius: 1px;
    transition: background 0.1s;
}
.app-preview-img-frame.speed-mode input[type="range"]::-webkit-slider-thumb {
    background: #ff9d2e;
}
.app-preview-img-frame.value-mode input[type="range"]::-webkit-slider-thumb {
    background: #2ec4ff;
}
.app-preview-img-frame input[type="range"]:active::-webkit-slider-thumb {
    background: #fff !important;
}

/* ==========================================
   MODALS AND DIALOG OVERLAYS
   ========================================== */
.app-preview-img-frame .modal-overlay,
.app-preview-img-frame .popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 100;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 10px;
    backdrop-filter: blur(2px);
}

.app-preview-img-frame .modal-content,
.app-preview-img-frame .popup-panel {
    background-color: #151515;
    border: 1px solid #2b2b2b;
    border-radius: 6px;
    padding: 12px;
    width: 100%;
    max-width: 290px;
    max-height: 90%;
    overflow-y: auto;
    box-shadow: 0 4px 15px rgba(0,0,0,0.6);
}

/* Custom Scrollbars for Modals */
.app-preview-img-frame .modal-content::-webkit-scrollbar,
.app-preview-img-frame .popup-panel::-webkit-scrollbar,
.app-preview-img-frame #compTreeContainer::-webkit-scrollbar,
.app-preview-img-frame #helpItemsList::-webkit-scrollbar {
    width: 3px;
}
.app-preview-img-frame .modal-content::-webkit-scrollbar-track,
.app-preview-img-frame .popup-panel::-webkit-scrollbar-track,
.app-preview-img-frame #compTreeContainer::-webkit-scrollbar-track,
.app-preview-img-frame #helpItemsList::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.1);
}
.app-preview-img-frame .modal-content::-webkit-scrollbar-thumb,
.app-preview-img-frame .popup-panel::-webkit-scrollbar-thumb,
.app-preview-img-frame #compTreeContainer::-webkit-scrollbar-thumb,
.app-preview-img-frame #helpItemsList::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 1px;
}

.app-preview-img-frame .modal-content h2,
.app-preview-img-frame .popup-title {
    color: #fff;
    margin-bottom: 10px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border-bottom: 1px solid #262626;
    padding-bottom: 6px;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.app-preview-img-frame .popup-close-btn {
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}
.app-preview-img-frame .popup-close-btn:hover {
    color: #fff;
}

.app-preview-img-frame .modal-text {
    color: #aaa;
    font-size: 8.5px;
    line-height: 1.4;
    margin-bottom: 12px;
    text-align: left;
    white-space: pre-wrap;
}
.app-preview-img-frame .modal-text a {
    color: #0088ff;
    text-decoration: none;
}

.app-preview-img-frame .modal-btn,
.app-preview-img-frame .btn {
    background: #1e1e1e !important;
    border: 1px solid #333 !important;
    color: #fff !important;
    border-radius: 3px;
    padding: 5px 12px;
    cursor: pointer;
    font-size: 8px;
    text-transform: uppercase;
    font-weight: 600;
    transition: all 0.15s;
    box-shadow: 0 1px 2px rgba(0,0,0,0.3) !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.app-preview-img-frame .modal-btn:hover,
.app-preview-img-frame .btn:hover {
    background: #2a2a2a !important;
    border-color: #444 !important;
}
.app-preview-img-frame .modal-btn:active,
.app-preview-img-frame .btn:active {
    transform: translateY(1px);
    background: #141414 !important;
}

.app-preview-img-frame .btn-gold {
    background: rgba(142, 99, 69, 0.4) !important;
    border: 1px solid #8e6345 !important;
    color: #ffd700 !important;
}
.app-preview-img-frame .btn-gold:hover {
    background: rgba(142, 99, 69, 0.6) !important;
    border-color: #a87856 !important;
}

.app-preview-img-frame .btn-sm {
    padding: 3px 6px !important;
    font-size: 7.5px !important;
}
.app-preview-img-frame .btn-sm.active {
    background: #2c2c2c !important;
    border-color: #444 !important;
}

/* Form layouts inside modals */
.app-preview-img-frame .popup-field {
    margin-bottom: 8px;
    text-align: left;
}
.app-preview-img-frame .input-label {
    font-size: 7.5px;
    color: #666;
    text-transform: uppercase;
    margin-bottom: 2px;
    font-weight: bold;
}
.app-preview-img-frame .popup-field input[type="text"],
.app-preview-img-frame .popup-field input[type="number"],
.app-preview-img-frame .popup-field input[type="date"],
.app-preview-img-frame .popup-field select {
    width: 100%;
    background: #0d0d0d;
    border: 1px solid #282828;
    color: #fff;
    border-radius: 4px;
    padding: 5px;
    font-size: 8.5px;
    outline: none;
}
.app-preview-img-frame .popup-toggle-stack {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 10px;
    text-align: left;
}
.app-preview-img-frame .check-row {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-size: 8px;
    color: #999;
}
.app-preview-img-frame .check-row input {
    margin: 0;
}
.app-preview-img-frame .popup-actions {
    display: flex;
    justify-content: flex-end;
    gap: 6px;
    margin-top: 10px;
}

/* Comp tree elements */
.app-preview-img-frame #compTreeContainer {
    background-color: #0d0d0d;
    border: 1px solid #222;
    border-radius: 3px;
    height: 120px;
    overflow-y: auto;
    margin-bottom: 8px;
    display: flex;
    flex-direction: column;
}
.app-preview-img-frame #helpItemsList {
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-height: 140px;
    overflow-y: auto;
    padding-right: 2px;
}

/* Toast Notification styling */
.app-preview-img-frame .toast-notification {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%) translateY(30px);
    background: rgba(15, 15, 15, 0.95);
    border: 1px solid rgba(0, 136, 255, 0.35);
    border-radius: 4px;
    padding: 5px 12px;
    color: #fff;
    font-size: 8px;
    font-weight: 600;
    pointer-events: none;
    z-index: 200;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    opacity: 0;
    transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.2s;
    display: flex;
    align-items: center;
    gap: 5px;
    letter-spacing: 0.5px;
}
.app-preview-img-frame .toast-notification.active {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}
.app-preview-img-frame .toast-success-icon {
    color: #00ff88;
}
