Spaces:
Sleeping
Sleeping
| /* Modern, interactive agent interface styles */ | |
| :root { | |
| --primary-color: #4a90e2; | |
| --secondary-color: #2c3e50; | |
| --accent-color: #e74c3c; | |
| --background-color: #f5f6fa; | |
| --card-background: #ffffff; | |
| --text-color: #2c3e50; | |
| --border-radius: 8px; | |
| --transition-speed: 0.3s; | |
| } | |
| body { | |
| font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; | |
| background-color: var(--background-color); | |
| color: var(--text-color); | |
| line-height: 1.6; | |
| margin: 0; | |
| padding: 20px; | |
| } | |
| .container { | |
| max-width: 1200px; | |
| margin: 0 auto; | |
| padding: 20px; | |
| } | |
| /* Agent Cards */ | |
| .agent-card { | |
| background: var(--card-background); | |
| border-radius: var(--border-radius); | |
| padding: 20px; | |
| margin-bottom: 20px; | |
| box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); | |
| transition: transform var(--transition-speed), box-shadow var(--transition-speed); | |
| } | |
| .agent-card:hover { | |
| transform: translateY(-5px); | |
| box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); | |
| } | |
| .agent-card-header { | |
| display: flex; | |
| align-items: center; | |
| gap: 15px; | |
| margin-bottom: 15px; | |
| } | |
| .agent-avatar { | |
| width: 60px; | |
| height: 60px; | |
| border-radius: 50%; | |
| background: var(--primary-color); | |
| color: white; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| font-size: 24px; | |
| font-weight: bold; | |
| } | |
| .agent-name { | |
| font-size: 1.5em; | |
| font-weight: 600; | |
| color: var(--primary-color); | |
| } | |
| /* Agent Actions */ | |
| .action-buttons { | |
| display: flex; | |
| gap: 10px; | |
| margin-top: 20px; | |
| } | |
| .action-button { | |
| padding: 10px 20px; | |
| border: none; | |
| border-radius: var(--border-radius); | |
| background: var(--primary-color); | |
| color: white; | |
| cursor: pointer; | |
| transition: background var(--transition-speed); | |
| } | |
| .action-button:hover { | |
| background: #357abd; | |
| } | |
| .action-button:active { | |
| transform: scale(0.98); | |
| } | |
| /* Interactive Elements */ | |
| .interactive-element { | |
| position: relative; | |
| cursor: pointer; | |
| transition: all var(--transition-speed); | |
| } | |
| .interactive-element:hover { | |
| transform: scale(1.05); | |
| } | |
| /* Progress Indicators */ | |
| .progress-bar { | |
| width: 100%; | |
| height: 10px; | |
| background: #e0e0e0; | |
| border-radius: 5px; | |
| overflow: hidden; | |
| margin: 15px 0; | |
| } | |
| .progress { | |
| height: 100%; | |
| background: var(--primary-color); | |
| width: 0%; | |
| transition: width var(--transition-speed); | |
| } | |
| /* Chat Interface */ | |
| .chat-container { | |
| background: var(--card-background); | |
| border-radius: var(--border-radius); | |
| padding: 20px; | |
| margin-top: 20px; | |
| box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); | |
| } | |
| .message { | |
| margin: 10px 0; | |
| padding: 10px; | |
| border-radius: var(--border-radius); | |
| max-width: 80%; | |
| } | |
| .user-message { | |
| background: var(--primary-color); | |
| color: white; | |
| margin-left: auto; | |
| } | |
| .agent-message { | |
| background: #f8f9fa; | |
| color: var(--text-color); | |
| } | |
| /* Visual Feedback */ | |
| .loading { | |
| animation: pulse 1.5s infinite; | |
| } | |
| @keyframes pulse { | |
| 0% { opacity: 0.4; } | |
| 50% { opacity: 1; } | |
| 100% { opacity: 0.4; } | |
| } | |
| /* Tooltips */ | |
| .tooltip { | |
| position: relative; | |
| display: inline-block; | |
| cursor: help; | |
| } | |
| .tooltip .tooltiptext { | |
| visibility: hidden; | |
| width: 120px; | |
| background-color: #555; | |
| color: #fff; | |
| text-align: center; | |
| border-radius: 6px; | |
| padding: 5px; | |
| position: absolute; | |
| z-index: 1; | |
| bottom: 125%; | |
| left: 50%; | |
| margin-left: -60px; | |
| opacity: 0; | |
| transition: opacity 0.3s; | |
| } | |
| .tooltip:hover .tooltiptext { | |
| visibility: visible; | |
| opacity: 1; | |
| } | |
| /* Animation Classes */ | |
| .fade-in { | |
| animation: fadeIn 0.5s ease-in; | |
| } | |
| @keyframes fadeIn { | |
| from { opacity: 0; } | |
| to { opacity: 1; } | |
| } | |
| /* Responsive Design */ | |
| @media (max-width: 768px) { | |
| .container { | |
| padding: 10px; | |
| } | |
| .agent-card { | |
| padding: 15px; | |
| } | |
| .agent-avatar { | |
| width: 50px; | |
| height: 50px; | |
| font-size: 20px; | |
| } | |
| } | |