


body {
background-color: #eef2f5;
background-image: url("data:image/svg+xml,%3Csvg width='6' height='6' viewBox='0 0 6 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%239C92AC' fill-opacity='0.1'%3E%3Cpath d='M5 0h1L0 6V5zM6 5v1H5z'/%3E%3C/g%3E%3C/svg%3E");
}
.card {
background: #ffffff;
border-radius: 1rem;
border: 1px solid #e2e8f0;
box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.05), 0 4px 6px -4px rgb(0 0 0 / 0.05);
padding: 2rem;
}
.mic-button {
width: 100px;
height: 100px;
border-radius: 50%;
background-color: #f1f5f9;
border: 1px solid #e2e8f0;
display: flex;
align-items: center;
justify-content: center;
color: #475569;
cursor: pointer;
transition: all 0.2s ease-in-out;
}
.mic-button:hover {
background-color: #e2e8f0;
box-shadow: 0 0 20px rgba(0, 115, 255, 0.2);
color: #0d6efd;
}
.option-label {
padding: 0.5rem 1rem;
font-size: 0.875rem;
border-radius: 0.375rem;
cursor: pointer;
border: 1px solid #cbd5e1;
font-weight: 600;
transition: all 0.2s;
}
.peer:checked + .option-label {
background-color: #2563eb;
border-color: #2563eb;
color: #ffffff;
}
.custom-scrollbar::-webkit-scrollbar { width: 8px; }
.custom-scrollbar::-webkit-scrollbar-track { background: transparent; }
.custom-scrollbar::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
.custom-scrollbar::-webkit-scrollbar-thumb:hover { background: #94a3b8; }
.voice-wave-container {
display: flex;
justify-content: center;
align-items: center;
height: 50px;
gap: 6px;
}
.wave-bar {
width: 6px;
height: 100%;
border-radius: 3px;
background: linear-gradient(180deg, #4f46e5, #2563eb, #06b6d4, #4f46e5);
background-size: 100% 300%;
animation:
wave 1.2s ease-in-out infinite,
gradient-flow 4s linear infinite;
}
.wave-bar:nth-child(2) { animation-delay: -1.0s; }
.wave-bar:nth-child(3) { animation-delay: -0.8s; }
.wave-bar:nth-child(4) { animation-delay: -0.6s; }
.wave-bar:nth-child(5) { animation-delay: -0.4s; }
@keyframes wave {
0%, 100% { transform: scaleY(0.1); }
50% { transform: scaleY(1); }
}
@keyframes gradient-flow {
0% { background-position: 50% 0%; }
50% { background-position: 50% 100%; }
100% { background-position: 50% 0%; }
}
.view-toggle {
display: flex;
gap: 0.5rem;
}
.toggle-btn {
padding: 0.375rem 1rem;
font-size: 0.875rem;
font-weight: 600;
border-radius: 0.375rem;
cursor: pointer;
border: none;
transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
}
.toggle-btn:not(.active) {
background-color: transparent;
color: #64748b;
}
.toggle-btn:not(.active):hover {
background-color: #f1f5f9;
color: #1e293b;
}
.toggle-btn.active {
background-color: #ffffff;
color: #1e293b;
box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
}
.output-box {
border: 1px solid #ccc;
padding: 15px;
border-radius: 8px;
min-height: 150px;
font-size: 14px;
line-height: 1.6;
background: #f9f9f9;
white-space: pre-wrap;
}
#transcription-output {
max-height: 400px;
overflow-y: auto;
background-color: #f8fafc;
background-image:
linear-gradient(rgba(59, 130, 246, 0.1) 1px, transparent 1px),
linear-gradient(90deg, rgba(59, 130, 246, 0.1) 1px, transparent 1px);
background-size: 25px 25px;
border: 1px solid #e2e8f0;
box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.05), 0 4px 6px -4px rgb(0 0 0 / 0.05);
position: relative;
overflow-x: hidden;
}
#transcription-output::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 2px;
background: linear-gradient(90deg, #38bdf8, #3b82f6);
z-index: 2;
}
#transcription-output {
font-family: 'Source Sans 3', sans-serif;
font-size: 1rem;
line-height: 1.7;
color: #1e293b;
padding: 1.5rem;
}
.header-with-icon {
position: relative;
padding-left: 32px;
font-size: 1.25rem;
color: transparent;
background: linear-gradient(90deg, #334155, #1e293b);
-webkit-background-clip: text;
background-clip: text;
letter-spacing: 0.025em;
}
.header-with-icon::before {
content: '';
position: absolute;
left: 0;
top: 50%;
transform: translateY(-50%);
width: 24px;
height: 24px;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'%3E%3C/path%3E%3Cpolyline points='14 2 14 8 20 8'%3E%3C/polyline%3E%3Cline x1='16' y1='13' x2='8' y2='13'%3E%3C/line%3E%3Cline x1='16' y1='17' x2='8' y2='17'%3E%3C/line%3E%3Cpolyline points='10 9 9 9 8 9'%3E%3C/polyline%3E%3C/svg%3E");
background-size: contain;
background-repeat: no-repeat;
}
#transcription-output::-webkit-scrollbar {
width: 14px;
}
#transcription-output::-webkit-scrollbar-track {
background: transparent;
}
#transcription-output::-webkit-scrollbar-thumb {
background-color: #cbd5e1;
border-radius: 10px;
border: 4px solid #f8fafc;
background-clip: content-box;
transition: background-color 0.2s;
}
#transcription-output::-webkit-scrollbar-thumb:hover {
background-color: #94a3b8;
}
.ai-header-icon {
display: block;
margin: 0 auto 0.75rem;
width: 64px;
height: 64px;
opacity: 0.85;
filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}
.ai-header-title {
margin-bottom: 0.25rem;
font-size: 1.625rem;
font-weight: 700;
font-family: 'Playfair Display', serif;
color: transparent;
background: linear-gradient(90deg, #4f46e5, #a855f7, #ec4899);
-webkit-background-clip: text;
background-clip: text;
}
.ai-header-tagline {
margin-bottom: 1rem;
font-size: 1.125rem;
color: #475569;
opacity: 0.9;
}
.ai-header-byline {
position: relative;
overflow: hidden;
display: inline-block;
padding: 0.375rem 1rem;
background-color: #1e293b;
color: #e2e8f0;
border-radius: 9999px;
font-size: 0.75rem;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.05em;
}
.ai-header-byline::after {
content: '';
position: absolute;
top: 0;
left: -40px;
width: 4px;
height: 100%;
background-color: #ffffff;
box-shadow: 0 0 10px 2px #ffffff;
opacity: 0.7;
animation: moving-light 4s infinite 1s;
}
@keyframes moving-light {
0% {
left: -40px;
}
50% {
left: 120%;
}
100% {
left: 120%;
}
}