/**
 * [Senior Standard] Ad Script Tester Style v2.0
 */

.ad-script-container {
    max-width: 800px;
    margin: 0 auto;
}

/* Tabs */
.tabs-container {
    display: flex;
    gap: 10px;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 10px;
}
.tab-btn {
    padding: 10px 20px;
    border: none;
    background: transparent;
    font-size: 1rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s;
}
.tab-btn:hover { background: #f1f5f9; color: #334155; }
.tab-btn.active {
    background: #e0f2fe;
    color: #0369a1;
}

.tab-content { display: none; animation: fadeIn 0.3s ease; }
.tab-content.active { display: block; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }

/* Form & UI */
.desc { font-size: 0.9rem; color: #64748b; margin-bottom: 15px; }
.tip { font-size: 0.8rem; color: #3b82f6; margin-top: 5px; }

.input-pastel {
    width: 100%; padding: 12px;
    border: 1px solid #cbd5e1; border-radius: 8px;
    font-family: 'Monaco', monospace; font-size: 0.9rem;
    background: #f8fafc;
    box-sizing: border-box;
}
.input-pastel:focus { outline: none; border-color: #8b5cf6; background: #fff; }

.code-block {
    background: #1e293b; color: #a5b4fc;
    padding: 15px; border-radius: 8px;
    font-family: 'Monaco', monospace; font-size: 0.85rem;
    overflow-x: auto; white-space: pre-wrap;
}

.log-viewer {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px;
    height: 200px;
    overflow-y: auto;
    font-size: 0.85rem;
}
.log-item { margin-bottom: 4px; border-bottom: 1px dashed #cbd5e1; padding-bottom: 2px; }
.log-time { color: #94a3b8; margin-right: 5px; font-size: 0.75rem; }

.action-row { display: flex; gap: 10px; margin-top: 10px; }
