Spaces:
Sleeping
Sleeping
File size: 3,449 Bytes
5884015 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 | html,
body,
.gradio-container {
background: #0a0f1f !important;
color: #e5e7eb !important;
}
:root {
color-scheme: dark;
}
:root {
--bg-main: #0a0f1f;
--bg-panel: #0f172a;
--bg-card: #111827;
--bg-elevated: #1e293b;
--bg-input: #0f172a;
--text-primary: #e5e7eb;
--text-secondary: #9ca3af;
--text-muted: #6b7280;
--accent: #22c55e;
--accent-strong: #16a34a;
--border-subtle: rgba(148, 163, 184, 0.18);
--radius-lg: 18px;
--radius-md: 10px;
--shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.55);
--shadow-card: 0 10px 24px rgba(0, 0, 0, 0.45);
}
.app-row {
max-width: 1180px;
margin: 50px auto;
padding: 28px;
border-radius: 26px;
background: var(--bg-card);
border: 1px solid rgba(255, 255, 255, 0.04);
box-shadow: var(--shadow-soft);
}
.title-text h3,
.title-text h1 {
color: var(--text-primary);
font-weight: 600;
}
#chatbot {
background: var(--bg-panel) !important;
border-radius: var(--radius-lg);
border: 1px solid var(--border-subtle);
height: 520px !important;
box-shadow: var(--shadow-card);
}
#chatbot .message.user {
background: rgba(255, 255, 255, 0.05) !important;
color: var(--text-primary) !important;
}
#chatbot .message.bot {
background: rgba(20, 25, 40, 0.8) !important;
color: var(--text-secondary) !important;
}
#chat-input {
background: transparent !important;
border: none !important;
box-shadow: none !important;
padding: 0 !important;
}
#chat-input textarea {
width: 100%;
background: #020617;
border: 1px solid rgba(148, 163, 184, 0.35);
font-size: 0.95rem;
color: #e5e7eb;
outline: none;
box-shadow: none;
transition: border-color 0.15s ease, box-shadow 0.15s ease,
background-color 0.15s ease;
}
#chat-input textarea::placeholder {
color: rgba(148, 163, 184, 0.8);
}
#chat-input textarea:focus {
background-color: #020617;
border-color: #585858; /* soft green */
box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.35);
}
.button-row {
margin-top: 12px;
gap: 12px;
}
#send-btn {
background: linear-gradient(135deg, #1ed760, #1abc5b);
border: none;
color: white;
font-weight: 600;
border-radius: 999px;
padding: 0.65rem 1.8rem;
font-size: 0.95rem;
box-shadow: 0 4px 14px rgba(30, 215, 96, 0.25); /* subtle shadow */
transition: transform 0.12s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
#send-btn:hover {
transform: translateY(-2px);
box-shadow: 0 6px 18px rgba(30, 215, 96, 0.32);
filter: brightness(1.05);
}
#send-btn:active {
transform: scale(0.97);
box-shadow: 0 3px 12px rgba(30, 215, 96, 0.2);
}
#clear-btn {
background: transparent;
color: var(--text-secondary);
border: 1px solid rgba(255, 255, 255, 0.12);
border-radius: 999px;
padding: 0.65rem 1.8rem;
}
#clear-btn:hover {
background: rgba(255, 255, 255, 0.06);
color: var(--text-primary);
}
.about-card {
background: var(--bg-panel) !important;
padding: 22px;
border-radius: var(--radius-lg);
border: 1px solid rgba(255, 255, 255, 0.06);
box-shadow: var(--shadow-card);
color: var(--text-secondary) !important;
}
.about-card h3 {
color: var(--text-primary);
margin-bottom: 10px;
}
.about-card li::marker {
color: var(--accent);
}
@media (max-width: 768px) {
.app-row {
margin: 20px;
padding: 18px;
}
}
|