* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif; background: #0f172a; color: #e2e8f0; }
.loading { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 100vh; gap: 1rem; }
.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); } }
.appointment-grid-container { max-width: 1600px; 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; }
.refresh-btn { padding: 0.5rem 1rem; background: #3b82f6; color: white; border: none; border-radius: 0.5rem; cursor: pointer; }
.filters { display: flex; gap: 1rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.search-input { flex: 1; min-width: 250px; padding: 0.75rem; background: #1e293b; border: 1px solid #334155; border-radius: 0.5rem; color: #e2e8f0; }
select, button { padding: 0.75rem 1rem; background: #1e293b; color: #e2e8f0; border: 1px solid #334155; border-radius: 0.5rem; cursor: pointer; }
.grid-stats { display: flex; gap: 2rem; margin-bottom: 1.5rem; font-weight: 600; color: #94a3b8; }
.grid-table { background: #1e293b; border-radius: 0.75rem; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th { background: #334155; color: #f1f5f9; font-weight: 600; text-align: left; padding: 1rem; }
td { padding: 1rem; border-top: 1px solid #334155; }
.client-cell { font-weight: 600; color: #f1f5f9; }
.status-badge { padding: 0.25rem 0.75rem; border-radius: 1rem; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; }
.status-confirmed { background: #10b98120; color: #10b981; }
.status-pending { background: #f59e0b20; color: #f59e0b; }
.status-canceled { background: #ef444420; color: #ef4444; }
.action-btn { padding: 0.375rem 0.75rem; background: #3b82f6; color: white; border: none; border-radius: 0.375rem; cursor: pointer; font-size: 0.875rem; }
