* {
box-sizing: border-box;
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
line-height: 1.6;
color: #333;
background: #f0f0f0;
margin: 0;
padding: 0;
}
.container {
max-width: 800px;
margin: 0 auto;
padding: 20px;
}
h1 {
color: #2c3e50;
margin-bottom: 10px;
}
.agent-form, .message-form {
background: white;
padding: 20px;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
margin: 20px 0;
}
.agent-form label {
display: block;
margin-bottom: 8px;
font-weight: bold;
}
.agent-form input[type="url"],
.message-form input[type="text"] {
width: 100%;
padding: 10px;
border: 1px solid #ddd;
border-radius: 4px;
font-size: 16px;
}
button {
background: #3498db;
color: white;
border: none;
padding: 10px 20px;
border-radius: 4px;
cursor: pointer;
font-size: 16px;
margin-top: 10px;
}
button:hover {
background: #2980b9;
}
.info {
background: white;
padding: 20px;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
margin-top: 20px;
}
.info h2 {
color: #34495e;
margin-bottom: 10px;
}
.info ul {
list-style: none;
padding: 0;
}
.info li {
padding: 5px 0;
}
code {
background: #f4f4f4;
padding: 2px 4px;
border-radius: 3px;
font-family: 'Consolas', 'Monaco', monospace;
}
.task-id {
background: #ecf0f1;
padding: 10px;
border-radius: 4px;
margin-bottom: 20px;
}
.chat-container {
background: white;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
overflow: hidden;
}
.messages {
min-height: 400px;
max-height: 500px;
overflow-y: auto;
padding: 20px;
background: #fafafa;
}
.message {
margin-bottom: 15px;
padding: 12px;
border-radius: 8px;
box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}
.message-user {
background: #e3f2fd;
margin-left: 20%;
}
.message-assistant {
background: white;
margin-right: 20%;
border: 1px solid #e0e0e0;
}
.message-system {
background: #fff3cd;
text-align: center;
font-style: italic;
}
.message-header {
display: flex;
justify-content: space-between;
margin-bottom: 8px;
font-size: 0.85em;
color: #666;
}
.role {
font-weight: bold;
text-transform: capitalize;
}
.timestamp {
font-size: 0.8em;
}
.message-content {
white-space: pre-wrap;
word-wrap: break-word;
}
.no-messages {
text-align: center;
color: #999;
padding: 40px;
}
.message-form {
padding: 15px 20px;
margin: 0;
border-radius: 0;
border-top: 1px solid #e0e0e0;
}
.input-group {
display: flex;
gap: 10px;
}
.input-group input {
flex: 1;
margin: 0;
}
.input-group button {
margin: 0;
}
.file-upload-label {
display: flex;
align-items: center;
justify-content: center;
background: #6c757d;
color: white;
padding: 10px 15px;
border-radius: 4px;
cursor: pointer;
font-size: 1.2em;
transition: background 0.2s;
}
.file-upload-label:hover {
background: #5a6268;
}
.file-preview {
display: flex;
align-items: center;
justify-content: space-between;
padding: 10px;
background: #f8f9fa;
border-radius: 4px;
margin-top: 10px;
border: 1px solid #dee2e6;
}
.file-preview .file-name {
flex: 1;
font-size: 0.9em;
color: #495057;
}
.file-preview .remove-file {
background: #dc3545;
color: white;
border: none;
width: 24px;
height: 24px;
border-radius: 50%;
cursor: pointer;
font-size: 0.9em;
display: flex;
align-items: center;
justify-content: center;
padding: 0;
margin: 0;
}
.file-preview .remove-file:hover {
background: #c82333;
}
.actions {
text-align: center;
margin-top: 20px;
}
.actions a {
color: #3498db;
text-decoration: none;
}
.actions a:hover {
text-decoration: underline;
}
.main-nav {
margin: 20px 0;
}
.nav-link {
display: inline-block;
padding: 10px 20px;
background: #3498db;
color: white;
text-decoration: none;
border-radius: 4px;
margin-right: 10px;
}
.nav-link:hover {
background: #2980b9;
}
.task-state {
display: inline-block;
padding: 4px 12px;
border-radius: 12px;
font-size: 0.85em;
font-weight: bold;
text-transform: uppercase;
}
.task-state-submitted {
background: #e3f2fd;
color: #1976d2;
}
.task-state-working {
background: #fff3e0;
color: #f57c00;
}
.task-state-completed {
background: #e8f5e9;
color: #388e3c;
}
.task-state-failed {
background: #ffebee;
color: #d32f2f;
}
.task-state-canceled {
background: #f5f5f5;
color: #616161;
}
.task-state-input-required {
background: #f3e5f5;
color: #7b1fa2;
}
.task-state-auth-required {
background: #fce4ec;
color: #c2185b;
}
.task-state-rejected {
background: #ffebee;
color: #c62828;
}
.task-state-unknown {
background: #eceff1;
color: #546e7a;
}
.notification-banner {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
padding: 15px 20px;
border-radius: 8px;
margin-bottom: 20px;
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: wrap;
gap: 10px;
box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}
.notification-banner p {
margin: 0;
flex: 1;
min-width: 200px;
}
.notification-banner button {
margin: 0;
padding: 8px 16px;
border: none;
border-radius: 4px;
cursor: pointer;
font-size: 0.9em;
font-weight: 600;
}
.notification-banner .btn-primary {
background: white;
color: #667eea;
}
.notification-banner .btn-primary:hover {
background: #f0f0f0;
}
.notification-banner .btn-secondary {
background: rgba(255, 255, 255, 0.2);
color: white;
}
.notification-banner .btn-secondary:hover {
background: rgba(255, 255, 255, 0.3);
}
.task-header-info {
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
gap: 10px;
margin-bottom: 20px;
}
.task-header-info .task-id {
margin: 0;
flex: 1;
}
.state-progression {
display: flex;
align-items: center;
justify-content: center;
margin: 30px 0;
padding: 25px;
background: white;
border-radius: 12px;
box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.progress-step {
display: flex;
flex-direction: column;
align-items: center;
position: relative;
}
.step-circle {
width: 50px;
height: 50px;
border-radius: 50%;
background: #e9ecef;
color: #6c757d;
display: flex;
align-items: center;
justify-content: center;
font-weight: bold;
font-size: 1.2em;
transition: all 0.3s ease;
border: 3px solid #e9ecef;
}
.progress-step.active .step-circle {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
border-color: #667eea;
box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}
.step-label {
margin-top: 10px;
font-size: 0.9em;
color: #6c757d;
font-weight: 500;
}
.progress-step.active .step-label {
color: #667eea;
font-weight: 600;
}
.progress-line {
width: 80px;
height: 3px;
background: #e9ecef;
margin: 0 10px;
margin-bottom: 30px;
transition: all 0.3s ease;
}
.progress-line.active {
background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}
.task-filters {
background: white;
padding: 15px;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
margin: 20px 0;
display: flex;
flex-wrap: wrap;
gap: 10px;
}
.filter-btn {
padding: 8px 16px;
background: #f5f5f5;
color: #333;
text-decoration: none;
border-radius: 4px;
font-size: 0.9em;
transition: all 0.2s;
}
.filter-btn:hover {
background: #e0e0e0;
}
.filter-btn.active {
background: #3498db;
color: white;
}
.tasks-container {
background: white;
padding: 20px;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.tasks-list {
display: flex;
flex-direction: column;
gap: 15px;
}
.task-item {
padding: 15px;
border: 1px solid #e0e0e0;
border-radius: 8px;
transition: box-shadow 0.2s;
}
.task-item:hover {
box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.task-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 10px;
}
.task-meta {
font-size: 0.9em;
color: #666;
margin-bottom: 10px;
}
.task-preview {
color: #555;
font-size: 0.95em;
margin-bottom: 10px;
line-height: 1.4;
}
.task-actions {
display: flex;
gap: 10px;
}
.no-tasks {
text-align: center;
color: #999;
padding: 40px;
}
.btn-primary {
display: inline-block;
padding: 8px 16px;
background: #3498db;
color: white;
text-decoration: none;
border-radius: 4px;
font-size: 0.9em;
}
.btn-primary:hover {
background: #2980b9;
}
.btn-danger {
background: #e74c3c;
color: white;
border: none;
padding: 8px 16px;
border-radius: 4px;
cursor: pointer;
font-size: 0.9em;
}
.btn-danger:hover {
background: #c0392b;
}
.info h3 {
color: #34495e;
margin-top: 20px;
margin-bottom: 10px;
font-size: 1.1em;
}
.hero {
text-align: center;
padding: 30px 20px;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
border-radius: 12px;
margin-bottom: 30px;
box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.hero h1 {
color: white;
margin: 0 0 10px 0;
font-size: 2.5em;
}
.hero-subtitle {
font-size: 1.2em;
opacity: 0.95;
margin: 0;
}
.quick-actions {
background: white;
padding: 30px;
border-radius: 12px;
box-shadow: 0 2px 8px rgba(0,0,0,0.1);
margin-bottom: 30px;
}
.quick-actions h2 {
color: #2c3e50;
margin-top: 0;
margin-bottom: 20px;
}
.action-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 20px;
}
.action-card {
padding: 25px 20px;
background: #f8f9fa;
border: 2px solid #e9ecef;
border-radius: 10px;
text-decoration: none;
color: #333;
transition: all 0.3s ease;
text-align: center;
display: flex;
flex-direction: column;
align-items: center;
}
.action-card:hover {
transform: translateY(-5px);
box-shadow: 0 6px 20px rgba(0,0,0,0.15);
border-color: #667eea;
}
.action-icon {
font-size: 3em;
margin-bottom: 15px;
}
.action-card h3 {
margin: 0 0 8px 0;
color: #2c3e50;
font-size: 1.1em;
}
.action-card p {
margin: 0;
color: #6c757d;
font-size: 0.9em;
}
.workflow {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
gap: 20px;
margin: 20px 0;
}
.workflow-step {
text-align: center;
position: relative;
}
.step-number {
display: inline-block;
width: 40px;
height: 40px;
background: #667eea;
color: white;
border-radius: 50%;
line-height: 40px;
font-weight: bold;
font-size: 1.2em;
margin-bottom: 10px;
}
.step-content h4 {
margin: 10px 0 5px 0;
color: #2c3e50;
}
.step-content p {
margin: 0;
color: #6c757d;
font-size: 0.9em;
}
.features-list {
list-style: none;
padding: 0;
margin: 15px 0;
}
.features-list li {
padding: 8px 0;
color: #495057;
}
.tech-details {
margin-top: 25px;
padding: 15px;
background: #f8f9fa;
border-radius: 8px;
border: 1px solid #dee2e6;
}
.tech-details summary {
cursor: pointer;
font-weight: bold;
color: #495057;
padding: 5px;
}
.tech-details summary:hover {
color: #667eea;
}
.tech-details p {
margin: 10px 0;
color: #6c757d;
}
.expense-form {
background: white;
padding: 30px;
border-radius: 12px;
box-shadow: 0 2px 8px rgba(0,0,0,0.1);
margin: 20px 0;
}
.form-group {
margin-bottom: 20px;
}
.form-group label {
display: block;
margin-bottom: 8px;
font-weight: 600;
color: #2c3e50;
}
.form-group input[type="text"],
.form-group input[type="number"],
.form-group input[type="date"],
.form-group select,
.form-group textarea {
width: 100%;
padding: 10px;
border: 1px solid #ced4da;
border-radius: 6px;
font-size: 16px;
font-family: inherit;
}
.form-group textarea {
min-height: 100px;
resize: vertical;
}
.form-row {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 20px;
}
.file-upload {
border: 2px dashed #ced4da;
border-radius: 8px;
padding: 30px;
text-align: center;
background: #f8f9fa;
cursor: pointer;
transition: all 0.2s;
}
.file-upload:hover {
border-color: #667eea;
background: #e7f1ff;
}
.file-upload input[type="file"] {
display: none;
}
.upload-icon {
font-size: 3em;
margin-bottom: 10px;
}
.submit-btn {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
border: none;
padding: 15px 40px;
border-radius: 8px;
font-size: 1.1em;
font-weight: 600;
cursor: pointer;
width: 100%;
margin-top: 10px;
transition: transform 0.2s;
}
.submit-btn:hover {
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}
@media (max-width: 600px) {
.container {
padding: 10px;
}
.hero h1 {
font-size: 1.8em;
}
.action-grid {
grid-template-columns: 1fr;
}
.workflow {
grid-template-columns: 1fr;
}
.form-row {
grid-template-columns: 1fr;
}
.message-user,
.message-assistant {
margin-left: 0;
margin-right: 0;
}
.task-filters {
flex-direction: column;
}
.task-header {
flex-direction: column;
align-items: flex-start;
gap: 10px;
}
.task-header-info {
flex-direction: column;
align-items: flex-start;
}
}