@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,0,0&display=swap');

/* Base Reset & Typography */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg-main: #faf8ff;
    --bg-card: #ffffff;
    --bg-card-hover: #f3f3fe;
    --border-color: #c3c5d7;
    --border-focus: #3b6df0;
    --text-main: #191b23;
    --text-muted: #434654;
    --text-dim: #737686;
    --primary: #1352d6;
    --primary-hover: #003dab;
    --primary-glow: rgba(19, 82, 214, 0.15);
    --accent: #9d4300;
    --success: #34a853;
    --warning: #fbbc05;
    --danger: #ba1a1a;
    --font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* Dark theme scope: used to wrap the public landing page content, whose
   hero/kandidat/CTA sections were designed for a dark background. Re-declaring
   the variables here lets every existing var()-based utility (bg-slate-950,
   text-white, border-slate-800, .card, dst.) render correctly for this section
   without touching the light theme used by admin/login/host pages. */
.theme-dark {
    --bg-main: #020617;
    --bg-card: #0f172a;
    --bg-card-hover: #1e293b;
    --border-color: #1e293b;
    --text-main: #f8fafc;
    --text-muted: #cbd5e1;
    --text-dim: #94a3b8;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
}

/* Material Symbols */
.material-symbols-outlined {
    font-family: 'Material Symbols Outlined';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.hidden { display: none !important; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.justify-end { justify-content: flex-end; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.shrink-0 { flex-shrink: 0; }
.grow { flex-grow: 1; }

.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (min-width: 640px) {
    .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .sm\:flex-row { flex-direction: row; }
}

@media (min-width: 768px) {
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .md\:flex { display: flex; }
    .md\:flex-row { flex-direction: row; }
    .md\:p-12 { padding: 3rem; }
    .md\:p-16 { padding: 4rem; }
    .md\:py-24 { padding-top: 6rem; padding-bottom: 6rem; }
    .md\:text-5xl { font-size: 3rem; line-height: 1; }
    .md\:text-lg { font-size: 1.125rem; line-height: 1.75rem; }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Sizing & Spacing */
.w-full { width: 100%; }
.h-full { height: 100%; }
.min-h-screen { min-height: 100vh; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-3\.5 { padding-top: 0.875rem; padding-bottom: 0.875rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-3\.5 { padding-left: 0.875rem; padding-right: 0.875rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* Text & Colors */
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.uppercase { text-transform: uppercase; }
.tracking-tight { letter-spacing: -0.025em; }
.tracking-wider { letter-spacing: 0.05em; }

.text-white { color: var(--text-main); }
.text-slate-100 { color: var(--text-main) !important; }
.text-slate-200 { color: var(--text-main) !important; }
.text-slate-300 { color: var(--text-muted) !important; }
.text-slate-400 { color: var(--text-muted) !important; }
.text-slate-500 { color: var(--text-dim) !important; }
.text-indigo-400 { color: var(--primary); }
.text-indigo-500 { color: var(--primary); }
.text-emerald-400 { color: var(--success); }
.text-emerald-500 { color: var(--success); }
.text-amber-400 { color: var(--warning); }
.text-amber-500 { color: var(--warning); }
.text-red-400 { color: var(--danger); }
.text-red-500 { color: var(--danger); }

/* Backgrounds & Borders */
.bg-slate-950 { background-color: var(--bg-main) !important; }
.bg-slate-900 { background-color: var(--bg-card) !important; }
.bg-slate-800 { background-color: var(--bg-card-hover) !important; }
.bg-slate-700 { background-color: var(--bg-card-hover) !important; }
.bg-indigo-600 { background-color: var(--primary); }
.bg-indigo-500 { background-color: var(--primary); }
.bg-emerald-600 { background-color: var(--success); }
.bg-emerald-500 { background-color: var(--success); }
.bg-red-600 { background-color: var(--danger); }
.bg-amber-500 { background-color: var(--warning); }

.border { border-width: 1px; border-style: solid; }
.border-t { border-top-width: 1px; border-top-style: solid; }
.border-b { border-bottom-width: 1px; border-bottom-style: solid; }
.border-slate-800 { border-color: var(--border-color) !important; }
.border-slate-700 { border-color: var(--border-color) !important; }
.border-indigo-500 { border-color: var(--primary); }
.border-emerald-500 { border-color: var(--success); }
.border-red-500 { border-color: var(--danger); }

.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-3xl { border-radius: 1.5rem; }
.rounded-full { border-radius: 9999px; }

.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.15); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5); }

/* Components: Buttons, Inputs, Cards */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 500;
    border-radius: 0.75rem;
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    border: 1px solid transparent;
    text-decoration: none;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-primary {
    background-color: var(--primary);
    color: #ffffff;
    box-shadow: 0 4px 12px var(--primary-glow);
}

.btn-primary:hover:not(:disabled) {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: var(--bg-card-hover);
    border-color: var(--border-color);
    color: var(--text-main);
}

.btn-secondary:hover:not(:disabled) {
    background-color: var(--border-color);
}

.btn-danger {
    background-color: #dc2626;
    color: #ffffff;
}

.btn-danger:hover:not(:disabled) {
    background-color: #b91c1c;
}

.btn-success {
    background-color: #059669;
    color: #ffffff;
}

.btn-success:hover:not(:disabled) {
    background-color: #047857;
}

.form-input, .form-select, .form-textarea {
    width: 100%;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 0.625rem 0.875rem;
    font-size: 0.875rem;
    color: var(--text-main);
    transition: border-color 0.2s ease;
    font-family: inherit;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px var(--primary-glow);
}

.form-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    color: #cbd5e1;
    margin-bottom: 0.375rem;
}

.card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.card:hover {
    border-color: #334155;
}

/* Status Badges */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.625rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-draft { background-color: #f1f5f9; color: #475569; border: 1px solid #cbd5e1; }
.badge-locked { background-color: #fef3c7; color: #b45309; border: 1px solid #fde68a; }
.badge-ongoing { background-color: #d1fae5; color: #047857; border: 1px solid #a7f3d0; }
.badge-closed { background-color: #fee2e2; color: #b91c1c; border: 1px solid #fecaca; }
.badge-active { background-color: #e0e7ff; color: #4338ca; border: 1px solid #c7d2fe; }
.badge-simulation { background-color: #ffedd5; color: #c2410c; border: 1px solid #fed7aa; }

/* Host Booth Cards */
.host-card {
    background-color: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 1.25rem;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.host-card.status-idle { border-color: #e2e8f0; }

@keyframes pulse-pending {
    0%, 100% {
        border-color: #f59e0b;
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4);
    }
    50% {
        border-color: #fbbf24;
        box-shadow: 0 0 20px 4px rgba(245, 158, 11, 0.25);
    }
}

.host-card.status-pending {
    border-color: #f59e0b;
    animation: pulse-pending 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.host-card.status-locked { border-color: #1352d6; }
.host-card.status-offline { border-color: #ef4444; opacity: 0.75; }

/* Voting Candidate Cards */
.candidate-vote-card {
    background-color: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 1.25rem;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    user-select: none;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.candidate-vote-card:hover, .candidate-vote-card:focus {
    border-color: #1352d6;
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(19, 82, 214, 0.15);
    outline: none;
}

.candidate-vote-card.selected {
    border-color: #10b981;
    background-color: rgba(16, 185, 129, 0.04);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
}

/* Simulation Banner */
.simulation-banner {
    background: linear-gradient(90deg, #f59e0b, #d97706);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-align: center;
    padding: 0.35rem 1rem;
    position: sticky;
    top: 0;
    z-index: 50;
}

/* Modal Backdrop & Dialog */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background-color: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    padding: 1rem;
}

.modal-dialog {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1.5rem;
    max-width: 500px;
    width: 100%;
    padding: 1.75rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    animation: modalPop 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    color: #0f172a;
}

@keyframes modalPop {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

/* Tables */
.table-container {
    width: 100%;
    overflow-x: auto;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    background-color: #ffffff;
}

table.table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
    text-align: left;
}

table.table th {
    background-color: #f8fafc;
    color: #475569;
    font-weight: 600;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #e2e8f0;
}

table.table td {
    padding: 0.875rem 1rem;
    border-bottom: 1px solid #f1f5f9;
    color: #0f172a;
}

table.table tr:hover td {
    background-color: #f8fafc;
}

/* Position & display */
.relative { position: relative; }
.absolute { position: absolute; }
.sticky { position: sticky; }
.overflow-hidden { overflow: hidden; }
.pointer-events-none { pointer-events: none; }
.flex-wrap { flex-wrap: wrap; }
.top-0 { top: 0; }
.right-0 { right: 0; }
.top-1\/3 { top: 33.3333%; }
.left-1\/4 { left: 25%; }
.right-1\/4 { right: 25%; }
.z-10 { z-index: 10; }
.z-50 { z-index: 50; }
.-translate-y-1\/2 { transform: translateY(-50%); }

/* Sizing */
.w-2\.5 { width: 0.625rem; }
.h-2\.5 { height: 0.625rem; }
.w-10 { width: 2.5rem; }
.h-10 { height: 2.5rem; }
.w-12 { width: 3rem; }
.h-12 { height: 3rem; }
.h-20 { height: 5rem; }
.w-64 { width: 16rem; }
.h-64 { height: 16rem; }
.w-96 { width: 24rem; }
.h-96 { height: 24rem; }

/* Max width */
.max-w-3xl { max-width: 48rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-md { max-width: 28rem; }
.max-w-xl { max-width: 36rem; }

/* Spacing scale extensions */
.gap-12 { gap: 3rem; }
.mb-0\.5 { margin-bottom: 0.125rem; }
.mb-20 { margin-bottom: 5rem; }
.mb-24 { margin-bottom: 6rem; }
.mt-24 { margin-top: 6rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-4\.5 { padding-left: 1.125rem; padding-right: 1.125rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-1\.5 { padding-top: 0.375rem; padding-bottom: 0.375rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }

/* Text */
.text-5xl { font-size: 3rem; line-height: 1; }
.text-\[10px\] { font-size: 10px; }
.text-\[18px\] { font-size: 18px; }
.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }
.no-underline { text-decoration: none; }

/* Radius (arbitrary) */
.rounded-\[32px\] { border-radius: 32px; }

/* Filters */
.blur-3xl { filter: blur(64px); }
.backdrop-blur-md { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }

/* Transitions & animation */
.transition { transition: all 0.2s ease-in-out; }
.duration-300 { transition-duration: 0.3s; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
.animate-pulse { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }

/* Extra shadows */
.shadow-sm { box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08); }
.shadow-md { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.15), 0 2px 4px -2px rgba(0, 0, 0, 0.1); }

/* Theme-aware translucent surfaces (resolve against the nearest --bg- or --border-color,
   so they render correctly whether used in the light chrome or inside .theme-dark) */
.bg-slate-950\/80 { background-color: color-mix(in srgb, var(--bg-main) 80%, transparent) !important; }
.bg-slate-900\/30 { background-color: color-mix(in srgb, var(--bg-card) 30%, transparent); }
.border-slate-800\/80 { border-color: color-mix(in srgb, var(--border-color) 80%, transparent) !important; }
.hover\:bg-slate-800\/50:hover { background-color: color-mix(in srgb, var(--bg-card-hover) 50%, transparent); }

/* Decorative accent colors (theme-neutral) */
.bg-amber-400 { background-color: #fbbf24; }
.bg-emerald-400 { background-color: #34d399; }
.bg-amber-500\/10 { background-color: rgba(245, 158, 11, 0.1); }
.bg-emerald-500\/10 { background-color: rgba(16, 185, 129, 0.1); }
.bg-indigo-500\/10 { background-color: rgba(99, 102, 241, 0.1); }
.bg-indigo-500\/5 { background-color: rgba(99, 102, 241, 0.05); }
.bg-purple-500\/10 { background-color: rgba(168, 85, 247, 0.1); }
.border-amber-500\/30 { border-color: rgba(245, 158, 11, 0.3); }
.border-emerald-500\/30 { border-color: rgba(16, 185, 129, 0.3); }
.border-indigo-500\/30 { border-color: rgba(99, 102, 241, 0.3); }
.shadow-indigo-500\/20 { box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2); }
.shadow-indigo-600\/30 { box-shadow: 0 10px 25px -3px rgba(79, 70, 229, 0.35); }

/* Gradients (specific combinations used on the landing page) */
.bg-gradient-to-br.from-indigo-500.to-purple-600 { background-image: linear-gradient(to bottom right, #6366f1, #9333ea); }
.bg-gradient-to-br.from-slate-900.to-indigo-950\/40 { background-image: linear-gradient(to bottom right, #0f172a, rgba(49, 46, 129, 0.4)); }
.bg-gradient-to-r.from-white.via-slate-100.to-indigo-100.bg-clip-text {
    background-image: linear-gradient(to right, #ffffff, #f1f5f9, #e0e7ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Hover states */
.hover\:border-indigo-500\/30:hover { border-color: rgba(99, 102, 241, 0.3); }
.hover\:scale-\[1\.02\]:hover { transform: scale(1.02); }
.hover\:text-indigo-300:hover { color: #a5b4fc; }
.hover\:text-indigo-400:hover { color: var(--primary); }
.hover\:text-white:hover { color: var(--text-main); }
.hover\:underline:hover { text-decoration: underline; }

/* Public homepage: daftar paslon */
.paslon-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.paslon-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 340px;
    padding: 2rem 1.75rem 1.5rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.paslon-card:hover {
    transform: translateY(-6px);
    border-color: #6366f1;
    box-shadow: 0 12px 24px rgba(99, 102, 241, 0.12);
}

.paslon-nomor {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: #cbd5e1;
    font-variant-numeric: tabular-nums;
    line-height: 1;
    pointer-events: none;
}

.paslon-card:hover .paslon-nomor {
    color: #6366f1;
}

.paslon-photo {
    width: 8rem;
    height: 8rem;
    border-radius: 9999px;
    overflow: hidden;
    border: 4px solid #f1f5f9;
    background: #e2e8f0;
    margin: 1.75rem 0 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
}

.paslon-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.paslon-photo-fallback {
    font-size: 3.5rem;
    color: #94a3b8;
}

.paslon-name {
    font-size: 1.125rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
    margin-bottom: 0.25rem;
}

.paslon-role {
    font-size: 0.75rem;
    font-weight: 600;
    color: #4f46e5;
    margin-bottom: 1.25rem;
}

.paslon-role-solo {
    color: #64748b;
}

.paslon-details {
    width: 100%;
    margin-top: auto;
    text-align: left;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
}

.paslon-details summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    cursor: pointer;
    user-select: none;
    padding: 0.875rem 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: #334155;
}

.paslon-details summary::-webkit-details-marker {
    display: none;
}

.paslon-details-icon {
    font-size: 1.125rem;
    color: #64748b;
    transition: transform 0.2s ease;
}

.paslon-details[open] .paslon-details-icon {
    transform: rotate(180deg);
}

.paslon-details-body {
    padding: 0 1rem 1rem;
    border-top: 1px solid #e2e8f0;
    font-size: 0.75rem;
    color: #475569;
    line-height: 1.6;
}

.paslon-details-body p + p {
    margin-top: 0.35rem;
}

.paslon-details-body strong {
    display: block;
    color: #0f172a;
    margin-top: 0.75rem;
    margin-bottom: 0.15rem;
}

.paslon-preline {
    white-space: pre-line;
}

.paslon-no-profile {
    margin-top: auto;
    font-size: 0.75rem;
    color: #64748b;
}

.paslon-empty {
    max-width: 40rem;
    margin: 0 auto;
    text-align: center;
    padding: 3.5rem 2rem;
    background: #ffffff;
    border: 1px dashed #cbd5e1;
    border-radius: 1.5rem;
}

.paslon-empty-icon {
    width: 4.5rem;
    height: 4.5rem;
    margin: 0 auto 1.25rem;
    border-radius: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    color: #6366f1;
}

.paslon-empty-icon .material-symbols-outlined {
    font-size: 2.25rem;
}

.paslon-empty-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.paslon-empty-text {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.6;
    max-width: 28rem;
    margin: 0 auto;
}

.paslon-empty-text strong {
    color: #0f172a;
}

@media (max-width: 640px) {
    .paslon-card {
        max-width: 100%;
    }

    .paslon-empty {
        padding: 2.5rem 1.25rem;
    }
}

/* Global Animations & Tactile Press Feedback */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.animate-spin {
    animation: spin 0.8s linear infinite !important;
    display: inline-block !important;
}

.btn {
    transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    user-select: none;
}

.btn:active:not(:disabled) {
    transform: scale(0.96);
}

.btn:disabled {
    cursor: not-allowed;
}

.cursor-wait {
    cursor: wait !important;
}

@keyframes ping {
    75%, 100% {
        transform: scale(2);
        opacity: 0;
    }
}

.animate-ping {
    animation: ping 1.2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.animate-pulse {
    animation: pulse 1.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
