Initial React project
This commit is contained in:
459
src/presentation/simulator/pages/SimulatorPage.tsx
Normal file
459
src/presentation/simulator/pages/SimulatorPage.tsx
Normal file
@@ -0,0 +1,459 @@
|
||||
import { useEffect, useMemo, useState } from 'react';
|
||||
import {
|
||||
ArrowLeft,
|
||||
ArrowRight,
|
||||
Briefcase,
|
||||
ChevronDown,
|
||||
CheckCircle2,
|
||||
Clock3,
|
||||
Code2,
|
||||
Filter,
|
||||
Globe,
|
||||
Lightbulb,
|
||||
Mic,
|
||||
MoreHorizontal,
|
||||
PauseCircle,
|
||||
Play,
|
||||
PlayCircle,
|
||||
Radio,
|
||||
StopCircle,
|
||||
Target,
|
||||
UserRound,
|
||||
} from 'lucide-react';
|
||||
import { SimulatorViewModel, type SimulatorInterviewItem } from '../../../mvvm/viewmodels/SimulatorViewModel';
|
||||
import type { JobsListItem } from '../../../mvvm/viewmodels/JobsPageViewModel';
|
||||
import { DashboardSidebar, type DashboardNavKey } from '../../dashboard/components/DashboardSidebar';
|
||||
import { DashboardTopbar } from '../../dashboard/components/DashboardTopbar';
|
||||
import '../../dashboard/pages/dashboard.css';
|
||||
import './simulator.css';
|
||||
|
||||
interface SimulatorPageProps {
|
||||
onLogout: () => void;
|
||||
onNavigate: (target: DashboardNavKey) => void;
|
||||
onToggleTheme: () => void;
|
||||
theme: 'light' | 'dark';
|
||||
}
|
||||
|
||||
interface InterviewCard {
|
||||
id: string;
|
||||
title: string;
|
||||
companyName: string;
|
||||
completed: boolean;
|
||||
durationMinutes: number;
|
||||
personality: string;
|
||||
dateLabel: string;
|
||||
}
|
||||
|
||||
const FALLBACK_INTERVIEWS: InterviewCard[] = [
|
||||
{
|
||||
id: 'sim-1',
|
||||
title: 'Senior Frontend-udvikler',
|
||||
companyName: 'Lunar',
|
||||
completed: true,
|
||||
durationMinutes: 15,
|
||||
personality: 'Professionel',
|
||||
dateLabel: '12. okt 2023',
|
||||
},
|
||||
{
|
||||
id: 'sim-2',
|
||||
title: 'Fullstack Developer',
|
||||
companyName: 'Pleo',
|
||||
completed: false,
|
||||
durationMinutes: 20,
|
||||
personality: 'Afslappet',
|
||||
dateLabel: '10. okt 2023',
|
||||
},
|
||||
{
|
||||
id: 'sim-3',
|
||||
title: 'UX Designer',
|
||||
companyName: 'Trustpilot',
|
||||
completed: true,
|
||||
durationMinutes: 10,
|
||||
personality: 'Sarkastisk',
|
||||
dateLabel: '05. okt 2023',
|
||||
},
|
||||
{
|
||||
id: 'sim-4',
|
||||
title: 'Product Manager',
|
||||
companyName: 'Danske Bank',
|
||||
completed: true,
|
||||
durationMinutes: 5,
|
||||
personality: 'Stress-test',
|
||||
dateLabel: '01. okt 2023',
|
||||
},
|
||||
];
|
||||
|
||||
function toInterviewCard(item: SimulatorInterviewItem): InterviewCard {
|
||||
return {
|
||||
id: item.id,
|
||||
title: item.title,
|
||||
companyName: item.companyName,
|
||||
completed: item.completed,
|
||||
durationMinutes: item.durationMinutes ?? 15,
|
||||
personality: item.personality || 'Professionel',
|
||||
dateLabel: item.dateLabel || 'Nyligt',
|
||||
};
|
||||
}
|
||||
|
||||
function jobLabel(job: JobsListItem): string {
|
||||
return `${job.title || 'Stilling'}${job.companyName ? ` · ${job.companyName}` : ''}`;
|
||||
}
|
||||
|
||||
export function SimulatorPage({ onLogout, onNavigate, onToggleTheme, theme }: SimulatorPageProps) {
|
||||
const viewModel = useMemo(() => new SimulatorViewModel(), []);
|
||||
|
||||
const [name, setName] = useState('Lasse');
|
||||
const [imageUrl, setImageUrl] = useState<string | undefined>(undefined);
|
||||
const [jobs, setJobs] = useState<JobsListItem[]>([]);
|
||||
const [interviews, setInterviews] = useState<InterviewCard[]>([]);
|
||||
const [personalities, setPersonalities] = useState<Array<{ id: number; name: string }>>([]);
|
||||
const [isLoading, setIsLoading] = useState(true);
|
||||
|
||||
const [selectedJobId, setSelectedJobId] = useState('');
|
||||
const [selectedPersonalityId, setSelectedPersonalityId] = useState('');
|
||||
const [selectedLanguage, setSelectedLanguage] = useState('Dansk');
|
||||
const [selectedDuration, setSelectedDuration] = useState('15');
|
||||
const [isLiveSession, setIsLiveSession] = useState(false);
|
||||
|
||||
useEffect(() => {
|
||||
let active = true;
|
||||
|
||||
async function load() {
|
||||
setIsLoading(true);
|
||||
|
||||
const [profile, jobsData, interviewData, personalityData] = await Promise.all([
|
||||
viewModel.getCandidateProfile(),
|
||||
viewModel.getJobs(),
|
||||
viewModel.getInterviews(),
|
||||
viewModel.getPersonalities(),
|
||||
]);
|
||||
|
||||
if (!active) {
|
||||
return;
|
||||
}
|
||||
|
||||
setName(profile.name);
|
||||
setImageUrl(profile.imageUrl);
|
||||
setJobs(jobsData);
|
||||
setInterviews(interviewData.map(toInterviewCard));
|
||||
setPersonalities(personalityData.map((item) => ({ id: item.id, name: item.name })));
|
||||
|
||||
if (jobsData.length > 0) {
|
||||
setSelectedJobId((current) => current || jobsData[0].id);
|
||||
}
|
||||
|
||||
if (personalityData.length > 0) {
|
||||
setSelectedPersonalityId((current) => current || String(personalityData[0].id));
|
||||
}
|
||||
|
||||
setIsLoading(false);
|
||||
}
|
||||
|
||||
void load();
|
||||
|
||||
return () => {
|
||||
active = false;
|
||||
};
|
||||
}, [viewModel]);
|
||||
|
||||
const cards = interviews.length > 0 ? interviews : FALLBACK_INTERVIEWS;
|
||||
const fallbackJob = { id: 'fallback-job', title: 'Senior Frontend-udvikler', companyName: 'Lunar' } as JobsListItem;
|
||||
const jobOptions = jobs.length > 0 ? jobs : [fallbackJob];
|
||||
const activeJob = jobOptions.find((job) => job.id === selectedJobId) || jobOptions[0];
|
||||
const activePersonality = personalities.find((item) => String(item.id) === selectedPersonalityId)?.name || 'Professionel & Grundig';
|
||||
|
||||
const liveMessages = [
|
||||
{
|
||||
id: 'ai-1',
|
||||
sender: 'ai',
|
||||
text:
|
||||
'Hej Lasse, og velkommen til! Vi er rigtig glade for at have dig til samtalen omkring rollen som '
|
||||
+ `${activeJob.title || 'Senior Frontend-udvikler'}. Kan du fortælle om et nyligt projekt, `
|
||||
+ 'hvor din erfaring med React gjorde en stor forskel for slutresultatet?',
|
||||
},
|
||||
{
|
||||
id: 'me-1',
|
||||
sender: 'me',
|
||||
text:
|
||||
'I mit seneste projekt migrerede vi en stor dashboard-løsning til Next.js. '
|
||||
+ 'Jeg implementerede virtualisering og strammere state management med Zustand, '
|
||||
+ 'hvilket reducerede load-tid med over 60%.',
|
||||
},
|
||||
{
|
||||
id: 'ai-2',
|
||||
sender: 'ai',
|
||||
text:
|
||||
'Det lyder som en rigtig solid forbedring. Når du nævner Zustand frem for Redux, '
|
||||
+ 'hvad var overvejelserne bag det valg i jeres use-case?',
|
||||
},
|
||||
] as const;
|
||||
|
||||
return (
|
||||
<section className={`dash-root ${theme === 'dark' ? 'theme-dark' : ''}`}>
|
||||
<div className="dash-orb dash-orb-1" />
|
||||
<div className="dash-orb dash-orb-2" />
|
||||
<div className="dash-orb dash-orb-3" />
|
||||
|
||||
<DashboardSidebar active="simulator" onNavigate={onNavigate} />
|
||||
|
||||
<main className="dash-main custom-scrollbar sim-main">
|
||||
<DashboardTopbar
|
||||
name={name}
|
||||
imageUrl={imageUrl}
|
||||
onLogout={onLogout}
|
||||
theme={theme}
|
||||
onToggleTheme={onToggleTheme}
|
||||
actions={isLiveSession ? (
|
||||
<button type="button" className="sim-leave-btn" onClick={() => setIsLiveSession(false)}>
|
||||
<ArrowLeft size={15} strokeWidth={1.8} />
|
||||
<span>Forlad simulering</span>
|
||||
</button>
|
||||
) : undefined}
|
||||
/>
|
||||
|
||||
{isLiveSession ? (
|
||||
<div className="sim-live-wrap">
|
||||
<div className="sim-live-head">
|
||||
<h1>Live Jobsamtale</h1>
|
||||
<p>Du er i øjeblikket i en simuleret teknisk samtale. Brug mikrofonen til at svare.</p>
|
||||
</div>
|
||||
|
||||
<div className="sim-live-grid">
|
||||
<section className="sim-live-chat-card">
|
||||
<div className="sim-live-chat-head">
|
||||
<div className="sim-live-ai-row">
|
||||
<div className="sim-live-ai-avatar"><UserRound size={18} strokeWidth={1.8} /></div>
|
||||
<div>
|
||||
<h3>Sarah (AI Interviewer)</h3>
|
||||
<p><Radio size={12} strokeWidth={1.8} /> Venter på dit svar...</p>
|
||||
</div>
|
||||
</div>
|
||||
<button type="button" className="sim-live-more-btn"><MoreHorizontal size={16} strokeWidth={1.8} /></button>
|
||||
</div>
|
||||
|
||||
<div className="sim-live-chat-scroll custom-scrollbar">
|
||||
{liveMessages.map((message) => (
|
||||
<div
|
||||
key={message.id}
|
||||
className={message.sender === 'ai' ? 'sim-live-msg-row ai' : 'sim-live-msg-row me'}
|
||||
>
|
||||
<div className={message.sender === 'ai' ? 'sim-live-msg-avatar ai' : 'sim-live-msg-avatar me'}>
|
||||
{message.sender === 'ai'
|
||||
? <UserRound size={13} strokeWidth={1.8} />
|
||||
: (imageUrl ? <img src={imageUrl} alt={name} /> : <span>{name.slice(0, 1).toUpperCase()}</span>)}
|
||||
</div>
|
||||
<div className={message.sender === 'ai' ? 'sim-live-msg-bubble ai' : 'sim-live-msg-bubble me'}>
|
||||
<p>{message.text}</p>
|
||||
</div>
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
|
||||
<div className="sim-live-voice">
|
||||
<div className="sim-live-time-row">
|
||||
<div className="sim-live-time">
|
||||
<small>Tid gået</small>
|
||||
<strong>04:23</strong>
|
||||
</div>
|
||||
<div className="sim-live-wave">
|
||||
{Array.from({ length: 7 }).map((_, index) => (
|
||||
<span key={`wave-${index}`} style={{ animationDelay: `${index * 0.14}s` }} />
|
||||
))}
|
||||
</div>
|
||||
<div className="sim-live-time">
|
||||
<small>Tilbage</small>
|
||||
<strong>10:37</strong>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<button type="button" className="sim-live-mic-btn">
|
||||
<Mic size={22} strokeWidth={1.8} />
|
||||
</button>
|
||||
<p>Optager dit svar...</p>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<aside className="sim-live-side custom-scrollbar">
|
||||
<article className="sim-live-side-card">
|
||||
<h2>Session Status</h2>
|
||||
<div className="sim-live-side-list">
|
||||
<div>
|
||||
<small>Stilling</small>
|
||||
<p>{activeJob.title || 'Senior Frontend-udvikler'} @ {activeJob.companyName || 'Lunar'}</p>
|
||||
</div>
|
||||
<div>
|
||||
<small>Samtaletype</small>
|
||||
<p><Code2 size={14} strokeWidth={1.8} /> Teknisk Dybde</p>
|
||||
</div>
|
||||
<div>
|
||||
<small>Interviewer stil</small>
|
||||
<p><UserRound size={14} strokeWidth={1.8} /> {activePersonality}</p>
|
||||
</div>
|
||||
<div>
|
||||
<div className="sim-live-progress-head">
|
||||
<small>Fremgang</small>
|
||||
<strong>Spørgsmål 2 af 5</strong>
|
||||
</div>
|
||||
<div className="sim-live-progress-track"><span /></div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
|
||||
<article className="sim-live-coach-card">
|
||||
<h2><Lightbulb size={15} strokeWidth={1.8} /> Live Coach</h2>
|
||||
<div className="sim-live-coach-list">
|
||||
<div>
|
||||
<CheckCircle2 size={14} strokeWidth={1.8} />
|
||||
<div>
|
||||
<strong>Godt brug af STAR-metoden</strong>
|
||||
<p>Dit forrige svar beskrev situationen og resultatet meget tydeligt.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<Target size={14} strokeWidth={1.8} />
|
||||
<div>
|
||||
<strong>Næste skridt</strong>
|
||||
<p>Uddyb hvorfor Zustand var bedre end Redux i jeres specifikke use-case.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
|
||||
<article className="sim-live-side-card">
|
||||
<div className="sim-live-actions">
|
||||
<button type="button"><PauseCircle size={16} strokeWidth={1.8} /> Sæt på pause</button>
|
||||
<button type="button" className="stop"><StopCircle size={16} strokeWidth={1.8} /> Afslut & Få Feedback</button>
|
||||
</div>
|
||||
</article>
|
||||
</aside>
|
||||
</div>
|
||||
</div>
|
||||
) : (
|
||||
<div className="sim-wrap">
|
||||
<section className="sim-hero-card">
|
||||
<div className="sim-hero-glow" />
|
||||
|
||||
<div className="sim-hero-left">
|
||||
<h1>Job Interview Simulator</h1>
|
||||
<p>
|
||||
Ov dig pa jobsamtaler med vores AI-drevne simulator. Du far skraeddersyede sporgsmal
|
||||
baseret pa den jobtype, du soger, og modtager detaljeret feedback pa dine svar.
|
||||
</p>
|
||||
|
||||
<ul className="sim-benefits">
|
||||
<li><CheckCircle2 size={16} strokeWidth={1.8} /> Personaliserede interviewsporgsmal</li>
|
||||
<li><CheckCircle2 size={16} strokeWidth={1.8} /> Ojeblikkelig AI-feedback pa dine svar</li>
|
||||
<li><CheckCircle2 size={16} strokeWidth={1.8} /> Detaljeret evaluering efter interviewet</li>
|
||||
<li><CheckCircle2 size={16} strokeWidth={1.8} /> Gem og gennemga tidligere interviews</li>
|
||||
</ul>
|
||||
|
||||
<button type="button" className="sim-start-btn" onClick={() => setIsLiveSession(true)}>
|
||||
<PlayCircle size={18} strokeWidth={1.8} />
|
||||
Start ny simulering
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<div className="sim-config-card">
|
||||
<div className="sim-config-head">
|
||||
<h3>Simuleringsindstillinger</h3>
|
||||
<p>Vaelg dine praeferencer for start</p>
|
||||
</div>
|
||||
|
||||
<label>
|
||||
Gemt job
|
||||
<div className="sim-select-wrap">
|
||||
<Briefcase size={16} strokeWidth={1.8} />
|
||||
<select value={selectedJobId} onChange={(event) => setSelectedJobId(event.target.value)}>
|
||||
{jobOptions.map((job) => (
|
||||
<option key={job.id} value={job.id}>{jobLabel(job)}</option>
|
||||
))}
|
||||
</select>
|
||||
<ChevronDown size={15} strokeWidth={1.8} className="sim-caret" />
|
||||
</div>
|
||||
</label>
|
||||
|
||||
<label>
|
||||
Personlighed (AI)
|
||||
<div className="sim-select-wrap">
|
||||
<UserRound size={16} strokeWidth={1.8} />
|
||||
<select value={selectedPersonalityId} onChange={(event) => setSelectedPersonalityId(event.target.value)}>
|
||||
{(personalities.length > 0 ? personalities : [{ id: 1, name: 'Professionel & Grundig' }]).map((personality) => (
|
||||
<option key={personality.id} value={String(personality.id)}>{personality.name}</option>
|
||||
))}
|
||||
</select>
|
||||
<ChevronDown size={15} strokeWidth={1.8} className="sim-caret" />
|
||||
</div>
|
||||
</label>
|
||||
|
||||
<div className="sim-mini-grid">
|
||||
<label>
|
||||
Sprog
|
||||
<div className="sim-select-wrap">
|
||||
<Globe size={16} strokeWidth={1.8} />
|
||||
<select value={selectedLanguage} onChange={(event) => setSelectedLanguage(event.target.value)}>
|
||||
<option>Dansk</option>
|
||||
<option>Engelsk</option>
|
||||
</select>
|
||||
<ChevronDown size={15} strokeWidth={1.8} className="sim-caret" />
|
||||
</div>
|
||||
</label>
|
||||
|
||||
<label>
|
||||
Varighed
|
||||
<div className="sim-select-wrap">
|
||||
<Clock3 size={16} strokeWidth={1.8} />
|
||||
<select value={selectedDuration} onChange={(event) => setSelectedDuration(event.target.value)}>
|
||||
<option value="5">5 min</option>
|
||||
<option value="10">10 min</option>
|
||||
<option value="15">15 min</option>
|
||||
<option value="20">20 min</option>
|
||||
</select>
|
||||
<ChevronDown size={15} strokeWidth={1.8} className="sim-caret" />
|
||||
</div>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<div className="sim-history-head">
|
||||
<h2>Tidligere simuleringer</h2>
|
||||
<button type="button"><Filter size={15} strokeWidth={1.8} /> Filtrer</button>
|
||||
</div>
|
||||
|
||||
{isLoading ? <p className="dash-loading">Indlaeser simuleringer...</p> : null}
|
||||
|
||||
<section className="sim-history-grid">
|
||||
{cards.map((item) => (
|
||||
<article key={item.id} className={item.completed ? 'sim-card done' : 'sim-card draft'}>
|
||||
<div className="sim-card-head">
|
||||
<div>
|
||||
<h3>{item.title}</h3>
|
||||
<p>{item.companyName}</p>
|
||||
</div>
|
||||
<span className={item.completed ? 'sim-status done' : 'sim-status draft'}>
|
||||
{item.completed ? 'Faerdig' : 'Ikke faerdig'}
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<div className="sim-tags">
|
||||
<span><Clock3 size={13} strokeWidth={1.8} /> {item.durationMinutes} min</span>
|
||||
<span><UserRound size={13} strokeWidth={1.8} /> {item.personality}</span>
|
||||
</div>
|
||||
|
||||
<div className="sim-card-foot">
|
||||
<small>{item.dateLabel}</small>
|
||||
{item.completed ? (
|
||||
<button type="button" className="sim-link-btn">Se evaluering <ArrowRight size={14} strokeWidth={1.8} /></button>
|
||||
) : (
|
||||
<button type="button" className="sim-link-btn">Fortsæt <Play size={14} strokeWidth={1.8} /></button>
|
||||
)}
|
||||
</div>
|
||||
</article>
|
||||
))}
|
||||
</section>
|
||||
</div>
|
||||
)}
|
||||
</main>
|
||||
</section>
|
||||
);
|
||||
}
|
||||
967
src/presentation/simulator/pages/simulator.css
Normal file
967
src/presentation/simulator/pages/simulator.css
Normal file
@@ -0,0 +1,967 @@
|
||||
.sim-main {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.sim-leave-btn {
|
||||
border: 1px solid rgba(229, 231, 235, 0.82);
|
||||
background: rgba(255, 255, 255, 0.62);
|
||||
border-radius: 999px;
|
||||
padding: 8px 12px;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
color: #6b7280;
|
||||
font-size: 0.8rem;
|
||||
font-weight: 500;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.sim-leave-btn:hover {
|
||||
color: #111827;
|
||||
background: rgba(255, 255, 255, 0.85);
|
||||
}
|
||||
|
||||
.sim-wrap {
|
||||
max-width: 1160px;
|
||||
margin: 0 auto;
|
||||
padding-bottom: 30px;
|
||||
}
|
||||
|
||||
.sim-live-wrap {
|
||||
padding-bottom: 24px;
|
||||
}
|
||||
|
||||
.sim-live-head {
|
||||
margin-bottom: 22px;
|
||||
}
|
||||
|
||||
.sim-live-head h1 {
|
||||
margin: 0 0 8px;
|
||||
font-size: clamp(1.9rem, 3vw, 2.3rem);
|
||||
letter-spacing: -0.03em;
|
||||
color: #111827;
|
||||
}
|
||||
|
||||
.sim-live-head p {
|
||||
margin: 0;
|
||||
color: #6b7280;
|
||||
}
|
||||
|
||||
.sim-live-grid {
|
||||
min-height: calc(100vh - 260px);
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
|
||||
gap: 22px;
|
||||
}
|
||||
|
||||
.sim-live-chat-card {
|
||||
border-radius: 24px;
|
||||
border: 1px solid rgba(229, 231, 235, 0.82);
|
||||
background: rgba(255, 255, 255, 0.62);
|
||||
backdrop-filter: blur(22px);
|
||||
-webkit-backdrop-filter: blur(22px);
|
||||
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.sim-live-chat-head {
|
||||
padding: 14px 18px;
|
||||
border-bottom: 1px solid rgba(229, 231, 235, 0.7);
|
||||
background: rgba(255, 255, 255, 0.42);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.sim-live-ai-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.sim-live-ai-avatar {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
border-radius: 999px;
|
||||
border: 1px solid #c7d2fe;
|
||||
background: #eef2ff;
|
||||
color: #4f46e5;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
}
|
||||
|
||||
.sim-live-ai-row h3 {
|
||||
margin: 0 0 2px;
|
||||
color: #111827;
|
||||
font-size: 0.86rem;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.sim-live-ai-row p {
|
||||
margin: 0;
|
||||
color: #6366f1;
|
||||
font-size: 0.74rem;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
}
|
||||
|
||||
.sim-live-ai-row p svg {
|
||||
animation: sim-pulse 1.8s ease-in-out infinite;
|
||||
}
|
||||
|
||||
.sim-live-more-btn {
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
border-radius: 999px;
|
||||
border: 0;
|
||||
background: rgba(243, 244, 246, 0.8);
|
||||
color: #6b7280;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.sim-live-chat-scroll {
|
||||
flex: 1;
|
||||
overflow-y: auto;
|
||||
padding: 20px;
|
||||
display: grid;
|
||||
align-content: start;
|
||||
gap: 18px;
|
||||
}
|
||||
|
||||
.sim-live-msg-row {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
gap: 10px;
|
||||
max-width: 88%;
|
||||
}
|
||||
|
||||
.sim-live-msg-row.me {
|
||||
margin-left: auto;
|
||||
flex-direction: row-reverse;
|
||||
}
|
||||
|
||||
.sim-live-msg-avatar {
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
border-radius: 999px;
|
||||
flex-shrink: 0;
|
||||
overflow: hidden;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
}
|
||||
|
||||
.sim-live-msg-avatar.ai {
|
||||
border: 1px solid #c7d2fe;
|
||||
background: #eef2ff;
|
||||
color: #4f46e5;
|
||||
}
|
||||
|
||||
.sim-live-msg-avatar.me {
|
||||
border: 1px solid #d1d5db;
|
||||
background: #f9fafb;
|
||||
color: #6b7280;
|
||||
}
|
||||
|
||||
.sim-live-msg-avatar img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.sim-live-msg-bubble {
|
||||
padding: 14px 16px;
|
||||
border-radius: 16px;
|
||||
box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
|
||||
}
|
||||
|
||||
.sim-live-msg-bubble.ai {
|
||||
border-top-left-radius: 4px;
|
||||
border: 1px solid rgba(229, 231, 235, 0.85);
|
||||
background: #ffffff;
|
||||
}
|
||||
|
||||
.sim-live-msg-bubble.me {
|
||||
border-top-right-radius: 4px;
|
||||
background: #4f46e5;
|
||||
color: #eef2ff;
|
||||
}
|
||||
|
||||
.sim-live-msg-bubble p {
|
||||
margin: 0;
|
||||
font-size: 0.86rem;
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.sim-live-msg-bubble.ai p {
|
||||
color: #4b5563;
|
||||
}
|
||||
|
||||
.sim-live-voice {
|
||||
border-top: 1px solid rgba(229, 231, 235, 0.72);
|
||||
background: rgba(255, 255, 255, 0.78);
|
||||
padding: 18px;
|
||||
display: grid;
|
||||
justify-items: center;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.sim-live-time-row {
|
||||
width: min(420px, 100%);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.sim-live-time {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.sim-live-time small {
|
||||
display: block;
|
||||
color: #9ca3af;
|
||||
font-size: 0.68rem;
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
|
||||
.sim-live-time strong {
|
||||
color: #111827;
|
||||
font-size: 0.84rem;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.sim-live-wave {
|
||||
flex: 1;
|
||||
max-width: 180px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
.sim-live-wave span {
|
||||
width: 4px;
|
||||
height: 28px;
|
||||
border-radius: 999px;
|
||||
background: #6366f1;
|
||||
transform-origin: center;
|
||||
animation: sim-wave 1.2s ease-in-out infinite;
|
||||
}
|
||||
|
||||
.sim-live-mic-btn {
|
||||
width: 62px;
|
||||
height: 62px;
|
||||
border-radius: 999px;
|
||||
border: 2px solid #fecdd3;
|
||||
background: #fff1f2;
|
||||
color: #e11d48;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
cursor: pointer;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.sim-live-mic-btn::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
inset: -2px;
|
||||
border-radius: 999px;
|
||||
background: rgba(251, 113, 133, 0.2);
|
||||
animation: sim-pulse-soft 2s ease-in-out infinite;
|
||||
z-index: 0;
|
||||
}
|
||||
|
||||
.sim-live-mic-btn svg {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.sim-live-voice > p {
|
||||
margin: 0;
|
||||
color: #e11d48;
|
||||
font-size: 0.76rem;
|
||||
animation: sim-pulse 2s ease-in-out infinite;
|
||||
}
|
||||
|
||||
.sim-live-side {
|
||||
overflow-y: auto;
|
||||
padding-right: 2px;
|
||||
display: grid;
|
||||
align-content: start;
|
||||
gap: 14px;
|
||||
}
|
||||
|
||||
.sim-live-side-card {
|
||||
border-radius: 24px;
|
||||
border: 1px solid rgba(229, 231, 235, 0.82);
|
||||
background: rgba(255, 255, 255, 0.62);
|
||||
padding: 16px;
|
||||
}
|
||||
|
||||
.sim-live-side-card h2 {
|
||||
margin: 0 0 14px;
|
||||
font-size: 0.78rem;
|
||||
color: #6b7280;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.03em;
|
||||
}
|
||||
|
||||
.sim-live-side-list {
|
||||
display: grid;
|
||||
gap: 14px;
|
||||
}
|
||||
|
||||
.sim-live-side-list small {
|
||||
display: block;
|
||||
color: #6b7280;
|
||||
font-size: 0.7rem;
|
||||
margin-bottom: 3px;
|
||||
}
|
||||
|
||||
.sim-live-side-list p {
|
||||
margin: 0;
|
||||
color: #111827;
|
||||
font-size: 0.82rem;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
.sim-live-progress-head {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 8px;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.sim-live-progress-head strong {
|
||||
color: #111827;
|
||||
font-size: 0.72rem;
|
||||
}
|
||||
|
||||
.sim-live-progress-track {
|
||||
height: 6px;
|
||||
background: #e5e7eb;
|
||||
border-radius: 999px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.sim-live-progress-track > span {
|
||||
display: block;
|
||||
width: 40%;
|
||||
height: 100%;
|
||||
background: #6366f1;
|
||||
box-shadow: 0 0 8px rgba(99, 102, 241, 0.5);
|
||||
}
|
||||
|
||||
.sim-live-coach-card {
|
||||
border-radius: 24px;
|
||||
border: 1px solid #c7d2fe;
|
||||
background: linear-gradient(to bottom right, rgba(238, 242, 255, 0.7), rgba(255, 255, 255, 0.8));
|
||||
padding: 16px;
|
||||
}
|
||||
|
||||
.sim-live-coach-card h2 {
|
||||
margin: 0 0 12px;
|
||||
font-size: 0.82rem;
|
||||
color: #312e81;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
.sim-live-coach-list {
|
||||
display: grid;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.sim-live-coach-list > div {
|
||||
border-radius: 12px;
|
||||
border: 1px solid rgba(224, 231, 255, 0.9);
|
||||
background: #ffffff;
|
||||
padding: 11px;
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.sim-live-coach-list > div:first-child svg {
|
||||
color: #10b981;
|
||||
}
|
||||
|
||||
.sim-live-coach-list > div:last-child svg {
|
||||
color: #f59e0b;
|
||||
}
|
||||
|
||||
.sim-live-coach-list strong {
|
||||
display: block;
|
||||
margin-bottom: 3px;
|
||||
color: #111827;
|
||||
font-size: 0.75rem;
|
||||
}
|
||||
|
||||
.sim-live-coach-list p {
|
||||
margin: 0;
|
||||
color: #6b7280;
|
||||
font-size: 0.72rem;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.sim-live-actions {
|
||||
display: grid;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.sim-live-actions button {
|
||||
border-radius: 12px;
|
||||
border: 1px solid rgba(229, 231, 235, 0.82);
|
||||
background: #f9fafb;
|
||||
color: #4b5563;
|
||||
padding: 10px 12px;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 8px;
|
||||
font-size: 0.82rem;
|
||||
font-weight: 500;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.sim-live-actions button:hover {
|
||||
background: #f3f4f6;
|
||||
color: #111827;
|
||||
}
|
||||
|
||||
.sim-live-actions button.stop {
|
||||
border-color: #111827;
|
||||
background: #111827;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
.sim-live-actions button.stop:hover {
|
||||
background: #1f2937;
|
||||
}
|
||||
|
||||
@keyframes sim-wave {
|
||||
0%, 100% { transform: scaleY(0.35); }
|
||||
50% { transform: scaleY(1); }
|
||||
}
|
||||
|
||||
@keyframes sim-pulse-soft {
|
||||
0%, 100% { transform: scale(1); opacity: 1; }
|
||||
50% { transform: scale(1.1); opacity: 0.8; }
|
||||
}
|
||||
|
||||
@keyframes sim-pulse {
|
||||
0%, 100% { opacity: 1; }
|
||||
50% { opacity: 0.7; }
|
||||
}
|
||||
|
||||
.sim-hero-card {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
border-radius: 30px;
|
||||
border: 1px solid rgba(229, 231, 235, 0.8);
|
||||
background: rgba(255, 255, 255, 0.62);
|
||||
backdrop-filter: blur(24px);
|
||||
-webkit-backdrop-filter: blur(24px);
|
||||
box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
|
||||
padding: 30px;
|
||||
margin-bottom: 28px;
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1.8fr) minmax(0, 0.9fr);
|
||||
gap: 24px;
|
||||
}
|
||||
|
||||
.sim-hero-glow {
|
||||
position: absolute;
|
||||
top: -80px;
|
||||
right: -80px;
|
||||
width: 260px;
|
||||
height: 260px;
|
||||
border-radius: 999px;
|
||||
background: rgba(99, 102, 241, 0.12);
|
||||
filter: blur(70px);
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.sim-hero-left h1 {
|
||||
margin: 0 0 12px;
|
||||
font-size: clamp(1.9rem, 3vw, 2.55rem);
|
||||
letter-spacing: -0.03em;
|
||||
color: #111827;
|
||||
}
|
||||
|
||||
.sim-hero-left p {
|
||||
margin: 0 0 22px;
|
||||
line-height: 1.65;
|
||||
color: #4b5563;
|
||||
}
|
||||
|
||||
.sim-benefits {
|
||||
margin: 0 0 24px;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
display: grid;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.sim-benefits li {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 9px;
|
||||
color: #374151;
|
||||
font-size: 0.88rem;
|
||||
}
|
||||
|
||||
.sim-benefits li svg {
|
||||
color: #10b981;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.sim-start-btn {
|
||||
border: 0;
|
||||
border-radius: 12px;
|
||||
background: #111827;
|
||||
color: #ffffff;
|
||||
padding: 11px 16px;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
font-size: 0.86rem;
|
||||
font-weight: 500;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.sim-start-btn:hover {
|
||||
background: #1f2937;
|
||||
}
|
||||
|
||||
.sim-config-card {
|
||||
border-radius: 24px;
|
||||
border: 1px solid rgba(229, 231, 235, 0.8);
|
||||
background: rgba(255, 255, 255, 0.78);
|
||||
box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
|
||||
padding: 18px;
|
||||
display: grid;
|
||||
gap: 12px;
|
||||
align-content: start;
|
||||
}
|
||||
|
||||
.sim-config-head h3 {
|
||||
margin: 0;
|
||||
font-size: 0.92rem;
|
||||
color: #111827;
|
||||
}
|
||||
|
||||
.sim-config-head p {
|
||||
margin: 3px 0 0;
|
||||
color: #6b7280;
|
||||
font-size: 0.74rem;
|
||||
}
|
||||
|
||||
.sim-config-card label {
|
||||
display: grid;
|
||||
gap: 6px;
|
||||
font-size: 0.75rem;
|
||||
color: #6b7280;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.sim-select-wrap {
|
||||
border: 1px solid rgba(229, 231, 235, 0.8);
|
||||
background: #ffffff;
|
||||
border-radius: 12px;
|
||||
padding: 0 12px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
|
||||
transition: border-color 0.2s ease, box-shadow 0.2s ease;
|
||||
}
|
||||
|
||||
.sim-select-wrap svg {
|
||||
color: #9ca3af;
|
||||
flex-shrink: 0;
|
||||
transition: color 0.2s ease;
|
||||
}
|
||||
|
||||
.sim-select-wrap select {
|
||||
width: 100%;
|
||||
min-width: 0;
|
||||
border: 0;
|
||||
background: transparent;
|
||||
color: #374151;
|
||||
font-size: 0.84rem;
|
||||
font-weight: 500;
|
||||
padding: 11px 0;
|
||||
outline: none;
|
||||
appearance: none;
|
||||
-webkit-appearance: none;
|
||||
-moz-appearance: none;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.sim-caret {
|
||||
color: #9ca3af;
|
||||
}
|
||||
|
||||
.sim-select-wrap:hover {
|
||||
border-color: rgba(156, 163, 175, 0.8);
|
||||
box-shadow: 0 5px 12px rgba(15, 23, 42, 0.06);
|
||||
}
|
||||
|
||||
.sim-select-wrap:hover > svg,
|
||||
.sim-select-wrap:hover .sim-caret {
|
||||
color: #6366f1;
|
||||
}
|
||||
|
||||
.sim-mini-grid {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.sim-history-head {
|
||||
margin-bottom: 14px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.sim-history-head h2 {
|
||||
margin: 0;
|
||||
color: #111827;
|
||||
font-size: 1.25rem;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.sim-history-head button {
|
||||
border: 0;
|
||||
background: transparent;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
color: #6b7280;
|
||||
cursor: pointer;
|
||||
font-size: 0.84rem;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.sim-history-head button:hover {
|
||||
color: #111827;
|
||||
}
|
||||
|
||||
.sim-history-grid {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr 1fr;
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
.sim-card {
|
||||
border-radius: 22px;
|
||||
border: 1px solid rgba(229, 231, 235, 0.8);
|
||||
background: rgba(255, 255, 255, 0.8);
|
||||
box-shadow: 0 8px 18px rgba(0, 0, 0, 0.03);
|
||||
padding: 18px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-height: 100%;
|
||||
}
|
||||
|
||||
.sim-card.draft {
|
||||
background: rgba(249, 250, 251, 0.8);
|
||||
opacity: 0.85;
|
||||
}
|
||||
|
||||
.sim-card-head {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
justify-content: space-between;
|
||||
gap: 8px;
|
||||
margin-bottom: 14px;
|
||||
}
|
||||
|
||||
.sim-card-head h3 {
|
||||
margin: 0 0 2px;
|
||||
color: #111827;
|
||||
font-size: 0.95rem;
|
||||
letter-spacing: -0.01em;
|
||||
}
|
||||
|
||||
.sim-card-head p {
|
||||
margin: 0;
|
||||
color: #6b7280;
|
||||
font-size: 0.82rem;
|
||||
}
|
||||
|
||||
.sim-status {
|
||||
font-size: 0.69rem;
|
||||
font-weight: 500;
|
||||
border-radius: 8px;
|
||||
padding: 4px 8px;
|
||||
border: 1px solid;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.sim-status.done {
|
||||
color: #059669;
|
||||
background: #ecfdf5;
|
||||
border-color: #a7f3d0;
|
||||
}
|
||||
|
||||
.sim-status.draft {
|
||||
color: #4b5563;
|
||||
background: rgba(229, 231, 235, 0.45);
|
||||
border-color: rgba(209, 213, 219, 0.9);
|
||||
}
|
||||
|
||||
.sim-tags {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 8px;
|
||||
margin-bottom: 18px;
|
||||
}
|
||||
|
||||
.sim-tags span {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
border-radius: 8px;
|
||||
border: 1px solid rgba(229, 231, 235, 0.8);
|
||||
background: rgba(249, 250, 251, 0.85);
|
||||
color: #4b5563;
|
||||
font-size: 0.72rem;
|
||||
font-weight: 500;
|
||||
padding: 6px 9px;
|
||||
}
|
||||
|
||||
.sim-card-foot {
|
||||
margin-top: auto;
|
||||
padding-top: 12px;
|
||||
border-top: 1px solid rgba(229, 231, 235, 0.65);
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.sim-card-foot small {
|
||||
color: #9ca3af;
|
||||
font-size: 0.72rem;
|
||||
}
|
||||
|
||||
.sim-link-btn {
|
||||
border: 0;
|
||||
background: transparent;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
color: #4f46e5;
|
||||
cursor: pointer;
|
||||
font-size: 0.82rem;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.sim-link-btn:hover {
|
||||
color: #4338ca;
|
||||
}
|
||||
|
||||
.theme-dark .sim-hero-card,
|
||||
.theme-dark .sim-config-card,
|
||||
.theme-dark .sim-card,
|
||||
.theme-dark .sim-live-chat-card,
|
||||
.theme-dark .sim-live-side-card {
|
||||
background: rgba(255, 255, 255, 0.02);
|
||||
border-color: rgba(255, 255, 255, 0.06);
|
||||
}
|
||||
|
||||
.theme-dark .sim-hero-left h1,
|
||||
.theme-dark .sim-config-head h3,
|
||||
.theme-dark .sim-history-head h2,
|
||||
.theme-dark .sim-card-head h3,
|
||||
.theme-dark .sim-live-head h1,
|
||||
.theme-dark .sim-live-ai-row h3,
|
||||
.theme-dark .sim-live-side-list p,
|
||||
.theme-dark .sim-live-progress-head strong,
|
||||
.theme-dark .sim-live-coach-list strong,
|
||||
.theme-dark .sim-live-time strong {
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
.theme-dark .sim-hero-left p,
|
||||
.theme-dark .sim-benefits li,
|
||||
.theme-dark .sim-config-head p,
|
||||
.theme-dark .sim-config-card label,
|
||||
.theme-dark .sim-card-head p,
|
||||
.theme-dark .sim-tags span,
|
||||
.theme-dark .sim-history-head button,
|
||||
.theme-dark .sim-live-head p,
|
||||
.theme-dark .sim-live-side-list small,
|
||||
.theme-dark .sim-live-coach-list p,
|
||||
.theme-dark .sim-live-time small,
|
||||
.theme-dark .sim-leave-btn {
|
||||
color: #9ca3af;
|
||||
}
|
||||
|
||||
.theme-dark .sim-start-btn {
|
||||
background: rgba(255, 255, 255, 0.1);
|
||||
border: 1px solid rgba(255, 255, 255, 0.12);
|
||||
}
|
||||
|
||||
.theme-dark .sim-select-wrap {
|
||||
background: rgba(255, 255, 255, 0.03);
|
||||
border-color: rgba(255, 255, 255, 0.08);
|
||||
}
|
||||
|
||||
.theme-dark .sim-select-wrap select {
|
||||
color: #d1d5db;
|
||||
}
|
||||
|
||||
.theme-dark .sim-live-chat-head,
|
||||
.theme-dark .sim-live-voice {
|
||||
border-color: rgba(255, 255, 255, 0.08);
|
||||
background: rgba(255, 255, 255, 0.04);
|
||||
}
|
||||
|
||||
.theme-dark .sim-live-more-btn {
|
||||
background: rgba(255, 255, 255, 0.08);
|
||||
color: #9ca3af;
|
||||
}
|
||||
|
||||
.theme-dark .sim-live-ai-avatar,
|
||||
.theme-dark .sim-live-msg-avatar.ai {
|
||||
background: rgba(99, 102, 241, 0.2);
|
||||
border-color: rgba(129, 140, 248, 0.4);
|
||||
color: #a5b4fc;
|
||||
}
|
||||
|
||||
.theme-dark .sim-live-msg-avatar.me {
|
||||
border-color: rgba(255, 255, 255, 0.12);
|
||||
background: rgba(255, 255, 255, 0.06);
|
||||
}
|
||||
|
||||
.theme-dark .sim-live-msg-bubble.ai {
|
||||
background: rgba(255, 255, 255, 0.04);
|
||||
border-color: rgba(255, 255, 255, 0.1);
|
||||
}
|
||||
|
||||
.theme-dark .sim-live-msg-bubble.ai p {
|
||||
color: #d1d5db;
|
||||
}
|
||||
|
||||
.theme-dark .sim-live-msg-bubble.me {
|
||||
background: #4f46e5;
|
||||
}
|
||||
|
||||
.theme-dark .sim-live-progress-track {
|
||||
background: rgba(255, 255, 255, 0.1);
|
||||
}
|
||||
|
||||
.theme-dark .sim-live-coach-card {
|
||||
background: linear-gradient(to bottom right, rgba(79, 70, 229, 0.18), rgba(255, 255, 255, 0.03));
|
||||
border-color: rgba(129, 140, 248, 0.45);
|
||||
}
|
||||
|
||||
.theme-dark .sim-live-coach-card h2 {
|
||||
color: #c7d2fe;
|
||||
}
|
||||
|
||||
.theme-dark .sim-live-coach-list > div {
|
||||
background: rgba(255, 255, 255, 0.04);
|
||||
border-color: rgba(255, 255, 255, 0.1);
|
||||
}
|
||||
|
||||
.theme-dark .sim-tags span {
|
||||
background: rgba(255, 255, 255, 0.03);
|
||||
border-color: rgba(255, 255, 255, 0.08);
|
||||
}
|
||||
|
||||
.theme-dark .sim-status.done {
|
||||
background: rgba(16, 185, 129, 0.15);
|
||||
border-color: rgba(16, 185, 129, 0.45);
|
||||
color: #34d399;
|
||||
}
|
||||
|
||||
.theme-dark .sim-status.draft {
|
||||
background: rgba(255, 255, 255, 0.07);
|
||||
border-color: rgba(255, 255, 255, 0.12);
|
||||
color: #d1d5db;
|
||||
}
|
||||
|
||||
.theme-dark .sim-card-foot {
|
||||
border-top-color: rgba(255, 255, 255, 0.08);
|
||||
}
|
||||
|
||||
.theme-dark .sim-link-btn {
|
||||
color: #818cf8;
|
||||
}
|
||||
|
||||
.theme-dark .sim-live-actions button {
|
||||
background: rgba(255, 255, 255, 0.04);
|
||||
border-color: rgba(255, 255, 255, 0.1);
|
||||
color: #d1d5db;
|
||||
}
|
||||
|
||||
.theme-dark .sim-live-actions button.stop {
|
||||
background: #1f2937;
|
||||
border-color: #374151;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
@media (max-width: 1180px) {
|
||||
.sim-live-grid {
|
||||
grid-template-columns: 1fr;
|
||||
min-height: auto;
|
||||
}
|
||||
|
||||
.sim-live-chat-card {
|
||||
min-height: 520px;
|
||||
}
|
||||
|
||||
.sim-live-side {
|
||||
overflow: visible;
|
||||
padding-right: 0;
|
||||
}
|
||||
|
||||
.sim-hero-card {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.sim-history-grid {
|
||||
grid-template-columns: 1fr 1fr;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 760px) {
|
||||
.sim-live-chat-card {
|
||||
min-height: auto;
|
||||
}
|
||||
|
||||
.sim-live-time-row {
|
||||
flex-direction: column;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.sim-wrap {
|
||||
padding-bottom: 18px;
|
||||
}
|
||||
|
||||
.sim-hero-card {
|
||||
padding: 20px;
|
||||
border-radius: 24px;
|
||||
}
|
||||
|
||||
.sim-history-grid,
|
||||
.sim-mini-grid {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user