.deployments-page { padding: 2rem; } .deployments-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; } .new-deployment-btn { background: var(--primary-color, #2196f3); color: white; border: none; padding: 0.75rem 1.5rem; border-radius: 8px; cursor: pointer; font-size: 1rem; transition: background 0.2s; } .deployment-modal { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.5); display: flex; align-items: center; justify-content: center; } .modal-content { background: white; border-radius: 12px; width: 90%; max-width: 800px; padding: 2rem; } .progress-bar { height: 4px; background: #eee; margin: 2rem 0; border-radius: 2px; } .progress { height: 100%; background: var(--primary-color, #2196f3); border-radius: 2px; transition: width 0.3s; } .step-1 { width: 33.33%; } .step-2 { width: 66.66%; } .step-3 { width: 100%; } .template-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1rem; margin-top: 1rem; } .template-card { border: 2px solid #eee; border-radius: 8px; padding: 1rem; text-align: center; cursor: pointer; transition: all 0.2s; } .template-card:hover { border-color: var(--primary-color, #2196f3); } .template-card.selected { border-color: var(--primary-color, #2196f3); background: var(--primary-color-light, #e3f2fd); } .template-icon { font-size: 2rem; display: block; margin-bottom: 0.5rem; } .deployments-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; margin-top: 2rem; } .deployment-card { border: 1px solid #eee; border-radius: 12px; padding: 1.5rem; background: white; box-shadow: 0 2px 4px rgba(0,0,0,0.05); } .deployment-card header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; } .status-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 0.5rem; } .status-dot.running { background: #4caf50; } .status-dot.paused { background: #ff9800; } .status-dot.failed { background: #f44336; } .deployment-card footer { display: flex; gap: 0.5rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid #eee; } .icon-btn { background: none; border: none; cursor: pointer; padding: 0.5rem; border-radius: 4px; transition: background 0.2s; } .icon-btn:hover { background: #f5f5f5; } .icon-btn.danger:hover { background: #ffebee; } .empty-state { text-align: center; padding: 3rem; grid-column: 1 / -1; } .empty-state img { max-width: 200px; margin-bottom: 1rem; } .icon-btn[title="Edit"]:hover { background: #e3f2fd; color: #1976d2; } .modal-content header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; } .close-btn { background: none; border: none; font-size: 1.5rem; cursor: pointer; padding: 0.5rem; border-radius: 4px; transition: background 0.2s; } .close-btn:hover { background: #f5f5f5; } .step { margin: 2rem 0; } .step h3 { margin-bottom: 1rem; color: #333; } input[type="text"] { width: 100%; padding: 0.75rem; border: 2px solid #eee; border-radius: 8px; font-size: 1rem; margin-bottom: 1.5rem; transition: border-color 0.2s; } input[type="text"]:focus { border-color: var(--primary-color, #2196f3); outline: none; } .modal-content footer { display: flex; justify-content: flex-end; gap: 1rem; margin-top: 2rem; padding-top: 1rem; border-top: 1px solid #eee; } .modal-content footer button { padding: 0.75rem 1.5rem; border-radius: 8px; cursor: pointer; font-size: 1rem; transition: all 0.2s; } .modal-content footer button.primary { background: var(--primary-color, #2196f3); color: white; border: none; } .modal-content footer button:not(.primary) { background: none; border: 2px solid #eee; } .modal-content footer button:hover { opacity: 0.9; }