botui/ui/suite/chat/chat.css
Rodrigo Rodriguez (Pragmatismo) e135ebf2e6 Hide voice icon, use light theme, add cursor blink
- Hide voice input button in chat interface
- Change default theme from 'sentient' to 'light'
- Add blinking cursor animation to chat input field
2026-02-04 09:56:24 -03:00

1248 lines
24 KiB
CSS

/* Chat module styles - including chat layout and projector component */
/* Toast Notifications */
.toast-container {
position: fixed;
top: 80px;
right: 24px;
display: flex;
flex-direction: column;
gap: 12px;
z-index: 10002;
}
.toast {
display: flex;
align-items: center;
gap: 12px;
padding: 14px 18px;
background: var(--surface, #1a1a24);
border: 1px solid var(--border, #2a2a2a);
border-radius: 10px;
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
animation: toast-in 0.3s ease;
}
.toast-success {
border-color: var(--success, #22c55e);
}
.toast-error {
border-color: var(--error, #ef4444);
}
.toast-warning {
border-color: var(--warning, #f59e0b);
}
.toast-info {
border-color: var(--accent, #3b82f6);
}
.toast-icon {
font-size: 16px;
}
.toast-message {
font-size: 13px;
color: #ffffff;
}
.toast-close {
background: transparent;
border: none;
color: #888888;
font-size: 18px;
cursor: pointer;
padding: 0;
line-height: 1;
}
.toast-close:hover {
color: #ffffff;
}
.toast-fade-out {
opacity: 0;
transform: translateX(20px);
transition: all 0.3s ease;
}
@keyframes toast-in {
from {
opacity: 0;
transform: translateX(20px);
}
to {
opacity: 1;
transform: translateX(0);
}
}
/* Chat Layout */
.chat-layout {
display: flex;
flex-direction: column;
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
max-width: 800px;
margin: 0 auto;
padding: 80px 20px 20px 20px;
box-sizing: border-box;
}
/* Connection Status - use shared styles from app.css */
@keyframes pulse {
0%,
100% {
opacity: 1;
transform: scale(1);
}
50% {
opacity: 0.5;
transform: scale(1.2);
}
}
/* Messages Area */
#messages {
flex: 1;
overflow-y: auto;
padding: 20px 0;
display: flex;
flex-direction: column;
gap: 16px;
scrollbar-width: thin;
scrollbar-color: var(--accent, #3b82f6) var(--surface, #1a1a24);
}
/* Custom scrollbar for markers */
#messages::-webkit-scrollbar {
width: 6px;
}
#messages::-webkit-scrollbar-track {
background: var(--surface, #1a1a24);
border-radius: 3px;
}
#messages::-webkit-scrollbar-thumb {
background: var(--accent, #3b82f6);
border-radius: 3px;
border: 1px solid var(--surface, #1a1a24);
}
#messages::-webkit-scrollbar-thumb:hover {
background: var(--accent-hover, #2563eb);
}
/* Scrollbar markers container */
.scrollbar-markers {
position: absolute;
top: 0;
right: 2px;
width: 8px;
height: 100%;
pointer-events: none;
z-index: 10;
}
.scrollbar-marker {
position: absolute;
right: 0;
width: 8px;
height: 8px;
background: var(--accent, #3b82f6);
border-radius: 50%;
cursor: pointer;
pointer-events: auto;
transition: all 0.2s ease;
box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
z-index: 11;
}
.scrollbar-marker:hover {
transform: scale(1.5);
background: var(--accent-hover, #2563eb);
box-shadow: 0 0 8px var(--accent, #3b82f6);
}
.scrollbar-marker.user-marker {
background: var(--accent, #3b82f6);
}
.scrollbar-marker.bot-marker {
background: var(--success, #22c55e);
}
.scrollbar-marker-tooltip {
position: absolute;
right: 12px;
transform: translateY(-50%);
background: var(--surface, #1a1a24);
border: 1px solid var(--border, #2a2a2a);
border-radius: 6px;
padding: 4px 8px;
font-size: 11px;
color: var(--text, #ffffff);
white-space: nowrap;
opacity: 0;
visibility: hidden;
transition: all 0.2s ease;
pointer-events: none;
z-index: 12;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.scrollbar-marker:hover .scrollbar-marker-tooltip {
opacity: 1;
visibility: visible;
}
/* Message Styles */
.message {
display: flex;
animation: slideIn 0.3s ease;
}
@keyframes slideIn {
from {
opacity: 0;
transform: translateY(10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.message.user {
justify-content: flex-end;
}
.message.bot {
justify-content: flex-start;
}
.message-content {
max-width: 80%;
padding: 12px 16px;
border-radius: 16px;
line-height: 1.5;
font-size: 14px;
}
.user-message {
background: var(--accent, var(--primary, #3b82f6));
color: #ffffff !important;
border-bottom-right-radius: 4px;
}
/* Light accent themes need dark text on user messages */
[data-theme="sentient"] .user-message,
[data-theme="y2kglow"] .user-message,
[data-theme="arcadeflash"] .user-message,
[data-theme="green"] .user-message,
[data-theme="jazzage"] .user-message,
[data-theme="mellowgold"] .user-message,
[data-theme="polaroidmemories"] .user-message,
[data-theme="seasidepostcard"] .user-message,
[data-theme="saturdaycartoons"] .user-message,
[data-theme="light"] .user-message,
[data-theme="typewriter"] .user-message,
[data-theme="3dbevel"] .user-message {
color: #000000 !important;
}
.bot-message {
background: var(--surface, var(--card, #2a2a2a));
color: #ffffff !important;
border-bottom-left-radius: 4px;
}
.bot-message,
.bot-message p,
.bot-message span,
.bot-message li,
.bot-message a,
.bot-message strong,
.bot-message em,
.bot-message h1,
.bot-message h2,
.bot-message h3,
.bot-message h4 {
color: #ffffff !important;
}
/* Light background themes need dark bot message text */
[data-theme="light"] .bot-message,
[data-theme="light"] .bot-message p,
[data-theme="light"] .bot-message span,
[data-theme="light"] .bot-message li,
[data-theme="light"] .bot-message a,
[data-theme="light"] .bot-message strong,
[data-theme="light"] .bot-message em,
[data-theme="light"] .bot-message h1,
[data-theme="light"] .bot-message h2,
[data-theme="light"] .bot-message h3,
[data-theme="light"] .bot-message h4,
[data-theme="polaroidmemories"] .bot-message,
[data-theme="polaroidmemories"] .bot-message p,
[data-theme="polaroidmemories"] .bot-message span,
[data-theme="polaroidmemories"] .bot-message li,
[data-theme="polaroidmemories"] .bot-message a,
[data-theme="polaroidmemories"] .bot-message h1,
[data-theme="polaroidmemories"] .bot-message h2,
[data-theme="seasidepostcard"] .bot-message,
[data-theme="seasidepostcard"] .bot-message p,
[data-theme="seasidepostcard"] .bot-message span,
[data-theme="seasidepostcard"] .bot-message li,
[data-theme="seasidepostcard"] .bot-message a,
[data-theme="seasidepostcard"] .bot-message h1,
[data-theme="seasidepostcard"] .bot-message h2,
[data-theme="saturdaycartoons"] .bot-message,
[data-theme="saturdaycartoons"] .bot-message p,
[data-theme="saturdaycartoons"] .bot-message span,
[data-theme="saturdaycartoons"] .bot-message li,
[data-theme="saturdaycartoons"] .bot-message a,
[data-theme="saturdaycartoons"] .bot-message h1,
[data-theme="saturdaycartoons"] .bot-message h2,
[data-theme="typewriter"] .bot-message,
[data-theme="typewriter"] .bot-message p,
[data-theme="typewriter"] .bot-message span,
[data-theme="typewriter"] .bot-message li,
[data-theme="typewriter"] .bot-message a,
[data-theme="typewriter"] .bot-message h1,
[data-theme="typewriter"] .bot-message h2,
[data-theme="3dbevel"] .bot-message,
[data-theme="3dbevel"] .bot-message p,
[data-theme="3dbevel"] .bot-message span,
[data-theme="3dbevel"] .bot-message li,
[data-theme="3dbevel"] .bot-message a,
[data-theme="3dbevel"] .bot-message h1,
[data-theme="3dbevel"] .bot-message h2 {
color: #000000 !important;
}
/* Markdown content in bot messages */
.bot-message p {
margin: 0 0 8px 0;
}
.bot-message p:last-child {
margin-bottom: 0;
}
.bot-message code {
background: rgba(255, 255, 255, 0.1);
padding: 2px 6px;
border-radius: 4px;
font-family: "Monaco", "Menlo", monospace;
font-size: 13px;
}
.bot-message pre {
background: rgba(0, 0, 0, 0.2);
padding: 12px;
border-radius: 8px;
overflow-x: auto;
margin: 8px 0;
}
.bot-message pre code {
background: none;
padding: 0;
}
/* Footer */
footer {
padding: 16px 0;
border-top: 1px solid var(--border, var(--border-color, #2a2a2a));
background: transparent;
position: relative;
}
/* Mention Dropdown */
.mention-dropdown {
position: absolute;
bottom: 100%;
left: 0;
right: 0;
max-height: 300px;
background: var(--surface, var(--card, #1a1a24));
border: 1px solid var(--border, var(--border-color, #2a2a2a));
border-radius: 12px;
box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
margin-bottom: 8px;
display: none;
flex-direction: column;
overflow: hidden;
z-index: 100;
}
.mention-dropdown.visible {
display: flex;
}
.mention-header {
padding: 10px 14px;
border-bottom: 1px solid var(--border, var(--border-color, #2a2a2a));
font-size: 12px;
font-weight: 600;
color: var(--text-secondary, #888);
text-transform: uppercase;
letter-spacing: 0.5px;
}
.mention-results {
overflow-y: auto;
max-height: 250px;
scrollbar-width: thin;
scrollbar-color: var(--accent, #3b82f6) transparent;
}
.mention-results::-webkit-scrollbar {
width: 4px;
}
.mention-results::-webkit-scrollbar-track {
background: transparent;
border-radius: 2px;
}
.mention-results::-webkit-scrollbar-thumb {
background: var(--accent, #3b82f6);
border-radius: 2px;
}
.mention-results::-webkit-scrollbar-thumb:hover {
background: var(--accent-hover, #2563eb);
}
.mention-item {
display: flex;
align-items: center;
gap: 12px;
padding: 10px 14px;
cursor: pointer;
transition: background 0.15s;
}
.mention-item:hover,
.mention-item.selected {
background: var(--hover, rgba(255, 255, 255, 0.05));
}
.mention-item.disabled {
opacity: 0.5;
cursor: not-allowed;
}
.mention-item-icon {
font-size: 20px;
width: 32px;
height: 32px;
display: flex;
align-items: center;
justify-content: center;
background: var(--hover, rgba(255, 255, 255, 0.05));
border-radius: 8px;
}
.mention-item-content {
flex: 1;
display: flex;
flex-direction: column;
gap: 2px;
}
.mention-item-name {
font-size: 14px;
font-weight: 500;
color: var(--text, var(--text-primary, #fff));
}
.mention-item-subtitle {
font-size: 12px;
color: var(--text-secondary, #888);
}
.mention-item-hint {
font-size: 11px;
color: var(--text-tertiary, #666);
font-style: italic;
}
/* Mention Tags in Messages */
.mention-tag {
display: inline-flex;
align-items: center;
gap: 4px;
padding: 2px 8px;
background: var(--accent-glow, rgba(59, 130, 246, 0.15));
border: 1px solid var(--accent, var(--accent-color, #3b82f6));
border-radius: 12px;
cursor: pointer;
transition: all 0.2s;
font-size: 13px;
text-decoration: none;
}
.mention-tag:hover {
background: var(--accent, var(--accent-color, #3b82f6));
color: #fff;
}
.mention-icon {
font-size: 12px;
}
.mention-text {
font-weight: 500;
}
/* Entity Card Tooltip */
.entity-card-tooltip {
position: fixed;
min-width: 250px;
max-width: 320px;
background: var(--surface, var(--card, #1a1a24));
border: 1px solid var(--border, var(--border-color, #2a2a2a));
border-radius: 12px;
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
padding: 12px;
z-index: 1000;
opacity: 0;
visibility: hidden;
transform: translateY(8px);
transition: all 0.2s ease;
pointer-events: none;
}
.entity-card-tooltip.visible {
opacity: 1;
visibility: visible;
transform: translateY(0);
pointer-events: auto;
}
.entity-card-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 8px;
}
.entity-card-type {
font-size: 10px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.5px;
padding: 3px 8px;
border-radius: 4px;
color: #fff;
background: var(--accent, #3b82f6);
}
.entity-card-status {
font-size: 11px;
color: var(--text-secondary, #888);
}
.entity-card-title {
font-size: 16px;
font-weight: 600;
color: var(--text, var(--text-primary, #fff));
margin-bottom: 8px;
}
.entity-card-details {
font-size: 13px;
color: var(--text-secondary, #aaa);
line-height: 1.5;
}
.entity-card-actions {
margin-top: 12px;
padding-top: 12px;
border-top: 1px solid var(--border, var(--border-color, #2a2a2a));
display: flex;
gap: 8px;
}
.entity-card-btm {
margin-top: 8px;
display: flex;
align-items: center;
gap: 4px;
}
.entity-card-btn {
padding: 6px 12px;
font-size: 12px;
font-weight: 500;
border: none;
border-radius: 6px;
cursor: pointer;
background: var(--accent, var(--accent-color, #3b82f6));
color: #fff;
transition: all 0.2s;
}
.entity-card-btn:hover {
filter: brightness(1.1);
}
/* Suggestions */
.suggestions-container {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin-bottom: 12px;
}
.suggestion-button {
padding: 6px 12px;
border-radius: 16px;
border: 1px solid var(--border-color, #e5e7eb);
background: var(--secondary-bg, #f9fafb);
color: var(--text-primary, #374151);
font-size: 13px;
cursor: pointer;
transition: all 0.2s;
}
.suggestion-button:hover {
background: var(--accent-color, #3b82f6);
color: white;
border-color: var(--accent-color, #3b82f6);
}
/* Input Container */
.input-container,
form.input-container {
display: flex;
gap: 12px;
align-items: center;
padding: 8px 12px;
background: var(--surface, var(--card, #1a1a24));
border: 1px solid var(--border, var(--border-color, #2a2a2a));
border-radius: 28px;
margin: 0;
}
.input-container:focus-within {
border-color: var(--accent, var(--accent-color, #3b82f6));
box-shadow: 0 0 0 3px var(--accent-glow, rgba(59, 130, 246, 0.1));
}
#messageInput {
flex: 1;
padding: 8px 12px;
border-radius: 20px;
border: none;
background: transparent;
color: #ffffff;
font-size: 15px;
outline: none;
transition: all 0.2s;
caret-color: var(--accent, #3b82f6);
}
#messageInput:focus {
outline: none;
}
@keyframes cursor-blink {
0%, 50% {
caret-color: var(--accent, #3b82f6);
}
51%, 100% {
caret-color: transparent;
}
}
#messageInput:focus {
animation: cursor-blink 1s step-end infinite;
}
#messageInput::placeholder {
color: #888888;
}
#voiceBtn,
#sendBtn {
width: 44px;
height: 44px;
min-width: 44px;
min-height: 44px;
border-radius: 50%;
border: none;
background: var(--accent, var(--accent-color, #3b82f6));
color: var(--accent-foreground, white);
cursor: pointer;
display: flex !important;
align-items: center;
justify-content: center;
font-size: 18px;
transition: all 0.2s;
flex-shrink: 0;
}
#sendBtn {
background: var(--accent, var(--accent-color, #3b82f6));
}
#voiceBtn {
background: var(--surface, var(--secondary-bg, #f9fafb));
color: var(--text-primary, #374151);
border: 1px solid var(--border, var(--border-color, #e5e7eb));
}
#voiceBtn:hover,
#sendBtn:hover {
transform: scale(1.05);
opacity: 0.9;
}
#sendBtn:hover {
background: var(--accent-hover, var(--accent, #2563eb));
}
#voiceBtn:active,
#sendBtn:active {
transform: scale(0.95);
}
/* Dark/Sentient theme overrides */
[data-theme="dark"] #sendBtn,
[data-theme="sentient"] #sendBtn {
background: var(--accent, #d4f505);
color: #000000;
}
[data-theme="dark"] #voiceBtn,
[data-theme="sentient"] #voiceBtn {
background: var(--surface, #1a1a24);
color: var(--text-primary, #ffffff);
border-color: var(--border, #2a2a3a);
}
/* Scroll to Bottom Button */
.scroll-to-bottom {
position: fixed;
bottom: 100px;
right: 20px;
width: 40px;
height: 40px;
border-radius: 50%;
border: 1px solid var(--border-color, #e5e7eb);
background: var(--primary-bg, #ffffff);
color: var(--text-primary, #374151);
cursor: pointer;
display: none;
align-items: center;
justify-content: center;
font-size: 18px;
transition: all 0.2s;
box-shadow: var(--shadow-sm, 0 2px 8px rgba(0, 0, 0, 0.1));
z-index: 100;
}
.scroll-to-bottom.visible {
display: flex;
}
.scroll-to-bottom:hover {
background: var(--bg-hover, #f3f4f6);
}
/* Responsive */
@media (max-width: 768px) {
.chat-layout {
padding: 0 12px;
}
.message-content {
max-width: 90%;
}
}
/* Projector Overlay */
.projector-overlay {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.9);
z-index: 10000;
display: flex;
align-items: center;
justify-content: center;
animation: fadeIn 0.2s ease;
}
.projector-overlay.hidden {
display: none;
}
@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
/* Container */
.projector-container {
width: 95%;
max-width: 1400px;
height: 90%;
max-height: 900px;
background: #1a1a1a;
border-radius: 12px;
display: flex;
flex-direction: column;
overflow: hidden;
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.projector-container.fullscreen {
width: 100%;
max-width: none;
height: 100%;
max-height: none;
border-radius: 0;
}
/* Header */
.projector-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 12px 20px;
background: #252525;
border-bottom: 1px solid #333;
}
.projector-title-section {
display: flex;
align-items: center;
gap: 10px;
}
.projector-icon {
font-size: 20px;
}
.projector-title {
color: #fff;
font-size: 16px;
font-weight: 500;
max-width: 400px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.projector-actions {
display: flex;
gap: 8px;
}
.projector-btn {
background: transparent;
border: none;
color: #aaa;
font-size: 18px;
padding: 8px;
cursor: pointer;
border-radius: 6px;
transition: all 0.2s ease;
}
.projector-btn:hover {
background: #333;
color: #fff;
}
.projector-btn.close-btn:hover {
background: #e74c3c;
color: #fff;
}
/* Content Area */
.projector-content {
flex: 1;
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
position: relative;
background: #000;
}
/* Loading */
.projector-loading {
display: flex;
flex-direction: column;
align-items: center;
gap: 16px;
color: #888;
}
.projector-loading.hidden {
display: none;
}
.loading-spinner {
width: 40px;
height: 40px;
border: 3px solid #333;
border-top-color: #667eea;
border-radius: 50%;
animation: spin 1s linear infinite;
}
@keyframes spin {
to {
transform: rotate(360deg);
}
}
/* Video Player */
.projector-video {
max-width: 100%;
max-height: 100%;
width: auto;
height: auto;
}
/* Audio Player */
.projector-audio {
width: 80%;
max-width: 600px;
}
.audio-visualizer {
width: 100%;
height: 200px;
background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
border-radius: 8px;
margin-bottom: 20px;
}
/* Image Viewer */
.projector-image {
max-width: 100%;
max-height: 100%;
object-fit: contain;
transition: transform 0.3s ease;
}
/* PDF Viewer */
.projector-pdf {
width: 100%;
height: 100%;
border: none;
}
/* Code Viewer */
.projector-code {
width: 100%;
height: 100%;
overflow: auto;
background: #1e1e1e;
padding: 20px;
}
.projector-code pre {
margin: 0;
font-family: "Fira Code", "Monaco", "Consolas", monospace;
font-size: 14px;
line-height: 1.5;
color: #d4d4d4;
}
.projector-code.line-numbers pre {
counter-reset: line;
}
.projector-code.line-numbers pre .line::before {
counter-increment: line;
content: counter(line);
display: inline-block;
width: 40px;
padding-right: 20px;
color: #666;
text-align: right;
}
/* Presentation Viewer */
.projector-presentation {
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
}
.slide-container {
background: #fff;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
aspect-ratio: 16/9;
max-width: 90%;
max-height: 90%;
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
}
.slide-content {
width: 100%;
height: 100%;
object-fit: contain;
}
/* Iframe Viewer */
.projector-iframe {
width: 100%;
height: 100%;
border: none;
background: #fff;
}
/* Markdown Viewer */
.projector-markdown {
width: 100%;
height: 100%;
overflow: auto;
padding: 40px;
background: #fff;
color: #333;
}
.projector-markdown h1,
.projector-markdown h2,
.projector-markdown h3 {
color: #1a1a1a;
margin-top: 24px;
margin-bottom: 12px;
}
.projector-markdown code {
background: #f0f0f0;
padding: 2px 6px;
border-radius: 4px;
font-family: monospace;
}
.projector-markdown pre code {
display: block;
padding: 16px;
overflow-x: auto;
}
/* Controls */
.projector-controls {
padding: 12px 20px;
background: #252525;
border-top: 1px solid #333;
}
.media-controls,
.slide-controls,
.image-controls,
.code-controls {
display: flex;
align-items: center;
gap: 12px;
flex-wrap: wrap;
}
.media-controls.hidden,
.slide-controls.hidden,
.image-controls.hidden,
.code-controls.hidden {
display: none;
}
.control-btn {
background: #333;
border: none;
color: #fff;
padding: 8px 12px;
border-radius: 6px;
cursor: pointer;
font-size: 16px;
transition: all 0.2s ease;
}
.control-btn:hover {
background: #444;
}
.control-btn.active {
background: #667eea;
}
.play-btn {
font-size: 20px;
padding: 8px 16px;
}
/* Progress Bar */
.progress-container {
flex: 1;
display: flex;
align-items: center;
gap: 12px;
min-width: 200px;
}
.progress-bar {
flex: 1;
height: 6px;
-webkit-appearance: none;
appearance: none;
background: #444;
border-radius: 3px;
cursor: pointer;
}
.progress-bar::-webkit-slider-thumb {
-webkit-appearance: none;
width: 14px;
height: 14px;
background: #667eea;
border-radius: 50%;
cursor: pointer;
}
.progress-bar::-moz-range-thumb {
width: 14px;
height: 14px;
background: #667eea;
border-radius: 50%;
cursor: pointer;
border: none;
}
.time-display {
color: #888;
font-size: 12px;
min-width: 100px;
text-align: right;
}
/* Volume */
.volume-slider {
width: 80px;
height: 4px;
-webkit-appearance: none;
appearance: none;
background: #444;
border-radius: 2px;
cursor: pointer;
}
.volume-slider::-webkit-slider-thumb {
-webkit-appearance: none;
width: 12px;
height: 12px;
background: #fff;
border-radius: 50%;
cursor: pointer;
}
/* Speed/Theme Select */
.speed-select,
.theme-select {
background: #333;
color: #fff;
border: none;
padding: 6px 10px;
border-radius: 6px;
cursor: pointer;
}
/* Slide Info */
.slide-info,
.image-info,
.code-info,
.zoom-level {
color: #888;
font-size: 14px;
}
.slide-nav input {
width: 50px;
background: #333;
border: none;
color: #fff;
padding: 6px;
border-radius: 4px;
text-align: center;
}
/* Error State */
.projector-error {
display: flex;
flex-direction: column;
align-items: center;
gap: 16px;
color: #e74c3c;
}
.projector-error-icon {
font-size: 48px;
}
.projector-error-message {
font-size: 16px;
color: #888;
}
/* Responsive */
@media (max-width: 768px) {
.projector-container {
width: 100%;
height: 100%;
max-width: none;
max-height: none;
border-radius: 0;
}
.projector-header {
padding: 10px 16px;
}
.projector-title {
max-width: 150px;
font-size: 14px;
}
.projector-controls {
padding: 10px 16px;
}
.progress-container {
min-width: 120px;
}
.time-display {
display: none;
}
.volume-slider {
display: none;
}
}