* { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; background: #f5f5f5; color: #333; } .container { max-width: 1200px; margin: 0 auto; padding: 2rem; } .navbar { background: #1a1a2e; color: #fff; padding: 0.75rem 2rem; display: flex; align-items: center; gap: 2rem; } .nav-brand { font-size: 1.2rem; font-weight: 700; } .nav-links { display: flex; gap: 1rem; flex: 1; } .nav-links a { color: #aaa; text-decoration: none; padding: 0.5rem 1rem; border-radius: 4px; } .nav-links a:hover, .nav-links a.active { color: #fff; background: rgba(255,255,255,0.1); } .nav-user { display: flex; align-items: center; gap: 1rem; } h1 { margin-bottom: 1.5rem; color: #1a1a2e; } h2 { margin: 2rem 0 1rem; color: #333; } .btn { display: inline-block; padding: 0.5rem 1rem; border: 1px solid #ddd; background: #fff; color: #333; border-radius: 4px; cursor: pointer; text-decoration: none; font-size: 0.9rem; } .btn:hover { background: #f0f0f0; } .btn-primary { background: #2563eb; color: #fff; border-color: #2563eb; } .btn-primary:hover { background: #1d4ed8; } .btn-danger { background: #dc2626; color: #fff; border-color: #dc2626; } .btn-danger:hover { background: #b91c1c; } .btn-warning { background: #f59e0b; color: #fff; border-color: #f59e0b; } .btn-sm { padding: 0.25rem 0.75rem; font-size: 0.85rem; } .btn-full { width: 100%; } .table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,0.1); } .table th, .table td { padding: 0.75rem 1rem; text-align: left; border-bottom: 1px solid #eee; } .table th { background: #f8f9fa; font-weight: 600; color: #555; font-size: 0.85rem; text-transform: uppercase; } .table tr:hover { background: #f8f9fa; } .text-center { text-align: center; } code { background: #f1f5f9; padding: 0.15rem 0.5rem; border-radius: 3px; font-size: 0.85rem; } .badge { display: inline-block; padding: 0.2rem 0.6rem; border-radius: 12px; font-size: 0.75rem; font-weight: 600; } .status-active { background: #dcfce7; color: #166534; } .status-trial { background: #dbeafe; color: #1e40af; } .status-grace { background: #fef3c7; color: #92400e; } .status-expired { background: #fee2e2; color: #991b1b; } .status-revoked { background: #fecaca; color: #991b1b; } .badge-ACTIVATE { background: #dcfce7; color: #166534; } .badge-DEACTIVATE { background: #fef3c7; color: #92400e; } .badge-VALIDATE { background: #dbeafe; color: #1e40af; } .badge-REVOKE { background: #fee2e2; color: #991b1b; } .badge-FORCE_RELEASE { background: #fecaca; color: #991b1b; } .badge-CREATE { background: #e0e7ff; color: #3730a3; } .badge-UPDATE { background: #f3e8ff; color: #6b21a8; } .stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; margin-bottom: 2rem; } .stat-card { background: #fff; border-radius: 8px; padding: 1.5rem; box-shadow: 0 1px 3px rgba(0,0,0,0.1); } .stat-card .stat-label { font-size: 1rem; font-weight: 700; color: #1a1a2e; margin-bottom: 0.75rem; } .stat-row { display: flex; justify-content: space-between; padding: 0.2rem 0; font-size: 0.9rem; } .login-container { max-width: 400px; margin: 100px auto; padding: 2rem; } .login-container h1 { text-align: center; margin-bottom: 2rem; } .login-form { background: #fff; padding: 2rem; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.1); } .form-group { margin-bottom: 1rem; } .form-group label { display: block; margin-bottom: 0.4rem; font-weight: 600; font-size: 0.9rem; } .form-group input, .form-group select, .form-group textarea { width: 100%; padding: 0.6rem; border: 1px solid #ddd; border-radius: 4px; font-size: 0.95rem; } .form-group textarea { resize: vertical; } .form-card { background: #fff; padding: 2rem; border-radius: 8px; box-shadow: 0 1px 3px rgba(0,0,0,0.1); max-width: 700px; } .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; } .form-actions { margin-top: 1.5rem; display: flex; gap: 1rem; } .filter-form { display: flex; gap: 0.75rem; margin-bottom: 1.5rem; flex-wrap: wrap; } .filter-form select, .filter-form input { padding: 0.5rem; border: 1px solid #ddd; border-radius: 4px; } .page-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; } .page-header h1 { margin-bottom: 0; } .detail-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 1.5rem; margin-bottom: 2rem; } .detail-card { background: #fff; border-radius: 8px; padding: 1.5rem; box-shadow: 0 1px 3px rgba(0,0,0,0.1); } .detail-card h3 { margin-bottom: 1rem; } .detail-table { width: 100%; } .detail-table td { padding: 0.4rem 0; vertical-align: top; } .detail-table td:first-child { font-weight: 600; width: 140px; color: #666; } .detail-table pre { margin: 0; font-size: 0.85rem; white-space: pre-wrap; } .action-form { margin-bottom: 1rem; } .action-form input { padding: 0.5rem; border: 1px solid #ddd; border-radius: 4px; width: 100%; margin-bottom: 0.5rem; } .audit-details { margin: 0; font-size: 0.8rem; max-width: 300px; overflow: hidden; white-space: pre-wrap; word-break: break-all; } .alert { padding: 0.75rem 1rem; border-radius: 4px; margin-bottom: 1rem; } .alert-error { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; } @media (max-width: 768px) { .navbar { flex-wrap: wrap; } .detail-grid { grid-template-columns: 1fr; } .form-row { grid-template-columns: 1fr; } .filter-form { flex-direction: column; } }