body { font-family: sans-serif; margin: 20px; line-height: 1.6; } h1, h2 { color: #333; } a { color: #007bff; text-decoration: none; } a:hover { text-decoration: underline; } form div { margin-bottom: 10px; } label { display: block; margin-bottom: 5px; } input[type="text"], textarea { width: 100%; padding: 8px; box-sizing: border-box; border: 1px solid #ccc; border-radius: 4px; } button { background-color: #007bff; color: white; padding: 10px 15px; border: none; border-radius: 4px; cursor: pointer; } button:hover { background-color: #0056b3; } hr { margin: 20px 0; } #flows-list ul { list-style-type: none; padding: 0; } #flows-list li { border: 1px solid #eee; padding: 10px; margin-bottom: 10px; border-radius: 4px; } /* Styles for dynamic form elements from create_flow.html */ .step, .requirement { border: 1px solid #ddd; padding: 15px; /* Increased padding */ margin-bottom: 15px; border-radius: 4px; background-color: #f9f9f9; } .step h3, .step h4, .requirement h5 { margin-top: 0; color: #555; /* Slightly softer color */ } .step .requirementsContainer { margin-left: 20px; border-left: 3px solid #007bff; /* Thicker border */ padding-left: 20px; /* Increased padding */ margin-top: 10px; margin-bottom: 10px; } button.removeStepBtn, button.removeRequirementBtn { background-color: #dc3545; color: white; padding: 5px 10px; /* Adjusted padding */ border: none; border-radius: 4px; cursor: pointer; margin-top: 10px; /* Increased margin */ float: right; /* Align to the right */ } button.removeStepBtn:hover, button.removeRequirementBtn:hover { background-color: #c82333; } /* Clearfix for floated remove buttons */ .step::after, .requirement::after { content: ""; clear: both; display: table; } .addBtn { /* Style for Add Step / Add Requirement buttons */ background-color: #28a745; color: white; padding: 8px 12px; border: none; border-radius: 4px; cursor: pointer; margin-top: 10px; margin-bottom: 10px; } .addBtn:hover { background-color: #218838; } /* General styling for form elements within steps/requirements for consistency */ .step input[type="text"], .step textarea, .requirement input[type="text"], .requirement textarea { margin-bottom: 8px; /* Add some space below inputs */ }