letxinet / assets /styles.css
C2MV's picture
Initial upload for Build Small Hackathon
68fb5e2 verified
Raw
History Blame Contribute Delete
24.4 kB
/* LetXipu Beta SX - Custom Gradio Theme */
/* Dark/Light mode support, Glassmorphism, Animations */
/* ─── Google Fonts ─── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');
/* ─── Dark Theme (Default) ─── */
:root, [data-theme="dark"] {
--bg: #0a0a0c;
--surface: #111827;
--surface-2: #1a1a2e;
--border: #374151;
--text: #ffffff;
--text-muted: #9ca3af;
--accent: #8b5cf6;
--accent-hover: #a78bfa;
--primary: #3b82f6;
--primary-hover: #60a5fa;
--success: #10b981;
--danger: #ef4444;
--warning: #f59e0b;
--input-bg: #1f2937;
--glass: rgba(10, 10, 12, 0.7);
--glass-border: rgba(255, 255, 255, 0.1);
--glass-results: rgba(17, 24, 39, 0.6);
--glass-results-border: rgba(255, 255, 255, 0.08);
--shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
--shadow-lg: 0 12px 64px rgba(0, 0, 0, 0.7);
--section-header-bg: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(99, 102, 241, 0.05));
--section-header-border: rgba(139, 92, 246, 0.2);
--section-header-color: #a78bfa;
--banner-bg: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
--banner-text: white;
--tab-bg: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
--tab-text: #b0b8c8;
--tab-hover-bg: rgba(255, 255, 255, 0.08);
--accordion-bg: rgba(17, 24, 39, 0.5);
--accordion-border: rgba(255, 255, 255, 0.08);
--prose-text: rgba(255, 255, 255, 0.85);
--prose-h2: #d1d5db;
--prose-h3: #e5e7eb;
--prose-em: #a78bfa;
--prose-details-bg: rgba(17, 24, 39, 0.3);
--prose-details-border: rgba(255, 255, 255, 0.05);
--radius: 12px;
--radius-lg: 20px;
--transition: 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}
/* ─── Light Theme ─── */
[data-theme="light"] {
--bg: #f8fafc;
--surface: #ffffff;
--surface-2: #f1f5f9;
--border: #e2e8f0;
--text: #0f172a;
--text-muted: #64748b;
--accent: #7c3aed;
--accent-hover: #6d28d9;
--primary: #2563eb;
--primary-hover: #1d4ed8;
--success: #059669;
--danger: #dc2626;
--warning: #d97706;
--input-bg: #f1f5f9;
--glass: rgba(255, 255, 255, 0.85);
--glass-border: rgba(0, 0, 0, 0.1);
--glass-results: rgba(255, 255, 255, 0.75);
--glass-results-border: rgba(0, 0, 0, 0.08);
--shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
--shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
--section-header-bg: linear-gradient(135deg, rgba(124, 58, 237, 0.06), rgba(99, 102, 241, 0.03));
--section-header-border: rgba(124, 58, 237, 0.15);
--section-header-color: #7c3aed;
--banner-bg: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 50%, #ddd6fe 100%);
--banner-text: #1e1b4b;
--tab-bg: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 50%, #ddd6fe 100%);
--tab-text: #475569;
--tab-hover-bg: rgba(0, 0, 0, 0.05);
--accordion-bg: rgba(241, 245, 249, 0.8);
--accordion-border: rgba(0, 0, 0, 0.08);
--prose-text: #1e293b;
--prose-h2: #334155;
--prose-h3: #1e293b;
--prose-em: #7c3aed;
--prose-details-bg: rgba(241, 245, 249, 0.6);
--prose-details-border: rgba(0, 0, 0, 0.06);
}
/* ─── Global ─── */
.gradio-container {
max-width: 1400px !important;
margin: auto !important;
background: var(--bg) !important;
color: var(--text) !important;
font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif !important;
}
/* ─── Header Banner ─── */
.header-banner {
background: var(--banner-bg);
color: var(--banner-text);
padding: 1.5rem 2rem;
border-radius: 16px;
margin-bottom: 1rem;
position: relative;
overflow: hidden;
box-shadow: 0 8px 32px rgba(48, 43, 99, 0.3);
}
.header-banner::before {
content: '';
position: absolute;
top: -50%;
right: -20%;
width: 400px;
height: 400px;
background: radial-gradient(circle, rgba(139, 92, 246, 0.25) 0%, transparent 70%);
border-radius: 50%;
animation: float 6s ease-in-out infinite;
}
.header-banner h1 {
margin: 0 0 0.3rem 0 !important;
font-size: 1.8rem !important;
font-weight: 700 !important;
position: relative;
z-index: 1;
color: var(--banner-text) !important;
}
.header-banner p {
margin: 0 !important;
font-size: 0.9rem !important;
opacity: 0.85;
position: relative;
z-index: 1;
color: var(--banner-text) !important;
}
.header-badge {
display: inline-block;
background: rgba(255, 255, 255, 0.15);
backdrop-filter: blur(4px);
border: 1px solid rgba(255, 255, 255, 0.2);
border-radius: 20px;
padding: 0.2rem 0.7rem;
font-size: 0.75rem !important;
margin-top: 0.6rem;
position: relative;
z-index: 1;
}
/* ─── Status Banner ─── */
.status-banner {
display: flex;
align-items: center;
gap: 0.6rem;
padding: 0.7rem 1.2rem;
border-radius: 10px;
margin-bottom: 1rem;
font-size: 0.85rem;
font-weight: 500;
backdrop-filter: blur(10px);
}
.status-connected {
background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(16, 185, 129, 0.05));
border: 1px solid rgba(16, 185, 129, 0.3);
color: #10b981;
}
.status-dot {
width: 10px;
height: 10px;
border-radius: 50%;
flex-shrink: 0;
}
.status-dot.connected {
background: #10b981;
box-shadow: 0 0 8px rgba(16, 185, 129, 0.4);
animation: pulse 2s infinite;
}
/* ─── Tabs ─── */
.tab-nav {
background: var(--tab-bg) !important;
border-radius: 12px 12px 0 0 !important;
padding: 6px !important;
gap: 4px !important;
}
.tab-nav button {
color: var(--tab-text) !important;
font-weight: 500 !important;
font-size: 0.85rem !important;
border: none !important;
border-radius: 8px !important;
padding: 0.5rem 1rem !important;
transition: all 0.2s ease !important;
background: transparent !important;
}
.tab-nav button:hover {
color: var(--text) !important;
background: var(--tab-hover-bg) !important;
}
.tab-nav button.selected {
color: white !important;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
box-shadow: 0 2px 12px rgba(102, 126, 234, 0.4) !important;
}
/* ─── Progress Bar ─── */
.progress-container {
background: var(--surface);
border: 1px solid var(--border);
border-radius: 12px;
padding: 1rem 1.5rem;
margin-bottom: 1rem;
}
.progress-bar {
height: 8px;
background: var(--border);
border-radius: 4px;
overflow: hidden;
margin: 0.5rem 0;
}
.progress-fill {
height: 100%;
background: linear-gradient(90deg, #667eea, #764ba2);
border-radius: 4px;
transition: width 0.5s ease;
box-shadow: 0 0 10px rgba(102, 126, 234, 0.3);
}
.progress-text {
font-size: 0.85rem;
color: var(--text-muted);
}
/* ─── Glassmorphic Cards ─── */
.glass-card {
background: var(--glass);
backdrop-filter: blur(24px);
border: 1px solid var(--glass-border);
border-radius: var(--radius-lg);
padding: 1.25rem;
box-shadow: var(--shadow);
transition: all var(--transition);
}
.glass-card:hover {
border-color: var(--accent);
box-shadow: var(--shadow-lg), 0 0 20px rgba(139, 92, 246, 0.15);
}
.glass-card-focused {
border-color: var(--accent) !important;
box-shadow: var(--shadow-lg), 0 0 25px rgba(139, 92, 246, 0.25) !important;
}
/* ─── Section Header ─── */
.section-header {
display: flex;
align-items: center;
gap: 0.5rem;
padding: 0.6rem 1rem;
background: var(--section-header-bg);
border: 1px solid var(--section-header-border);
border-radius: 10px;
margin-bottom: 0.6rem;
font-weight: 600;
font-size: 0.85rem;
color: var(--section-header-color);
}
/* ─── Source Status Dots ─── */
.source-dot {
display: inline-block;
width: 8px;
height: 8px;
border-radius: 50%;
margin-right: 4px;
}
.source-dot.online { background: #10b981; box-shadow: 0 0 6px rgba(16, 185, 129, 0.4); }
.source-dot.offline { background: #ef4444; box-shadow: 0 0 6px rgba(239, 68, 68, 0.4); }
.source-dot.checking { background: #f59e0b; animation: pulse 1s infinite; }
.source-badge {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 4px 10px;
border-radius: 20px;
font-size: 0.75rem;
font-weight: 500;
}
.source-online {
background: rgba(16, 185, 129, 0.1);
border: 1px solid rgba(16, 185, 129, 0.3);
color: #10b981;
}
.source-offline {
background: rgba(239, 68, 68, 0.1);
border: 1px solid rgba(239, 68, 68, 0.3);
color: #ef4444;
}
/* ─── Toggle Switch ─── */
.toggle-switch {
position: relative;
width: 44px;
height: 24px;
background: var(--border);
border-radius: 12px;
cursor: pointer;
transition: background 0.3s ease;
}
.toggle-switch.active {
background: var(--accent);
}
.toggle-switch::after {
content: '';
position: absolute;
top: 2px;
left: 2px;
width: 20px;
height: 20px;
background: white;
border-radius: 50%;
transition: transform 0.3s ease;
}
.toggle-switch.active::after {
transform: translateX(20px);
}
/* ─── Result Tabs ─── */
.result-tabs {
display: flex;
gap: 6px;
padding: 6px;
background: var(--surface);
border: 1px solid var(--border);
border-radius: 14px;
margin-bottom: 1rem;
}
.result-tab {
padding: 10px 16px;
border-radius: 10px;
border: none;
background: transparent;
color: var(--text-muted);
font-weight: 600;
font-size: 0.85rem;
cursor: pointer;
transition: all 0.2s ease;
}
.result-tab:hover {
color: var(--text);
background: var(--tab-hover-bg);
}
.result-tab.active {
color: white;
background: var(--accent);
box-shadow: 0 4px 15px rgba(139, 92, 246, 0.35);
}
/* ─── Prompt Editor ─── */
.prompt-editor,
.prompt-editor textarea {
background: var(--input-bg) !important;
border: 1px solid var(--border) !important;
border-radius: 10px !important;
padding: 1rem;
font-family: 'JetBrains Mono', 'Fira Code', monospace !important;
font-size: 0.8rem !important;
line-height: 1.5 !important;
resize: vertical;
min-height: 120px;
color: var(--text) !important;
transition: border-color 0.2s ease;
}
.prompt-editor:focus,
.prompt-editor textarea:focus {
border-color: var(--accent) !important;
outline: none;
}
/* ─── Glass Input Wrapper ─── */
.glass-input-wrapper {
background: var(--glass);
backdrop-filter: blur(24px);
border: 2px solid var(--glass-border);
border-radius: 20px;
padding: 14px 18px;
box-shadow: var(--shadow);
transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
margin-bottom: 1rem;
}
.glass-input-wrapper:focus-within {
border-color: rgba(139, 92, 246, 0.6);
box-shadow: var(--shadow-lg), 0 0 25px rgba(139, 92, 246, 0.15);
}
.glass-input-wrapper textarea,
.glass-input-wrapper input[type="text"] {
background: transparent !important;
border: none !important;
padding: 8px 4px !important;
font-size: 14px !important;
font-family: 'Inter', system-ui, sans-serif !important;
color: var(--text) !important;
}
.glass-input-wrapper textarea:focus,
.glass-input-wrapper input[type="text"]:focus {
box-shadow: none !important;
outline: none !important;
}
.glass-input-wrapper label {
color: var(--accent) !important;
font-weight: 600 !important;
font-size: 13px !important;
}
/* ─── Glassmorphic Results Wrapper ─── */
.glass-results-wrapper {
background: var(--glass-results);
backdrop-filter: blur(16px);
border: 1px solid var(--glass-results-border);
border-radius: 16px;
padding: 1.25rem;
box-shadow: var(--shadow);
}
/* ─── Premium Execute Button ─── */
.ejecutar-btn {
background: linear-gradient(135deg, #6366f1, #8b5cf6) !important;
color: white !important;
font-weight: 700 !important;
font-size: 15px !important;
border-radius: 14px !important;
padding: 14px 28px !important;
border: none !important;
box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4), inset 0 1px 0 rgba(255,255,255,0.15) !important;
transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1) !important;
position: relative !important;
overflow: hidden !important;
}
.ejecutar-btn:hover {
transform: translateY(-2px) !important;
box-shadow: 0 8px 30px rgba(99, 102, 241, 0.5), inset 0 1px 0 rgba(255,255,255,0.2) !important;
}
.ejecutar-btn:active {
transform: translateY(0) !important;
}
.ejecutar-btn:disabled {
opacity: 0.5 !important;
transform: none !important;
box-shadow: none !important;
}
/* ─── Gradio Accordion Glass ─── */
.gradio-accordion {
border: 1px solid var(--glass-border) !important;
border-radius: 12px !important;
overflow: hidden !important;
background: var(--glass) !important;
backdrop-filter: blur(12px) !important;
}
.gradio-accordion .label-wrap {
padding: 10px 16px !important;
font-weight: 600 !important;
color: var(--text) !important;
}
/* ─── Config Accordion ─── */
.config-accordion {
background: var(--accordion-bg) !important;
border: 1px solid var(--accordion-border) !important;
border-radius: 12px !important;
}
/* ─── Gradio Blocks Glass Panels ─── */
.gradio-group {
border: 1px solid var(--glass-border) !important;
border-radius: 14px !important;
background: var(--glass) !important;
}
/* ─── Scrollbar ─── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
background: var(--accent);
opacity: 0.3;
border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover { opacity: 0.5; }
/* ─── Pipeline Control Buttons ─── */
.control-btn-pause button {
background: rgba(245, 158, 11, 0.1) !important;
border: 1px solid rgba(245, 158, 11, 0.4) !important;
color: #f59e0b !important;
font-weight: 600 !important;
border-radius: 10px !important;
transition: all 0.2s ease !important;
}
.control-btn-pause button:hover {
background: rgba(245, 158, 11, 0.2) !important;
box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2) !important;
}
.control-btn-resume button {
background: rgba(16, 185, 129, 0.1) !important;
border: 1px solid rgba(16, 185, 129, 0.4) !important;
color: #10b981 !important;
font-weight: 600 !important;
border-radius: 10px !important;
transition: all 0.2s ease !important;
}
.control-btn-resume button:hover {
background: rgba(16, 185, 129, 0.2) !important;
box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2) !important;
}
.control-btn-stop button {
background: rgba(239, 68, 68, 0.1) !important;
border: 1px solid rgba(239, 68, 68, 0.4) !important;
color: #ef4444 !important;
font-weight: 600 !important;
border-radius: 10px !important;
transition: all 0.2s ease !important;
}
.control-btn-stop button:hover {
background: rgba(239, 68, 68, 0.2) !important;
box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2) !important;
}
/* ─── Paper Card ─── */
.paper-card {
position: relative;
background: var(--glass);
backdrop-filter: blur(14px);
border: 1px solid var(--glass-border);
border-radius: 14px;
padding: 16px 20px 16px 24px;
margin-bottom: 10px;
transition: all 0.25s cubic-bezier(0.23, 1, 0.32, 1);
overflow: hidden;
}
.paper-card:hover {
border-color: rgba(139, 92, 246, 0.35);
box-shadow: 0 8px 32px rgba(139, 92, 246, 0.12), 0 2px 8px rgba(0,0,0,0.2);
transform: translateY(-2px);
}
/* Paper action buttons */
.paper-actions {
display: flex;
gap: 6px;
flex-wrap: wrap;
align-items: center;
opacity: 0;
max-height: 0;
overflow: hidden;
transition: all 0.25s ease;
}
.paper-card:hover .paper-actions {
opacity: 1;
max-height: 50px;
margin-top: 6px;
}
.paper-action-btn {
display: inline-flex;
align-items: center;
gap: 5px;
padding: 4px 10px;
border-radius: 8px;
font-size: 11px;
font-weight: 600;
text-decoration: none;
border: 1px solid;
cursor: pointer;
transition: all 0.2s ease;
white-space: nowrap;
}
.paper-action-btn:hover {
transform: translateY(-1px);
box-shadow: 0 3px 10px rgba(0,0,0,0.15);
filter: brightness(1.15);
}
/* ─── Section Card ─── */
.section-card {
background: var(--glass);
backdrop-filter: blur(14px);
border: 1px solid var(--glass-border);
border-radius: 14px;
margin-bottom: 10px;
overflow: hidden;
transition: all 0.25s cubic-bezier(0.23, 1, 0.32, 1);
}
.section-card:hover {
border-color: rgba(139, 92, 246, 0.3);
box-shadow: 0 4px 20px rgba(139, 92, 246, 0.08);
}
.section-card-header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 12px 16px;
cursor: pointer;
transition: background 0.2s ease;
}
.section-card-header:hover {
background: rgba(139, 92, 246, 0.04);
}
.section-card-body {
padding: 0 16px 16px;
border-top: 1px solid var(--glass-border);
}
/* ─── Stat Card Hover ─── */
.stat-card {
background: var(--glass);
border: 1px solid var(--glass-border);
border-radius: 12px;
padding: 16px;
text-align: center;
min-width: 100px;
transition: all 0.25s cubic-bezier(0.23, 1, 0.32, 1);
}
.stat-card:hover {
transform: translateY(-3px);
border-color: rgba(139, 92, 246, 0.3);
box-shadow: 0 8px 24px rgba(139, 92, 246, 0.1);
}
/* ─── Theme Toggle Button ─── */
.theme-toggle {
position: fixed;
top: 12px;
right: 12px;
z-index: 9999;
width: 40px;
height: 40px;
border-radius: 50%;
background: linear-gradient(135deg, #8b5cf6, #6366f1);
border: 2px solid rgba(255,255,255,0.2);
color: white;
font-size: 18px;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
transition: all 0.3s ease;
}
.theme-toggle:hover {
transform: scale(1.1);
box-shadow: 0 6px 20px rgba(139, 92, 246, 0.6);
}
/* ─── Animations ─── */
@keyframes pulse {
0%, 100% { opacity: 1; }
50% { opacity: 0.5; }
}
@keyframes float {
0%, 100% { transform: translateY(0); }
50% { transform: translateY(-12px); }
}
@keyframes glowPulse {
0%, 100% { box-shadow: 0 0 15px rgba(139, 92, 246, 0.15); }
50% { box-shadow: 0 0 30px rgba(139, 92, 246, 0.35); }
}
@keyframes slideIn {
from { opacity: 0; transform: translateY(10px); }
to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}
@keyframes shimmer {
0% { background-position: -200% center; }
100% { background-position: 200% center; }
}
@keyframes toastSlideIn {
from { transform: translateY(-10px); opacity: 0; }
to { transform: translateY(0); opacity: 1; }
}
/* ─── Footer ─── */
.app-footer {
background: var(--banner-bg);
color: var(--text-muted);
padding: 1rem 2rem;
border-radius: 12px;
margin-top: 1.5rem;
font-size: 0.8rem;
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
}
/* ─── Hide default Gradio footer ─── */
footer { display: none !important; }
/* ─── Report Typography (.prose) ─── */
.prose {
font-family: 'Inter', system-ui, sans-serif !important;
font-size: 15px !important;
line-height: 1.65 !important;
color: var(--prose-text) !important;
max-width: 850px !important;
margin: 0 auto !important;
padding-bottom: 40px !important;
}
.prose h1 {
font-size: 1.4rem !important;
font-weight: 700 !important;
margin-top: 1.8rem !important;
margin-bottom: 0.8rem !important;
color: var(--accent) !important;
}
.prose h2 {
font-size: 1.25rem !important;
font-weight: 600 !important;
margin-top: 1.5rem !important;
margin-bottom: 0.6rem !important;
color: var(--prose-h2) !important;
}
.prose h3 {
font-size: 1.1rem !important;
font-weight: 600 !important;
margin-top: 1.2rem !important;
margin-bottom: 0.5rem !important;
color: var(--prose-h3) !important;
}
.prose p {
margin-bottom: 1rem !important;
}
.prose li {
margin-bottom: 0.4rem !important;
}
.prose em {
color: var(--prose-em) !important;
font-style: italic !important;
}
/* Style for details/summary collapsible headers */
.prose details > summary {
list-style: none;
position: relative;
padding-left: 20px;
cursor: pointer;
transition: color 0.2s;
}
.prose details > summary::-webkit-details-marker {
display: none;
}
.prose details > summary::before {
content: "β–Ά";
position: absolute;
left: 0;
top: 50%;
transform: translateY(-50%);
font-size: 0.7em;
color: var(--accent);
transition: transform 0.2s;
}
.prose details[open] > summary::before {
transform: translateY(-50%) rotate(90deg);
}
.prose details[open] > summary {
margin-bottom: 0.5rem;
}
.prose details {
margin-bottom: 0.5rem;
background: var(--prose-details-bg);
border: 1px solid var(--prose-details-border);
border-radius: 12px;
padding: 8px 16px;
}
/* ─── Responsive: Tablet ─── */
@media (max-width: 1024px) {
.gradio-container {
max-width: 100% !important;
padding: 0 8px !important;
}
.gradio-row {
flex-direction: column !important;
}
.gradio-column {
max-width: 100% !important;
flex: 1 1 100% !important;
}
.header-banner {
padding: 1.2rem 1.5rem;
}
}
/* ─── Responsive: Mobile ─── */
@media (max-width: 768px) {
.gradio-container {
padding: 0 4px !important;
}
.header-banner {
padding: 1rem;
border-radius: 12px;
}
.header-banner h1 {
font-size: 1.3rem !important;
}
.header-banner::before {
width: 200px;
height: 200px;
}
.app-footer {
flex-direction: column;
text-align: center;
gap: 0.5rem;
padding: 1rem;
}
.status-banner {
flex-wrap: wrap;
}
.paper-card {
padding: 12px 14px 12px 18px;
border-radius: 12px;
}
.paper-card:hover {
transform: none;
}
.paper-actions {
opacity: 1;
max-height: 50px;
margin-top: 6px;
}
.ejecutar-btn {
padding: 12px 20px !important;
font-size: 14px !important;
width: 100% !important;
}
.control-btn-pause button,
.control-btn-resume button,
.control-btn-stop button {
padding: 8px 12px !important;
font-size: 12px !important;
}
/* Stack tabs horizontally scrollable */
.gradio-tabs > .tab-nav {
overflow-x: auto;
flex-wrap: nowrap;
}
.gradio-tabs > .tab-nav button {
white-space: nowrap;
flex-shrink: 0;
font-size: 0.78rem !important;
padding: 0.4rem 0.75rem !important;
}
.glass-input-wrapper {
padding: 10px 14px;
border-radius: 14px;
}
.glass-results-wrapper {
padding: 0.75rem;
border-radius: 12px;
}
.section-header {
font-size: 0.8rem;
padding: 0.5rem 0.75rem;
}
.prose {
font-size: 14px !important;
padding-bottom: 20px !important;
}
}
/* ─── Responsive: Small Mobile ─── */
@media (max-width: 480px) {
.header-banner h1 {
font-size: 1.1rem !important;
}
.paper-card {
padding: 10px 12px 10px 16px;
margin-bottom: 8px;
}
.ejecutar-btn {
padding: 10px 16px !important;
font-size: 13px !important;
}
.control-btn-pause, .control-btn-resume, .control-btn-stop {
flex: 1 !important;
}
.theme-toggle {
width: 36px;
height: 36px;
font-size: 16px;
top: 8px;
right: 8px;
}
}