* { box-sizing: border-box; }
body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; background: #f5f6f8; color: #1a1a1a; }

.login-page { display: flex; align-items: center; justify-content: center; height: 100vh; background: #1f2937; }
.login-box { background: white; padding: 40px; border-radius: 12px; width: 320px; box-shadow: 0 10px 40px rgba(0,0,0,0.2); }
.login-box h1 { margin: 0 0 4px; font-size: 22px; }
.login-box .subtitle { margin: 0 0 24px; color: #6b7280; font-size: 14px; }
.login-box label { display: block; font-size: 13px; margin-bottom: 4px; color: #374151; }
.login-box input { width: 100%; padding: 10px; margin-bottom: 16px; border: 1px solid #d1d5db; border-radius: 6px; font-size: 14px; }
.login-box button { width: 100%; padding: 10px; background: #1f2937; color: white; border: none; border-radius: 6px; font-size: 14px; cursor: pointer; }
.login-box button:hover { background: #111827; }
.alert-error { background: #fef2f2; color: #b91c1c; padding: 10px; border-radius: 6px; margin-bottom: 16px; font-size: 13px; }

.app-shell { display: flex; min-height: 100vh; }
.sidebar { width: 240px; background: #1f2937; color: white; padding: 24px; flex-shrink: 0; }
.sidebar h2 { font-size: 18px; margin: 0 0 4px; }
.rol-tag { font-size: 12px; color: #9ca3af; margin: 0 0 24px; }
.sidebar ul { list-style: none; padding: 0; margin: 0; }
.sidebar li { margin-bottom: 4px; }
.sidebar a { color: #e5e7eb; text-decoration: none; display: block; padding: 8px 12px; border-radius: 6px; font-size: 14px; }
.sidebar a:hover { background: #374151; }

.content { flex: 1; padding: 32px; }
.content h1 { margin-top: 0; font-size: 24px; }

.cards { display: flex; gap: 16px; margin: 24px 0; }
.card { background: white; padding: 20px 24px; border-radius: 10px; box-shadow: 0 1px 3px rgba(0,0,0,0.08); min-width: 200px; }
.card-number { font-size: 32px; font-weight: 700; display: block; }
.card-label { font-size: 13px; color: #6b7280; }

table { width: 100%; border-collapse: collapse; background: white; border-radius: 8px; overflow: hidden; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid #f0f0f0; font-size: 14px; }
th { background: #f9fafb; font-weight: 600; color: #374151; }

.badge { padding: 3px 8px; border-radius: 4px; font-size: 12px; font-weight: 600; }
.badge-pendiente { background: #fef3c7; color: #92400e; }
.badge-confirmada { background: #d1fae5; color: #065f46; }
.badge-cancelada { background: #fee2e2; color: #991b1b; }

button, .btn { padding: 8px 14px; border-radius: 6px; border: none; background: #1f2937; color: white; cursor: pointer; font-size: 13px; text-decoration: none; display: inline-block; }
button:hover, .btn:hover { background: #111827; }

form.inline { display: inline; }
input, select, textarea { font-family: inherit; }
