Files
EveFlow/src/index.css
T

2776 lines
61 KiB
CSS

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&family=Share+Tech+Mono&display=swap');
:root {
/* Colors: Eve Space Age Premium DARK Theme — Ultra Deep Cyberpunk Blue */
--bg-primary: #030712; /* Black-blue deep void */
--bg-secondary: #080f1e; /* Very dark space panel */
--bg-glass: rgba(8, 15, 30, 0.85);
--bg-glass-active: rgba(12, 22, 44, 0.95);
--border-neon: rgba(0, 242, 255, 0.15);
--border-neon-active: rgba(0, 242, 255, 0.85);
--glow-cyan: 0 0 15px rgba(0, 242, 255, 0.15);
--glow-cyan-active: 0 0 25px rgba(0, 242, 255, 0.5);
--text-primary: #ffffff; /* Pure starlight white */
--text-secondary: #7aa2d6; /* Muted technical nebula blue */
--text-tertiary: #415574; /* Deep tech space dust */
--text-neon: #00f2ff; /* Vibrating Eve Cyan néon */
--accent-cyan: #00f2ff; /* Premium Eve Cyan */
--accent-blue: #2979ff; /* Electric cobalt */
--accent-orange: #ffa000;
--accent-light: rgba(0, 242, 255, 0.1);
--font-title: 'Outfit', sans-serif;
--font-body: 'Space Grotesk', sans-serif;
--font-mono: 'Share Tech Mono', monospace;
--radius-sm: 10px;
--radius-md: 20px;
--radius-lg: 30px;
--transition-smooth: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.markdown-image-error {
display: inline-flex;
max-width: 100%;
margin-top: 10px;
padding: 10px 12px;
border: 2px dashed var(--accent-orange);
border-radius: var(--radius-sm);
color: var(--accent-orange);
background: rgba(255, 160, 0, 0.08);
font-family: var(--font-mono);
font-size: 0.8rem;
font-weight: 800;
overflow-wrap: anywhere;
text-decoration: none;
}
.markdown-image-error:hover {
background: rgba(255, 160, 0, 0.14);
color: var(--text-primary);
}
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
font-family: var(--font-body);
background-color: transparent; /* Allows Electron transparency */
color: var(--text-primary);
height: 100vh;
width: 100vw;
overflow: hidden;
display: flex;
justify-content: center;
align-items: center;
user-select: none;
}
/* Custom 70s Analog Scrollbar */
::-webkit-scrollbar {
width: 8px;
}
::-webkit-scrollbar-track {
background: var(--bg-primary);
border-radius: var(--radius-sm);
}
::-webkit-scrollbar-thumb {
background: var(--accent-light);
border: 2px solid var(--bg-primary);
border-radius: var(--radius-sm);
}
::-webkit-scrollbar-thumb:hover {
background: var(--accent-cyan);
}
/* --- SPACE AGE 1970s LAYOUT SYSTEM --- */
.app-container {
display: flex;
flex-direction: column;
height: 100vh;
width: 100vw;
overflow: hidden;
background-color: var(--bg-primary);
/* Vintage technical screen grid with Eve Cyan */
background-image:
linear-gradient(rgba(0, 212, 245, 0.04) 1px, transparent 1px),
linear-gradient(90deg, rgba(0, 212, 245, 0.04) 1px, transparent 1px),
radial-gradient(rgba(0, 212, 245, 0.08) 1px, transparent 1px);
background-size: 40px 40px, 40px 40px, 20px 20px;
background-position: 0 0, 0 0, 10px 10px;
border: 8px solid var(--bg-secondary);
outline: 1px solid rgba(0, 212, 245, 0.15);
box-shadow: inset 0 0 80px rgba(0, 212, 245, 0.04), 0 0 60px rgba(0, 0, 0, 0.6);
transition: var(--transition-smooth);
}
.app-container.transparent-bg {
background-color: transparent;
border-color: rgba(226, 236, 245, 0.95);
}
.app-header {
height: 58px;
min-height: 58px;
border-bottom: 3px solid var(--text-primary);
background-color: var(--bg-secondary);
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 22px;
z-index: 50;
box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
}
.app-main {
flex: 1;
display: flex;
flex-direction: row;
overflow: hidden;
position: relative;
background-color: transparent;
}
/* Chat section: Styled like an integrated retro TV monitor */
.chat-section {
width: 69%;
display: flex;
flex-direction: column;
background-color: var(--bg-glass);
border-right: 2px solid rgba(226, 240, 255, 0.78);
z-index: 10;
height: 100%;
}
.messages-container {
flex: 1;
overflow-y: auto;
padding: 22px;
display: flex;
flex-direction: column;
gap: 16px;
position: relative;
}
/* Transparent scanlines overlay to evoke vintage CRT displays without losing readability */
.messages-container::before {
content: " ";
display: block;
position: absolute;
top: 0; left: 0; bottom: 0; right: 0;
background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 216, 255, 0.012) 50%), linear-gradient(90deg, rgba(0, 216, 255, 0.003), rgba(0, 255, 200, 0.001), rgba(0, 150, 255, 0.003));
background-size: 100% 4px, 3px 100%;
pointer-events: none;
z-index: 2;
}
.input-container {
padding: 16px 18px;
border-top: 2px solid rgba(226, 240, 255, 0.78);
background-color: var(--bg-secondary);
display: flex;
align-items: center;
gap: 12px;
}
.hermes-summary-strip {
min-height: 42px;
display: flex;
align-items: center;
gap: 10px;
padding: 8px 16px;
border-bottom: 1px solid rgba(0, 229, 255, 0.22);
background:
linear-gradient(90deg, rgba(0, 212, 245, 0.11), rgba(0, 212, 245, 0.025)),
rgba(3, 11, 24, 0.54);
color: var(--text-primary);
font-family: var(--font-mono);
font-size: 11px;
font-weight: 800;
letter-spacing: 0.4px;
flex-shrink: 0;
}
.hermes-summary-main {
display: inline-flex;
align-items: center;
gap: 7px;
color: #70ffa8;
text-transform: uppercase;
white-space: nowrap;
}
.hermes-summary-strip.offline .hermes-summary-main {
color: #ff8f8f;
}
.hermes-summary-strip.syncing .hermes-summary-main {
color: var(--accent-cyan);
}
.hermes-summary-pill {
display: inline-flex;
align-items: center;
min-height: 26px;
padding: 0 10px;
border: 1px solid rgba(0, 229, 255, 0.26);
border-radius: 6px;
color: var(--text-secondary);
background: rgba(0, 212, 245, 0.06);
white-space: nowrap;
}
.hermes-summary-pill.warning {
color: #ffcf70;
border-color: rgba(255, 207, 112, 0.34);
background: rgba(255, 207, 112, 0.08);
}
.hermes-summary-button {
margin-left: auto;
min-height: 30px;
padding: 0 12px;
border: 1px solid rgba(138, 247, 255, 0.58);
border-radius: 6px;
background: rgba(0, 212, 245, 0.12);
color: var(--text-neon);
font-family: var(--font-title);
font-size: 11px;
font-weight: 800;
text-transform: uppercase;
letter-spacing: 0.8px;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 7px;
cursor: pointer;
transition: var(--transition-smooth);
white-space: nowrap;
}
.hermes-summary-button:hover {
background: rgba(0, 212, 245, 0.2);
box-shadow: 0 0 16px rgba(0, 212, 245, 0.22);
}
.settings-section {
width: 69%;
display: flex;
flex-direction: column;
background-color: var(--bg-primary);
border-right: 3px solid var(--text-primary);
z-index: 20;
overflow-y: auto;
padding: 32px;
gap: 28px;
height: 100%;
}
/* 3D Model Section: Deep space cockpit */
.eve-section {
width: 31%;
height: 100%;
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: center;
padding: 18px 0 16px;
position: relative;
overflow: hidden;
transition: var(--transition-smooth);
background: radial-gradient(ellipse at 50% 40%, rgba(0, 212, 245, 0.07) 0%, transparent 70%), var(--bg-primary);
}
.eve-section.floating-widget {
width: 100%;
height: 100%;
padding: 12px;
background-color: var(--bg-glass-active);
border: 4px solid var(--text-primary);
border-radius: var(--radius-lg);
box-shadow: var(--glow-cyan-active), 0 10px 25px rgba(255, 85, 0, 0.1);
justify-content: flex-start;
align-items: stretch;
}
.avatar-ambient-field {
position: absolute;
inset: 0;
z-index: 0;
overflow: hidden;
pointer-events: none;
background:
linear-gradient(rgba(0, 229, 255, 0.025) 1px, transparent 1px),
linear-gradient(90deg, rgba(0, 229, 255, 0.018) 1px, transparent 1px);
background-size: 42px 42px;
opacity: 0.8;
}
.avatar-ambient-field::before {
content: "";
position: absolute;
inset: -20%;
background: radial-gradient(circle at 50% 42%, rgba(0, 229, 255, 0.12), transparent 44%);
animation: ambient-breathe 7s ease-in-out infinite;
}
.avatar-ambient-field::after {
content: "";
position: absolute;
inset: 0;
opacity: 0;
background:
radial-gradient(circle at 50% 34%, rgba(138, 247, 255, 0.42) 0 2px, transparent 3px),
radial-gradient(circle at 38% 28%, rgba(0, 229, 255, 0.32) 0 2px, transparent 3px),
radial-gradient(circle at 62% 30%, rgba(0, 229, 255, 0.32) 0 2px, transparent 3px),
radial-gradient(circle at 32% 48%, rgba(138, 247, 255, 0.28) 0 2px, transparent 3px),
radial-gradient(circle at 68% 50%, rgba(138, 247, 255, 0.28) 0 2px, transparent 3px),
linear-gradient(32deg, transparent 36%, rgba(0, 229, 255, 0.24) 36.4%, transparent 37.2%),
linear-gradient(-31deg, transparent 38%, rgba(0, 229, 255, 0.22) 38.4%, transparent 39.2%),
linear-gradient(90deg, transparent 41%, rgba(138, 247, 255, 0.2) 41.3%, transparent 42%);
filter: drop-shadow(0 0 10px rgba(0, 229, 255, 0.34));
transform: scale(0.94);
transition: opacity 0.35s ease, transform 0.35s ease;
}
.avatar-ambient-field.thinking::before {
background:
radial-gradient(circle at 50% 32%, rgba(138, 247, 255, 0.26), transparent 24%),
radial-gradient(circle at 50% 42%, rgba(0, 229, 255, 0.18), transparent 48%);
animation-duration: 3.4s;
}
.avatar-ambient-field.thinking::after {
opacity: 0.86;
transform: scale(1);
animation: neural-grid-pulse 2.2s ease-in-out infinite;
}
.ambient-scanline {
position: absolute;
left: -15%;
width: 130%;
height: 3px;
background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.75), transparent);
box-shadow: 0 0 18px rgba(0, 229, 255, 0.55);
opacity: 0.22;
}
.avatar-ambient-field.thinking .ambient-scanline {
background: linear-gradient(90deg, transparent, rgba(0, 195, 255, 0.84), transparent);
box-shadow: 0 0 20px rgba(0, 195, 255, 0.58);
opacity: 0.55;
height: 4px;
}
.scanline-a {
top: 24%;
animation: scanline-drift-a 5.8s ease-in-out infinite;
}
.scanline-b {
top: 64%;
animation: scanline-drift-b 7.4s ease-in-out infinite;
}
.ambient-data {
position: absolute;
height: 1px;
width: 120px;
background: linear-gradient(90deg, transparent, rgba(138, 247, 255, 0.72), transparent);
opacity: 0.22;
}
.data-a {
top: 18%;
left: 12%;
animation: data-slide 9s linear infinite;
}
.data-b {
top: 48%;
right: 10%;
animation: data-slide-reverse 11s linear infinite;
}
.data-c {
bottom: 18%;
left: 28%;
width: 80px;
animation: data-slide 13s linear infinite;
}
.ambient-node {
position: absolute;
width: 5px;
height: 5px;
border-radius: 50%;
background: rgba(0, 229, 255, 0.72);
box-shadow: 0 0 14px rgba(0, 229, 255, 0.62);
opacity: 0.35;
}
.node-a {
top: 22%;
right: 22%;
animation: node-float 8s ease-in-out infinite;
}
.node-b {
top: 58%;
left: 14%;
animation: node-float 10s ease-in-out infinite reverse;
}
.node-c {
bottom: 22%;
right: 34%;
animation: node-float 12s ease-in-out infinite;
}
.avatar-ambient-field.thinking .ambient-data,
.avatar-ambient-field.thinking .ambient-node {
opacity: 0.55;
}
@keyframes ambient-breathe {
0%, 100% { transform: scale(0.96); opacity: 0.52; }
50% { transform: scale(1.06); opacity: 0.9; }
}
@keyframes neural-grid-pulse {
0%, 100% {
opacity: 0.58;
filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.28));
}
45% {
opacity: 0.95;
filter: drop-shadow(0 0 18px rgba(138, 247, 255, 0.52));
}
70% {
opacity: 0.72;
filter: drop-shadow(0 0 12px rgba(0, 229, 255, 0.38));
}
}
@keyframes scanline-drift-a {
0%, 100% { transform: translateY(-35px); }
50% { transform: translateY(72px); }
}
@keyframes scanline-drift-b {
0%, 100% { transform: translateY(48px); }
50% { transform: translateY(-64px); }
}
@keyframes data-slide {
0% { transform: translateX(-80px); opacity: 0; }
20%, 80% { opacity: 0.38; }
100% { transform: translateX(180px); opacity: 0; }
}
@keyframes data-slide-reverse {
0% { transform: translateX(120px); opacity: 0; }
20%, 80% { opacity: 0.34; }
100% { transform: translateX(-180px); opacity: 0; }
}
@keyframes node-float {
0%, 100% { transform: translate3d(0, 0, 0); }
50% { transform: translate3d(18px, -22px, 0); }
}
.tool-screen-window {
position: absolute;
z-index: 35;
left: clamp(14px, 12%, 90px);
right: clamp(14px, 12%, 90px);
bottom: clamp(50px, 11vh, 118px);
height: clamp(120px, 36vh, 390px);
min-width: 0;
padding: clamp(5px, 1vw, 10px);
border: 1px solid rgba(0, 229, 255, 0.62);
border-radius: 6px;
color: var(--text-neon);
background:
linear-gradient(rgba(0, 229, 255, 0.07) 1px, transparent 1px),
linear-gradient(90deg, rgba(0, 229, 255, 0.05) 1px, transparent 1px),
rgba(3, 11, 24, 0.9);
background-size: 12px 12px;
box-shadow: inset 0 0 22px rgba(0, 212, 245, 0.18), 0 0 24px rgba(0, 212, 245, 0.28);
font-family: var(--font-mono);
letter-spacing: 0;
pointer-events: none;
overflow: hidden;
user-select: none;
}
.tool-screen-window.active {
border-color: rgba(138, 247, 255, 0.9);
box-shadow: inset 0 0 28px rgba(0, 212, 245, 0.24), 0 0 34px rgba(0, 212, 245, 0.4);
}
.tool-screen-header {
display: flex;
align-items: center;
justify-content: space-between;
gap: clamp(4px, 1vw, 10px);
padding-bottom: clamp(3px, 0.8vh, 7px);
border-bottom: 1px solid rgba(0, 229, 255, 0.35);
font-size: clamp(7px, 1.25vw, 10px);
font-weight: 800;
}
.tool-screen-led {
width: 8px;
height: 8px;
border-radius: 50%;
background: var(--accent-cyan);
box-shadow: 0 0 12px var(--accent-cyan);
flex: 0 0 auto;
}
.tool-screen-body {
display: flex;
flex-direction: column;
gap: 5px;
padding-top: clamp(3px, 0.8vh, 8px);
height: calc(100% - clamp(18px, 4vh, 30px));
overflow-y: auto;
overflow-x: hidden;
}
.tool-screen-empty,
.tool-screen-line {
min-height: clamp(10px, 2.4vh, 16px);
font-size: clamp(7px, 1.1vw, 10px);
line-height: 1.25;
}
.tool-screen-empty {
color: var(--text-secondary);
opacity: 0.78;
}
.tool-screen-line {
display: grid;
grid-template-columns: clamp(34px, 9vw, 48px) 1fr;
column-gap: clamp(4px, 1vw, 8px);
align-items: baseline;
}
.tool-screen-status {
color: var(--accent-cyan);
font-weight: 800;
}
.tool-screen-line.done .tool-screen-status {
color: #70ffa8;
}
.tool-screen-line.error .tool-screen-status {
color: #ff6b6b;
}
.tool-screen-text {
color: var(--text-primary);
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.tool-screen-detail {
grid-column: 2;
color: var(--text-secondary);
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.hermes-cockpit-window {
top: 12px;
right: 12px;
bottom: 12px;
left: auto;
width: min(440px, 42vw);
height: calc(100% - 24px);
padding: 10px;
border-radius: 8px;
pointer-events: auto;
user-select: auto;
animation: cockpit-drawer-in 0.22s ease-out;
}
.hermes-header-actions {
display: inline-flex;
align-items: center;
gap: 5px;
}
.hermes-cockpit-status {
display: flex;
align-items: center;
gap: 7px;
min-height: 22px;
padding: 5px 0;
font-size: clamp(7px, 1.1vw, 10px);
font-weight: 800;
color: var(--text-secondary);
border-bottom: 1px solid rgba(0, 229, 255, 0.18);
}
.hermes-cockpit-status span:last-child {
margin-left: auto;
}
.tool-screen-led.offline {
background: #ff6b6b;
box-shadow: 0 0 12px #ff6b6b;
}
.tool-screen-led.syncing {
animation: pulse-led 1s ease-in-out infinite;
}
.hermes-cockpit-error {
padding: 4px 0;
font-size: clamp(7px, 1vw, 9px);
color: #ff8f8f;
border-bottom: 1px solid rgba(255, 107, 107, 0.22);
}
.hermes-cockpit-tabs {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 6px;
padding: 7px 0;
}
.hermes-cockpit-tabs button,
.hermes-icon-btn {
min-width: 0;
height: 24px;
border: 1px solid rgba(0, 229, 255, 0.26);
border-radius: 6px;
background: rgba(0, 212, 245, 0.07);
color: var(--text-neon);
display: inline-flex;
align-items: center;
justify-content: center;
gap: 4px;
cursor: pointer;
transition: var(--transition-smooth);
position: relative;
}
.hermes-cockpit-tabs button:hover,
.hermes-cockpit-tabs button.active,
.hermes-icon-btn:hover,
.hermes-icon-btn.primary {
border-color: rgba(138, 247, 255, 0.8);
background: rgba(0, 212, 245, 0.18);
box-shadow: 0 0 12px rgba(0, 212, 245, 0.18);
}
.hermes-icon-btn:disabled {
opacity: 0.45;
cursor: not-allowed;
box-shadow: none;
}
.hermes-icon-btn.danger {
color: #ff8f8f;
border-color: rgba(255, 107, 107, 0.28);
}
.hermes-tab-badge {
position: absolute;
top: -5px;
right: -5px;
min-width: 15px;
height: 15px;
padding: 0 4px;
border-radius: 999px;
background: #ff6b6b;
color: white;
font-size: 8px;
line-height: 15px;
font-weight: 900;
}
.hermes-cockpit-scroll {
scrollbar-width: thin;
scrollbar-color: rgba(0, 229, 255, 0.38) transparent;
}
.hermes-cron-panel,
.hermes-history-list {
display: flex;
flex-direction: column;
gap: 7px;
height: calc(100% - 86px);
overflow-y: auto;
overflow-x: hidden;
}
.hermes-cron-editor {
display: grid;
grid-template-columns: 1fr 1fr auto;
gap: 6px;
padding-bottom: 7px;
border-bottom: 1px solid rgba(0, 229, 255, 0.22);
}
.hermes-cockpit-input,
.hermes-cockpit-textarea {
min-width: 0;
width: 100%;
border: 1px solid rgba(0, 229, 255, 0.24);
border-radius: 6px;
background: rgba(0, 0, 0, 0.32);
color: var(--text-primary);
font-family: var(--font-mono);
font-size: clamp(8px, 1.1vw, 10px);
padding: 6px 7px;
outline: none;
}
.hermes-cockpit-input:focus,
.hermes-cockpit-textarea:focus {
border-color: rgba(138, 247, 255, 0.75);
box-shadow: 0 0 10px rgba(0, 212, 245, 0.14);
}
.hermes-cockpit-textarea {
grid-column: 1 / 3;
min-height: 38px;
resize: vertical;
}
.hermes-cron-editor-actions {
grid-column: 3;
grid-row: 1 / 3;
display: flex;
flex-direction: column;
gap: 6px;
}
.hermes-jobs-list {
display: flex;
flex-direction: column;
gap: 7px;
}
.hermes-job-row,
.hermes-run-row {
width: 100%;
min-width: 0;
border: 1px solid rgba(0, 229, 255, 0.2);
border-radius: 6px;
background: rgba(0, 212, 245, 0.055);
color: var(--text-primary);
}
.hermes-job-row {
display: grid;
grid-template-columns: 1fr auto;
gap: 7px;
padding: 7px;
}
.hermes-job-row.failed,
.hermes-run-row.failed {
border-color: rgba(255, 107, 107, 0.38);
}
.hermes-job-main {
display: flex;
min-width: 0;
flex-direction: column;
gap: 3px;
}
.hermes-job-name {
font-weight: 900;
color: var(--text-neon);
font-size: clamp(8px, 1.1vw, 10px);
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.hermes-job-meta,
.hermes-job-result {
font-size: clamp(7px, 1vw, 9px);
color: var(--text-secondary);
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.hermes-job-actions {
display: grid;
grid-template-columns: repeat(2, 24px);
gap: 5px;
align-content: start;
}
.hermes-run-row {
display: grid;
grid-template-columns: 34px 1fr auto;
gap: 7px;
align-items: center;
padding: 7px;
text-align: left;
cursor: pointer;
font-family: var(--font-mono);
}
.hermes-run-row.unread {
border-color: rgba(112, 255, 168, 0.42);
background: rgba(112, 255, 168, 0.055);
}
.hermes-run-status {
font-size: 9px;
font-weight: 900;
color: #70ffa8;
}
.hermes-run-row.failed .hermes-run-status {
color: #ff8f8f;
}
.hermes-run-content {
display: flex;
min-width: 0;
flex-direction: column;
gap: 2px;
}
.hermes-run-content strong,
.hermes-run-content span {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.hermes-run-content strong {
color: var(--text-neon);
font-size: clamp(8px, 1.1vw, 10px);
}
.hermes-run-content span,
.hermes-run-time {
color: var(--text-secondary);
font-size: clamp(7px, 1vw, 9px);
}
@keyframes cockpit-drawer-in {
from { opacity: 0; transform: translateX(18px); }
to { opacity: 1; transform: translateX(0); }
}
/* Message bubbles: Capsule-shaped pilot styling */
.message-row {
display: flex;
width: 100%;
animation: fadeIn 0.4s ease-out;
}
.message-row.user {
justify-content: flex-end;
}
.message-row.assistant {
justify-content: flex-start;
}
.message-bubble {
max-width: 82%;
padding: 16px 24px;
font-size: 14.5px;
line-height: 1.6;
font-weight: 500;
box-shadow: 0 4px 15px rgba(45, 30, 24, 0.05);
}
.message-bubble.user {
background: linear-gradient(135deg, #005f7a, #1a3a8a);
color: #e8f4ff;
border: 1px solid rgba(0, 212, 245, 0.35);
border-radius: 28px 28px 4px 28px;
box-shadow: 0 0 18px rgba(0, 212, 245, 0.12);
}
.message-bubble.assistant {
background: var(--bg-secondary);
color: var(--text-primary);
border: 1px solid rgba(0, 212, 245, 0.2);
border-radius: 28px 28px 28px 4px;
box-shadow: 0 0 20px rgba(0, 212, 245, 0.06);
}
.message-meta {
display: flex;
align-items: center;
gap: 8px;
font-size: 11px;
font-weight: 800;
text-transform: uppercase;
letter-spacing: 1.5px;
color: var(--accent-cyan);
margin-bottom: 8px;
}
.message-time {
display: block;
font-size: 9px;
text-align: right;
margin-top: 8px;
color: var(--text-tertiary);
font-weight: bold;
}
.message-bubble.user .message-time {
color: rgba(255, 255, 255, 0.7);
}
/* Interactive elements: Capsule / Pill controls */
.glow-input {
background: var(--bg-secondary);
border: 1px solid rgba(0, 212, 245, 0.25);
color: var(--text-primary);
padding: 14px 24px;
border-radius: 30px;
font-family: var(--font-body);
font-weight: 500;
outline: none;
transition: var(--transition-smooth);
width: 100%;
}
.glow-input:focus {
border-color: var(--accent-cyan);
box-shadow: 0 0 20px rgba(0, 212, 245, 0.3);
}
select.glow-input {
cursor: pointer;
appearance: none;
background-image: url("data:image/svg+xml;utf8,<svg fill='%23ff5500' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
background-repeat: no-repeat;
background-position: right 16px center;
padding-right: 40px;
}
/* Space Age Pill Buttons */
.neon-btn {
font-family: var(--font-title);
font-weight: 800;
font-size: 13px;
letter-spacing: 1.5px;
text-transform: uppercase;
background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
color: white;
border: 2px solid var(--text-primary);
padding: 12px 28px;
border-radius: 30px; /* Perfect pill shape */
cursor: pointer;
box-shadow: 0 4px 10px rgba(255, 85, 0, 0.2);
transition: var(--transition-smooth);
display: inline-flex;
align-items: center;
justify-content: center;
gap: 8px;
white-space: nowrap;
}
.neon-btn:hover {
transform: translateY(-2px);
box-shadow: 0 6px 15px rgba(255, 85, 0, 0.35);
}
.neon-btn:active {
transform: translateY(0);
}
.neon-btn:disabled {
opacity: 0.5;
transform: none;
cursor: not-allowed;
box-shadow: none;
}
.neon-btn-secondary {
background: var(--bg-secondary);
border: 1px solid rgba(0, 212, 245, 0.3);
color: var(--text-primary);
box-shadow: none;
}
.neon-btn-secondary:hover {
border-color: var(--accent-cyan);
box-shadow: 0 0 12px rgba(0, 212, 245, 0.2);
}
/* Molded dashboard panel styling */
.glass-panel {
background: var(--bg-secondary);
border: 1px solid rgba(0, 212, 245, 0.15);
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
border-radius: var(--radius-md);
transition: var(--transition-smooth);
}
.settings-card {
padding: 24px;
border-radius: var(--radius-md);
background-color: var(--bg-secondary);
border: 1px solid rgba(0, 212, 245, 0.15);
display: flex;
flex-direction: column;
gap: 16px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}
.label-title {
display: block;
font-size: 11px;
font-weight: 800;
color: var(--text-secondary);
text-transform: uppercase;
margin-bottom: 8px;
letter-spacing: 1px;
}
/* Layout helpers */
.flex-row {
display: flex;
align-items: center;
gap: 12px;
}
.flex-between {
display: flex;
align-items: center;
justify-content: space-between;
}
.grid-2 {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 16px;
}
.grid-3 {
display: grid;
grid-template-columns: 1fr 1fr 1fr;
gap: 12px;
}
/* Animations */
@keyframes fadeIn {
from { opacity: 0; transform: translateY(8px); }
to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse-led {
0% { opacity: 0.7; filter: drop-shadow(0 0 2px rgba(255, 85, 0, 0.4)); }
50% { opacity: 1; filter: drop-shadow(0 0 8px rgba(255, 85, 0, 0.9)); }
100% { opacity: 0.7; filter: drop-shadow(0 0 2px rgba(255, 85, 0, 0.4)); }
}
.pulsing-led {
animation: pulse-led 2s infinite;
}
@keyframes spin {
from { transform: rotate(0deg); }
to { transform: rotate(360deg); }
}
.animate-spin {
animation: spin 1.5s linear infinite;
}
/* --- RESPONSIVE ADAPTATIONS & ANTI-OVERFLOW SYSTEMS --- */
/* 1. Prevent text bubble overflows on code blocks or long words */
.message-bubble {
word-break: break-word;
overflow-wrap: anywhere;
}
/* ── Markdown content inside chat bubbles ────────────────────────────────── */
.markdown-content { line-height: 1.65; }
.markdown-content p { margin: 0 0 8px; }
.markdown-content p:last-child { margin-bottom: 0; }
.markdown-content h1, .markdown-content h2, .markdown-content h3,
.markdown-content h4, .markdown-content h5, .markdown-content h6 {
font-family: var(--font-title);
font-weight: 800;
color: var(--text-neon);
margin: 12px 0 6px;
letter-spacing: 0.5px;
}
.markdown-content h1 { font-size: 1.1em; }
.markdown-content h2 { font-size: 1.0em; }
.markdown-content h3 { font-size: 0.95em; }
.markdown-content strong { font-weight: 700; color: var(--text-primary); }
.markdown-content em { font-style: italic; color: var(--text-secondary); }
.markdown-content code {
font-family: var(--font-mono);
font-size: 0.85em;
background: rgba(0,212,245,0.08);
border: 1px solid rgba(0,212,245,0.2);
border-radius: 4px;
padding: 1px 5px;
color: var(--text-neon);
}
.markdown-content pre {
background: rgba(0,0,0,0.35);
border: 1px solid rgba(0,212,245,0.2);
border-radius: 8px;
padding: 12px 16px;
overflow-x: auto;
margin: 8px 0;
}
.markdown-content pre code {
background: none;
border: none;
padding: 0;
color: #a8d8f0;
font-size: 0.82em;
line-height: 1.5;
}
.markdown-content ul, .markdown-content ol {
margin: 6px 0 8px;
padding-left: 20px;
}
.markdown-content li { margin: 3px 0; }
.markdown-content blockquote {
border-left: 3px solid rgba(0,212,245,0.4);
margin: 8px 0;
padding: 4px 12px;
color: var(--text-secondary);
font-style: italic;
}
.markdown-content hr {
border: none;
border-top: 1px solid rgba(0,212,245,0.2);
margin: 10px 0;
}
.markdown-content a {
color: var(--accent-cyan);
text-decoration: underline;
text-underline-offset: 2px;
}
.markdown-content table {
border-collapse: collapse;
width: 100%;
margin: 8px 0;
font-size: 0.88em;
}
.markdown-content th, .markdown-content td {
border: 1px solid rgba(0,212,245,0.2);
padding: 6px 10px;
text-align: left;
}
.markdown-content th {
background: rgba(0,212,245,0.08);
color: var(--text-neon);
font-weight: 700;
}
/* User bubble — override some colors to stay readable on the blue gradient */
.message-bubble.user .markdown-content code { background: rgba(0,0,0,0.25); border-color: rgba(255,255,255,0.2); color: #c8ecff; }
.message-bubble.user .markdown-content blockquote { border-color: rgba(255,255,255,0.3); color: rgba(232,244,255,0.75); }
.message-bubble.user .markdown-content a { color: #c8ecff; }
.message-bubble.user .markdown-content strong { color: #e8f4ff; }
.message-bubble.user .markdown-content em { color: rgba(232,244,255,0.8); }
/* 2. Responsive design for tablets / medium screens */
@media (max-width: 950px) {
.app-header {
padding: 0 16px;
}
.sys-ready-badge {
display: none !important; /* Hide secondary system badge */
}
}
@media (max-width: 700px) {
.app-container {
border-width: 6px; /* Narrower border on smaller windows */
}
.app-header {
height: auto;
min-height: auto;
padding: 10px 16px;
flex-wrap: wrap;
gap: 10px;
}
.app-header h1 {
font-size: 15px !important;
}
.agent-status-badge {
padding: 4px 10px !important;
font-size: 9px !important;
}
.app-main {
flex-direction: column-reverse; /* Flip layout: Avatar on top, Chat/Settings on bottom */
overflow: hidden; /* Prevent global page double-scrollbars */
}
.chat-section, .settings-section {
width: 100% !important;
height: auto !important;
flex: 1; /* Allow content to grow naturally to fill viewport */
min-height: 0; /* Enable flex-child internal scrolling */
border-right: none;
border-top: 3px solid var(--text-primary);
}
.eve-section {
width: 100% !important;
height: 40% !important;
min-height: 240px;
max-height: 320px; /* Keep avatar centered and reasonably sized */
flex-shrink: 0;
padding: 12px 0;
}
.eve-section.floating-widget {
height: 100vh !important;
}
.tool-screen-window {
left: clamp(10px, 18%, 120px);
right: clamp(10px, 18%, 120px);
bottom: clamp(46px, 9vh, 64px);
height: clamp(96px, 22vh, 210px);
min-width: 0;
padding: 6px;
}
.tool-screen-header {
font-size: clamp(7px, 1.2vw, 8px);
padding-bottom: 5px;
}
.tool-screen-body {
gap: 3px;
padding-top: 5px;
height: calc(100% - 20px);
}
.tool-screen-line {
grid-template-columns: clamp(34px, 8vw, 42px) 1fr;
}
.tool-screen-empty,
.tool-screen-line {
min-height: 11px;
font-size: clamp(7px, 1.1vw, 8px);
}
}
/* Intermediate breakpoint: hide secondary header items before full collapse */
@media (max-width: 620px) {
.header-subtitle {
display: none !important; /* Hide // ANALOG SPACE OS to save space */
}
.agent-status-badge {
display: none !important; /* Hide agent receiver status to prevent buttons overlap */
}
}
/* 3. Small Windows & Mobile view */
@media (max-width: 560px) {
.app-header {
justify-content: center;
}
.app-header .flex-row:first-child {
width: 100%;
justify-content: center;
border-bottom: 2px dashed rgba(15, 23, 42, 0.15);
padding-bottom: 6px;
}
.app-header .flex-row:last-child {
width: 100%;
justify-content: space-around;
gap: 8px;
}
.grid-3 {
grid-template-columns: 1fr;
gap: 8px;
}
.grid-2 {
grid-template-columns: 1fr;
gap: 8px;
}
.input-container {
padding: 12px;
gap: 8px;
}
.input-container input {
padding: 10px 16px;
font-size: 13px;
}
.neon-btn {
padding: 10px 16px;
}
.btn-text {
display: none !important; /* Hide "Envoyer" word, keep only icon */
}
.neon-btn svg {
margin: 0 !important;
}
.diag-item-secondary {
display: none !important; /* Hide frequency/transceiver metrics on narrow windows */
}
.tool-screen-window {
left: 10px;
right: 10px;
bottom: clamp(42px, 8vh, 56px);
height: clamp(88px, 20vh, 150px);
}
}
@media (max-width: 480px) {
.neon-title {
display: none !important; /* Hide title completely to maximize space */
}
}
@media (max-height: 780px) {
.tool-screen-window {
bottom: clamp(44px, 9vh, 62px);
height: clamp(96px, 24vh, 210px);
}
}
@media (max-height: 660px) {
.tool-screen-window {
bottom: clamp(38px, 8vh, 52px);
height: clamp(82px, 21vh, 150px);
}
.tool-screen-header {
font-size: 8px;
padding-bottom: 4px;
}
.tool-screen-body {
padding-top: 4px;
height: calc(100% - 22px);
}
}
/* Rendu d'images Markdown rétro-futuriste avec effet glow */
.markdown-image {
max-width: 100%;
max-height: 380px;
border-radius: var(--radius-sm);
margin-top: 10px;
border: 2px solid var(--text-primary);
box-shadow: 0 0 15px rgba(0, 212, 245, 0.25);
display: block;
animation: fadeIn 0.4s ease-out;
transition: var(--transition-smooth);
}
.markdown-image:hover {
transform: scale(1.02);
box-shadow: 0 0 25px rgba(0, 212, 245, 0.45);
border-color: var(--accent-cyan);
}
/* --- PIÈCES JOINTES ET APERÇUS --- */
.attachments-preview {
display: flex;
flex-direction: row;
flex-wrap: wrap;
gap: 12px;
padding: 12px 24px;
border-top: 3px solid var(--text-primary);
background-color: var(--bg-primary);
animation: fadeIn 0.3s ease-out;
}
.attachment-preview-card {
display: flex;
align-items: center;
gap: 10px;
background-color: var(--bg-secondary);
border: 1px solid rgba(0, 212, 245, 0.3);
padding: 6px 12px;
border-radius: var(--radius-sm);
max-width: 260px;
min-width: 140px;
position: relative;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
animation: fadeIn 0.2s ease-out;
}
.attachment-preview-card:hover {
border-color: var(--accent-cyan);
box-shadow: 0 0 10px rgba(0, 212, 245, 0.2);
}
.attachment-preview-thumbnail {
width: 36px;
height: 36px;
object-fit: cover;
border-radius: 6px;
border: 1px solid var(--text-primary);
}
.attachment-preview-icon {
font-size: 20px;
display: flex;
align-items: center;
justify-content: center;
width: 36px;
height: 36px;
background-color: var(--bg-primary);
border-radius: 6px;
border: 1px solid rgba(0, 212, 245, 0.2);
}
.attachment-preview-details {
display: flex;
flex-direction: column;
flex: 1;
overflow: hidden;
}
.attachment-preview-name {
font-size: 11px;
font-weight: 600;
color: var(--text-primary);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
font-family: var(--font-body);
}
.attachment-preview-size {
font-size: 9px;
color: var(--text-secondary);
font-family: var(--font-mono);
}
.attachment-preview-remove {
background: transparent;
border: none;
color: var(--text-secondary);
cursor: pointer;
padding: 4px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
transition: var(--transition-smooth);
}
.attachment-preview-remove:hover {
background-color: rgba(239, 68, 68, 0.2);
color: #ff6b6b;
}
/* --- GALERIE D'IMAGES DANS LES BULLES DE CHAT (SPACE AGE GLOW GRID) --- */
.message-images-gallery {
display: grid !important;
grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)) !important;
gap: 12px !important;
margin-top: 12px !important;
width: 100% !important;
}
.message-images-gallery .markdown-image {
width: 120px !important;
height: 120px !important;
object-fit: cover !important;
margin-top: 0 !important;
cursor: pointer !important;
border: 2px solid var(--text-primary) !important;
box-shadow: 0 0 10px rgba(0, 212, 245, 0.15) !important;
border-radius: var(--radius-sm) !important;
transition: var(--transition-smooth) !important;
}
.message-images-gallery .markdown-image:hover {
transform: scale(1.05) translateY(-2px) !important;
box-shadow: 0 0 20px rgba(0, 212, 245, 0.4) !important;
border-color: var(--accent-cyan) !important;
}
/* --- CONTROLES AUDIO MESSAGES LONGS (CYBERPUNK SPACE AGE) --- */
.long-message-audio-controls {
margin-top: 12px;
display: flex;
justify-content: flex-end;
animation: fadeIn 0.3s ease-out;
}
.audio-control-btn {
font-family: var(--font-mono);
font-size: 11px;
font-weight: 800;
letter-spacing: 1.5px;
text-transform: uppercase;
background: var(--bg-primary);
color: var(--text-neon);
border: 1px solid rgba(0, 212, 245, 0.4);
padding: 6px 14px;
border-radius: var(--radius-sm);
cursor: pointer;
display: inline-flex;
align-items: center;
gap: 8px;
box-shadow: 0 0 10px rgba(0, 212, 245, 0.1);
transition: var(--transition-smooth);
}
.audio-control-btn:hover {
background: var(--accent-light);
border-color: var(--accent-cyan);
box-shadow: 0 0 15px rgba(0, 212, 245, 0.3);
transform: translateY(-1px);
}
.audio-control-btn:active {
transform: translateY(0);
}
.audio-control-btn.playing {
color: #ff6b6b;
border-color: rgba(239, 68, 68, 0.5);
box-shadow: 0 0 10px rgba(239, 68, 68, 0.15);
}
.audio-control-btn.playing:hover {
background: rgba(239, 68, 68, 0.12);
border-color: #ff6b6b;
box-shadow: 0 0 15px rgba(239, 68, 68, 0.3);
}
/* --- EVEFLOW COMPACT DESKTOP REDESIGN TARGET --- */
.app-container:not(.transparent-bg) {
padding: 10px;
gap: 0;
border: 1px solid rgba(226, 240, 255, 0.22);
border-radius: 10px;
outline: none;
background:
radial-gradient(circle at 78% 30%, rgba(0, 212, 245, 0.08), transparent 34%),
linear-gradient(rgba(0, 212, 245, 0.025) 1px, transparent 1px),
linear-gradient(90deg, rgba(0, 212, 245, 0.025) 1px, transparent 1px),
#050914;
background-size: auto, 64px 64px, 64px 64px;
box-shadow: 0 18px 55px rgba(0, 0, 0, 0.58), inset 0 0 48px rgba(0, 212, 245, 0.035);
}
.app-header {
position: relative;
height: 70px;
min-height: 70px;
padding: 0 18px;
border: 1px solid rgba(226, 240, 255, 0.16);
border-bottom: 1px solid rgba(226, 240, 255, 0.18);
border-radius: 8px 8px 0 0;
background: rgba(4, 10, 23, 0.88);
box-shadow: none;
}
.app-header .flex-row:first-child {
min-width: 190px;
}
.app-header .header-subtitle,
.app-header .sys-ready-badge {
display: none !important;
}
.app-header h1.neon-title {
font-size: 20px !important;
letter-spacing: 2.5px !important;
}
.agent-status-badge {
position: absolute;
left: 50%;
transform: translateX(-50%);
top: 17px;
min-width: 150px;
justify-content: center;
height: 38px;
border: 1px solid rgba(226, 240, 255, 0.2) !important;
border-radius: 999px !important;
background: rgba(5, 12, 28, 0.9) !important;
color: #70ffa8 !important;
font-size: 0 !important;
box-shadow: inset 0 0 14px rgba(0, 212, 245, 0.06);
}
.agent-status-badge span {
font-size: 15px;
font-family: var(--font-body);
font-weight: 600;
letter-spacing: 0;
text-transform: none;
}
.agent-status-badge span::before {
content: "Hermes OK";
}
.agent-status-badge span {
color: transparent;
}
.agent-status-badge span::before {
color: #70ffa8;
}
.app-header > .flex-row:last-child {
gap: 14px !important;
}
.app-header button.glow-input {
width: 38px !important;
height: 38px !important;
padding: 0 !important;
border-radius: 8px !important;
border: 1px solid rgba(226, 240, 255, 0.18) !important;
background: rgba(8, 15, 31, 0.9) !important;
}
.app-main {
min-height: 0;
gap: 0;
padding: 0;
border: 1px solid rgba(226, 240, 255, 0.14);
border-top: 0;
border-radius: 0 0 8px 8px;
overflow: hidden;
}
.chat-section {
width: 63.5%;
padding: 16px;
gap: 14px;
border-right: 1px solid rgba(226, 240, 255, 0.28);
background: rgba(5, 12, 26, 0.58);
}
.hermes-summary-strip {
min-height: 68px;
padding: 0 22px;
gap: 22px;
border: 1px solid rgba(226, 240, 255, 0.16);
border-radius: 8px;
background: rgba(5, 13, 29, 0.88);
font-family: var(--font-body);
font-size: 16px;
font-weight: 600;
letter-spacing: 0;
}
.hermes-summary-main {
font-size: 17px;
gap: 12px;
text-transform: none;
}
.hermes-summary-main::after,
.hermes-summary-pill::after {
content: "";
width: 1px;
height: 30px;
margin-left: 18px;
background: rgba(226, 240, 255, 0.28);
}
.hermes-summary-pill {
min-height: auto;
padding: 0;
border: 0;
background: transparent;
color: var(--text-primary);
font-size: 16px;
}
.hermes-summary-button {
min-width: 112px;
min-height: 42px;
padding: 0 22px;
border-radius: 999px;
border-color: var(--accent-cyan);
font-size: 15px;
letter-spacing: 0;
text-transform: none;
background: rgba(0, 212, 245, 0.06);
}
.messages-container {
min-height: 0;
margin: 0;
padding: 30px 32px;
gap: 28px;
border: 1px solid rgba(226, 240, 255, 0.16);
border-radius: 8px;
background:
linear-gradient(rgba(0, 212, 245, 0.025) 1px, transparent 1px),
linear-gradient(90deg, rgba(0, 212, 245, 0.025) 1px, transparent 1px),
rgba(3, 12, 25, 0.64);
background-size: 52px 52px;
}
.message-bubble {
max-width: 78%;
padding: 20px 24px;
border-radius: 10px;
font-size: 19px;
line-height: 1.55;
box-shadow: 0 16px 32px rgba(0, 0, 0, 0.22);
}
.message-bubble.assistant {
background: rgba(11, 24, 42, 0.96);
border: 1px solid rgba(226, 240, 255, 0.16);
border-radius: 10px;
}
.message-bubble.user {
background: linear-gradient(135deg, #008cc2, #005c8a);
border: 1px solid rgba(0, 229, 255, 0.38);
border-radius: 10px 10px 2px 10px;
}
.message-row.assistant::before {
content: none !important;
display: none !important;
}
.message-meta {
font-size: 12px;
margin-bottom: 12px;
}
.input-container {
padding: 14px 20px;
gap: 18px;
border: 1px solid rgba(226, 240, 255, 0.16);
border-radius: 8px;
background: rgba(5, 13, 29, 0.9);
}
.input-container .glow-input[type="text"] {
height: 58px;
border-radius: 8px;
border-color: rgba(226, 240, 255, 0.14);
background: rgba(11, 24, 42, 0.9);
font-size: 18px;
}
.input-container button.glow-input,
.input-container .neon-btn {
width: 58px !important;
height: 58px;
min-width: 58px;
padding: 0 !important;
border-radius: 50% !important;
}
.input-container .neon-btn {
border-color: var(--accent-cyan);
background: linear-gradient(135deg, #00bfe8, #006da8);
}
.input-container .btn-text {
display: none !important;
}
.diagnostic-bar {
display: none !important;
}
.eve-section {
width: 36.5%;
padding: 0;
border: 0;
background:
radial-gradient(circle at 50% 42%, rgba(0, 229, 255, 0.18), transparent 32%),
radial-gradient(circle at 50% 70%, rgba(0, 229, 255, 0.08), transparent 24%),
rgba(4, 11, 24, 0.68);
}
.eve-section > div[style*="position: relative"] {
z-index: 2;
height: 100%;
}
.eve-section canvas {
transform: scale(1.42);
transform-origin: 50% 50%;
}
.eve-companion-status {
position: absolute;
z-index: 4;
left: 50%;
bottom: 112px;
transform: translateX(-50%);
display: inline-flex;
align-items: center;
gap: 14px;
color: var(--text-neon);
font-family: var(--font-body);
font-size: 19px;
font-weight: 500;
pointer-events: none;
}
.eve-live-dot {
width: 34px;
height: 34px;
border-radius: 50%;
border: 1px solid rgba(0, 229, 255, 0.26);
background: radial-gradient(circle, var(--accent-cyan) 0 7px, rgba(0, 212, 245, 0.12) 8px);
box-shadow: 0 0 22px rgba(0, 229, 255, 0.32);
}
.eve-section::before {
content: none !important;
display: none !important;
}
.eve-section::after {
content: none !important;
display: none !important;
}
.eve-section .avatar-ambient-field {
opacity: 0.55;
}
.eve-section .avatar-ambient-field::before {
background: radial-gradient(circle at 50% 48%, rgba(0, 229, 255, 0.18), transparent 38%);
}
.eve-section .avatar-ambient-field::after {
opacity: 0.42;
transform: scale(1);
}
.eve-section .pulsing-led {
animation-duration: 1.5s;
}
.eve-section .humeur,
.eve-section [style*="Humeur"] {
display: none;
}
.eve-section .floating-widget {
border-radius: 10px;
}
.hermes-cockpit-window {
top: 92px;
right: 22px;
bottom: 22px;
width: min(420px, 36vw);
height: auto;
border-radius: 8px;
background:
linear-gradient(rgba(0, 229, 255, 0.055) 1px, transparent 1px),
linear-gradient(90deg, rgba(0, 229, 255, 0.04) 1px, transparent 1px),
rgba(3, 11, 24, 0.94);
}
/* Cockpit open state: continuous right-side panel, not an overlay window. */
.app-main:has(> .hermes-cockpit-window) .chat-section {
width: auto;
flex: 1 1 auto;
min-width: 480px;
}
.app-main:has(> .hermes-cockpit-window) .eve-section {
width: 390px;
flex: 0 0 390px;
}
.app-main:has(> .hermes-cockpit-window) .eve-section canvas {
transform: scale(1.34);
}
.app-main:has(> .hermes-cockpit-window) .eve-companion-status {
bottom: 96px;
font-size: 15px;
}
.app-main:has(> .hermes-cockpit-window) .eve-live-dot {
width: 28px;
height: 28px;
}
.app-main > .hermes-cockpit-window {
position: relative !important;
inset: auto !important;
flex: 0 0 360px;
width: 360px !important;
height: 100% !important;
min-width: 0;
padding: 16px;
border: 0;
border-left: 1px solid rgba(226, 240, 255, 0.22);
border-radius: 0;
color: var(--text-neon);
background:
linear-gradient(rgba(0, 216, 255, 0.04) 1px, transparent 1px),
linear-gradient(90deg, rgba(0, 216, 255, 0.032) 1px, transparent 1px),
radial-gradient(circle at 50% 20%, rgba(0, 216, 255, 0.09), transparent 34%),
#050914;
background-size: 32px 32px, 32px 32px, auto, auto;
box-shadow: inset 1px 0 0 rgba(0, 216, 255, 0.12);
animation: cockpit-panel-in 0.2s ease-out;
}
.app-main > .hermes-cockpit-window .tool-screen-header {
height: 52px;
padding: 0 0 14px;
border-bottom: 1px solid rgba(226, 240, 255, 0.16);
font-size: 13px;
letter-spacing: 0.8px;
}
.app-main > .hermes-cockpit-window .hermes-cockpit-status {
min-height: 44px;
padding: 10px 0;
font-size: 12px;
}
.app-main > .hermes-cockpit-window .hermes-cockpit-tabs {
gap: 8px;
padding: 12px 0;
}
.app-main > .hermes-cockpit-window .hermes-cockpit-tabs button,
.app-main > .hermes-cockpit-window .hermes-icon-btn {
height: 34px;
border-radius: 8px;
border-color: rgba(0, 216, 255, 0.24);
background: rgba(7, 18, 33, 0.84);
}
.app-main > .hermes-cockpit-window .tool-screen-body,
.app-main > .hermes-cockpit-window .hermes-cron-panel,
.app-main > .hermes-cockpit-window .hermes-history-list {
height: calc(100% - 122px);
}
.app-main > .hermes-cockpit-window .tool-screen-empty,
.app-main > .hermes-cockpit-window .tool-screen-line,
.app-main > .hermes-cockpit-window .hermes-job-name,
.app-main > .hermes-cockpit-window .hermes-run-content strong {
font-size: 12px;
}
.app-main > .hermes-cockpit-window .hermes-job-meta,
.app-main > .hermes-cockpit-window .hermes-job-result,
.app-main > .hermes-cockpit-window .hermes-run-content span,
.app-main > .hermes-cockpit-window .hermes-run-time {
font-size: 10.5px;
}
@keyframes cockpit-panel-in {
from { opacity: 0; transform: translateX(12px); }
to { opacity: 1; transform: translateX(0); }
}
/* Animation active obsolète supprimée */
.eve-section.eve-active .eve-live-dot {
animation: eve-live-pulse 1s ease-in-out infinite;
}
@keyframes eve-waveform-talk {
0%, 100% {
opacity: 0.42;
transform: scaleY(0.58);
}
35% {
opacity: 0.95;
transform: scaleY(1.08);
}
65% {
opacity: 0.7;
transform: scaleY(0.78);
}
}
@keyframes eve-live-pulse {
0%, 100% {
box-shadow: 0 0 18px rgba(0, 229, 255, 0.24);
transform: scale(1);
}
50% {
box-shadow: 0 0 32px rgba(0, 229, 255, 0.55);
transform: scale(1.08);
}
}
/* --- PREMIUM REDESIGN ACCORDING TO USER MOCKUP --- */
/* AppHeader Clean Redesign */
.app-header {
height: 52px;
min-height: 52px;
background-color: #050914;
border-bottom: 1px solid rgba(226, 240, 255, 0.12);
padding: 0 16px;
display: flex;
align-items: center;
justify-content: space-between;
}
.logo-dot {
width: 10px;
height: 10px;
border-radius: 50%;
background-color: var(--accent-cyan);
box-shadow: 0 0 10px var(--accent-cyan);
margin-right: 8px;
display: inline-block;
}
.logo-text {
font-family: var(--font-title);
font-weight: 800;
font-size: 16px;
letter-spacing: 1.5px;
color: #ffffff;
}
/* Hermes Central Status Pill in Header */
.header-hermes-status {
display: flex;
align-items: center;
gap: 8px;
background-color: rgba(5, 9, 20, 0.85);
border: 1px solid rgba(0, 242, 255, 0.2);
border-radius: 20px;
padding: 6px 16px;
font-family: var(--font-body);
font-size: 11px;
font-weight: 700;
color: #10b981; /* Hermes OK text green */
}
.header-hermes-status .status-dot {
width: 8px;
height: 8px;
border-radius: 50%;
background-color: #10b981;
box-shadow: 0 0 10px #10b981;
display: inline-block;
animation: pulse-green 2s infinite;
}
@keyframes pulse-green {
0%, 100% { opacity: 0.8; transform: scale(1); }
50% { opacity: 1; transform: scale(1.1); }
}
/* Window Controls (Top-Right) */
.window-controls {
display: flex;
align-items: center;
gap: 8px;
}
.control-btn {
width: 32px;
height: 32px;
border-radius: 6px;
border: 1px solid rgba(226, 240, 255, 0.12);
background-color: rgba(14, 21, 40, 0.4);
color: var(--text-secondary);
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: var(--transition-smooth);
}
.control-btn:hover {
background-color: rgba(14, 21, 40, 0.8);
border-color: rgba(0, 242, 255, 0.3);
color: #ffffff;
}
.control-btn.close:hover {
background-color: rgba(239, 68, 68, 0.15);
border-color: rgba(239, 68, 68, 0.4);
color: #ff6b6b;
}
/* Chat Status Bar under Header */
.chat-status-bar {
display: flex;
align-items: center;
padding: 8px 16px;
background-color: rgba(3, 7, 18, 0.4);
border-bottom: 1px solid rgba(226, 240, 255, 0.1);
gap: 12px;
font-family: var(--font-body);
font-size: 12px;
width: 100%;
}
.chat-status-bar .status-item {
display: flex;
align-items: center;
gap: 6px;
font-weight: 600;
}
.chat-status-bar .status-item.green {
color: #10b981;
}
.chat-status-bar .status-item.blue {
color: #38bdf8;
}
.chat-status-bar .status-item.red {
color: #ef4444;
}
.chat-status-bar .status-separator {
color: rgba(226, 240, 255, 0.15);
font-weight: 300;
}
.chat-status-bar .cockpit-btn {
margin-left: auto;
background-color: rgba(5, 9, 20, 0.6);
border: 1px solid rgba(0, 242, 255, 0.3);
border-radius: 20px;
padding: 4px 14px;
color: var(--text-neon);
font-family: var(--font-body);
font-weight: 700;
font-size: 11px;
display: flex;
align-items: center;
gap: 6px;
cursor: pointer;
transition: var(--transition-smooth);
}
.chat-status-bar .cockpit-btn:hover {
background-color: rgba(0, 242, 255, 0.1);
box-shadow: 0 0 10px rgba(0, 242, 255, 0.2);
}
.chat-status-bar .cockpit-btn .chevron {
transition: transform 0.2s ease;
}
.chat-status-bar .cockpit-btn .chevron.rotated {
transform: rotate(180deg);
}
/* Chat section CRT effect subtly active */
.chat-section {
background-color: #030712;
border-right: 1px solid rgba(226, 240, 255, 0.12);
}
/* Transmission Tag above assistant messages */
.transmission-tag {
font-family: var(--font-mono);
font-size: 10px;
color: var(--text-neon);
letter-spacing: 1px;
margin: 12px 0 4px 52px;
}
/* Message Rows with precise avatar grid */
.messages-container .message-row {
display: grid;
grid-template-columns: 40px 1fr;
gap: 12px;
align-items: start;
width: 100%;
}
.messages-container .message-row.user {
display: flex;
justify-content: flex-end;
}
.avatar-wrapper {
width: 40px;
height: 40px;
border-radius: 50%;
border: 1.5px solid rgba(0, 242, 255, 0.3);
overflow: hidden;
box-shadow: 0 0 8px rgba(0, 242, 255, 0.2);
}
.avatar-img {
width: 100%;
height: 100%;
object-fit: cover;
}
.messages-container .message-bubble {
max-width: 85%;
border-radius: 12px;
padding: 14px 20px;
font-size: 13.5px;
line-height: 1.5;
}
.messages-container .message-bubble.assistant {
background-color: #0b1220;
border: 1px solid rgba(0, 242, 255, 0.1);
color: #ffffff;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
.messages-container .message-bubble.user {
background: linear-gradient(135deg, #026095, #004570);
border: 1.5px solid rgba(0, 242, 255, 0.45);
color: #ffffff;
box-shadow: 0 0 15px rgba(0, 242, 255, 0.12);
margin-left: auto;
position: relative;
border-radius: 12px 12px 2px 12px;
}
.messages-container .message-bubble.user .message-time {
display: flex;
align-items: center;
justify-content: flex-end;
gap: 4px;
color: rgba(255, 255, 255, 0.6);
font-size: 9px;
font-weight: 500;
margin-top: 6px;
}
.double-check {
color: var(--text-neon);
font-weight: bold;
}
/* Input Container Stylized */
.input-container {
padding: 14px 18px;
background-color: #030712;
border-top: 1px solid rgba(226, 240, 255, 0.1);
display: flex;
align-items: center;
gap: 10px;
}
.input-container .glow-input {
background-color: #050914;
border: 1px solid rgba(0, 242, 255, 0.15);
color: #ffffff;
border-radius: 20px;
padding: 10px 18px;
font-size: 13px;
outline: none;
}
.input-container .glow-input:focus {
border-color: rgba(0, 242, 255, 0.6);
box-shadow: 0 0 12px rgba(0, 242, 255, 0.15);
}
.input-circle-btn {
width: 38px;
height: 38px;
border-radius: 50%;
border: 1px solid rgba(226, 240, 255, 0.12);
background-color: #050914;
color: var(--text-secondary);
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: var(--transition-smooth);
flex-shrink: 0;
}
.input-circle-btn:hover {
background-color: rgba(0, 242, 255, 0.08);
border-color: rgba(0, 242, 255, 0.4);
color: #ffffff;
}
.input-send-btn {
width: 42px;
height: 42px;
border-radius: 50%;
background: linear-gradient(135deg, #026095, #004570);
border: 1.5px solid rgba(0, 242, 255, 0.5);
color: #ffffff;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: var(--transition-smooth);
box-shadow: 0 0 10px rgba(0, 242, 255, 0.2);
flex-shrink: 0;
}
.input-send-btn:hover {
transform: scale(1.05);
box-shadow: 0 0 15px rgba(0, 242, 255, 0.4);
border-color: var(--accent-cyan);
}
/* --- EVE PANNEAU LATÉRAL PREMIUM --- */
.eve-section {
width: 35%;
background: radial-gradient(circle at 50% 50%, rgba(0, 242, 255, 0.06), transparent 70%), #030712;
position: relative;
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-between;
padding: 16px 0;
}
/* Pop-out discrete action button */
.eve-popout-btn {
position: absolute;
top: 12px;
right: 12px;
width: 28px;
height: 28px;
border-radius: 6px;
border: 1px solid rgba(226, 240, 255, 0.12);
background-color: rgba(5, 9, 20, 0.5);
color: var(--text-secondary);
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: var(--transition-smooth);
z-index: 10;
}
.eve-popout-btn:hover {
background-color: rgba(0, 242, 255, 0.08);
border-color: rgba(0, 242, 255, 0.4);
color: #ffffff;
}
/* Status pill under robot */
.eve-status-pill {
background-color: rgba(5, 9, 20, 0.8);
border: 1px solid rgba(0, 242, 255, 0.2);
border-radius: 20px;
padding: 6px 18px;
font-family: var(--font-body);
font-size: 11px;
font-weight: 700;
letter-spacing: 0.5px;
color: var(--text-secondary);
display: flex;
align-items: center;
gap: 8px;
z-index: 5;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.eve-status-pill .status-led {
width: 8px;
height: 8px;
border-radius: 50%;
background-color: var(--accent-cyan);
box-shadow: 0 0 10px var(--accent-cyan);
display: inline-block;
animation: pulse-cyan 1.5s infinite;
}
@keyframes pulse-cyan {
0%, 100% { opacity: 0.7; transform: scale(0.9); }
50% { opacity: 1; transform: scale(1.1); }
}
/* Hermes vertical sliding volet handle in the border */
.hermes-drawer-handle {
position: absolute;
top: 50%;
left: 0;
transform: translateY(-50%) translateX(-50%);
z-index: 20;
background-color: #0b1220;
border: 1px solid rgba(0, 242, 255, 0.25);
border-radius: 20px 0 0 20px; /* curved out on left side */
border-right: none;
padding: 16px 4px 16px 6px;
cursor: pointer;
display: flex;
flex-direction: column;
align-items: center;
gap: 8px;
color: var(--text-secondary);
transition: var(--transition-smooth);
}
.hermes-drawer-handle:hover {
color: var(--text-neon);
background-color: #0e172a;
border-color: var(--accent-cyan);
}
.hermes-drawer-handle span {
font-family: var(--font-body);
font-size: 10px;
font-weight: 700;
text-transform: uppercase;
writing-mode: vertical-rl; /* Vertical vertical text orientation */
letter-spacing: 2px;
}
/* --- VISUAL CONFORMITY PASS: desktop companion layout --- */
.app-main {
display: flex;
min-width: 0;
}
.chat-section {
flex: 1 1 auto;
min-width: 0;
}
.eve-section {
flex: 0 0 clamp(360px, 35vw, 440px);
width: clamp(360px, 35vw, 440px);
min-width: 360px;
overflow: hidden;
border-left: 1px solid rgba(226, 240, 255, 0.16);
background:
linear-gradient(rgba(0, 216, 255, 0.05) 1px, transparent 1px),
linear-gradient(90deg, rgba(0, 216, 255, 0.038) 1px, transparent 1px),
radial-gradient(ellipse at 50% 42%, rgba(0, 216, 255, 0.28), transparent 48%),
radial-gradient(ellipse at 50% 86%, rgba(0, 216, 255, 0.2), transparent 42%),
#030712;
background-size: 46px 46px, 46px 46px, auto, auto, auto;
animation: eve-panel-field 12s linear infinite;
}
.eve-section::before,
.eve-section::after {
content: "";
display: block !important;
position: absolute;
pointer-events: none;
z-index: 1;
}
.eve-section::before {
width: min(72%, 330px);
aspect-ratio: 1;
left: 50%;
top: 20%;
transform: translateX(-50%);
border: 1px solid rgba(0, 216, 255, 0.16);
border-radius: 50%;
box-shadow:
0 0 92px rgba(0, 216, 255, 0.22),
inset 0 0 70px rgba(0, 216, 255, 0.12);
opacity: 1;
animation: eve-halo-idle 7s ease-in-out infinite;
}
.eve-section::after {
left: 50%;
bottom: 94px;
width: min(34%, 150px);
height: 28px;
transform: translateX(-50%);
border: 1px solid rgba(0, 216, 255, 0.22);
border-radius: 50%;
background: radial-gradient(ellipse at center, rgba(138, 247, 255, 0.34), rgba(0, 216, 255, 0.12) 54%, transparent 75%);
box-shadow: 0 0 42px rgba(0, 216, 255, 0.2);
filter: blur(0.1px);
}
.eve-section.eve-active::before {
animation: eve-halo-talk 1.15s ease-in-out infinite;
}
@keyframes eve-panel-field {
0% {
background-position: 0 0, 0 0, center, center, center;
}
100% {
background-position: 46px 92px, -46px 46px, center, center, center;
}
}
@keyframes eve-halo-idle {
0%, 100% {
opacity: 0.62;
transform: translateX(-50%) scale(0.98) rotate(0deg);
}
50% {
opacity: 0.92;
transform: translateX(-50%) scale(1.025) rotate(4deg);
}
}
@keyframes eve-halo-talk {
0%, 100% {
opacity: 0.68;
transform: translateX(-50%) scale(0.985);
}
50% {
opacity: 1;
transform: translateX(-50%) scale(1.035);
}
}
.eve-section > div[style*="position: relative"] {
z-index: 2;
}
.eve-status-pill {
position: absolute;
left: 50%;
bottom: 62px;
transform: translateX(-50%);
z-index: 5;
min-width: 126px;
justify-content: center;
color: var(--text-neon);
background: rgba(3, 9, 20, 0.72);
backdrop-filter: blur(8px);
}
.eve-section.eve-active .eve-status-pill {
box-shadow: 0 0 20px rgba(0, 216, 255, 0.22);
}
.app-main:has(> .hermes-cockpit-window) .chat-section {
flex: 1 1 0;
min-width: 420px;
}
.app-main:has(> .hermes-cockpit-window) .eve-section {
flex: 0 0 clamp(360px, 29vw, 410px);
width: clamp(360px, 29vw, 410px);
min-width: 360px;
}
.app-main:has(> .hermes-cockpit-window) .eve-status-pill {
bottom: 58px;
}
.app-main > .hermes-cockpit-window {
align-self: stretch;
flex: 0 0 360px;
width: 360px !important;
max-width: 360px;
height: auto !important;
}
@media (max-width: 1220px) {
.app-main:has(> .hermes-cockpit-window) .chat-section {
min-width: 360px;
}
.app-main:has(> .hermes-cockpit-window) .eve-section {
flex-basis: 340px;
width: 340px;
min-width: 340px;
}
.app-main > .hermes-cockpit-window {
flex-basis: 330px;
width: 330px !important;
max-width: 330px;
}
}
/* --- HERMES STATUS STRIP: match visual reference --- */
.chat-status-bar {
min-height: 54px;
height: 54px;
padding: 0 16px;
gap: 13px;
background: #030712;
border: 0;
border-bottom: 1px solid rgba(226, 240, 255, 0.12);
border-radius: 0;
font-family: var(--font-body);
font-size: 12px;
letter-spacing: 0;
flex-shrink: 0;
}
.chat-status-bar .status-item {
display: inline-flex;
align-items: center;
gap: 6px;
min-width: 0;
height: 26px;
font-size: 12px;
font-weight: 700;
white-space: nowrap;
}
.chat-status-bar .status-item svg {
width: 14px;
height: 14px;
flex: 0 0 14px;
stroke-width: 2.25;
}
.chat-status-bar .status-item.green {
color: #39f5a4;
}
.chat-status-bar .status-item.green svg {
color: #39f5a4;
}
.chat-status-bar .status-item.blue {
color: #22d8ff;
}
.chat-status-bar .status-item.blue svg {
color: #22d8ff;
}
.chat-status-bar .status-item.red {
color: #ffca55;
}
.chat-status-bar .status-item.red svg {
color: #ff6b73;
fill: rgba(255, 107, 115, 0.18);
}
.chat-status-bar .status-separator {
width: 1px;
height: 18px;
overflow: hidden;
color: transparent;
background: rgba(226, 240, 255, 0.16);
flex: 0 0 1px;
}
.chat-status-bar .cockpit-btn {
margin-left: auto;
height: 26px;
min-width: 88px;
padding: 0 13px;
border: 1px solid rgba(0, 216, 255, 0.82);
border-radius: 999px;
background: rgba(0, 216, 255, 0.035);
color: #00e5ff;
font-size: 12px;
font-weight: 800;
line-height: 1;
letter-spacing: 0;
text-transform: none;
gap: 7px;
box-shadow: none;
}
.chat-status-bar .cockpit-btn:hover {
background: rgba(0, 216, 255, 0.1);
box-shadow: 0 0 12px rgba(0, 216, 255, 0.18);
}
.chat-status-bar .cockpit-btn .chevron {
width: 12px;
height: 12px;
stroke-width: 2.5;
}
/* --- OVERRIDES SPECIFIQUES POUR LE FLOATING WIDGET COMPACT --- */
.app-container.transparent-bg {
border: none !important;
outline: none !important;
background: transparent !important;
background-image: none !important;
box-shadow: none !important;
padding: 0 !important;
}
.eve-section.floating-widget {
min-width: 0 !important;
width: 100% !important;
height: 100% !important;
max-width: 100% !important;
max-height: 100% !important;
flex: 1 !important;
border: 4px solid var(--text-primary) !important;
border-radius: var(--radius-lg) !important;
box-sizing: border-box !important;
padding: 12px !important;
overflow: hidden !important;
background: var(--bg-glass-active) !important;
display: flex !important;
flex-direction: column !important;
}
.eve-section.floating-widget canvas {
transform: scale(1.0) !important;
}
.eve-section.floating-widget > div[style*="position: relative"] {
height: 360px !important;
flex: none !important;
}