/* ─── STUDIO & TEST WORKSPACE ─── */
.studio-workspace {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

@media (max-width: 960px) {
    .studio-workspace {
        grid-template-columns: 1fr;
    }
}

.studio-form-card {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 0.75rem;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-label {
    display: block;
    font-weight: bold;
    color: #9ca3af;
    font-size: 0.85rem;
    margin-bottom: 0.4rem;
    text-transform: uppercase;
}

.form-input, .form-textarea, .form-select {
    width: 100%;
    background: #0d1117;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    color: #fff;
    padding: 0.75rem;
    font-size: 0.9rem;
    font-family: inherit;
    transition: border-color 0.2s;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
    outline: none;
    border-color: var(--accent-purple);
}

.file-upload-box {
    margin-top: 0.6rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(255, 255, 255, 0.15);
    border-radius: 0.5rem;
}

.upload-btn-label {
    background: rgba(168, 85, 247, 0.15);
    border: 1px solid rgba(168, 85, 247, 0.3);
    color: #c084fc;
    padding: 0.35rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.8rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
    user-select: none;
}

.upload-btn-label:hover {
    background: rgba(168, 85, 247, 0.25);
    color: #fff;
    transform: translateY(-1px);
}

.carousel-item-card {
    transition: border-color 0.2s, transform 0.2s, background 0.2s;
}

.carousel-item-card:hover {
    border-color: rgba(168, 85, 247, 0.3) !important;
    background: rgba(255, 255, 255, 0.04) !important;
}

/* ─── TERMINAL CONSOLES (PIPELINE & AUDIT) ─── */
.terminal-console-wrapper {
    margin-top: 2rem;
    background: rgba(8, 12, 22, 0.95);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 1rem;
    padding: 1.25rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.terminal-console-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 0.75rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.terminal-console-body {
    background: #05070d;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 0.65rem;
    padding: 1rem;
    font-family: 'Fira Code', 'Consolas', monospace;
    font-size: 0.82rem;
    color: #a7f3d0;
    height: 190px;
    overflow-y: auto;
    line-height: 1.6;
    white-space: pre-wrap;
    word-break: break-word;
}
