/* ============================================================
   DevTools Pro – Custom Styles
   ============================================================ */

/* Code editor textarea */
.code-editor {
    font-family: 'JetBrains Mono', 'Fira Code', 'Consolas', 'Monaco', monospace;
    font-size: 13px;
    line-height: 1.6;
    tab-size: 2;
    resize: none;
    white-space: pre;
    overflow-wrap: normal;
    overflow-x: auto;
}

/* Scrollbar */
.code-editor::-webkit-scrollbar { width: 8px; height: 8px; }
.code-editor::-webkit-scrollbar-track { background: transparent; }
.code-editor::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 4px; }
.code-editor::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.2); }

/* Fade-in */
.fade-in { animation: fadeIn 0.5s ease-out; }
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Toast */
.animate-fade-up { animation: fadeUp 0.3s ease-out, fadeOut 0.3s ease-in 1.6s forwards; }
@keyframes fadeUp {
    from { opacity: 0; transform: translate(-50%, 16px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}
@keyframes fadeOut { from { opacity: 1; } to { opacity: 0; } }

/* Hover lift */
.hover-lift { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.hover-lift:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0,0,0,0.3); }

/* Tab active */
.tab-active {
    border-bottom: 2px solid #6366f1 !important;
    color: #e2e8f0 !important;
}

/* Details/Summary arrow */
details summary::-webkit-details-marker { display: none; }
details summary::marker { display: none; }

/* Collapse unfilled AdSense slots */
.ad-slot { overflow: hidden; line-height: 0; font-size: 0; }
.ad-slot:empty { display: none; }
ins.adsbygoogle[data-ad-status="unfilled"] { display: none !important; }
.ad-slot:has(ins[data-ad-status="unfilled"]) { display: none; }
