* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; background: #0f172a; color: #e2e8f0; }
.loading { display: flex; justify-content: center; align-items: center; min-height: 100vh; }
.spinner { width: 40px; height: 40px; border: 3px solid #1e293b; border-top-color: #3b82f6; border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.client-directory { max-width: 1400px; margin: 0 auto; padding: 2rem; }
header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; }
h1 { font-size: 2rem; font-weight: 700; color: #f1f5f9; }
button { padding: 0.5rem 1rem; background: #3b82f6; color: white; border: none; border-radius: 0.5rem; cursor: pointer; }
.search { width: 100%; padding: 1rem; background: #1e293b; border: 1px solid #334155; border-radius: 0.5rem; color: #e2e8f0; margin-bottom: 2rem; }
.clients-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.client-card { background: #1e293b; padding: 1.5rem; border-radius: 0.75rem; border: 1px solid #334155; text-align: center; }
.client-avatar { width: 60px; height: 60px; border-radius: 50%; background: #3b82f6; color: white; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 700; margin: 0 auto 1rem; }
.client-card h3 { color: #f1f5f9; margin-bottom: 0.5rem; }
.client-card p { color: #94a3b8; font-size: 0.875rem; margin-bottom: 0.25rem; }
.appointments-badge { display: inline-block; background: #10b98120; color: #10b981; padding: 0.25rem 0.75rem; border-radius: 1rem; font-size: 0.75rem; margin: 0.75rem 0; }
.view-btn { width: 100%; margin-top: 1rem; }
